When using h264_nvenc dont render in RGB or RGB24 color format since it only supports YUV444. png is rgb so dont follow example, use tiff
- lossless
ffmpeg.exe -framerate 25 -hwaccel cuda -hwaccel_output_format cuda -i 1%04d.png -c:v h264_nvenc -preset 10 grasscar.mp4
- Lossy, since png with color conversion artifacts (but not bad)
ffmpeg.exe -framerate 25 -hwaccel cuda -hwaccel_output_format cuda -i 1%04d.png -c:v h264_nvenc -preset 9 grasscar.mp4