[MPlayer-dev-eng] [BUG] in ffmpeg12+DR+xmga (!)

Arpi arpi at thot.banki.hu
Sat Aug 31 20:07:29 CEST 2002


Hi,

> > Severe image corruption.
> > Tested with Star wars ep1 DVD, title#3
> >   Working:mplayer samples/MPEG2 -vc ffmpeg12 -dr -vo xv -autoq 0 -vop
> > disable Working:mplayer samples/MPEG2 -vc ffmpeg12 -dr -vo xmga
> >   Working:mplayer samples/MPEG2 -vc ffmpeg12 -vo xmga -autoq 0 -vop disable
> >   Not    :mplayer samples/MPEG2 -vc ffmpeg12 -dr -vo xmga -autoq 0 -vop
> > disable
> >
> > (yes, samples/MPEG2 is the 3. title, streamcopied into an AVI)
> >
> > Error: uvstride changed
> > Error: stride changed%  0.0% 0 0 35%
> yes, thats the problem very likely, ffmpeg absolutely needs to have buffers 
> with the same stride, i dunno why they are different but they are 
> appearently, "fixing ffmpeg" isnt possible it would require rewriting a large 
> part of the asm code, and i cant even test vo_xmga (i dont have a mga) ...

hmm. what about a workaround in vd_ffmpeg, it should force stride/height for 
non-first get_image requests to be same as first stride.

the problem is that vd_ffmpeg sets accept_stride flag, but xmga
cannot handle codec buffers in video ram (too slow) so it allocates i/p in
sysram and b in vram but with different stride.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list