Media Pipeline
S3 Storage

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

Original File

store processed file

Other (PDF, ZIP etc.)

do nothing

Convert to MP3

Audio

If file type

Convert to WebP or JPEG

Image

Video

convert to MP4

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

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

User uploads file to Kinopio

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)

Kinopio stores original file

Converted and compressed file