ffmpeg -y -hwaccel cuvid -c:v mpeg2_cuvid -i input.ts -c:v h264_nvenc -preset slow -profile:v high -level 4.2 -vf format=yuv420p -rc vbr_hq -qmin 23 -qmax 32 -maxrate 5M -bufsize 10M -c:a copy -map 0:0 -map 0:1 output.mp4
Created
November 28, 2018 05:45
-
-
Save aphex3k/b3dac3a42695f25e575cd696522f12fe to your computer and use it in GitHub Desktop.
FFMPEG transcoding using NVENC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment