How to load about thousands photo or more video in mobile

Hello everyone, there is a recent project that requires multi-angle videos to present the effect.

I encountered a relatively large problem in the production that is multiple videos loaded on the phone at the same time would be lag very much.

The use of sequence diagrams to run animations solves the problem of lag, but thousands of pictures will be added for a long time and even make the phone crash.

I would like to ask have any good solution for import many photos.

(The method cannot be changed …)

i don’t think there is much ways around it (if it runs out of memory…)

can try better phone, smaller images / videos, best texture formats for the specific phone,
load data in another thread (to avoid main thread being stuck), combine images (if they fit in texture atlas),
stream / load images or video on demand (unless they all need to be visible at the same time)…

or do rendering completely in desktop pc, and stream view to mobile…

and could check profiler to see whats causing slow downs and using most memory.

1 Like