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

Hendrik Leppkes h.leppkes at gmail.com
Sun Aug 2 10:03:09 EEST 2020


On Sun, Aug 2, 2020 at 7:54 AM 王 氚 <ouchuanm at outlook.com> wrote:
>
> Just dig it a little bit, and I found that the first attempt of [VTDecompressionSessionCreate] is always ok, if we try to decode some normal size of video(for example, 640x480, 1280x720...)
>
> But it will fail, it we try to decode h264 video with some special size(for example, 300x180).
>
> So it seems like there are some limitations in [VTDecompressionSessionCreate], but if we give VideoToolbox freedom to choose a decoder,  it's always OK.
>

What other decoders could it possibly pick? Is it still using hardware
decoding, or is that a software decoder then?
Our software decoders are likely better then running software decoding
through VT, so falling back to that would be better.

- Hendrik


More information about the ffmpeg-devel mailing list