(from -2 to INT_MAX) (default any)Īny E.V. Number of concurrent surfaces (from 0 to 64) (default 0) Number of frames to look ahead for rate-control (from 0 to INT_MAX) (default 0) Constant bitrate low delay high quality modeĬbr_hq E.V. Multi-pass variable bitrate mode (deprecated)Ĭbr_ld_hq E.V. Multi-pass optimized for constant frame size (deprecated) Multi-pass optimized for image quality (deprecated) Variable bitrate mode with MinQP (deprecated) Override the preset rate-control (from -1 to INT_MAX) (default -1) Set the encoding level restriction (from 0 to 51) (default auto) Set the encoding profile (from 0 to 3) (default main) Set the encoding preset (from 0 to 11) (default medium) Supported pixel formats: yuv420p nv12 p010le yuv444p yuv444p16le bgr0 rgb0 cuda For the H.264 encoder: ffmpeg -hide_banner -h encoder=h264_nvenc | xclip -sel clip Start by understanding the encoder's options.įor NVENC-based encoders, start with learning the options each encoder takes (Note that I'm on Linux, which is why I'm using xclip to copy the codec options to the clipboard prior to pasting them here): We'll start from the basics, as it would be detrimental to jump into the conclusion that a quick barrage of options will suddenly improve expected output without understanding the desired objectives and expectations:ġ. Here is a rough guide to tuning the encoder:
0 Comments
Leave a Reply. |