Current problem
Storage of Media can be expensive. In fact Fluxer has that 3 year expiration date, so.
Proposed change
Automatic Image/video compression of uploaded images.
This feature can branch from the singular uploaded media in the chat, to server-IMPOSED setting, which if branched more it expand to FORCE users to go through a process of compression of their media (every uploaded media must go through the process of compression in that specific server)
- You can start by adding a setting on the user client side that handles this:
- "Do you want compression to be turned on as default for every media u upload?" (can be turned off in the singular
Edit Attachment) ON/Off - A setting to sub-choose if the compression must be on/off for
image-only,video-onlyor both.
Note: [[ I suggest for Fluxer to have the compression of images-only to be set to ON as default, users can change it if they wish in the settings. It is a "dirty" move but storage can cost. ]]
- Server-side settings, where the server admin choses if users are allowed to upload Uncompressed.
video-size/video-duration parameter to see if it is worth to compress seems very fair.Additional information
Users dont care about the size of what they upload, nor do I.
Modern phones do a screenshot and the image might be sized 800kb, 500kb. Even worse with screenvideo records.
If you compress them on a basic website like this one:
https://image.online-convert.com/convert-to-png
a basic 700kb image can become easly 100-150kb without touching any extra setting and directly click convert, it comes out smaller, a lot smaller. So I suggest you to pick the fastest OFFLINE algorithm you can pick, and put that for the feature I described above.
4 comments
Comment by @Palloxin
663971273-b6bd7fb0-b000-48e8-ac1f-c66dcc484f9c.jpg
573×672 | 42 kB
663976481-351816d1-5e24-42e9-aeeb-72f58a330954.jpg
720×1021 | 134 kB
663977091-c9548982-286d-498b-be43-3795229d3c28.jpg
720×1061 | 135 kB
Comment by @Palloxin
android 8, low-tier device, took 80 seconds to compress the video. Modern devices will take at least 3 times less. 663990928-56ebfd8f-62bf-41fb-bb55-1af43ec436b2.mp4 I am not even sure if the android app I used is the most efficent.Comment by Fullest
Comment by @Palloxin