Created
May 8, 2024 18:07
-
-
Save souhaiebtar/09e8ffd21929ebd0b7a28a734fa64f67 to your computer and use it in GitHub Desktop.
[transcode-compress-video-using-ffmpeg]transcode/compress video using ffmpeg #ffmpeg #powershell
This file contains 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
function to65 { | |
/usr/lib/jellyfin-ffmpeg/ffmpeg \ | |
-c:v h264_qsv \ | |
-i "$1" \ | |
-map 0 -c copy \ | |
-c:v hevc_qsv -preset slow -global_quality 22 -look_ahead 1 \ | |
$2 \ | |
"${1%.*} x265.mkv"; | |
} | |
# another one ffmpeg -c:v h264_qsv -i '.\2024-02-02 14-58-43.mkv' -c:v hevc_qsv -global_quality 20 -look_ahead 1 -c:a copy 2024-02-02 14-58-43-ffmpegCompressedCLI.mkv | |
# resource: https://nelsonslog.wordpress.com/2022/08/22/ffmpeg-and-hevc_qsv-intel-quick-sync-settings/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment