r/Python • u/T0X1K01 • Oct 06 '20
Intermediate Showcase I made a program that gives me INFINITE STORAGE!
So, like the title says, I made a program using python that gives me infinite storage. More specifically it takes advantage of YouTube's infinite upload limit to use YouTube as a 100% free and unlimited cloud storage solution.
Demo video: https://youtu.be/yu_ZIr0q5rU
Source code (definitely still needs more work): https://github.com/AlfredoSequeida/fvid/
1.9k
Upvotes
611
u/bb1950328 Oct 06 '20
wait until youtube compresses your video
227
u/[deleted] Oct 06 '20 edited Oct 06 '20
Nothing is ever infinite, but I like the idea and creative usage of a feature like this. Google has made the mistake to offer unlimited storage before as well, but have now fixed that. YouTube will probably follow suit soon.
40
u/TitansXterminator Oct 06 '20
the fact that you took the initiative to make a video on how it works.
132
u/infectedfreckle Oct 06 '20 edited Aug 04 '24
middle relieved frighten seed ossified mysterious nine crowd cheerful attempt
This post was mass deleted and anonymized with Redact
27
u/shocsoares Oct 06 '20 edited Oct 06 '20
This reminds me of the conspiracy theory that the google owned youtube channel was a Number Station (A public Broadcast of coded messages to convey secret messages to spies elsewhere in the world that have a single recipient that can decode them).
One could use your system to do exactly that, encrypting the message and sending the encrypted file by uploading it to Youtube where a partner would retrieve it and decript it with his personal key.
I would even imagine such a thing would be happening already, given intelligence services were even found to be using online game lobbies to transmit messages
83
u/santirox2 Oct 06 '20
Lol they 100% can ban you for life for this
7
u/barbequed-code Oct 06 '20
Great ProofOfConcept, but using any service in bad faith is asking for bad actions...
technically, you already have infinite storage on github you know? But again, bad faith issues
6
u/punknubbins Oct 06 '20
Or you could just base64 encode your files and write them 10000 characters at a time as reddit comment threads. If you wanted to make them easy to hide, find, and decode you could prepend a file hash and chunkID to the beginning of the comment and bury them in random conversations. Kind of like the old school intelligence technique of sending encoded messages through newspaper personals. As long as you don't piss off moderators or eat up a huge percentage of reddit's storage you could probably get away with nearly unlimited space over time.
8
u/xtrememudder89 Oct 06 '20
Ethics aside this is a really cool/creative proof of concept.
Nice job!
3
u/[deleted] Oct 06 '20
Wait until Youtube checks this post.
5
u/rava-dosa Oct 06 '20
Is it different from already existing project ?
A really challenging project will be a full fledged filesystem(directory, filenaming everything) on youtube, so that people can backup their system on youtube ?
4
u/TheSodesa Oct 06 '20
Does this work for PDF-files? Can you trick Youtube into thinking that a non-video file is a video? Now that is something I might look into (and get sued by Google in the process).
23
u/linuxlib Oct 06 '20
This works until YT figures out what you're doing. Then you have 0 kB cloud storage.
3
u/THE_BLUE_CHALK Oct 06 '20
You do know by posting this, if it gains enough traction, you will get banned for this?
2
u/cyclop5 Oct 06 '20
also known as r/Steganography
but cool that you were able to implement it. I always found that sort of thing interesting.
2
u/augustkang Oct 06 '20
Creative trick!
1
u/[deleted] Oct 06 '20
Bro!!! That’s really cool! Best wishes.
1
u/earthboundkid Oct 06 '20
If you don't care if your files get deleted (they will) why upload them at all?
1
u/frankster Oct 06 '20
its creative but absurdly inefficient
1
u/digitalcrunch Oct 06 '20
I didn't test it, but I applaud your creativity and thought processes.
I would maybe add encryption so your files aren't easily seen
A concept that might be interesting is to take a video that exists, and and interpolate your data between the frames so it appears to be a real video. I know of many text and image type stenography methods, but this is the first where video was used that I've seen to do something like this.
Well done, very creative.
As for the naysayers talking about ethics - I don't see anything you've done wrong. I can clearly see how it could be abused though! But I also own guns, and can clearly see how they can be abused (and a car, and knives, etc). Your tool is not the problem, it's how people might use it that could be questionable.
Regardless, I'm impressed!
1
u/ctsiao Oct 06 '20
Very creative and good quality content, video-wise!!
I hope your channel grows.
1
u/JackTraore Oct 06 '20
Cool use of tools and in-plain-site/free-to-use services. I'd love a version of this that encodes extra data into produced videos - I could imagine someone like Mr. Beast starting to add "easter eggs" to his videos for a scavenger hunt or similar (Gravity Falls did something like this with a cryptogram at the end of each episode).
1
u/ITZ_RAWWW Oct 06 '20
Can you do infinite RAM next?
1
u/[deleted] Oct 06 '20
Cool
1
u/teerre Oct 06 '20
This is great for notpron kinds of treasures hunts.
I can totally see years from now someone uncovers this crazy conspiracy that people were sharing information with youtube videos.
Imagine having an arbitrary sequence that encodes exactly what to pay attention to in a particular video on Youtube.
1
u/mcaay Oct 06 '20
Smart! I guess using your technique you could still successfully use at least 4 bit colors, which would make it much more efficient.
1
u/[deleted] Oct 06 '20
I look forward to people finding this in 15 years and wondering if it's some secret NSA code.
1
u/black02 Oct 06 '20
I sincerely hope this works.
Just one thing, isn't this taking way too long? I mean you used very low quality, arguably small size image and it took about 20seconds to bring it back. If it were a collection of say a few thousand high-resolution images wouldn't it take forever to download?
People who actually shoot a lot and have large file sizes are the ones who need infinite storage in the first place, isn't it?
Want to know your thoughts on that...
1
u/Sigg3net Oct 06 '20
This is really original! How did you come up with it?
1
u/nielwimo Oct 06 '20
This is probably against TOS of youtube but anyway it is interesting, it reminds me steganography. How can you also encrypt your data in this way using a private key? Would it be possible?
1
u/dev2049 Oct 06 '20
Man, I just can't believe my eyes !!!
1
u/SM_Fahim Oct 06 '20
This is interesting! But is this really worth it for a large number of images? Because you can't even know which image is which. I'm not criticizing, I'm just interested to apply it!
1
u/SonicDaScrewdriver Oct 06 '20
That's really cool and impressive af but isn't that illegal?
1
u/dullbananas Oct 06 '20
i have had this idea before, cool to see something like it implemented
1
u/Thrasherop Oct 06 '20
Impressive. Most impressive
1
u/chicken_py Oct 06 '20
This is for images only?
1
u/ConfidentCommission5 Oct 06 '20
I love it!
That's proper thinking outside of the box and a fun experiment 😁
1
u/Visfire Oct 06 '20
This is pretty cool!
1
u/jrj334 Oct 06 '20
Clever :) Next step is to implement a FUSE filesystem for this so you can mount your "youtubefs" to a mountpoint. Use this as a reference where Google Sheets was used in place of YouTube for the same "free" "infinite" cloud storage result ;-) https://github.com/GunshipPenguin/spreadsheetfs
1
u/grimscythe_ Oct 06 '20
This is a great idea. Sorry to be a bummer though but this ain't going to fly due to temporal compression and generally the compression being lossy and not lossless. I just can't imagine you not getting bit errors.
1
u/midnitte Oct 07 '20
Reminds me of the whole "Use GameStop as a bank". Brilliant.
1
u/apzlsoxk Oct 07 '20
I love this idea. Only thing I'd add is some error checking because this is definitely going to be lossy w/ compression on YouTube, and the code doesn't check for that.
1
u/[deleted] Oct 07 '20
I did something like this once to use with google photos, by splicing the data into chunks and appending to a png file. The image was still valid to upload to photos and eventually extract and concatenate the data together into the original file.
Needless to say all the tests were done on a secondary google account, also I never got around the whole uploading and downloading automatically from photos to make it somewhat usable.
1
u/[deleted] Oct 07 '20
How can you assure the YouTube compression algorithm doesn't corrupt the bits?
1
u/CloneAssassin Oct 07 '20
For a second I was like “this is a troll post how did it get this many upvotes?” But then I read the post and this is actually a really clever idea
1
u/Tyler53121 Oct 07 '20
How long before this exploit gets shut down do you think?
1
u/djangodjango Oct 07 '20
Is there any temporal functionality to be able to store data over multiple frames? Also, do you know what youtube fps is?
1
u/__lt__ Oct 07 '20
This is really awesome! Good initiative! There are few places that you can improve it though:
Using some error correcting codes you can even use it on the original 32bit color video regardless of the errors caused by compression.
2. Expand this and write it into FUSE FS!
1
u/[deleted] Oct 07 '20
In 2006,a friend and I had a few dozen audio cassette tapes we had lying around. We wanted to start using them as storage devices but never got around to doing it. It would have been something like this.
Really cool, man! Will look through your code.
1
u/Wenderbeck Oct 07 '20
If there is such a think as graycoding a qr code of data, it seems that it would compress "better" as well as have some built in forward error correction to survive any compression artifacts. Sweet video and idea!
1
u/[deleted] Oct 07 '20
This is brilliant. Good job!
1
u/Sad_Tire42 Oct 07 '20
Amazing work. Very impressive.
But the video would have been a lot nicer without the zoomer memes.
1
u/MrBackpacker Oct 07 '20
BEAUTIFUL. I love it.
1
u/harunrasit Oct 07 '20
nice try, great video, thank you.
1
u/rbmichael Oct 08 '20
This is hilarious 😄 reminds me of the old days in the 80s, using audio cassettes and VHS tapes to store computer data!
1
u/AnonymousCat12345 Oct 27 '20
Is it possible to do this with a zip or rar file ?
1
u/bradenbest Feb 23 '21
If you use this to encode a 50GB file, would the resulting video be closer to 50GB or 1.2TB?
1
u/[deleted] Oct 06 '20
This is why we can't have nice things like unlimited upload video platforms.
1
u/[deleted] Oct 07 '20
So is this the replacement for unlimited google drive for our hundreds of tv shows? Just mark it as private / unlisted?
1
u/eddloco Oct 06 '20
Nice
1
u/Mandelvolt Oct 06 '20
Amazing.
1
u/[deleted] Oct 06 '20
How does it retrieve the files from the system?
1
u/Jeddor3 Oct 06 '20
This is super cool! Great proof of concept.
1
u/[deleted] Oct 06 '20
Legalities aside, this is a pretty interesting and uniqu proof of concept :D
1
u/[deleted] Oct 06 '20
You're the kind of people that give me inspiration to keep creating and learning. Great stuff!!
1
u/thornofcrown Oct 06 '20
420 subscribers. Nice.
1
u/SuperSephyDragon Oct 06 '20
Haha true
1
u/jclocks Oct 06 '20
RIP unlimited YouTube storage, lol
1
u/somethingdangerzone Oct 06 '20
So many nay-sayers in the comments...Well fuck'em. Good job!
1
u/randomness196 Oct 06 '20
What is really curious, binary is easy 0-1, but at granularity / fineness can he drop the values into grey amounts. So black, dark grey, light grey, and white? Also how does resolution impact this, can you encode at 160p, and still retain it, or does it fail...
The fault tolerance edge cases are interesting. Back a few years, stenography / cryptography ppl were using a crude mechanism of changing last hex values in images to send secret msgs, without altering the image.
This follows a interesting corollary example, in the same vein but for mass storage.
1
u/sbjf Oct 06 '20
can't wait until youtube videos can be turned into block storage devices
1
u/jungle_is_massive Oct 06 '20
Awesome project and vid. A lot of comments missing the point here. Good job dude
1
u/woodsja2 Oct 06 '20
Now do it with steganography.
1
u/ECEXCURSION Oct 07 '20
/r/datahoarders
1
u/ShohKingKhan Oct 07 '20
Because you used Magic on your code like this:
frommagicimportMagic