简体   繁体   English

如何将 iOS App Preview 视频放大到 1080 x 1920?

[英]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.我刚刚使用QuickTime Player和 Lightning 数据线拍摄了我在 iPhone 6 上运行的新应用程序的视频。 Afterwards I created an App Preview project in iMovie , exported it and could successfully upload it to iTunes Connect.之后我在iMovie 中创建了一个 App Preview 项目,将其导出并成功上传到 iTunes Connect。

Apple requires developers to upload App Previews in different resolutions dependent on screen size, namely: Apple 要求开发者根据屏幕尺寸上传不同分辨率的 App Previews,即:

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

Obviously, 1080 x 1920 is killing two birds with one stone.显然,1080 x 1920 是一石二鸟。 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.因为我没有 6+,所以另一次录音不会成功。

Unfortunately, iTunes Connect is extremely picky about what to accept.不幸的是,iTunes Connect 对接受什么非常挑剔。 Here's what I tried, to no avail:这是我尝试过的,但无济于事:

  • Handbrake, iMovie, QuickTime do not support upscaling手刹、iMovie、QuickTime 不支持放大
  • MPEG Streamclip MPEG 流剪辑
  • 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 .奇怪的是,当我尝试上传ffmpeg的 output.mp4 时,iTunes Connect 一直抱怨分辨率错误。

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

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.事实证明,ffmpeg 试图对纵横比进行智能处理,因此实际尺寸为 1079x1920,纵横比为 2000:2001。

  • setsar=1:1 forces an aspect ratio of 1:1 and hence, the right resolution setsar=1:1强制纵横比为 1:1,因此,正确的分辨率
  • -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 -crf 12作为所需的质量大致产生与 iMovie 创建的原始文件相同的文件大小,因此它应该是比特率方面的安全赌注

I used Video resizehttps://itunes.apple.com/us/app/video-resize/id1073693347?mt=12 from the Mac App Store to resize the video.我使用 Mac App Store 中的视频调整大小https://itunes.apple.com/us/app/video-resize/id1073693347?mt=12来调整视频大小。 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.在 iMovie 中启动一个新的应用预览,导入新调整大小的视频,将其修剪到大约 1 秒,添加我调整大小的原始视频,将剪辑视频修剪为 30 秒,共享 -> 应用预览 -> 视频大小现在为 1080x1920。 Crossing fingers it will be accepted交叉手指它会被接受

我已经在这里回答了同样的问题(使用 iMovie 10 的解决方案): https : //stackoverflow.com/a/51118682/521316

For some reason, one of the videos I recorded from my iPhone 6 using Quicktime, forces iMovie to export in 1080x1920.出于某种原因,我使用 Quicktime 从 iPhone 6 录制的其中一个视频强制 iMovie 以 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.就像我所有的其他视频一样,它是 750x1334。 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.将它添加到项目的开始,将让我以这个最大分辨率导出,然后我可以缩小到其他尺寸。

use shortcut app使用快捷应用

https://www.fosshub.com/Shotcut.html?dwl=shotcut-macos-signed-191020.dmg 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 iPhone X 及以上应用预览视频的分辨率为 886 X 1920 纵向 1920 X 886 横向

good luck祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM