How to play mp4 in iOS Flex application - ios

I'm developing a Flex application to iOS devices and I can't find a way to play mp4 video inside it...
I know it works with navigate to URL command but it's open browser and then the vieo player, which is not what I'm intending...
Thanks

If you work with audio and video streaming, one of the worst limitation of AIR 2.6 for iOS is that it is not possible to stream video encoded in H.264 (and audio in AAC) inside your AIR application. AIR 2.6 for iOS supports NetConnection and NetStream but can decode only Spark, VP6, MP3, NellyMoser and Speex formats. So no H.264 and no AAC.
I've tried play .flv video fine in flex app on iOS.

Related

How to convert HEVC videos from Photos to h264 on iOS?

I've been looking into the Apple documentation but I couldn't find anything that would allow me to convert a video recorded on an iPhone 7 (HEVC) to h264.
I need to do this because the app has a web server running and it's streaming the video to web browsers that don't support HEVC.
Is there any way to do this?

Flash AS3 AIR on iOS not streaming HLS AAC

This is already a nightmare for me..
I have to get this AAC working for a project and there is no other way and no alternatives..
I'm using this library https://github.com/mangui/flashls and successfully stream ACC and MP3 with M3U8.
Now I have to get it working in iOS and in iOS, there is only the MP3 stream working. AAC seems to work, as the buffer is loading etc, but there is no audio.
The AIR has H.264/AAC Playback Support for iOS since AIR 2.
Source: http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html
And there are some NetStream members that are not supported, that might be the cause why audio is not playing in iOS.
Source: "Support for H.264 encoded video in AIR for iOS" http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html
Also the guy who wrote FlashHLS responded that he does not find any problem with the log files here: https://github.com/mangui/flashls/issues/150
NOTE: I'm streaming only audio and I only need audio. Would be great if there is a audio only library that does not use stageVideo.
Here is all my testing app code:
https://www.dropbox.com/s/y1t9jkv7tg1lgvy/iOS%20test%20ACC.zip?dl=0
The AAC stream: http://media.err.ee/viker/mp4:2104941.m4a/playlist.m3u8
Thank you!!

Mp3 audio file is playing in android but not able to play in iphone

I am downloading audio file which is in mp3 format from dot net(.net) webservice to documents folder,but i am not able to play it,but the same audio file is playing in android phone when it is downloaded,what could be the reason
Maybe your android phone has a codec which your iPhone does not support.
Installing a different media player might work

How to make the html5 audio tag work with iOS Safari

The audio tag on Safari does not seem to work...
Example:
http://iandevlin.com/html5/data-uri/audio.php
For me using iPhone 5s and iOS 7.1, the tag control says that the audio file cannot be played. Fix?
The code in the example above:
<audio controls src="data:audio/ogg;base64,T2dnUwACAAaaaaand so on" />
I need to use the data: method of providing the sound data in base64 format.
OGG is not support on iOS.
As you can read in the Safari documentation:
Safari on iOS (including iPad) currently supports uncompressed WAV and
AIF audio, MP3 audio, and AAC-LC or HE-AAC audio. HE-AAC is the
preferred format.
Unfortunately, iOS Safari won't process base 64 encoded audio. No idea why, but you have to store it as an external file.

is it possible to play h264-mpegts format in ios?

Server transcodes the video to the h264/aac, and send video data to client simultaneously. To play and save the video data at the same time, I use mpegts as the container format, but the problem is that ios MediaPlayer can not play mpegts file.
Google said that i can used ios-build of ffmpeg to do the task, but it seem to be an overkill. is there any other ways to play mpegts in iphone using just iOS SDK?
i dont know much about ios but yes, you can play mp4(h264) videos in your ios device. i run my h264 video url to ios safari web browser, it detect the video and quicktime player start to play that video. so you can check this by entering video url (i.e:- http://yourserver.com/yourvideo.mp4) to your ios safari web browser.
NOTE :- your mp4 video should be of codec "h264". Use FFMPEG to convert videos in h264 codec

Resources