Last active
August 5, 2025 14:52
-
-
Save playerx/be18c9521097de56be83cc894c9d9d25 to your computer and use it in GitHub Desktop.
Script for preparing AppStore App Preview video
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
| # for iPhone | |
| ffmpeg -i iphone_video.mp4 -i audio.mp3 \ | |
| -t 30 \ # Trim to 30 sec, it's max for app preview videos | |
| -r 30 \ # Frame rate set to 30 | |
| -vf scale=886:1920,setsar=1:1 \ # resolution should be 886:1920 if it's portrait | |
| -c:v prores_ks -profile:v 3 -pix_fmt yuv422p10le \ # use AppleProRes format. H.264 format didn't work for me. | |
| iphone_output.mov | |
| # for iPad | |
| ffmpeg -i ipad_video.mp4 -i audio.m4a \ | |
| -t 30 \ | |
| -r 30 \ | |
| -vf scale=1200:1600,setsar=1:1 \ | |
| -c:v prores_ks -profile:v 3 -pix_fmt yuv422p10le \ | |
| ipad_output.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment