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

Hendrik Leppkes h.leppkes at gmail.com
Sun Jul 5 17:04:48 CEST 2015


On Sun, Jul 5, 2015 at 5:00 PM, Sebastien Zwickert <dilaroga at gmail.com> wrote:
>
>> 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.

For me the most important fact would be that I can build a binary with
VDA support, which will still run on 10.6, even if HWAccel does not
work on 10.6 - ie. no runtime dependency problems.
You seem to have that test covered, so thanks!

- Hendrik


More information about the ffmpeg-devel mailing list