[FFmpeg-user] Is there a way to determine the level of compression

Cecil Westerhof Cecil at decebal.nl
Sun Jun 4 14:48:43 EEST 2023


I most of the time use:
    -vcodec libx264 -crf 26

Depending on the video this works great. Often the new size is between
1/6 and 1/14 of the original file. But in certain situation the size
of the new file increases. In those cases I could better use copy. Is
much faster and creates a smaller video. Is there a way to determine
the crf value of a video? Then I could use that to determine if I
should use copy, or not.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list