[mythtv-users] Using PVR-350 to record old VCR video

Ben Kamen bkamen at benjammin.net
Thu May 24 15:27:16 UTC 2012


On Thu May 24 07:17:03 UTC 2012, Gordon McCrae wrote:
>
> Input   : 0
> Name    : Tuner 1
>
> Input   : 1
> Name    : S-Video 1
>
> Input   : 2
> Name    : Composite 1
>
> etc.
>
> Then you put the following in a script (let's call it "record").
>
> v4l2-ctl -i 1
> Minutes=$1
> Seconds=`expr ${Minutes} \* 60`
> File="/tmp/`date '+%s'`.mpg"
> cat /dev/video0 > "${File}" &
> PID=$!
> echo "Wait ${Minutes} minutes for programme to end..."
> sleep ${Seconds}
> kill ${PID}
>
> run the script with "record 1" and it will record one minute of video
> from the desired input.
>
> This is the script I used a couple of years back to record old home
> videos via my PVR-250. I use the SVideo input (1), but if you want to
> use composite, just use "v4l2-ctl -i 2". If you need to use the RF tuner
> use "v4l-ctl -i 0" and you'll also need to set the frequency using
> "v4l2-ctl -f FREQUENCY".


I did a lot of this manually via mencoder, but I'll try this too.

Thanks,

  -Ben



More information about the mythtv-users mailing list