[pvrusb2] Q: Timed recording without MythTV

G Mc.Pherson gamcpherson at gmail.com
Tue Oct 10 19:35:45 CDT 2006


Hi Mark,

On Tue, 2006-10-10 at 20:21 +0200, Mark Brand wrote:
>    
> I use the following bash script. The number of seconds to record is the
> parameter for sleep.
> 
> mkdir dvd
> mencoder -demuxer 2  -of mpeg -mpegopts format=dvd -oac copy -ovc copy
> -o dvd.mpg /dev/video &
> CATPID=$!
> sleep 3785
> kill $CATPID
> 
> I use "mencoder" instead of simple "cat" because the raw mpeg that comes
> out of /dev/video seems to make dvdauthor choke, whereas the output here
> to dvd.mpg works just fine.

PERFECT!

This is just the ticket. Very much appreciated, thank you.

--
GMc <gamcpherson at gmail.com>



More information about the pvrusb2 mailing list