<div dir="ltr"><div dir="ltr">I may misunderstand but avcodec_find_encoder() takes a codec_id, it<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
has no connection<br>
at all to containers.<br>
(H264 is 27 here, are you testing an ancient FFmpeg version?)<br>
<br></blockquote><div>I have ffmpeg 3.4.6 by the way 28 is the id for MPEG-4 Part 14 not libx264.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Please find out what top-posting means and avoid it here, Carl Eugen<br><br></blockquote><div>Ok.</div><div> </div></div></div>