i'm trying to record a live asf stream to harddisk but i am having problems with stream dying, the stream uses mms:// protocol and the show i wish to record is 3 hours long.
but none of them seem to recover if the connection dies
and sometimes have only an hour or two of the show.
mplayer, xine, asfrecorder and asfrecord2
is their any way to get one of these to keep retrying untill it finds the connection again or perhaps another way i haven't tried yet?
current script i'm using below
asfrecord2 -m 185 http://www.virtuetv.com/clients/crysallis/lbc_973.asx
mv /home/lee/10.1.11.10:10.42.12.11 /home/lee/streamrips/lbc.wma
mplayer /home/lee/streamrips/lbc.wma -ao pcm -aofile /home/lee/streamrips/lbc.wav
rm -f /home/lee/streamrips/lbc.wma
lame -b 64 -m m -h --resample 44.1 --lowpass 18 --lowpass-width 0.9 -q 3 /home/lee/streamrips/lbc.wav /home/lee/streamrips/lbc.mp3
rm -f /home/lee/streamrips/lbc.wav
mv /home/lee/streamrips/lbc.mp3 /home/lee/streamrips/lbc-`date +%d%m%y`.mp3