View Single Post
Old 26th July 2020, 18:41   #11  |  Link
Richard1485
Guest
 
Posts: n/a
Thanks, guys. Unfortunately, I can't switch on temporal-aq or increase rc-lookahead without receving a "No NVENC capable devices found" warning, which despite what it sounds like means that my hardware doesn't support such settings. Nonetheless, they are definitely advisable, so I'll add them in.

In respect of "preset 7", I did indeed think that it meant quality, rather than low latency. Perhaps switiching it to 6 is a safer bet. I disable weightp even with x264, but I'll add it to the settings, switch bref to 2, and add -g 24.

Anyway, here's a second attempt:

Code:
ffmpeg -i clip.mkv -vcodec h264_nvenc -preset 6 -profile:v high -level 41 -rc vbr_hq -2pass 1 -qmin 0 -qmax 51 -maxrate:v 40000k -b:v 25000k -bufsize:v 30000k -bf 3 -refs:v 3 -spatial-aq 1 -temporal-aq 1 -aq-strength 4 -b_ref_mode 2 -rc-lookahead 32 -surfaces 48 -no-scenecut 0 -nonref_p 1 -strict_gop 1 -coder:v cabac -g 24 -bluray-compat 1 output.264
Let me know if I've overlooked anything. I wondered if it might be worth setting a minimum bitrate.

EDIT: Removed weighted_pred.

Last edited by Richard1485; 27th July 2020 at 16:00. Reason: Removed weighted_pred,
  Reply With Quote