Skip to main content
Participant
June 28, 2011
Answered

Video/animation is slow on iOS (how can I optimize it?)

  • June 28, 2011
  • 1 reply
  • 1048 views

Hello,

I am trying to put a 15 seconds video with alpha channel in an application for iOS with flash CS5.5, but it is slow.

I tried with the GPU acceleration, I tried to use the old resolution (420x360) but it is stull slow.

I tried with an FLV, with a sequence of images, or even with bitmap traced images, but it is still slow.

Is there a way to make a smooth animation (with alpha channel) from a movie or a sequence of pictures in an app?

Thank you.

This topic has been closed for replies.
Correct answer Colin Holgate

The native controls won't play the video with alpha over your other stage things. GPU would be way too demanding (every frame would be transferred to the GPU). CPU would work, but the frame rate with AIR 2.6 may not be hight enough. If it isn't, try with AIR 2.7 (look around the forum for discussions on how to ge tthat going).

Don't forget though that playing alpha video is demanding, and devices are like slow computers, you may not get the performance you want.

1 reply

relaxatraja
Inspiring
June 28, 2011

What version you using to package the ipa? AIR 2.7?

Participant
June 28, 2011

How can I check the version? (I have installed the latest Flash CS5.5 and adobe Air software)

relaxatraja
Inspiring
June 28, 2011

Use stage webview class to load vido on ios with the native supporting controls.