Skip to content

Instantly share code, notes, and snippets.

@Voltra
Last active June 2, 2024 20:33
Show Gist options
  • Save Voltra/90b8bbd2255b67c552574efbe344411e to your computer and use it in GitHub Desktop.
Save Voltra/90b8bbd2255b67c552574efbe344411e to your computer and use it in GitHub Desktop.
ffmpeg
ffmpeg -i <input file> -acodec copy -vcodec libx264 -crf 20 <output file>
ffmpeg -i <input file> -acodec copy -vcodec hevc_nvenc -preset llhq -rc cbr_hq -gpu any <ouput file>
ffmpeg -i <input file> -acodec copy -vcodec h264_nvenc -preset llhq -rc cbr_hq -gpu any <ouput file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment