What’s IPFS?

IPFS (InterPlanetary File System) is a decentralized way to share files. If you’ve ever used torrents, it’s basically the same concept. When sharing a file, you can copy the CID (Content Identifier) for that file. Other nodes can then use the CID to retrieve the media from the IPFS network.

To access IPFS files through the web, you need to go through an IPFS gateway. Examples of such gateways are Cloudflare-ipfs.com or Ipfs.io. These gateways serve as intermediaries between the IPFS network and the web, relaying files.

How do I share my footage with IPFS?

Download https://github.com/ipfs/ipfs-desktop You can follow the guide on the github page. In short: Head to the files section --> Import --> click the media you want to import --> click on the file --> share link

You might notice how the video doesnt yet load on the ipfs gateway, this is because it has yet to find and cache the video you want to share. You can use this site to speed up the process https://natoboram.gitlab.io/public-gateway-cacher/ As you try to get the file through the gateway, it starts actively looking for the file and should pop up in a couple of minutes. So please check if the file is available through the gateway before posting.

Be sure to have .mp4 (or whatever video format) at the end of your link for it to display as a video on the post! you can do this by adding ?.mp4 at the end.

What happens when I stop sharing my media file?

IPFS isnt invulnerable from getting dead links, if nobody is sharing the file then itll be gone forever. That’s why I will be (trying) to develop a bot that automatically saves and shares any IPFS video uploaded to this community. I encourage anyone with the technical know-how to do the same.

Do I have to upload footage through IPFS?

I highly encourage you to do so, as with the nature of this platform it’d be a little bit silly if all of our media wasnt decentralised.

    • ollie@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      unfortunately i’m not familiar with peertube, but anyone is free to post a mirror in the comments. i’m really just waiting for lemmy to add a proper video player/embed support so we’ll see what the best option will be from there.