[MPlayer-users] maintain audio stream capture

Mac Guide macguide at gmail.com
Mon Oct 20 17:54:12 CEST 2008


Hi

I wrote a script that captures an audio stream for 3 hours.  
Occasionally the stream stops, however, even though there is plenty of  
bandwidth to use.

Is there anything I can do in my stream capture to maintain a  
consistent stream? Here is the command I am using:

mplayer -quiet -playlist http://media.kcrw.com/live/kcrwlive.pls -ao  
pcm:file=$FIFO -vc dummy -vo null -ac ffmp3

Would including a large cache size help?

Thanks!

MG

PS, here is the log of what happens when the stream stops, after  
working consistently for a couple hours:

Oct 16 11:12:08 napoli ripper thurs[7971]: size= 59315kB time=7592.7  
bitrate= 64.0kbits/s
Oct 16 11:12:09 napoli ripper thurs[7971]: size= 59323kB time=7593.8  
bitrate= 64.0kbits/s
Oct 16 11:12:09 napoli ripper thurs[7971]: size= 59326kB time=7594.2  
bitrate= 64.0kbits/s
Oct 16 11:12:10 napoli ripper thurs[7971]: size= 59332kB time=7594.9  
bitrate= 64.0kbits/s
Oct 16 11:12:30 napoli ripper thurs[7971]: size= 59335kB time=7595.3  
bitrate= 64.0kbits/s
Oct 16 11:12:30 napoli ripper thurs[7971]: Playing http://scfire-ntc-aa05.stream.aol.com:80/stream/1046 
.
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET6...
Oct 16 11:12:30 napoli ripper thurs[7971]: Couldn't resolve name for  
AF_INET6: scfire-ntc-aa05.stream.aol.com
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET...
Oct 16 11:12:30 napoli ripper thurs[7971]: size= 61893kB time=7595.6  
bitrate= 66.8kbits/s
Oct 16 11:12:30 napoli ripper thurs[7971]: video:0kB audio:59337kB  
global headers:0kB muxing overhead 4.307937\%
Oct 16 11:12:30 napoli ripper thurs[7971]: Connecting to server scfire- 
ntc-aa05.stream.aol.com[207.200.96.134]: 80...
Oct 16 11:12:30 napoli ripper thurs[7971]: Server returned 404:  
Resource Not Found
Oct 16 11:12:30 napoli ripper thurs[7971]: STREAM_ASF, URL: http://scfire-ntc-aa05.stream.aol.com:80/stream/1046
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET6...
Oct 16 11:12:30 napoli ripper thurs[7971]: Couldn't resolve name for  
AF_INET6: scfire-ntc-aa05.stream.aol.com
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET...
Oct 16 11:12:30 napoli ripper thurs[7971]: Connecting to server scfire- 
ntc-aa05.stream.aol.com[207.200.96.134]: 80...
Oct 16 11:12:30 napoli ripper thurs[7971]: Server returned  
404:Resource Not Found
Oct 16 11:12:30 napoli ripper thurs[7971]: Failed to parse header.
Oct 16 11:12:30 napoli ripper thurs[7971]: Failed, exiting.
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET6...
Oct 16 11:12:30 napoli ripper thurs[7971]: Couldn't resolve name for  
AF_INET6: scfire-ntc-aa05.stream.aol.com
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-ntc- 
aa05.stream.aol.com for AF_INET...
Oct 16 11:12:30 napoli ripper thurs[7971]: Connecting to server scfire- 
ntc-aa05.stream.aol.com[207.200.96.134]: 80...
Oct 16 11:12:30 napoli ripper thurs[7971]: Server returned 404:  
Resource Not Found
Oct 16 11:12:30 napoli ripper thurs[7971]: No stream found to handle  
url http://scfire-ntc-aa05.stream.aol.com:80/stream/1046
Oct 16 11:12:30 napoli ripper thurs[7971]: Playing http://scfire-nyk-aa01.stream.aol.com:80/stream/1046 
.
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-nyk- 
aa01.stream.aol.com for AF_INET6...
Oct 16 11:12:30 napoli ripper thurs[7971]: Couldn't resolve name for  
AF_INET6: scfire-nyk-aa01.stream.aol.com
Oct 16 11:12:30 napoli ripper thurs[7971]: Resolving scfire-nyk- 
aa01.stream.aol.com for AF_INET...
Oct 16 11:12:31 napoli ripper thurs[7971]: Connecting to server scfire- 
nyk-aa01.stream.aol.com[149.174.135.199]: 80...
Oct 16 11:12:31 napoli ripper thurs[7971]: Name : KCRW Simulcast
Oct 16 11:12:31 napoli ripper thurs[7971]: Genre :
Oct 16 11:12:31 napoli ripper thurs[7971]: Website: http://www.kcrw.org
Oct 16 11:12:31 napoli ripper thurs[7971]: Public : yes
Oct 16 11:12:31 napoli ripper thurs[7971]: Bitrate: 128kbit/s
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache size set to 320 KBytes
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache fill: 0.00\% (0 bytes)
Oct 16 11:12:47: --- last message repeated 9436 times ---
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache fill: 2.50\% (8192  
bytes)
Oct 16 11:12:48: --- last message repeated 5364 times ---
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache fill: 5.00\% (16384  
bytes)
Oct 16 11:12:48: --- last message repeated 78 times ---
Oct 16 11:12:31 napoli ripper thurs[7971]: ICY Info:  
StreamTitle='';StreamUrl='';
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache fill: 5.00\% (16384  
bytes)
Oct 16 11:12:48: --- last message repeated 1901 times ---
Oct 16 11:12:31 napoli ripper thurs[7971]: Cache fill: 7.50\% (24576  
bytes)
Oct 16 11:12:49: --- last message repeated 4186 times ---



More information about the MPlayer-users mailing list