cross-posted from: https://lemmy.world/post/51997098

I made a little project called YoutubeTranscoder:

https://github.com/cashilysh/youtube-transcoder

The idea is pretty simple. You give it a file and it turns it into an 8K black and white video. You upload that video to YouTube, and later you can download it or even decode it directly from the YouTube stream and get the exact same file back.

I made it as an experiment to see if YouTube’s compression would completely destroy the data. Surprisingly, it works.

It uses zfec for error correction and SHA-256 checksums to make sure the data survives YouTube’s compression and that the recovered file is actually identical to the original.

It’s a single Python file and works on both Linux and Windows.

Important: CPU encoding is currently too slow and doesn’t survive YouTube’s compression reliably. For now, NVIDIA GPU encoding is the only reliable option I’ve tested.

You can try it yourself with this test video:

https://www.youtube.com/watch?v=tljK1QxLLA0

The video contains a 40 MB ZIP file with some memes and videos. You can decode it directly from YouTube with:

python VideoTranscoder.py -d https://www.youtube.com/watch?v=tljK1QxLLA0

Full disclosure, the entire project was made with Claude and DeepSeek, since I’m not a professional programmer. 😄

It’s obviously not meant to replace proper cloud storage, but I thought it was a pretty fun experiment and could be interesting to data hoarders/file sharers.

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 day ago

    I don’t know why people are shitting on this. Fuck YouTube. They are full of slop anyway and are a gatekeeper to actual good platforms. They hold back innovation and are only supported by google ads and google search. They only post revenues, never profits.

    YouTube is practically monopoly because of their network effect. To compete you have to be huge yourself and make money. YouTube doesn’t have to make money. They just have to be the default.

    We’d be better of without YouTube or a similar monopoly, because that would mean real competition. That would be good for content creators and consumers.

    I 100% support projects like these because they have a chance of hurting Goofle. Fuck em.

  • hyperion626@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    2 days ago

    Abusing platforms is a great way to burn their good will and get them to bring down the hammer, making things harder for regular people. Please don’t do this.

    • remotelove@lemmy.ca
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      2 days ago

      There isn’t a shred of good will left at Google and their ban hammers operate on algorithmic randomness.

      If anything, files should be jammed into as many short-form videos as possible to hopefully trigger a run-away implosion of that that entire ecosystem.

      • hyperion626@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 day ago

        Let me rephrase that then: “don’t draw the eye of sauron. It hurts the people around you.”