[Libav-user] Can't get MPEG4 decoder
explomaster at gmail.com
Thu Nov 9 18:13:17 EET 2017
Hi All. What maybe a reason that avcodec_find_decoder returns NULL ?
I enabled in my FFMPEG build MOV and h264 demuxer. Configure report clearly
But doing this test:
AVCodec* h264codc = avcodec_find_decoder_by_name("h264");
AVCodec* h264codc1 = avcodec_find_decoder_by_name("MOV");
AVCodec* h264codc3 = avcodec_find_decoder_by_name("MPEG4");
AVCodec* h264codc4 = avcodec_find_decoder_by_name("MP4");
AVCodec* h264codc5 = avcodec_find_decoder(AV_CODEC_ID_MPEG4);
Only h264codc returns a valid codec. The only thing I didn't do during
build config was not to enable libx264. May this be the source of the
problem? I didn't do that because I just need to demux mp4 movie and get
its elementary stream.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user