Skip to main content
Participating Frequently
December 5, 2016
Question

h.264 video on iOS

  • December 5, 2016
  • 2 replies
  • 545 views

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 has been closed for replies.

2 replies

itlancer
Inspiring
December 9, 2016
Colin Holgate
Inspiring
December 5, 2016

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

Participating Frequently
December 5, 2016

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.

Colin Holgate
Inspiring
December 5, 2016

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.