[linux-dvb] mplayer mencoder

Simon Baxter linuxtv at nzbaxters.com
Thu Feb 24 12:32:30 CET 2005


>> Since then I've been watching the streams in unencoded MPEG2 (over 
>> wireless 802.11b LAN to XP client)- but windows media player occasionally 
>> fails back to the beginning of the stream, requiring me to skip ahead 
>> from the beginning and try to find where I got up to.
>>
>
>
> how do you do it?

Primitive but, I use crontab to schedule like this   :

57 20 21 2 * /root/bin/tzap -c /root/.tzap/channels.conf -r 'f tn'
58 20 21 2 * /bin/cat /dev/dvb/adapter0/dvr0 > 
/fifty/video/Colin_Fry_210204.mpeg
04 22 21 2 * /fifty/video/kill_record.sh
05 22 21 2 * /fifty/video/kill_tune.sh

# cat /fifty/video/kill_record.sh
#!/bin/sh
PID=`ps -ef |grep adapter0|grep -v grep|awk '{ print $2 }'`
kill -1 $PID

# cat /fifty/video/kill_tune.sh
#!/bin/sh
PID=`ps -ef |grep channels|grep -v grep|awk '{ print $2 }'`
kill -1 $PID


then on my XP box I just double click the .mpeg file (from a samba share), 
and it loads in Windows Media Player Classic. 





More information about the linux-dvb mailing list