Created
December 1, 2023 02:06
-
-
Save gardner/78721ccceaf9d341d9b27ae2ba1366ca to your computer and use it in GitHub Desktop.
ffmpeg macos settings test for h264_videotoolbox
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
#!/bin/bash | |
for profile in baseline main high; do | |
for level in 30 31 32 40 41 42 50 51 52; do | |
echo output-$profile-$level.mp4 | |
ffmpeg -i high-res.mov \ | |
-c:v h264_videotoolbox -profile:v $profile -level $level \ | |
-c:a aac \ | |
-y \ | |
output-$profile-$level.mp4 | |
sleep 1 | |
done | |
done | |
ffmpeg -i create-email-filter.mov \ | |
-c:v h264_videotoolbox -profile high -prio_speed false \ | |
-c:a aac \ | |
output.mp4 | |
/Users/gardner/src/nelson/api/main.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment