Skip to content

Instantly share code, notes, and snippets.

@olidroide
Created October 4, 2023 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olidroide/dd7b55a89956d6685195b7927081eb04 to your computer and use it in GitHub Desktop.
Save olidroide/dd7b55a89956d6685195b7927081eb04 to your computer and use it in GitHub Desktop.
ffmpeg
#h264
ffmpeg.exe -init_hw_device qsv=hw -filter_hw_device hw -i .\out.mp4 -movflags +faststart -c:v h264_qsv -load_plugin h264_hw -global_quality 25 -max_muxing_queue_size 1024 -c:a copy aa_tope.mp4
#h265
ffmpeg.exe -init_hw_device qsv=hw -filter_hw_device hw -i .\out.mp4 -movflags +faststart -c:v hevc_qsv -load_plugin hevc_hw -global_quality 25 -max_muxing_queue_size 1024 -c:a copy aa_tope.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment