[MPlayer-users] VDPAU decoding in MPlayer broken by recent FFmpeg changes

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Sep 8 20:15:13 CEST 2013


On Wed, Aug 21, 2013 at 10:23:17PM +0200, Ilja Sekler wrote:
> Am 21.08.2013 20:15, schrieb Reimar Döffinger:
> 
> >On Wed, Aug 14, 2013 at 08:26:04PM +0200, Ilja Sekler wrote:
> >
> >>But I see a very strange effect when playing DivX videos through
> >>ffodivxvdpau now: it looks as if every second frame were dropped
> >>and the first one instead duplicated (or even worse), all movements
> >>look choppy. This is not related to this patch. It doesn't happen
> >>with the software decoder and doesn't happen with the VDPAU decoder
> >>and r36171 from Fedora repositories.
> >
> >Hm, my suspicion is that this means there is an issue with decoding
> >B-frames (does it say something about "invalid packed B-frames" when
> >this issue shows up or does this happen for all files?).
> 
> Yes, all files which suffer from choppy playback trigger also a
> 
> 
> [mpeg4 @ 0x7fc2cd2758c0]Invalid and inefficient vfw-avi packed B frames
> detected
> 
> 
> message in the MPlayer console output. Unfortunately, I have managed to
> identify only a single video (Xvid encoded) which didn't show this
> warning and I can't confirm that all videos which show the warning
> necessarily exhibit the choppy playback issue.

Could you try a variant of the previous patch?
Instead of "if (get_bits_left(&s->gb) <= 0) s->mb_y = s->mb_height;"
it without the if, i.e. just "s->mb_y = s->mb_height;"
However there seems to be a whole lot of broken code around, the
vaapi and the vdpau code just don't match up for example...


More information about the MPlayer-users mailing list