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

get direct download links for merged videos #21738

Closed
ganeendra opened this issue Jul 11, 2019 · 5 comments
Closed

get direct download links for merged videos #21738

ganeendra opened this issue Jul 11, 2019 · 5 comments
Labels

Comments

@ganeendra
Copy link

@ganeendra ganeendra commented Jul 11, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE

Hi,

can i know is there anyway for me to generate a direct download link for merged videos (video + audio )? I already know there is a mereged video available with best quality but I need to know is there anyway for me to select video and audio format and get url for that in order for me to stream it.

youtube-dl -f 255+160 URL

following code will merge the video + audio but it generates file not a stream url. I need know is there anyway for me to get a stream link without creating a temp file while merging

Thanks

@ganeendra ganeendra added the question label Jul 11, 2019
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 11, 2019

Youtube does not store merged videos.

@dstftw dstftw closed this Jul 11, 2019
@ganeendra
Copy link
Author

@ganeendra ganeendra commented Jul 11, 2019

Thanks for your reply

Okay but how does youtube-dl generates a best merged video ? I just need to know is there anyway for me to do that by myself?

Thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 11, 2019

By muxing video and audio with ffmpeg.

@ganeendra
Copy link
Author

@ganeendra ganeendra commented Jul 11, 2019

Thanks.

Could you please provide me a sample code ? I mean how does it output a link after merging with ffmpeg. ?

Thanks in adavance

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 11, 2019

Again: it does not output link. Files are muxed on your local filesystem.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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