English 中文(简体)
四. 短波/短程视频-可能吗? 业绩如何?
原标题:Flash/AIR Stage Video on iOS - Is It Possible? How is the performance?

你们中是否有任何人可以向我介绍一下有关AIR(3.2)仪器录像性能的一些资源。

我有兴趣:

  • is StageVideo available
  • is video streaming allowed/enabled
  • is the performance ok with high definition videos?
  • is .flv playback allowed? (how about on android: flash is there already)
最佳回答

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

"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 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.

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, 不得因飞机残渣而被起诉(他们应负责)。

除非你计划做一些非常先进的工作,否则,你就不需要任何途径,如在游戏期间不中断地在飞机上开标。

生计流离需要类似于 app的 something。 由于H264硬件脱编码是必需的,而且没有软件模式,因此,你获得了H264的活流。

"It turns out that real-time streaming of an H264 video does not render on iOS devices in Adobe Air. Other video codecs will work (H263), but not for H264. You ll consume the feed, but will only hear audio. I confirmed this after talking with members of the Adobe Air development team." From Adobe Forums

H264的编码在不同 Apple果ARM CPU上表现得好,这真的取决于视频编码环境(B-frame或键盘、比目等),而且你有动态内容、静态内容、快速开关、分辨、彩色粉等等。

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.

问题回答

我不知道业绩如何摇篮,但NetStream行动说明中的某些信息是利用NetStream/Video在AIROS装置上播放录像:

第三阶段:

离去的是,只要你的录像使用Si需要的流式格式,那么Video和有限流放能力就在OS装置上得到支持。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签