• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Video on the iPhone OS

New Here ,
May 27, 2011 May 27, 2011

Copy link to clipboard

Copied

I am trying to deploy a Flash application to the iphone. My application works when run locally but does not run on the ipod.

Program uses FLVPlayer 2.5, and loads the video using the load() function.

Video's are .mp4 filesand are stored in the root folder.

Anyone got advice on using video on the iPhone OS?

TOPICS
Development

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 27, 2011 May 27, 2011

H.264 files won't play with FLVPlayback on iOS. If you're using AIR 2.6 you can play them using a StageWebView. Or you can play them with the FLVPlayback component, but as On2 VP6 FLV files.

Votes

Translate

Translate
New Here ,
May 27, 2011 May 27, 2011

Copy link to clipboard

Copied

More information.

The mp4 files I am trying to play in the app can be viewed when played standalone on the ipod.

I added some error checking:

video1.addEventListener(VideoEvent.STATE_CHANGE, HandleStateChange);

function HandleStateChange(e:VideoEvent):void
{
    ErrorText.text=e.state;
}

The ErrorText displays "Playing" when the video is supposed to be playing, although the screen is otherwise completely black.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 27, 2011 May 27, 2011

Copy link to clipboard

Copied

H.264 files won't play with FLVPlayback on iOS. If you're using AIR 2.6 you can play them using a StageWebView. Or you can play them with the FLVPlayback component, but as On2 VP6 FLV files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
May 28, 2011 May 28, 2011

Copy link to clipboard

Copied

How to identify the video is H.264 and On2 VP6 FLV files? becoz I too tried AIR 2.6 video with the flv component itz not working for me on Ipad also used stagewebview itz working fine with the native player

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2011 May 28, 2011

Copy link to clipboard

Copied

If the file is named .mp4, and it plays with the native player, then it's most likely H.264, and won't work on iOS with FLVPlayback. If it's named .flv, it won't work with the native player, will work with FLVPlayback, and it's most likely On2 VP6.

Anything that plays with the native player should work in StageWebView, but you have to get the syntax exactly right.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2011 May 28, 2011

Copy link to clipboard

Copied

Makes no sense but you are right.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2011 May 28, 2011

Copy link to clipboard

Copied

One additional question.

What are the best parameters to encode FLV video to play smoothly on the iphone?

Deinterlace? or not

Best bitrate?

Best Framerate?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2011 May 28, 2011

Copy link to clipboard

Copied

Under AIR 2.0 or 2.6 you're unlikely to get smooth playback, but you could try 300 kbps. The iPhone shows progressive video, any interlacing in the source will end up being averaged. So use a non-interlaced source if you have one, and deinterlace if you need to.

Match the source frame rate, usually that would be 24, 25, or 30 fps.

If this isn't urgent, I would compress at higher data rates, so that the video looks good, and then hope for AIR 2.7 to come out sooner rather than later.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 29, 2011 May 29, 2011

Copy link to clipboard

Copied

Even at 360 kbps playback is jerky.

Do you think that will be improved in FLVPlayback in the new version of Air?

When will the new version be coming out?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 29, 2011 May 29, 2011

Copy link to clipboard

Copied

Yes, dramatically better. I don't know a release date, but others here have referred to "sometime in June".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 01, 2011 Jun 01, 2011

Copy link to clipboard

Copied

To take advantage of the newest version of Air, do I need to compile the App with the new version, or is the new version updated on the users' phone?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 08, 2011 Aug 08, 2011

Copy link to clipboard

Copied

LATEST

Has anyone been able to run Stage Video on the iPad or iPhone?

I tried running this sample on the iPad and nothing happens.

http://www.adobe.com/devnet/flashplayer/articles/stage_video.html

I tried with a .MOV file, a FLV file and an MP4 file

Is it supported on the iPhone?

I am using Flash CS 5.5

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 01, 2011 Jun 01, 2011

Copy link to clipboard

Copied

That is total bull. If you jailbreak your iPhone 3G, you can record video very well with applications like the iPhone Video Recorder. Apple is wrong to make promised updates to the software update 3.0 just to try to boost sales in a new model of iPhone is not much better than 3G. I'm about done with Apple. Microsoft and Apple both are run by criminals.If this solution will not solve your problem then take help of http://www.arcapps.com.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines