Hi everyone out there,
We have, at work, recently started looking at porting our existing Flash based E Learning couses over to AIR for Android applications for the Motorola Xoom tablet.
We are struggling at the moment to find the optimal settings for running (ideally) full screen, 1280 X 800px FLV files on the devices, since playback at this resolution is extremely slow and choppy using the existing FLV files that we were using on our desktop / web FLV files.
If anyone out there has tried out FLV playback with either an Air For Android app, where the FLV files are packaged within the app, or either streaming via normal http//:, any help you can offer on the following would be greatly appreciated:
* Maximum resolution for the device - we would like for it to be full screen, at 1280px by 800x, the native resolution of the device, but if we have to re jig the content so the videos are at a lower resolution, we will have to,
* Media Encoder settings for converting the Quicktime and other video files into FLV's (or MP4s or F4Vs)..
I found these articles which might help:
For mobile content you should encode your video's as h.264 (f4v). This will give you better performance and battery life. vp6 and sorenson spark encoded video (which only the flv format supports) will probably play very slow (especially at 1200x800).
You could also:
- Encode at a lower resolution and blow up the video inside the app using stage.fullScreenSourceRect.
- Implement StageVideo (i don't think it is available for android yet but it might be in the near future, see: http://www.adobe.com/devnet/flashplayer/stagevideo.html)
I don't know if FLVPlayback is optimized for mobile usage. If not it might be wiser to create your own player or use Adobe's Open Source Media Framework.