could not get single streaming url containing audio + video of youtube videos #9937

Closed
opened 2026-02-21 04:05:02 -05:00 by deekerman · 4 comments
Owner

Originally created by @arushijain45 on GitHub (Feb 10, 2017).

I am trying to get streaming url of youtube video using following command
youtube-dl -g
but it is giving me two different streaming urls one for audio-only and other for video-only. However I have seen in other applications like (NewPipe) which is getting single streaming url containing both audio and video. So how I can achieve this?

Originally created by @arushijain45 on GitHub (Feb 10, 2017). I am trying to get streaming url of youtube video using following command youtube-dl -g <video-url> but it is giving me two different streaming urls one for audio-only and other for video-only. However I have seen in other applications like (NewPipe) which is getting single streaming url containing both audio and video. So how I can achieve this?
Author
Owner

@yan12125 commented on GitHub (Feb 10, 2017):

youtube-dl -g -f best <your URL>

@yan12125 commented on GitHub (Feb 10, 2017): ```youtube-dl -g -f best <your URL>```
Author
Owner

@arushijain45 commented on GitHub (Feb 10, 2017):

wow... thanku so much sir... can you please provide me the link of documentation because I could not find it in readme.md

@arushijain45 commented on GitHub (Feb 10, 2017): wow... thanku so much sir... can you please provide me the link of documentation because I could not find it in readme.md
Author
Owner

@yan12125 commented on GitHub (Feb 10, 2017):

https://github.com/rg3/youtube-dl#format-selection should be useful

@yan12125 commented on GitHub (Feb 10, 2017): https://github.com/rg3/youtube-dl#format-selection should be useful
Author
Owner

@arushijain45 commented on GitHub (Feb 10, 2017):

okay thanku...

@arushijain45 commented on GitHub (Feb 10, 2017): okay thanku...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#9937
No description provided.