[Libav-user] how to use specified h.264 decoder first
applemax82 at 163.com
Fri Dec 16 16:53:09 EET 2016
I use the same method as transcoding.c to initialize AVFormatContext:
First, avformat_open_input() is called, and avformat_find_stream_info() is called later. avformat_find_stream_info() will detect, open, and close video codec and set correct AVCodecID.
In ffmpeg, there are a few h.264 decoder, such as h264 and h264_qsv, and avformat_find_stream_info() always choose h264 decoder if video stream is of h.264.
My question is :
how to make specified search priority so that avformat_find_stream_info() will try h264_qsv decoder instead of h264?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user