
Parameters -preset ultrafast -level 31 arent supported too, but i have change they in CustomFFmpegOptions = -pix_fmt cuda -c:v h264_nvenc -zerolatency 1 -preset slow -level 41 -f matroska The problem in UMS is that one parameter is hardcoded for ffmpeg and cant be changed -pix_fmt yuv420p, the encoder h264_nvenc not support this parameter. I have tested a lot of variants but only hardware decoding is working.įrom commnad line ffmpeg (version from UMS 9.4.1) is able to decode and encode without problem (ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -b:v 5M output.mp4) Nvidia graphics cards from Kepler family can hardware encode H.264 YUV 4:2:0.
