Skip to content

Instantly share code, notes, and snippets.

@gardner
Created December 1, 2023 02:06
Show Gist options
  • Save gardner/78721ccceaf9d341d9b27ae2ba1366ca to your computer and use it in GitHub Desktop.
Save gardner/78721ccceaf9d341d9b27ae2ba1366ca to your computer and use it in GitHub Desktop.
ffmpeg macos settings test for h264_videotoolbox
#!/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