Skip to content

Instantly share code, notes, and snippets.

@powhu
Last active May 27, 2020 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powhu/59fb71a7b501776a0b2cd96142cf7d95 to your computer and use it in GitHub Desktop.
Save powhu/59fb71a7b501776a0b2cd96142cf7d95 to your computer and use it in GitHub Desktop.
iTunes connect video preview
// iPhone X
ffmpeg -i input.mov -qscale 0 -r 24 -y -vf scale=886:1920,setsar=1:1 output.mov
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i output.mov -y -vf scale=886:1920 -map 0:0 -map 1:0 -shortest -strict experimental -r 30 -y appstore.mp4
// iPhone 8 plus
ffmpeg -i input.mov -qscale 0 -r 24 -y -vf scale=1080:1920,setsar=1:1 output.mov
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i output.mov -y -vf scale=1080:1920 -map 0:0 -map 1:0 -shortest -strict experimental -r 30 -y appstore.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment