by redwall_hp · 4y ago · 0 comments
Most of your garden variety blog/CMS engines have plugins that can even automatically take media uploads and stash them on Amazon or a similar CDN. For something that's not even that big, that might even be overkill. If the amount of data transferred monthly is low enough, you could probably just serve it off a VPS.
If I had to actually recommend a service it'd be Cloudflare Stream[0], which allows you to upload videos, CF transcodes them, and you get a link to a page with just the video player[1], and they offer options like only allowing embeds on certain origins and disabling/enabling MP4 downloads. The pricing is fairly reasonable as well at $1 per 1,000 watch minutes and $5 per 1,000 minutes of stored video.
0: https://www.cloudflare.com/products/cloudflare-stream/
1: https://watch.videodelivery.net/b9d528d5eece459b80113823cefd...
but why does it need to have all these different formats and bitrates?
You can probably implement a part of these features imperfectly in a regular CMS and with the video tag, but you may as well use readily-available software that do this job for you well.
If you host, occasionally, one or two videos, that's probably the best thing to do, but if you are to create a channel, you are probably better of using dedicated software.
* I think it’s dubious that S3 & CloudFront is really DIY anyway but hey, if you already broke the seal.
You know how much cloudfront bandwidth costs? $0.085/GB. Vimeo has a 2TB/month limit before they "may reach out to discuss a more suitable plan for your needs". If you consume that much bandwidth, it would already be costing you $170/month on AWS for the bandwidth alone. I suspect viemo's plans are still going to be cheaper.
For example you seem to know your way with the solutions you propose, but I already see an issue, as in reality WebM is a format limited to VP8 and VP9, and cannot contain H.264 video.
But Chrome ignored this limitation and wrote a muxer that is actually able to store H.264 inside WebM files, thus going out of spec... which means different tools might have different degrees of support for those files.
https://bugs.chromium.org/p/chromium/issues/detail?id=980822
Arguably, a former user of YouTube or Vimeo shouldn't have to learn about all this, and shouldn't have to end up reading bug reports such as that one (and this is just scratching the can of worms that is all the topic of codecs, encodings, containers, etc.)