diff options
author | Sven Gothel <[email protected]> | 2020-01-27 02:40:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-04-20 06:49:29 +0200 |
commit | 39e56516063cf63b0599bb7a35fe6ec69556e994 (patch) | |
tree | 41bb89bac89da9077cc2ca95dfb3b9ab7681f6fe /win/CS/HandBrakeWPF/ViewModels/Interfaces/IViewModelBase.cs | |
parent | 0446de00adb980cf14bbe9886e494f09e72592ac (diff) |
nvenc-encoder2: Merging my CQ (VBR) settings of old 'nvenc-encoder' branch w/ new master branchhw-encoder-nvenc
First of all, big KUDOS to the Handbreak team to pull-in and maintain the libav -> ffmpeg transition
as well as the nvenc-encoder work load.
This new nvenc-encoder branch uses my settings for CQ (VBR) on NVENC,
while giving some references to the documentation.
I like the new init_qp* settings, good job.
What might be helpful here is to have 'bf' paramter for B frames to be set,
as well as NVENC specific parameters like AQ and LOOKAHEAD?
Here I use the recommended best values and 'bf=2', a compromise between low animation and sports.
Since LOOKAHEAD does a dynamic b-frame adaptation, this should be OK - if not great.
Below my comment section about my settings:
// NVEnc Performance see Chapter 4 of Video_Codec_SDK_8.0.14/doc/NVENC_Application_Note.pdf
// [email protected] usually uses the nvenc-h264 setting:
// - constant quality (cq) of 26-24, which enforces variable bitrate (vbr),
// - constant framerate (cfr) w/ framerate=source
// - preset=hq (high quality), profile=high, level=auto
//
// Resulting to av_opts:
// 'preset=hq,rc=vbr_hq,cq=26.00,init_qpP=26.00,init_qpB=28.00,init_qpI=24.00,bf=2,rc-lookahead=16,spatial-aq=1,forced-idr=1,profile=high'
//
// NVEnc:
// - GeForce GTX 950, has Compute SM 5.2
// - AQ enabled
// - Lookahead enabled: depth 16, scenecut enabled, B-adapt enabled.
//
// This achieves w/ HD 1080p source and even frame cropping in Handbreak around 160fps,
// matching the net expected of around 270fps less consumption via decoding and cropping.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/Interfaces/IViewModelBase.cs')
0 files changed, 0 insertions, 0 deletions