On Sun, Aug 2, 2020 at 7:54 AM 王 氚 <ouchu...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".