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

best video compression for Ipad app

Participant ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

Hi All

I hope you can help. I am currently working on a Ipad 1 app. This app contains video at 640x253 and smaller video at 392x155. I have compiled the app and had a look at it on the Ipad but it runs really choppy. Is there a specific compression I can use to make the playback smoother. I know I can use stage view but it is not ideal for what I need to do. i am aware air 2.7 has a lot more perfomance boost than 2.6 which I am currently using but when is it coming out? If anyone could advise that would be great.

regards Mike

TOPICS
Development

Views

1.3K

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 ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

I still haven't heard a better estimate than the "sometime in June" one for AIR 2.7. Meanwhile, the only way I know to get good performance for video in a Flash app on iPad is to use StageWebView. Then you can play H.264 movies at native speeds.

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
Participant ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

Hi Colin

Thanks for that is there a way to scrub through stageweb video as i need to scrub through it and pause and play the video. It that something i can do and where can i find information to do this?

regards Mike

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 ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

This is the sort of code needed to play an embedded H.264 file:

import flash.geom.Rectangle;

import flash.media.StageWebView;

import flash.filesystem.File;

var webView:StageWebView = new StageWebView();

webView.stage = this.stage;

webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);

var fPath:String = new File(new File("app:/moviename.mp4").nativePath).url;

webView.loadURL( fPath );

Once it's running you should be able to touch the video and see the controller.

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
Participant ,
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

LATEST

Hi Colin

Thanks for that but is there a way to see the controls on start up?

regards Mike

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