5 ms·
Hi this is Tim. I made this website. It's currently running on a $5 droplet on DigitalOcean so conversions will take a while. I'm testing out the waters here on
by timdaub 8y ago
Hi this is Tim. I made this website. It's currently running on a $5 droplet on DigitalOcean so conversions will take a while. I'm testing out the waters here on HN to see if there's anyone interested in it. Please let me know if you have any questions regarding it.
Github: https://github.com/TimDaub/ipfs-hls-converter https://github.com/TimDaub/ipfs-hls-converter
Edit: I haven't chosen I license for this yet, sorry.
- donaltroddyn 8y agoI think you're experiencing the Slashdot effect.
- haywirez 8y agoWhat did you end up using for queueing conversion jobs?
- timdaub 8y agoFantastic question. I'm not even doing that yet. How embarrassing! Right now I'm just spawning sub processes like crazy and hope they don't overwhelm my machine. In the future, I plan to use a queue and also to monetize on API queries. I haven't looked into queues in Javascript yet. If you have recommendations, that be appreciated :) This is really just an MVP to see how the internet crowd reacts to it. I'm glad it does in a positive way :)
- tyingq 8y agoHaven't used it, but "bull" shows transcoding as their example, so I assume they've run through your use case: https://github.com/OptimalBits/bull https://github.com/OptimalBits/bull
- haywirez 8y agoDon't use bull, use NATS[1] - happy with it so far with the Node SDK. [1] https://nats.io https://nats.io
- vorticalbox 8y agoRabbitMQ is what we use at work or sns for messages to lambdas.
- jgh 8y agoWhy are you transcoding all the time? You could probably save your little droplet a bit of heartache by using ffprobe to check if the video is already h264 (or h265)+aac and just do -c copy in that case.
- timdaub 8y agoThat's a great suggestion. I'll add that to my list of todos!
- anderspitman 8y agoDid you look into using something like ffmpeg.js to do the heavy lifting client-side? Note I have no idea if ffmpeg.js supports all the features you need (ie HLS).
- timdaub 8y agoI didn't even know that existed, but now I will definitely take a look! Thanks for the feedback!