本文介绍了闪存/ AIR舞台视频iOS上 - 这可能吗?是怎样的表现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有任何你可以点我约AIR(3.2)的iOS设备上的视频性能的一些资源。

Does any of you can point me to some resource about video performance of AIR (3.2) on iOS devices.

我有兴趣为:

  • 是可用的StageVideo
  • 的视频流允许/启用
  • 是性能好的高清晰度视频?
  • 的FLV的播放允许的? (关于如何在Android:闪存是有话)

推荐答案

只有H264有硬件上的iOS解码。这意味着,只有为H264的原生播放器相媲美的视频性能和slugish(最好)的索伦森和VP6(甚至低分辨率)。解码

Only H264 has hardware decoding on iOS.This means comparable video performance with native player only for H264and slugish (at best) decoding for Sorenson and VP6 (even with low resolutions).

AIR 3的iOS使用StageVideo对象的H.264视频硬件解码,用有限的支持的NetStream功能。AIR​​ 3的iOS也支持了On2和Sorenson codeCS通过StageVideo对象。这支持不使用硬件解码,并它并不限制的NetStream功能。的  flash.media.StageVideo

"AIR 3 for iOS uses the StageVideo object for H.264 video with hardware decoding, with limited supported for NetStream functionality. AIR 3 for iOS also supports On2 and Sorenson codecs through the StageVideo object. This support does not use hardware decoding, and it does not limit NetStream functionality." flash.media.StageVideo

FLV和MP4的封装格式。FLV可以包含VP6 + MP3或H264 + AAC(或其中任何单独服用)。MP4可以包含H264 + AAC。该文档不说的FLV什么不beeing支持iOS上。

FLV and MP4 are encapsulation formats.FLV can contain VP6+MP3 or H264+AAC (or any of them taken alone).MP4 can contain H264+AAC.The docs don't say anything about FLV not beeing supported on iOS.

然而,在iOS上,如果FLV / H264不会玩,你就不能把它REMUX到MP4上飞,因为下面的限制(否则你将失去硬件解码):。注意:不支持此方法用于H.264视频在AIR 3.0的iOS的  flash.net.NetStream::appendBytes()

However, on iOS, if FLV/H264 won't play, you won't be able to remux it to MP4 on the fly because of the following restriction (otherwise you would lose hardware decoding):"Note: This method is not supported for H.264 video in AIR 3.0 for iOS." flash.net.NetStream::appendBytes()

没有谈及与Sorenson或VP6不beeing支载在飞行remuxing(因此他们应该是)。

Nothing is said about Sorenson or VP6 not beeing suported for on the fly remuxing (thus they should be).

您应该不需要对appendBytes反正,除非你打算做一些非常先进的东西,比如在播放过程中切换上飞码率没有任何中断。

You shouldn't need appendBytes anyways, unless you plan on doing some very advanced stuff, like switching bitrates on the fly without any interruption during play.

直播需要类似的东西对appendBytes做一些事情。由于H264硬件解码是必需的,没有一个软件模式下,您将无法获得H264的直播流。

Live streaming requires something similar of what appendBytes does. Since H264 hardware decoding is required and does not have a software mode, you won't get H264 for live streams.

事实证明,一个H264视频的实时流不会呈现在Adobe AIR的iOS设备。其他视频codeCS将工作(H263),而不是H264,你会消耗饲料,但只听到声音,我使用Adobe AIR开发团队的成员交谈后证实了这一点。的从的Adobe论坛

在不同的苹果的ARM CPU如何以及H264解码执行实际上取决于视频连接code设置(B帧或关键帧,比特率等)很多,无论您有动态内容,静态内容,快速切换的场景,分辨率,色彩palletes等。

How well H264 decoding performs on different Apple ARM CPUs really depends a lot on video encode settings (B-frames or keyframes, bitrates, etc.) and wether you have dynamic content, static content, fast switching scenes, resolution, color palletes, etc.

结论:使用FLV或MP4(哪个适合你),与H264 + AAC内。试验采用EN code设置,或大量的视频,其中你的目标(如果有的话)。确定这是最低的(旧)的iOS要定位装置,并在该测试。

Conclusion:Use FLV or MP4 (whichever suits you best), with H264+AAC inside.Experiment with encode settings, or lots of videos of which you are targeting (if any).Determine which is the lowest (oldest) iOS device you want to target, and test on that.

这篇关于闪存/ AIR舞台视频iOS上 - 这可能吗?是怎样的表现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 09:36