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

Extract video stream url only? #2592

Closed
simplyi opened this issue Mar 20, 2014 · 5 comments
Closed

Extract video stream url only? #2592

simplyi opened this issue Mar 20, 2014 · 5 comments

Comments

@simplyi
Copy link

@simplyi simplyi commented Mar 20, 2014

Hello!

I have downloaded youtube-dl and run it in command line. It worked great! However I do not need entire video file to be downloaded on my computer. I need youtube-dl to return me the list of video urls from url_encoded_fmt_stream_map with a correct deciphered signature that I can use to download video from browser.

Is there a way to use youtube-dl to extract list of video urls? or may be you can share a piece of code I can use to decipher the signature? Currently I am using the two js functions from html5player and it works for many videos but not for velvo content. Can you advise me how to get through with it? I am using php though. Thank you!

@AGSPhoenix
Copy link
Contributor

@AGSPhoenix AGSPhoenix commented Mar 20, 2014

Have you tried using the -j and -g options?

@simplyi
Copy link
Author

@simplyi simplyi commented Mar 20, 2014

awesome! I have just tried this and it worked:
./youtube-dl --get-url "http://www.youtube.com/watch?v=PIb6AZdTr-A"

@AGSPhoenix do you know if I can provide an additional option to request video url of specific quality? or by itag parameter in url_encoded_fmt_stream_map?

@xanadu
Copy link
Contributor

@xanadu xanadu commented Mar 20, 2014

--all-formats
-F
-f

@AGSPhoenix
Copy link
Contributor

@AGSPhoenix AGSPhoenix commented Mar 20, 2014

Yeah, seems to work with -f in conjunction with -g. --all-formats also works as you'd expect.

@simplyi
Copy link
Author

@simplyi simplyi commented Mar 20, 2014

@AGSPhoenix @xanadu guys thank you! you saved my day. It works!.

@jaimeMF jaimeMF closed this Mar 20, 2014
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.