Created
September 26, 2025 08:51
-
-
Save beli-sk/b0459ef6d770230c8c251fce0f573665 to your computer and use it in GitHub Desktop.
Intel GPU accelerated video encoding with FFMPEG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # AV1 | |
| ffmpeg -i infile.mkv -c:v libaom-av1 -crf 25 -movflags +faststart -g 300 -an outfile.mp4 | |
| # HEVC | |
| ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i infile.mkv -vf hwupload=extra_hw_frames=64,format=qsv -c:v hevc_qsv -preset veryslow -global_quality 25 -g 300 -movflags +faststart outfile.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment