Created
June 19, 2023 02:58
-
-
Save LeeiFrankJaw/66a312e9d88fedb840cd0421fc6562af to your computer and use it in GitHub Desktop.
Compress Apple HEVC HDR Videos
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
for i in *.mp4; do | |
ffmpeg -i "$i" -c:v libx265 -crf 30 -c:a copy -color_primaries bt2020 -colorspace bt2020nc -color_trc arib-std-b67 -map_metadata 0 -max_muxing_queue_size 1024 -n Compressed/${i::-4}.mp4; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment