demola.blogg.se

Ffmpeg scale crf
Ffmpeg scale crf







ffmpeg scale crf ffmpeg scale crf

mpeg1_cuvid Nvidia CUVID MPEG1VIDEO decoder (codec mpeg1video) mjpeg_cuvid Nvidia CUVID MJPEG decoder (codec mjpeg) hevc_cuvid Nvidia CUVID HEVC decoder (codec hevc) h264_cuvid Nvidia CUVID H264 decoder (codec h264) h263_cuvid Nvidia CUVID H263 decoder (codec h263) hevc_nvenc NVIDIA NVENC hevc encoder (codec hevc) nvenc_hevc NVIDIA NVENC hevc encoder (codec hevc) nvenc_h264 NVIDIA NVENC H.264 encoder (codec h264) nvenc NVIDIA NVENC H.264 encoder (codec h264) h264_nvenc NVIDIA NVENC H.264 encoder (codec h264) To do this, pass -bf | egrep -i "npp|cuvid|nvenc|cuda" Baseline profiles do not support B-frames. Quality can be further improved upon by adding options such as B-frames (limit this to 3, at most, and this requires the H.264 Main profile and above.

ffmpeg scale crf

Note that the -cq scale is logarithmic, meaning that 0 is essentially lossless and 51 would be the absolute worst. See this write-up for more on what CRF does. 19 is the recommended setting as its' visually identical to 0, yet preserves good compression trade off to file size. Of course, you'll need to adjust for target bit rates and a fixed cq value. For CRF-based encodes, pass the following arguments in the snippet below to FFmpeg: -c:v h264_nvenc -rc:v vbr_hq -cq:v 19 -b:v 2500k -maxrate:v 5000k -profile:v high









Ffmpeg scale crf