Answer the question
In order to leave comments, you need to log in
What is the best way to store media files?
I want to upload (download) media files from the cloud storage.
But how do I need to store them in order to download them as quickly and efficiently as possible?
I know that jpeg is the easiest among pictures but it does not preserve transparency,
among videos mp4 or webm is considered the best,
for storing text with pictures the only format I know is pdf
and for 3d it is gltf or glb
But is there such a format thanks to which I I can upload only part of the content
For example, in a video or audio that lasts 10 minutes, upload only 01.45-02.45
Or upload only 100-200x200-300
or 1,3,6 pages of a pdf file to a 400x400 image.
And what converters can be used for this purpose?
Answer the question
In order to leave comments, you need to log in
Depends on goals and objectives. The file system API allows you to read only part of the file, so problems like "only 2 minutes of video" are solved quite simply: download from the cloud only those ranges of bytes that are required. And it doesn't depend on the format.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question