[MEncoder-users] Mencoder adding AVI file header to MPEG2 capture from V4L device?

Oded Shimon ods15 at ods15.dyndns.org
Fri Jun 10 23:28:28 CEST 2005


On Fri, Jun 10, 2005 at 10:27:54PM +0300, Oded Shimon wrote:
> On Fri, Jun 10, 2005 at 03:18:47PM -0400, Brian Keener wrote:
> > I'm trying to capture home movies from a bt848 device to hard disk, in 
> > preperation for creating a DVD using TMPGENC dvd author in Windows.
> > 
> > I'm running under Mandrake 10.1 for the captures.
> > 
> > I tried initially to use FFMPEG, but experienced some really poor 
> > performance, so I'm trying mencoder now.
> > 
> > Here's my command line:
> > 
> > mencoder -fps 30000/1001 -endpos 00:00:05 -oac mp3lame -ovc lavc 
> > -lameopts mode=1:vbr=1:q=4 -lavcopts vcodec=mpeg2video:vbitrate=6000 -tv 
> > driver=v4l2:norm=ntsc:input=2:adevice=/dev/dsp1:width=720:height=480 -vf 
> > harddup -af volume=-1 -o tv.mpg tv://
> 
> -of mpeg
> -mpegopts ...
> 
> check man page for more details.

Also, I forgot to mention, are you SURE you want to encode DIRECTLY to 
mpeg-2 from TV?.. you might probably want to grab it losslessly or very 
high quality first, and then you can encode it well with proper cropping 
and scalling and 2-pass into MPEG...

- ods15




More information about the MEncoder-users mailing list