Subject: [FFmpeg-user] UDP NVENC HEVC transcoding
Hello!
I'm transcoding/resizing some UDP live streams using CUVID and NVENC. It works but I got the feeling could be better, this is the my command line:
ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -resize 1280x720 -drop_second_field 1 -i udp:// 230.8.0.7:10008?buffer_size=3000000?fifo_size=1000000&overrun_nonfatal=1 -crf 30 -c:a -c:v hevc_nvenc -profile:v main -pass 2 -rc vbr -maxrate 3M -f mpegts udp://239.210.210.7:1234?pkt_size=1316&localaddr=10.10.71.55
I'd like to ask for some expert advice on what could be added or suppressed to improve it.
Thanks!!
LP
Aren't there new NVENC options nowadays in the new SDK ? Eg presets have changed significantly, such as -preset p7 and -multipass fullres Perhaps see Video SDK here ? https://developer.nvidia.com/nvidia-video-codec-sdk especially page 12 of https://developer.nvidia.com/gtc/2020/video/s21337