paulpacifico / shutter-encoder

A professional video compression tool accessible to all, mostly based on FFmpeg.
https://www.shutterencoder.com
GNU General Public License v3.0
1.06k stars 60 forks source link

[Feature]Constant Rate Factor(CRF) Support #170

Open Radium-bit opened 1 year ago

Radium-bit commented 1 year ago

Hi. In variable bitrate (VBR) mode, you can maintain better image quality while limiting the maximum size of the output file by setting the parameters -crf (Constant Rate Factor) and -maxrate (maximum bitrate). The current version of Shutter Encoder cannot find the place to set CRF. The following is an example of using CRF and VBR control at the same time.

ffmpeg -i input.mp4 -c:v libx264 -crf 18 -b:v 3500k -maxrate 5000k  output.mp4

Compared with Constant Quality (CQ) mode, it may provide better control over the output size of the final file, hope to add this new option.