Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Youtube-dl php script #21877
Youtube-dl php script #21877
Comments
|
Hi, any updates on this? I also want to kinda forward the stream, and not to download the video to the server, as the app will be on heroku and heroku fs is read-only. |
|
:) |
Hello,
I have been using youtube-dl for a long time, and I now want to install it on my dedicated server to make it easier for me to download content.
I created a php script that allows me to download the video of my choice to the server, then I download it to my computer, pretty cool!
I am now trying to improve this script in order to redirect only the feed to avoid uploading the video to the server.
Example with this site: https://mpgun.com
It seems to redirect the stream without downloading the video to the server. If you try to download a video that lasts 3 hours, the site will offer you the download immediately!
I think ffmpeg allows you to do that, only I don't know where to start in the code.
Do you have any idea how to set this up in php?
Thank you