[FFmpeg-devel] Fwd: [PATCH] avcodec: allow hardware decoding with multithread for FFmpeg

Hendrik Leppkes h.leppkes at gmail.com
Wed Jul 27 20:58:22 EEST 2016

On Wed, Jul 27, 2016 at 6:43 PM, Stève Lhomme <robux4 at videolabs.io> wrote:
> Hello fellow FFmpegers,
> Is there still an issue with hardware decoding when combined with
> multithread ? It seems to work fine on our Windows build. Although we
> have a mutex in place in the D3D11 variant of the code that may help.
> It mostly protects the video context...
> If necessary we can have the same trick for DXVA2 if there are still
> known issues.

ffmpeg.c just produces corrupt decoding when you try to use that, so
use at your own peril.
Not to mention that it doesn't offer any performance benefits.

- Hendrik

More information about the ffmpeg-devel mailing list