Skip to main content
Participant
Jun 28, 2011 8:26 AM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
Jun 28, 2011 12:39 PM UTC

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.

5 replies

relaxatraja
Inspiring
Jun 28, 2011 9:13 AM UTC

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

Translate
Participant
Jun 28, 2011 9:29 AM UTC

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

Translate
relaxatraja
Inspiring
Jun 28, 2011 11:37 AM UTC

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

Translate