<div dir="ltr">Hi All. What maybe a reason that  avcodec_find_decoder returns NULL ?<div><br></div><div>I enabled in my FFMPEG build MOV and h264 demuxer. Configure report clearly</div><div>states that.</div><div><br></div><div>But doing this test:<br><div><br></div><div><div>         av_register_all();</div><div><span style="white-space:pre">      </span> avcodec_register_all();</div><div>         avformat_network_init();</div></div><div><div>         AVCodec* h264codc = avcodec_find_decoder_by_name("h264");</div><div><span style="white-space:pre"> </span> AVCodec* h264codc1 = avcodec_find_decoder_by_name("MOV");</div><div><span style="white-space:pre">  </span> AVCodec* h264codc3 = avcodec_find_decoder_by_name("MPEG4");</div><div><span style="white-space:pre">        </span> AVCodec* h264codc4 = avcodec_find_decoder_by_name("MP4");</div><div><span style="white-space:pre">  </span> AVCodec* h264codc5 = avcodec_find_decoder(AV_CODEC_ID_MPEG4);</div></div></div><div><br></div><div>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.</div><div><br></div><div>Thanks.</div></div>