Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube-dl php script #21877

Closed
sikro94 opened this issue Jul 23, 2019 · 2 comments
Closed

Youtube-dl php script #21877

sikro94 opened this issue Jul 23, 2019 · 2 comments

Comments

@sikro94
Copy link

@sikro94 sikro94 commented Jul 23, 2019

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

@sikro94 sikro94 added the question label Jul 23, 2019
@remitamine remitamine closed this Jul 23, 2019
@remitamine remitamine added the offtopic label Jul 23, 2019
@megustador
Copy link

@megustador megustador commented Dec 23, 2019

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.

@triplesixman
Copy link

@triplesixman triplesixman commented Jan 9, 2020

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.