[MPlayer-users] Stream Capture Newbie Problem/Questions
Kevin Monceaux
Kevin at RawFedDogs.net
Tue Apr 21 22:18:14 CEST 2009
Fellow MPlayer Users,
I've used MPlayer off and on for quite a while but have just started
trying to use it to capture some streaming video from the World
Harvest Network and am having some frequent failures. I've just
subscribed to the list and downloaded the list archives to search
through via mutt. I hope no one will mind if I ask a couple of newbie
questions while I'm sifting through the archives.
I have a script I'm using to capture a stream while I'm away from
home:
#!/bin/zsh
START_TIME=`date +"%Y-%m-%d-%H:%M"`
DEST_DIR="/pub/TV/Lassie/Incoming"
FILE_NAME="${DEST_DIR}/Lassie-${START_TIME}.asf"
LOG_NAME="${DEST_DIR}/Lassie-${START_TIME}.log"
mplayer mms://media2.leseanet.net/wht -dumpstream -dumpfile $FILE_NAME < /dev/null >& $LOG_NAME &
sleep 40m
kill $!
I call it from cron five minutes before the episode I'm aiming to
record starts and am using the sleep 40m followed by kill which should
kill it five minutes after the episode ends. Most of the time I'm
only getting part of the episode. The tail end of the most recent log
file shows:
nop_streaming_read error : Resource temporarily unavailable
Error while reading network stream.
Is there a setting one can use to have mplayer retry after receiving
such an error instead of failing? Also, is there a better way to
capture a stream for a specific time such as 40 minutes worth of the
stream?
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!
More information about the MPlayer-users
mailing list