I ran a virtual event recently, the JOMLAUNCH.Asia. And I had some Indiehackers sharing their stories, ie, Kyle Gawley (@kylegawley), Asep Bagja (@asepbagja), Fajar Siddiq (@fajarsiddiq), Ryzal Yusoff (@ryzalyusoff), Takuya Matsuyama (@craftzdog) and Warren Leow as speakers. Amazing sharing... yeah, truly.
But anyway, I want to share about my video workflow.
I am converting the videos into HLS with FFMpeg, and then host them on Digital Ocean Spaces. And then I will probably use a player like JWPlayer on our website to allow the videos to be watched. The video will probably use an expiring link to the video files using the Spaces API with the Signature Key, which is dynamically generated based on your session and ACL role. So the video is only watchable within the next 4 hours, for example.
Of course when you login again, the link will have a new signature key to Spaces and you have another 4 hours.
So the videos can't be accessed if you are not logged in to the site. ;)
Yeah ... maybe a bit too much for some. Just sharing my setup. I hope to hear yours too.
If you use videos for online course or anything, how and where do you host them?
I'm currently using 5cents CDN, since it seems to be the best value out of the available CDNs.
Will check it out
Hi Kidino,
the auth via pre-signed urls wouldn't work with hls because when you fetch the m3u8 file it actually gives you the list with the segments. The Videoplayer then would try to request these segments and fail because the files are private.
I found DO spaces super duper duper slow. Right now I just use the Vercel CDN network. In the past I used S3
Ho wait ... B2 has storage too now. Not just cold storage for backups. I may consider this too. https://www.backblaze.com/b2/cloud-storage-pricing.html
Oh cool. I can consider anything with compatible S3 API. ;)