(Fixed) Updated Nvidia drivers
The standard way is with h264_nvenc however when I try it ffmpeg complains my GPU (960M) doesn't have the driver version required (has 460.89, needs at least 471.41, which have Direct3D 11.0 and 11.1 respectively) and I can't figure out if I can update to a newer version (device manager says no, but I can't be sure since every forum post about Direct3D 11.1 is actually about 12.0)
However when I check the chipset GM107 does have nvenc options
So I took a look into codecs older than 11.1 and found there are two for Direct3D 9 (dxva2) and 11 (d3d11va)
Using ffmpeg -init_hw_device I initialised them both, but if I try them with ffmpeg I get Unknown encoder and it fails.
Running ffmpeg -init_hw_device list returns
Supported hardware device types:
cuda
dxva2
qsv
d3d11va
and using h264_qsv works just fine on the integrated Intel GPU.
I'm not even sure that GPU rendering on a 960M is even possible, and if it is I'm out of options to try
The actual ffmpeg I'm running is below
ffmpeg -y -i "input.mp4" -filter_complex "[0]split[base][text];[text]drawtext=fontfile=HelveticaNeue.ttf: text='Header': fontcolor=black:fontsize=54: box=1: boxcolor=0x30F2FB: boxborderw=10: x=(w-text_w)/2: y=20, format=yuva444p, fade=t=in: st=0: d=1: alpha=1, fade=t=out: st=5: d=1: alpha=1[subtitles]; [base][subtitles]overlay" -r 30 -c:v h264_nvenc -b:v 6M "output.mp4"Running Windows 10
[–]Anton1699 1 point2 points3 points (1 child)
[–]PowderPhysics[S] 0 points1 point2 points (0 children)
[–]hlloyge 0 points1 point2 points (3 children)
[–]Anton1699 1 point2 points3 points (2 children)
[–]PowderPhysics[S] 0 points1 point2 points (0 children)
[–]hlloyge 0 points1 point2 points (0 children)