Skip to content

Instantly share code, notes, and snippets.

@aphex3k
Created November 28, 2018 05:45
Show Gist options
  • Select an option

  • Save aphex3k/b3dac3a42695f25e575cd696522f12fe to your computer and use it in GitHub Desktop.

Select an option

Save aphex3k/b3dac3a42695f25e575cd696522f12fe to your computer and use it in GitHub Desktop.

Revisions

  1. aphex3k created this gist Nov 28, 2018.
    1 change: 1 addition & 0 deletions practical examples.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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