Skip to main content
Participating Frequently
Dec 5, 2016 11:57 AM UTC
Question

h.264 video on iOS

Hi, I'm still looking for a way to play h.264 videos on iOS on the standard display list (not using stagevideo or stagewebview). Every time I use and mp4/h264 video, it works perfecly on windows/mac/android, but not on ios, even using encoding optios set to ios on adobe media encoder. The video only displays on iOS if I encode it as FLV...

I recently found this article about video playing using the netstream class:

http://blogs.adobe.com/flashplayer/2016/02/how-to-provide-video-rotation-metadata-to-action-script.html

However, even using this very same code h264 never works on iOS... Is there a solution for that?

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

itlancer
Inspiring
Dec 9, 2016 2:55 PM UTC
Colin Holgate
Inspiring
Dec 5, 2016 2:23 PM UTC

No, there isn't a way, but using StageVideo is almost identical to using netstream. What is the problem with using StageVideo?

Translate
Participating Frequently
Dec 5, 2016 2:30 PM UTC

StageVideo doesn't allow me to use the video in compositions on the display hierarchy, so I can't apply roations, translations, color and alpha transforms - and can't put it behind other graphic elements. On Android/Windows/Mac it works preety well.

Translate
Colin Holgate
Inspiring
Dec 5, 2016 2:37 PM UTC

You can put display list items on top of StageVideo. You can't do the other things, because the H.264 is sent straight to the GPU.

So, with all the limitations you're setting you should use FLV instead.

Translate