r/github • u/25slinkshot • Apr 28 '26
Question How to use large mp4 files?
This is my first time using github. I am currently constructing a study in psychology and for that I set up a fake zoom call with an html file which plays an mp4 file in a fake zoom interface when opened. As it would emulate a longer zoom call of about 40 minutes, that mp4 file would be pretty sizeable.
I have researched and found conflicting information regarding large files on github. My question is, can I simply use my github repository for such a large mp4 file or am I better off looking into other tools for that?
Apologies if this seems obvious to some of you, I am not well versed in using github or coding in general.
4
u/TheSodesa Apr 29 '26
Do. Not. Track. Binary. Blobs. With. Git.
9
u/ferferga Apr 28 '26
Why GitHub and not another cloud storage like Google Drive/OneDrive?
4
u/CODEthics Apr 28 '26
Git LFS or use a different service meant for storing such files.
3
u/MedivalBlacksmith Apr 28 '26
Why can't you host the file locally?
Would it be possible to use YouTube as the stream? You can set your video to private on YT if that would work..
2
u/404invalid-user Apr 29 '26
GitHub isn't a CDN as far as you should go is images for your readme or docs you want to put the file on your server or Google drive etc
1
u/ICON_4 Apr 28 '26
If you don’t change the file and it’s not too big it shouldn’t be a problem (consider using git lfs), if it changes or is too big, you should upload it into a cloud or onto a server