TL;DR
- GitHub Project: The yt-media-storage tool encodes arbitrary files into lossless FFV1 video format for upload to YouTube as unlimited cloud storage.
- Technical Method: The system uses Wirehair fountain codes for redundancy and encodes data at 4K resolution with optional XChaCha20-Poly1305 encryption.
- Legal Risk: YouTube’s Terms of Service explicitly prohibit using the platform as general-purpose file storage, creating account termination risk for users.
- Community Interest: The project has gained 367 GitHub stars and active Hacker News discussion since its February 2026 release.
A GitHub project enables encoding files as lossless video for YouTube storage using the yt-media-storage tool, gaining attention last week. The project converts files into FFV1 lossless video format within MKV containers for upload to YouTube, effectively repurposing the platform as unlimited cloud storage.
By encoding data into lossless video and decoding it back to the original file, the system bypasses traditional cloud storage costs through YouTube’s free unlimited upload capacity. Developed by GitHub user PulseBeat02, the tool provides both command-line and graphical interfaces for encoding and retrieving data.
How the Encoding System Works
The technical architecture relies on multiple redundancy layers to achieve reliable storage. The system uses Wirehair fountain codes for redundancy and repair to handle potential artifacts from YouTube’s video processing pipeline.
Files are chunked, encoded with fountain codes, and embedded into video frames during encoding. During decoding, the system extracts packets from video frames and reconstructs the original file. Optional encryption uses libsodium with the XChaCha20-Poly1305 algorithm to protect data before upload.
Data encodes at 4K resolution (3840×2160) at 30 FPS, with redundancy mechanisms to handle YouTube’s video processing pipeline. FFV1 is a lossless intra-frame video codec. Unlike common codecs like H.264 or HEVC, which discard data to achieve small file sizes, FFV1 preserves every bit of data from the original source, making it suitable for data storage applications where perfect file reconstruction is required.
Features and Build Requirements
The project offers multiple access methods for different user preferences. Both a command-line interface and graphical interface allow users to encode files through terminal commands or a GUI application.
The GUI supports batch processing with the ability to queue multiple files for sequential encoding. However, building the project requires CMake 3.22, a C++23 compiler, FFmpeg, libsodium, OpenMP, and Qt6 (Core and Widgets). The system requires FFmpeg version 8 or higher to use the FFV1 encoder on mp4 format.
The C++23 compiler requirement positions this as a tool for technically sophisticated users comfortable compiling from source. Nevertheless, the project offers build artifacts for both the CLI and GUI through a CI/CD pipeline.
Hacker News Discussion Highlights Legal Gray Area
Despite the technical sophistication, the project raises notable legal concerns. The project appeared on Hacker News where discussion centered on Terms of Service violations and account termination risk.
The repository has accumulated 367 stars on GitHub, with 38 forks and 40 commits in the master branch, indicating active community interest and developer engagement with the codebase. Discussion participants noted YouTube’s Terms of Service explicitly prohibit this use case:
“The Service is intended for video viewing and sharing, not as a general-purpose, cloud-based file storage service.”
YouTube Terms of Service
Community members expressed concern about account termination risk. One commenter noted users face daily worry about when, not if, YouTube will terminate their account for violating the Terms of Service. The free unlimited storage appeal is offset by the risk of YouTube enforcing its Terms of Service through account suspension.
Availability and Similar Encoding Approaches
Beyond the immediate legal questions, the project fits into a broader tradition of unconventional storage innovation. Released under GPL-3.0 license, the project allows modification and redistribution under open-source terms.
The approach echoes other innovative data encoding techniques, such as Microsoft’s 2019 DNA storage research that successfully stored and retrieved data on DNA strands through encoding digital data into genetic sequences. Both approaches transform non-traditional storage media through lossless encoding with redundancy mechanisms to ensure data integrity.
The project represents a technical showcase of creative platform repurposing, transforming YouTube’s video hosting infrastructure into general-purpose storage through lossless video encoding. Whether users will adopt the tool despite YouTube’s explicit Terms of Service prohibition remains uncertain. The technical sophistication contrasts with the legal gray area, leaving the question of enforcement versus innovation unresolved.

