[MPlayer-users] TV-recording with mencoder, "video-buffer full"

D Richard Felker III dalias at aerifal.cx
Tue Mar 1 19:04:41 CET 2005

On Tue, Mar 01, 2005 at 03:09:57AM -0800, R C wrote:
> On Sun, 27 Feb 2005 20:18:19 +0100
> The Eye <mhellwig at gmx.at> wrote:
> > mencoder tv:// \
> >  -tv driver=v4l2:width=768:height=576:amode=1:adevice=/dev/dsp1 -oac \
> >  mp3lame -lameopts cbr:br=96 -ovc lavc -lavcopts \
> >  vcodec=mpeg4:vbitrate=2000 -vf crop=698:558:12:2,scale=640:480,pp=lb /
> >  -endpos 1:00:00 -o somefile.avi
> > 
> > 
> > btw if anything about this is stupid, please tell me.
> I'm surprised Rich didn't mention it, but your crop dimentions should be multiples of 4.

Oh yes, this is a huge error I missed!
For interlaced video your vertical crop offset and dimension must be
multiples of 4. Actually if you use pp=lb, it will probably correct
itself even if you do this wrong. But if you use any other
deinterlacer, e.g. pp=fd, you'll get one field in the luma plane and
the other field in the chroma plane, and they won't line up and
there'll be horrible "color ghosts" throughout your whole video!!


More information about the MPlayer-users mailing list