<div dir="ltr"><div><br></div><div>While using following ffmpeg command :<br><br><b><i>ffmpeg -framerate 12 -pattern_type glob -i 'FRAMES/frame_*.tif' -map 0:v test_binffmpeg.mp4</i></b><br><br>It uses the default <b>H.264</b> parameters which are <b>preset=medium and crf=23</b>. This generates a file size with <b>bit_rate = 1358 kb/s</b> and <b>size = 1659kb</b>.<br><br>But by using my own code to encode an mp4 video (using the exact same images), I then have a video around <b>bit_rate = 3929 kb/s</b> and <b>size = 4757kb</b>.<br><br>In my code, I leave the codec options to default, and even if I try to overwrite with preset=medium + crf=23, I still have the same size of 4757kb. I'm wondering what I am missing?<br><br>See attached file for the code of my muxer</div><div><br></div><div>Regards,</div><div>Alexandre</div></div>