Some are Boojums--

purpose: Grant's less-than-daily weblog.

Sun, 25 Mar 2007

Encoding a VHS-C capture

I recently needed to take a raw mpeg-2 file that I obtained from my pvr-250 capture card (pulling from a VHS-C camcorder), and convert it to something that would fit on youtube. Here's the magic mencoder incantations that I used:

$ mencoder 20051204.mpg -edl poker.edl -ovc frameno -oac mp3lame \
> -lameopts vbr=3 -o frameno.avi
$ mencoder 20051204.mpg -edl poker.edl -oac copy -ovc lavc  -lavcopts \
> vcodec=mpeg4:vpass=1:vbitrate=863:vhq -o output.avi -vf scale=320:240
$ mencoder 20051204.mpg -edl poker.edl -oac copy -ovc lavc  -lavcopts \
> vcodec=mpeg4:vpass=2:vbitrate=863:vhq -o output.avi -vf scale=320:240

Using "edl" to cut out the stuff I didn't want was really nice. No need to get avidemux to compile!

Name:


E-mail:


URL:


Comment:


pyblosxom::1.4.3 01/10/2008

All contents Copyright 2006 Grant Goodyear.
Creative Commons License
This work is licensed under a Creative Commons License.