PDA

View Full Version : Hissing sounds after playing 1 WMA file



Patrick Delamere
2005-01-15, 10:22
Hi all,

A weird thing has happened recently and I am in the process of trying to
fix it. If someone else has seen this before and knows how to fix it,
please let me know!

Basically, after playing 1 WMA song, I just get a continuous stream of
hissing. This is happening consistently. I have run with this
configuration before, so it should work.

My slimserver-convert.conf looks like this:

wma wav squeezebox *
[ffmpeg] -v 0 -i $FILE$ -f wav -
wma mp3 * *
[ffmpeg] -v 0 -i $FILE$ -f wav - | [lame] -x -m s -r -S -q 5 -s
44.1 - -

I added some debug options and I get the following messages (after the
first successful WMA song):

Error while decoding stream #0.0
size= 41728kB time=242.2 bitrate=1411.2kbits/s ^M
video:0kB audio:41728kB global headers:0kB muxing overhead 0.000103%
2005-01-15 17:14:46.1087 select returns (0.0481369495391846): reads: of
7 writes: of 1 errors: of 4
2005-01-15 17:14:46.1127 writeNoBlock: writing a segment of length: 200
2005-01-15 17:14:46.1137 select returns (0.995783090591431): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.1153 select returns (0.995086193084717): reads: 1 of
7 writes: 0 of 1 errors: 0 of 4
2005-01-15 17:14:46.1786 select returns (0.993202209472656): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2302 select returns (0.929991006851196): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2310 select returns (0.878388166427612): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2506 select returns (0.87763500213623): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.3846 before: 1/1
2005-01-15 17:14:46.3852 removing select write
HTTP::Daemon::ClientConn=GLOB(0xb7748710)
2005-01-15 17:14:46.3854 now: 0/0
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
Error while decoding stream #0.0
2005-01-15 17:14:46.4039 select returns (0.0497457981109619): reads: 1
of 7 writes: 0 of 0 errors: 0 of 4
2005-01-15 17:14:46.4356 select returns (0.0303208827972412): reads: of
7 writes: of 0 errors: of 4
2005-01-15 17:14:46.4359 before: 0/0
2005-01-15 17:14:46.4361 adding select write
HTTP::Daemon::ClientConn=GLOB(0xb7748710) CODE(0x9002abc)
2005-01-15 17:14:46.4363 now: 1/1
2005-01-15 17:14:46.4366 select returns (0.67273211479187): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.4547 select returns (0.670192003250122): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.4609 select returns (0.653606176376343): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.5086 select returns (0.647387027740479): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.5603 select returns (0.599845170974731): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.6093 select returns (0.548278093338013): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.6818 select returns (0.497390985488892): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.7495 select returns (0.426398992538452): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.8013 select returns (0.359186172485352): reads: 0 of
7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.8648 select returns (0.306800127029419): reads: 1 of
7 writes: 0 of 1 errors: 0 of 4

Any ideas??

Cheers,

Patrick

Patrick Delamere
2005-01-15, 15:15
Ok, the world of slim is in order again, my WMA problem is fixed!  :-)

It was a pretty simple fix in the end.  After a bit of further investigation I realised that it was every second song that was failing.  So if I left an album of 10 WMA songs to play, 5 would play ok, and 5 would fail!

The key in the end was that in the "Server Settings", there were 2 ticks against Windows Media

once for

Windows Media MP3 ffmpeg/lame
and again for

Windows Media WAV ffmpeg
Unchecking the second option fixed it!

Cheers,

Patrick


Patrick Delamere wrote: Hi all,

A weird thing has happened recently and I am in the process of trying to fix it.  If someone else has seen this before and knows how to fix it, please let me know!

Basically, after playing 1 WMA song, I just get a continuous stream of hissing.  This is happening consistently.  I have run with this configuration before, so it should work.

My slimserver-convert.conf looks like this:

wma wav squeezebox *
       [ffmpeg] -v 0 -i $FILE$ -f wav -
wma mp3 * *
     [ffmpeg] -v 0 -i $FILE$ -f wav - | [lame] -x -m s -r -S -q 5 -s 44.1 - -

I added some debug options and I get the following messages (after the first successful WMA song):

Error while decoding stream #0.0
size=   41728kB time=242.2 bitrate=1411.2kbits/s    ^M
video:0kB audio:41728kB global headers:0kB muxing overhead 0.000103%
2005-01-15 17:14:46.1087 select returns (0.0481369495391846): reads:  of 7 writes:  of 1 errors:  of 4
2005-01-15 17:14:46.1127 writeNoBlock: writing a segment of length: 200
2005-01-15 17:14:46.1137 select returns (0.995783090591431): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.1153 select returns (0.995086193084717): reads: 1 of 7 writes: 0 of 1 errors: 0 of 4
2005-01-15 17:14:46.1786 select returns (0.993202209472656): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2302 select returns (0.929991006851196): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2310 select returns (0.878388166427612): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.2506 select returns (0.87763500213623): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.3846 before: 1/1
2005-01-15 17:14:46.3852 removing select write HTTP::Daemon::ClientConn=GLOB(0xb7748710)
2005-01-15 17:14:46.3854 now: 0/0
Stream mapping:
 Stream #0.0 -> #0.0
Press [q] to stop encoding
Error while decoding stream #0.0
2005-01-15 17:14:46.4039 select returns (0.0497457981109619): reads: 1 of 7 writes: 0 of 0 errors: 0 of 4
2005-01-15 17:14:46.4356 select returns (0.0303208827972412): reads:  of 7 writes:  of 0 errors:  of 4
2005-01-15 17:14:46.4359 before: 0/0
2005-01-15 17:14:46.4361 adding select write HTTP::Daemon::ClientConn=GLOB(0xb7748710) CODE(0x9002abc)
2005-01-15 17:14:46.4363 now: 1/1
2005-01-15 17:14:46.4366 select returns (0.67273211479187): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.4547 select returns (0.670192003250122): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.4609 select returns (0.653606176376343): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.5086 select returns (0.647387027740479): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.5603 select returns (0.599845170974731): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.6093 select returns (0.548278093338013): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.6818 select returns (0.497390985488892): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.7495 select returns (0.426398992538452): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.8013 select returns (0.359186172485352): reads: 0 of 7 writes: 1 of 1 errors: 0 of 4
2005-01-15 17:14:46.8648 select returns (0.306800127029419): reads: 1 of 7 writes: 0 of 1 errors: 0 of 4

Any ideas??

Cheers,

Patrick

_______________________________________________
Discuss mailing list
Discuss (AT) lists (DOT) slimdevices.com (mailto:Discuss (AT) lists (DOT) slimdevices.com)
http://lists.slimdevices.com/lists/listinfo/discuss

kbelinski
2005-08-21, 07:24
Patrick,

My SB2 went bonkers today. One of the key observation is the continuous hissing noise. SB2 would play well for a track or two before the hiss appears. I play only FLAC files with transcoding on server.

I presume the fix you mentioned below are based on the older SlimServer version. I could not find the Media names (Windows Media MP3 ffmpeg/lame, Windows Media WAV ffmpeg)in current 6.1.x version. Would you be able to help me look at the current 6.1.x web UI (Server Settings-File Types)screen and tell me which lines match your descriptions? Screen capture of my web UI attached.

My SB2 is working right now. Since I do not know exactly why the hissing occurs, I do not know when it will happen again. I need all the information available to tackle this if the problem comes back. Thanks for the help.