问题描述
我刚刚拍摄的在iPhone上运行6我的新应用程序中使用的 QuickTime播放器的和闪电电缆的视频。后来我创建的的iMovie 的一个App preVIEW项目,出口,并可以将其成功上传到iTunes连接。
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.
苹果要求开发者上传的不同的决议应用previews依赖于屏幕尺寸,分别是:
Apple requires developers to upload App Previews in different resolutions dependent on screen size, namely:
- iPhone 5(S): 1080点¯x1920 或640×1136
- iPhone 6:750点¯x1334(我有)
- iPhone 6+: 1080点¯x1920
- iPhone 5(S): 1080 x 1920 or 640 x 1136
- iPhone 6: 750 x 1334 (what I have)
- iPhone 6+: 1080 x 1920
显然,1080点¯x1920杀害二鸟一石。我知道,倍增并非完美的解决方案,但它满足我的需求。由于我没有自己的6+,另一个记录会话都不会做的伎俩。
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.
不幸的是,iTunes Connect的是什么,接受极其挑剔。这是我试过了,没有用:
Unfortunately, iTunes Connect is extremely picky about what to accept. Here's what I tried, to no avail:
- 手刹,iMovie中,QuickTime的不支持像素提升
- MPEG Streamclip
-
的ffmpeg -i input.mp4 -a codeC副本-vf规模= 1080:1920 output.mp4
- Handbrake, iMovie, QuickTime do not support upscaling
- MPEG Streamclip
ffmpeg -i input.mp4 -acodec copy -vf scale=1080:1920 output.mp4
奇怪的是,iTunes Connect中不断抱怨错误的分辨率,当我尝试上传的output.mp4的的ffmpeg 的
Strangely enough, iTunes Connect keeps complaining about the wrong resolution when I try to upload the output.mp4 of ffmpeg.
推荐答案
最后,的ffmpeg -i input.mp4 -a codeC副本-crf 12 -vf规模= 1080:1920,setsar = 1:1 output.mp4
的伎俩
原来,ffmpeg的尝试是聪明的纵横比,使实际尺寸1079x1920 2000的长宽比:2001
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
强制为1的长宽比:1,因此,在右键解决方法 -
-crf 12
作为期望的质量结果大致在同一文件的大小由iMovie中创建的原始文件,所以它应该是一个安全的赌注比特率明智
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
这篇关于我如何高档的iOS应用preVIEW视频至1080点¯x1920?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!