few days ago I found weird behavior with FFMpeg. While encoding into h264, if you use constant quality setting and veryfast preset, it takes less time and produces smaller file than with faster preset. I filled a bug (https://trac.ffmpeg.org/ticket/5854), but I didn't realize it was problem of libx264, not FFMpeg, so it got closed.
I have since tested it on VLC with very similar results:
Code: Select all
vlc.exe --no-repeat --no-loop -I dummy newmobcal1920_12mbps.ts --sout=#transcode{vcodec=x264,venc=x264{preset=faster,crf=23}}:standard{access=file,mux=mkv,dst="result-faster.mkv"} vlc://quit
vlc.exe --no-repeat --no-loop -I dummy newmobcal1920_12mbps.ts --sout=#transcode{vcodec=x264,venc=x264{preset=veryfast,crf=23}}:standard{access=file,mux=mkv,dst="result-veryfast.mkv"} vlc://quit
result-veryfast.mkv has 76.5 MB
I consider the results very counter-intuitive and I think many people would automatically use preset which takes longer (e. g. faster preset) and expected smaller file size with same quality in return. In reality, they would just waster their CPU time, because the result file is bigger.
Do you think it is worth filling a bug? If yes, where can I post bug for libx264?
Best Regards
Milan