Skip to main content
Participant
June 6, 2013
Question

Decode H.264

  • June 6, 2013
  • 1 reply
  • 629 views

Hi,

i'm a software developer ad use AIR SDK to develop applications mulitplatform.

I need for my project to decode h.264 stream to display into stage.

I compiled FFMpeg with FlasCC but the h.264 decompression is very slow and i ask

you if there are an API functions to decode h.264 more efficently?

If not, it would be good insert these function into next Adobe AIR SDK release.

Thanks

Andrea

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
June 7, 2013

You have some choices about playing H.264 using hardware decoding. The main two to try are StageVideo, or use StageWebView, and play the video from within HTML. In either case the video should play perfectly.

I believe that some have also used NetStream to play video, but I can't remember if that's just on Android.

Participant
June 7, 2013

Hi Colin,

thanks for your answer

i would like to use StageVideo class to display H.264 streaming using GPU mode

but my problem is that method appendBytes of NetStream class is not supported for H.264 video in AIR for iOS.

I use appendBytes method because my stream is proprietary protocol and when i receive data from socket my swc

library extract H.264 data and incapsulate it into FLV container before write to NetStream framebuffer.

My asnwer is: when appendBytes will be supported for iOS? or there is another way to use NetStream to append data?

For these reason i will try another way to create or use a display video library that is compatible with

iOS, Android, Win and MacOSX operative systems and i'm looking for some help from Adobe AIR developers.

Thanks

Andrea