Video Limit

Hi,

I am new to Corona and app development but I have an idea that I’m working on. It involves using a lot of video footage or PNG image sequences. I was wondering, is there a limit to how much data an app can take? In GBs?

Thanks [import]uid: 198471 topic_id: 33274 reply_id: 333274[/import]

Are you asking, “How much data can I have in memory and any one time?”

If so, it isn’t entirely straightforward. There are many devices (iOS and Android) out there, with typical RAM sizes of between 128MB and 2GB. However, these sizes don’t tell you how much space your app can use.

For example, you may have an iPhone 3G which has 128 MB of RAM. However, when your app starts to use near 20MB at a time, you can get yourself into trouble and may crash.

That said, the best way to find out is to to code up a basic implementation of your idea (or the core part that you’re worried about) and try it on some devices that represent your target market.

So, what about Corona limits? AFAIK, it doesn’t really have any. You’ll always be limited by the amount of RAM, VRAM, and the persistent storage capacity of your device before you are limited by Corona.
[import]uid: 110228 topic_id: 33274 reply_id: 132210[/import]

One more thing. Just because you may not be able to simultaneously load lots and lots of textures and video into memory does not mean you can’t display them.

The typical way to solve displaying larger video files or to play large audio files is to stream them in small bits.

[import]uid: 110228 topic_id: 33274 reply_id: 132211[/import]

Are you asking, “How much data can I have in memory and any one time?”

If so, it isn’t entirely straightforward. There are many devices (iOS and Android) out there, with typical RAM sizes of between 128MB and 2GB. However, these sizes don’t tell you how much space your app can use.

For example, you may have an iPhone 3G which has 128 MB of RAM. However, when your app starts to use near 20MB at a time, you can get yourself into trouble and may crash.

That said, the best way to find out is to to code up a basic implementation of your idea (or the core part that you’re worried about) and try it on some devices that represent your target market.

So, what about Corona limits? AFAIK, it doesn’t really have any. You’ll always be limited by the amount of RAM, VRAM, and the persistent storage capacity of your device before you are limited by Corona.
[import]uid: 110228 topic_id: 33274 reply_id: 132210[/import]

One more thing. Just because you may not be able to simultaneously load lots and lots of textures and video into memory does not mean you can’t display them.

The typical way to solve displaying larger video files or to play large audio files is to stream them in small bits.

[import]uid: 110228 topic_id: 33274 reply_id: 132211[/import]