Hacker News new | ask | show | jobs
by jonesnc 1433 days ago
Could someone explain what ipfs protocol support means? What can ffmpeg do with ipfs?
2 comments

> InterPlanetary File System (IPFS) protocol support. One can access files stored on the IPFS network through so-called gateways. These are http(s) endpoints. This protocol wraps the IPFS native protocols (ipfs:// and ipns://) to be sent to such a gateway. Users can (and should) host their own node which means this protocol will use one’s local gateway to access files on the IPFS network. If a user doesn’t have a node of their own then the public gateway https://dweb.link is used by default.

https://ffmpeg.org/ffmpeg-protocols.html#ipfs

And for the avoidance of doubt, yes, ffmpeg is used on multiple planets, not many things are, and many frameworks-du-jour at launch are obsolete by the time the probe actually lands on Mars, let alone end of mission.
Looks like it supports getting data from ipfs:// and ipns:// URIs by using an ipfs gateway, which is basically an http-to-ipfs server.

- https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/ipf...

- https://github.com/FFmpeg/FFmpeg/commit/f889837e00d3b2388a24...