[MPlayer-users] Mencoder output format

Chittaranjan Mandal Chittaranjan.Mandal at cse.iitkgp.edu.eu.org
Sun Sep 21 20:53:25 CEST 2003

How can I get mencoder to record in JPEG 4:2:2 or 4:2:0 format?
The command line for recording is given at the end.

$ lav2wav $NAME.avi | mp2enc -V -o $NAME.sound.mpg
++ WARN: [lav2wav] Input file test.avi is not in  JPEG 4:2:2 or 4:2:0 format
**ERROR: [lav2wav] Input file(s) have no audio
**ERROR: [mp2enc] EOF in WAV header
**ERROR: [mp2enc] failure reading WAV file

$ mencoder -tv on:driver=v4l:device=/dev/video1:width=384:height=288:input=0:norm=PAL:adevice=/dev/dsp1:forceaudio:forcechan=2:audiorate=32000 -o $NAME.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts preset=standard


More information about the MPlayer-users mailing list