hwaccel cuvid / hwaccel dxva2
Posted: Sun May 20, 2018 1:45 pm
Hi,
I know I can add a custom ffmpeg command line, but I don't know which lines the default XDCAM node uses.
People that have NVIDIA GPU can get a lot of improvements over the normal encoding if they use -hwaccel cuvid before "input".
Other people may also get many speed improvements using dxva2, so using -hwaccel dxva2.
I think you should add a setting in the XDCAM50 node called "use hardware acceleration" and enable users to use cuvid or dxva2.
By the way, this is my command line:
________________________________
ffmpeg.exe -hwaccel cuvid -i "AVS Script.avs" -pix_fmt yuv422p -vcodec mpeg2video -threads 32 -s 1920:1080 -aspect 16:9 -vf setfield=tff -flags +ildct+ilme -r 25 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 36408333 -acodec pcm_s16le -ar 48000 -g 12 -bf 2 -profile:v 0 -level:v 2 -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -f mxf "output.mxf"
PAUSE
________________________________
I'd like to add a custom ffmpeg command line that is different, though.
I'd like to add a custom ffmpeg node that has the very same settings as these in the screen (default XDCAM50 node) but also -hwaccel cuvid:
I know I can add a custom ffmpeg command line, but I don't know which lines the default XDCAM node uses.
People that have NVIDIA GPU can get a lot of improvements over the normal encoding if they use -hwaccel cuvid before "input".
Other people may also get many speed improvements using dxva2, so using -hwaccel dxva2.
I think you should add a setting in the XDCAM50 node called "use hardware acceleration" and enable users to use cuvid or dxva2.
By the way, this is my command line:
________________________________
ffmpeg.exe -hwaccel cuvid -i "AVS Script.avs" -pix_fmt yuv422p -vcodec mpeg2video -threads 32 -s 1920:1080 -aspect 16:9 -vf setfield=tff -flags +ildct+ilme -r 25 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 36408333 -acodec pcm_s16le -ar 48000 -g 12 -bf 2 -profile:v 0 -level:v 2 -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -f mxf "output.mxf"
PAUSE
________________________________
I'd like to add a custom ffmpeg command line that is different, though.
I'd like to add a custom ffmpeg node that has the very same settings as these in the screen (default XDCAM50 node) but also -hwaccel cuvid: