Live data from Hacker News

Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

ipfs-converter.com

11–20 of 48 posts

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#12
post #7
post #6

Earlier quoted context omitted.

What did you end up using for queueing conversion jobs?

Fantastic 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 d…

Haven'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

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#13

What's the utility of this? The site is down and github doesn't really explain why you would do this.

IPFS is a distributed p2p filesystem. The idea, I believe, is that you can put your big media files on it, to share bandwidth and (iiuc) reduce censorship risks; but it's better to do it with a stream-friendly codec, so this site will turn your file into that first.

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#14

What's the utility of this? The site is down and github doesn't really explain why you would do this.

I just came back from a run and the website was down. Sorry. It's up again.

Utility: https://github.com/ipfs/js-ipfs/tree/master/examples/browser...

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#15
post #10
post #2

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 Edit: I haven't chosen I license for this yet, sorry.

Why 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.

That's a great suggestion. I'll add that to my list of todos!

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#16
post #12
post #7

Earlier quoted context omitted.

Fantastic 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 d…

Haven'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

Don't use bull, use NATS[1] - happy with it so far with the Node SDK.

[1] https://nats.io

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#17
post #13

What's the utility of this? The site is down and github doesn't really explain why you would do this.

IPFS is a distributed p2p filesystem. The idea, I believe, is that you can put your big media files on it, to share bandwidth and (iiuc) reduce censorship risks; but it's better to do it with a stream-friendly codec, so this site will turn your file into that first.

The acronym is for Inter-Planetary File System, with the main idea being getting a file from the closest person who already has it, so you don't have to request it from a central server that is potentially very far away.

The main benefit on earth, as far as I understand, is reducing bandwidth required of a single person to share media by distributing hosting, similarly to torrents.

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#18
post #12

Earlier quoted context omitted.

Haven'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

Don't use bull, use NATS[1] - happy with it so far with the Node SDK. [1] https://nats.io

That seems more messaging oriented than job oriented. Does it manage job concurrency limits, time outs, etc?
Post reply on HN