iPhone“无法播放” .mp4 H.264视频文件 [英] iPhone "cannot play" .mp4 H.264 video file

查看:356
本文介绍了iPhone“无法播放” .mp4 H.264视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为客户端设置一个简单的移动页面,其中包含指向.mp4视频文件的链接。 Lke so:

I'm trying to setup a simply mobile page for a client with a link to an .mp4 video file. Lke so:

<a href="My_Video_File.mp4" target="_blank">Watch MP4 Video</a>

然后我显然已正确获取我的视频文件并且.mp4具有以下特征:

And then I've obviously got my video file sourced properly and the .mp4 has the following characteristics:

Dimension: 480 * 272
Codecs: AAC, H.264, MPEG-4 SDSM, MPEG-4 ODSM
Channel Count: 2
Total Bitrate: 991
Size: 11.4MB

但是,问题是当我点击链接iPhone时说电影无法播放。并没有告诉我原因。

But, the problem is when I click on the link iPhone says "Movie cannot be played." and doesn't tell me why.

任何帮助?

提前致谢。

推荐答案

我最终想出来了。

问题部分与编码有关但是更多与尺寸有关。

The problem was partially to do with encoding but more to do with the dimensions.

我发现如果您的.mp4文件尺寸大于640 * 360,那么iPhone(iPad,iPod)就不会甚至让用户可以选择尝试播放它。他们只是获得X'd out播放按钮图标。

I found out that if your .mp4 file is larger in dimension than 640*360 then the iPhone (iPad, iPod) won't even give the user the option to attempt to play it. They just get the X'd out play button icon.

此外,这些设备仅支持使用基线H.264配置文件编码的.mp4,或者他们可以'可以播放。

Also, these devices only support .mp4's that are encoded with the baseline H.264 profile, or they can't be played.

此外,iPhone的比特率限制为1.5Mb,但建议将比特率保持在900kb以下。

Also, there's a bitrate limit of 1.5Mb for the iPhone, but it's suggested to keep the bitrate below 900kb.

如果质量不是大小而是尺寸,那么你可以使用更大尺寸的m4v,但我相信比特率规则仍然适用。

If quality is less of a concern than size then you can use m4v's of larger dimensions but I believe the bitrate rules still apply.

希望这个帮助别人。

这篇关于iPhone“无法播放” .mp4 H.264视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆