Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I upscale an iOS App Preview video to 1080 x 1920?

Tags:

I just captured a video of my new app running on an iPhone 6 using QuickTime Player and a Lightning cable. Afterwards I created an App Preview project in iMovie, exported it and could successfully upload it to iTunes Connect.

Apple requires developers to upload App Previews in different resolutions dependent on screen size, namely:

  • iPhone 5(S): 1080 x 1920 or 640 x 1136
  • iPhone 6: 750 x 1334 (what I have)
  • iPhone 6+: 1080 x 1920

Obviously, 1080 x 1920 is killing two birds with one stone. I know that upscaling isn't the perfect solution, but it's meeting my needs. Since I don't own a 6+, another recording session won't do the trick.

Unfortunately, iTunes Connect is extremely picky about what to accept. Here's what I tried, to no avail:

  • Handbrake, iMovie, QuickTime do not support upscaling
  • MPEG Streamclip
  • ffmpeg -i input.mp4 -acodec copy -vf scale=1080:1920 output.mp4

Strangely enough, iTunes Connect keeps complaining about the wrong resolution when I try to upload the output.mp4 of ffmpeg.

like image 867
Benjamin Thiel Avatar asked Apr 27 '15 21:04

Benjamin Thiel


People also ask

How do I change the video scale on my iPhone?

Change video resolution settings on iPhoneLaunch Settings on iPhone, scroll down and select Camera, then choose Record Video. Here you can see all the available resolutions or size you can choose from.

What is Apple app preview?

App previews are short videos that demonstrate the features, functionality, and user interface of your app or game on your App Store product page. You can easily use a Mac to capture screen recordings of your apps on a Mac, an iOS device, or Apple TV.

Is Preview app mandatory?

First off, is having an app preview video mandatory? No, it's not. And while including an app video in your App Store or Google Play listing doesn't directly affect your app's visibility in app stores, having an impactful app video can help increase conversion—which is a definite win!


2 Answers

Finally, ffmpeg -i input.mp4 -acodec copy -crf 12 -vf scale=1080:1920,setsar=1:1 output.mp4 did the trick!

Turns out that ffmpeg tries to be smart about aspect ratio, so that the actual size is 1079x1920 with an aspect ratio of 2000:2001.

  • setsar=1:1 forces an aspect ratio of 1:1 and hence, the right resolution
  • -crf 12 as desired quality roughly results in the same file size as the original file created by iMovie, so it should be a safe bet bit rate-wise
like image 77
Benjamin Thiel Avatar answered Sep 28 '22 07:09

Benjamin Thiel


I used Video resize https://itunes.apple.com/us/app/video-resize/id1073693347?mt=12 from the Mac App Store to resize the video. Quickly did the work but the resolution was off. Started a new App Preview in iMovie, Imported the newly resized video, trimmed it down to about 1 second, added the original video I had resized, trimmed clip video to 30secs, Share -> App Preview -> video size now at 1080x1920. Crossing fingers it will be accepted

like image 21
Hblegg Avatar answered Sep 28 '22 05:09

Hblegg