Encoding H264 with windows ffmpeg results in first few seconds being "blocky"
Solution 1:
Thank you @LordNeckbeard for the solution. It seems ffmpeg encodes x264 way better using -crf
instead of -v:b
.
So -crf 26
worked perfectly to eliminate the blockiness at the beginning of the video encoding process.
My final code is now:
ffmpeg.exe -i test.mp4 -c:v libx264 -crf 26 -c:a libvo_aacenc -movflags faststart -f mp4 "test-done.mp4"