[FFmpeg-devel] avcodec_open2 return -1

sea 2509044372 at qq.com
Wed Dec 21 17:27:51 EET 2016


In transcoding project of LeiXiaoHua(demo of usage of filters), if I use media file with h264 video stream as input file, the function  avcodec_open2 will return -1.  Media file with video stream in other format, such as mpeg4, mjpeg return 0 (OK). Why ? Someone meets the same problem?


More information about the ffmpeg-devel mailing list