Created
December 29, 2017 00:09
-
-
Save endavid/d124dc5c3f98c487ca0427f2407ab6e8 to your computer and use it in GitHub Desktop.
Crop & scale iPhoneX video from iMovie for App Preview
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
# Still undocumented here https://developer.apple.com/support/app-previews/ | |
# or here https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/Properties.html | |
# but iPhoneX App Previews required size is 886x1920 | |
# Unfortunately, iMovie seems to be dumb and creates a 750x1334 App Preview video from your iPhoneX capture | |
# -- and with black margins on the side | |
# So you need to crop & scale the video up before you submit it to iTunesConnect: | |
ffmpeg -i iPhoneX-iMovie.mp4 -filter:v "crop=616:1334:68:0" -c:a copy cropped.mp4 | |
ffmpeg -i cropped.mp4 -vf scale=886:1920 -c:a copy iPhoneX-final.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment