Hello Geetha,
thank you for the further information. Knowing this I have to say you, that it will not work with EmWi 9.20. The animated bitmap functionality available in Embedded Wizard is intended to display small contents like an animated icon within a button, etc. It is not intended to display full screen video contents. Why?
Depending on the mode how you store the bitmap resources, the resulting Flash (ROM) or/and RAM occupacion is very high. Let's calculate.:
Case 1: The bitmap resources in your project are configured in the mode Compressed. In such case just in the moment, when you access the bitmap resource all 629 image frames are decompressed and loaded into RAM. Assuming the color format of the bitmap resource is RGBA8888 (32-bit per pixel), it will occupy 629 * 1280 * 400 * 4 Bytes = 1,2 GB. Additionally, the compressed image contents will occupy Flash (ROM). How much ROM is occupied does depend on how good the image contents can be compressed. In worst case, you will need 1.2 GB flash.
Case 2: The bitmap resources in your project are configured in the mode DirectAccess. In such case no RAM is needed, but the image contents need to be stored in uncompressed format in flash. You will need 1.2 GB flash.
What can you do?
Option 1: Rethink your application case. Is it really necessary to show such big animation?
Option 2: Use a separate Video Decoder and store the animation as motion JPEG or other format optimized for video encoding.
Option 3: You can try EmWi 9.30 (e.g. the Free edition). In this version we have reworked the memory management of bitmap resources. There are four advantages you may find as interesting:
1. The bitmap resource can be stored in Index8 format. This reduces the memory usage up to factor 4.
2. Animated, multiframe bitmaps stored in Compressed format are not loaded at once in RAM anymore. Instead the system loads the frames individually and discards them also automatically. The RAM occupacion can be reduced to a single frame (e.g. 1280 * 400 = 512 kB in case of Index8 format).
3. You can import directly a MJPEG file (motion JPEG) file. Embedded Wiuzard will thereupon automatically exctract the frames from the file.
4. Elimination of equal frames. If the animation contains equal frames, Embeded Wizard detects it and stores only one exemplar of each individual frame.
Best regards
Paul Banach