https://github.com/dzhang314/YouTubeDrive Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} dzhang314 / YouTubeDrive Public * Notifications * Fork 11 * Star 402 Store files as YouTube videos == infinite disk space License MIT license 402 stars 11 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @dzhang314 dzhang314 Bump copyright year ... 4964ef0 Jul 26, 2018 Bump copyright year 4964ef0 Git stats * 13 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time LICENSE Initial commit Jun 11, 2017 README.md Updated line numbers Jun 12, 2017 YouTubeDrive.wl Bump copyright year Jul 26, 2018 View code Usage Example Installation README.md YouTubeDrive Banner --------------------------------------------------------------------- YouTubeDrive is a Wolfram Language (aka Mathematica) package that encodes/decodes arbitrary data to/from simple RGB videos which are automatically uploaded to/downloaded from YouTube. Since YouTube imposes no limits on the total number or length of videos users can upload, this provides an effectively infinite but extremely slow form of file storage. YouTubeDrive depends externally on FFmpeg, youtube-upload, and youtube-dl. These programs must be downloaded and installed separately, and prior to first use, YouTubeDrive must be configured with their install locations. See below for details. YouTubeDrive is a silly proof-of-concept, and I do not endorse its high-volume use. Usage Example Usage Example NOTE: A short time needs to pass between calls to YouTubeUpload and YouTubeRetrieve for YouTube to process the uploaded video. I find that 5-10 minutes suffices for small (less than 10MB) file uploads. The video YouTubeDrive produces in this example can be viewed at https://www.youtube.com/watch?v=Fmm1AeYmbNU. Installation * Install FFmpeg, youtube-upload, and youtube-dl as your operating system dictates. * Find an arbitrary test video, say test.mp4, and run youtube-upload --title="Test Video" test.mp4. Follow the displayed instructions to create an OAuth token for your YouTube account. This will be the YouTube account used for all YouTubeDrive uploads. * Download and open YouTubeDrive.wl from this repository. * In lines 75-77, enter the install locations of the FFmpeg, youtube-upload, and youtube-dl executables. Make sure to use proper string escape sequences (in particular, backslashes \ need to be escaped as double-backslashes \\ in Windows paths). 75 | FFmpegExecutablePath = "FFMPEG_PATH_HERE"; 76 | YouTubeUploadExecutablePath = "YOUTUBE-UPLOAD_PATH_HERE"; 77 | YouTubeDLExecutablePath = "YOUTUBE-DL_PATH_HERE"; For example, I use the following install locations on my system (Windows 10): 75 | FFmpegExecutablePath = "C:\\Games\\MiscExes\\ffmpeg.exe"; 76 | YouTubeUploadExecutablePath = Sequence["python", 77 | "C:\\Users\\dzhan\\AppData\\Local\\Programs\\" <> 78 | "Python\\Python35\\Scripts\\youtube-upload.py"]; 79 | YouTubeDLExecutablePath = "C:\\Games\\MiscExes\\youtube-dl.exe"; Note the use of Sequence[] to call python youtube-upload.py above. * After making the above edits, open YouTubeDrive.wl with Mathematica. Then, open the File - Install... dialog, and select the following options: + Type of Item to Install: Package + Source: YouTubeDrive.wl + Install Name: YouTubeDrive (no .wl suffix) Choose installation for all users or the current user only, according to your preference, and click OK. About Store files as YouTube videos == infinite disk space Resources Readme License MIT license Stars 402 stars Watchers 4 watching Forks 11 forks Releases No releases published Packages 0 No packages published Languages * Mathematica 100.0% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.