Video file optimization

One of my favourite features of Ghost is how it automatically generates sizes and webp versions of uploaded images, which allows serving brilliantly optimized posts and pages.

But Ghost currently has no such capability for video files. I would love it to have this.

It could follow a similar pattern to the image URL optimization, except perhaps replace “format” with “quality”.

eg:

This could all be achieved with the free and open source tool ffmpeg.

You could even use the +faststart flag to make large videos able to start playback immediately, instead of the whole video needing to be downloaded.

Ghost can do that with images because it’s using a web standard. Video doesn’t have the same web standard, but here are some paths forward: How to Use Responsive HTML Video (...and Audio!) | Scott Jehl, Web Designer/Developer