[FFmpeg-devel] [PATCH] libavcodec/videotoolbox: let VideoToolbox choose a decoder for us

Hendrik Leppkes h.leppkes at gmail.com
Sat Aug 1 20:11:21 EEST 2020


On Sat, Aug 1, 2020 at 6:25 PM 王 氚 <ouchuanm at outlook.com> wrote:
>
> I’m just looking at the bug https://trac.ffmpeg.org/ticket/8789
> And I found that in this case, VTDecompressionSessionCreate will fail and return  kVTVideoDecoderNotAvailableNowErr
>
> While according to the document of [VTDecompressionSessionCreate], it is possible to give a null
> And let videotoolbox to choose a decoder.
> https://developer.apple.com/documentation/videotoolbox/1536134-vtdecompressionsessioncreate?language=occ
>

Can you explain under what circumstances this might occur, and why the
second try would work?
And once we know that, can't we just improve the first attempt?

- Hendrik


More information about the ffmpeg-devel mailing list