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

Steve Lhomme robux4 at gmail.com
Thu Jul 28 09:10:59 CEST 2016

On Thu, Jul 28, 2016 at 8:41 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2016-07-28 00:34, Jean-Baptiste Kempf a écrit :
>> On 27 Jul, Rémi Denis-Courmont wrote :
>>> Use libav.
>> It's not possible to do it anymore.
>> libav is now lacking soo many things it's not even funny anymore.
> The only things you achieve with that kind of statement are pissing off
> libav developers, losing any leverage on FFmpeg developers, and painting
> yourselves into a corner.
> Now you have only three options:
> 1) Keep it as it is (or go back to VLC 2.1 style), meaning hardware
> acceleration is effectively disabled by default.
> 2) Fix FFmpeg and convince the FFmpeg developers to take up the
> "maintenaince burden" of your changes.
> 3) Risk crashing and corrupting the video (especially with DirectX, which
> appears to be the worst case here).

4) Implement hardware decoding outside of libavcodec. I started doing
it for VP9. Until I realized it was implemented in FFmpeg (I was using
libav the whole time). With the packetizers we have a lot of the
necessary parsing already available.

In any case 3.0 is getting close to feature freeze (I think/hope). We
need to solve this issue before it happens.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list