[MPlayer-users] bug in libpostproc/fv_pp [was Re: Problem With MPlayer v0.90rc3 + DV Avi files + Deinterlacing]
D Richard Felker III
dalias at aerifal.cx
Thu Jan 23 00:29:27 CET 2003
On Wed, Jan 22, 2003 at 02:12:36AM -0600, Angel wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > I've tried encoding a couple of dv avi files with mencoder using the
> > following
> > command:
>
> > mencoder dvavifile.avi \
> > -vc ffdv \
> > -aspect 4:3 \
> > -vop crop=624:480:12:1,scale=642:-2,pp=lb \
> > -zoom \
> > -oac mp3lame \
> > -ovc lavc \
> > -lavcopts vcodec=mpeg4:vqscale=3:vhq \
> > -o movie.avi
>
> > The resulting file looks like black and white with some color strips mixed
> > in. If I remove the pp=lb post processing filter - the file looks normal
> > (color wise). Also, if I use either libdv or qdv for the codec mencoder
> > segfaults immediately. I've tried the latest cvs version - same problem.
> > Everything worked fine prior to v0.90rc3. If you need me to to fill out a
> > full bug report / upload files etc.. just say the word.
>
> I've traced the source of the problem to a change that was made between the
> cvs snapshots MPlayer-20030105 and MPlayer-20030106. In the file
> libmpcodecs/vf_pp.c starting on line 72 - 3 new image formats were added:
> IMGFMT_444P, IMGFMT_422P, and IMGFMT_411P. If I remove those 3 lines the
> problem goes away. Maybe someone else can suggest a proper fix.
A temporary workaround would be:
-vop crop=624:480:12:1,scale=642:-2,pp=lb,format=yv12
to force the DV decoder to output yv12 instead of 411p. However, this
may reduce quality. Apparently the postproc filters *don't* support
411p, but they think they do, so that's causing the bogus output.
Someone should check into this.
Rich
More information about the MPlayer-users
mailing list