Hi,
I use the same method as transcoding.c to initialize AVFormatContext: http://ffmpeg.org/doxygen/2.8/transcoding_8c_source.html 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? Thanks! Regards Andrew
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user