Copy link to clipboard
Copied
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:
However, even using this very same code h264 never works on iOS... Is there a solution for that?
Copy link to clipboard
Copied
No, there isn't a way, but using StageVideo is almost identical to using netstream. What is the problem with using StageVideo?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Oh, one other possible route, which will be harder though, is to use Stage3D. Then you can use the H.264 as a video texture, and really mess with the geometry.
Copy link to clipboard
Copied
There is bug report: Bug#3840986 - [iOS] Simple Video object doesn't work with H.264 (MP4) videos