[FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

Sebastien Zwickert dilaroga at gmail.com
Sun Jul 5 17:00:44 CEST 2015

> On 05 Jul 2015, at 16:41, Sebastien Zwickert <dilaroga at gmail.com> wrote:
> As VDA is a wrapper of VideoToolbox framework, the changes base vda implementation
> upon the videotoolbox implementation to factorize common part of code.

This new patch does not break previous VDA implementation when VideoToolbox is disabled
or not public in Mac OS version prior to 10.8.
Unfortunately,  I can’t test on a 10.6 or 10.7 box because my hardware is supported by
hardware acceleration only since 10.8.

At least it returns me the right error when I try to use VDA on Mac OS 10.6.8 :

[h264 @ 0x102906a00] Cannot initialize VDA -12470

Where -12470 means not supported hardware from  VDA decoder API results code:

kVDADecoderHardwareNotSupportedErr  = -12470

Does anyone has supported hardware box running on these OS’s and have time to make some tests ?
It would be nice to report the results of the tests here.

Sebastien Zwickert

More information about the ffmpeg-devel mailing list