Skip to content

Instantly share code, notes, and snippets.

@robinfang
Created June 26, 2020 09:37
Show Gist options
  • Save robinfang/b7cd107393b481da9317a83666c4a56a to your computer and use it in GitHub Desktop.
Save robinfang/b7cd107393b481da9317a83666c4a56a to your computer and use it in GitHub Desktop.
ffmpeg -hwaccel cuvid -i in.MP4 -c:v h264_nvenc -c:a copy -crf 28 out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment