[Libav-user] how to use specified h.264 decoder first

qw 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...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161216/13ae61b2/attachment.html>

More information about the Libav-user mailing list