[MPlayer-users] MPEG playback distortions with threads and some fitlers.

Adrian Stutz adrian at sttz.ch
Mon Jan 18 17:21:43 CET 2010


On Mon, Jan 18, 2010 at 4:56 PM, Uoti Urpala <uoti.urpala at pp1.inet.fi>wrote:

> > No ideas?
>
> Try -noslices. I suspect there are problems due to slice callback being
> called from different threads (I haven't tried to verify that though).
>

Yes, that makes the distortions go away.

Looking at my binary archive I can trace the issue back to the oldest one
from 2008-08-01 (r27376) and I would suspect the issue has been around
forever and only surfaced by preferring ffmpeg over libmpeg2 and me using
-lavdopts threads=x consistently.

Is that easy to fix? As mentioned, ffplay doesn't have the problem - is it
just not doing sliced decoding or properly handling the threading?

Or is it possible to disable slices for codecs that don't properly handle it
(there seems to be no issue with H264, for example)? I'd really like to be
able to just set -lavdopts threads=x without needing to worry which codec is
being used.

Thanks!
Adrian


More information about the MPlayer-users mailing list