How to get large flash video files working on the nokia e66
If anyone out there is ever trying to play serious quantities of flash video (more than a minute per video file) as a standalone application on a nokia e66, here's one way. Details may be useful for other phone models (devices
I know for sure the flv files will play on the phone - realplayer could show them. But trying to play video from external flv files through a netstream, the e66 would only display black video with no sound, although the application continued working as though it were showing me video properly - it didn't crash and my actionscripted controls kept working, I could even blindly skip ahead through my playlist to non video content.
Bizzare. I hope it's just something im doing wrong, rather than the (expensive) phone not being able to do what it should, as a flash lite 3 capable device.
Using device video (eg 3gp) was not very useful for my purposes as i am yet to hear of a way to detect (without netstream) video events like duration which you sort of need to know if you want to play another video immediately after the current one, and not muck around with hand made arrays telling you the duration while you watch a timer. Didnt try that but thought of it.
So I resorted to embedding my video files within the swf, eg on the timeline. This made the swf file very big, maybe 50mb, and although it played fine on my mac g5, it would not open on the phone which said it did not have enough memory.
From my application's main swf file, I loaded other swf files, each containing an (flv) video embedded on the timeline. Thus each swf would have a small enough file size to work on the phone.
Through trial and error I found the nokia e66 will not open a swf file if its size exceeds 10mb. Under 10mb seems fine, although on the borderline it would tend to open sometimes and fail others. So keep em under 10 and it should all work.
My flvs were encoded with the following (nice) settings in quicktime pro:
15 frames per second framerate
Automatic keyframe placement
128 kbps mp3 audio mono
With these settings my video clips ended up needing to be less than 1 minute 35 seconds in duration to fit in a swf under 10mb.
I wonder if the 10mb rule applies on other devices as well. It would be nice to find documentation telling us this sort of thing. The phone had heaps of memory - 8gb card, and certainly more than 10mb of RAM. It must be a limitation determined by software, maybe in flash player.
I had the latest e66 firmware (january 2009)
Good luck with your video.
One last whinge - why does ultra high quality flash video (2000kbps) play fine with flash player 9 and 10, and on the phone, but look terrible in Adobe Device Central? Ah well. At least it looks nice on the device. Thats whats important.