Skip to content

Instantly share code, notes, and snippets.

@wcmatthysen
Created August 10, 2022 11:24
Show Gist options
  • Select an option

  • Save wcmatthysen/539fb4b9a7fa4890f8288aea3ec75090 to your computer and use it in GitHub Desktop.

Select an option

Save wcmatthysen/539fb4b9a7fa4890f8288aea3ec75090 to your computer and use it in GitHub Desktop.
Re-encode H.264 to H.265 video
ffmpeg -hwaccel cuda -i input.mp4 -c:v hevc_nvenc -vtag hvc1 -preset slow -c:a copy output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment