Media Pipeline
S3 Storage

User uploads file to Kinopio

scroll to the bottom to the see the implemented workflow, using imgproxy

Kinopio stores original file

Original File

Video

If file type

Image

convert to MP4

Converted and compressed file

Other (PDF, ZIP etc.)

Audio

Convert to WebP or JPEG

we only need to do img conversions in the case that the file is too large (by some threshold, like file size > 300 kb)

Convert to MP3

do nothing

or if the file is a heic/tiff/wav or some other format that can’t be viewed in browsers

store processed file

is there a reason to not always just use webp for images?

url to use in card name sent back to client (compressed version, or original if no compression needed)