Benjamin Thiel
Benjamin Thiel

Reputation: 1135

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

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:

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:

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

Upvotes: 27

Views: 11509

Answers (6)

Vimal
Vimal

Reputation: 306

lets say I want to make an app preview with 1920 × 886px

In iMovie, file -> App preview, drag a picture with the 1920 × 886px as the first item in timeline, then drag the video into the timeline. iMovie automatically changes the resolution of the content to the resolution of the first item in timeline. now the video resolution has changed automatically. now remove the picture and export (Share button on right side top -> App preview (App preview option will only show if the project was made as File -> App preview)). The exported video will be 1920 × 886px. you can resize any video in this way to any size. just use a dummy picture to let iMovie do the magic for you

Upvotes: 0

taku_oka
taku_oka

Reputation: 453

I found a simple solution. Export preview size is automatically decided by video ratio. I found a rule, iMovie decide export ratio by Video Aspect Ratio.

So, if you crop your ratio before export, then iMovie export by the your ratio.

Upvotes: 0

Omar
Omar

Reputation: 85

use shortcut app

https://www.fosshub.com/Shotcut.html?dwl=shotcut-macos-signed-191020.dmg

its open source, free and easy to use

just drag drop your preview video, export, choose your desired resolution and aspect ration

for iPhone X and above resolution for app preview video is 886 X 1920 for portrait 1920 X 886 for landscape

good luck

Upvotes: 0

Hblegg
Hblegg

Reputation: 189

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

Upvotes: 1

cwgso
cwgso

Reputation: 421

For some reason, one of the videos I recorded from my iPhone 6 using Quicktime, forces iMovie to export in 1080x1920. I've no idea why this one video causes the project to export at this resolution. It's 750x1334 just like all my other videos. Adding it to the start of the project, will let me export at this max res, which I can then downscale to the other sizes.

Upvotes: 0

Benjamin Thiel
Benjamin Thiel

Reputation: 1135

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

Upvotes: 69

Related Questions