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: -f "bestvideo+bestaudio" gets two video links, no audio on some Vids #25108
Comments
|
So what? This is expected behavior. |
|
That I don't get the audio link with bestaudio is expected behavior? |
|
The links are mpd manifest URL as this is fragmented DASH. No audio or video link technically exists. |
|
Ok, thanks, just for the background of my question, I use this function for around 2 years now in my apps, so I was wondering what happened suddenly. No idea how to go around this yet. |
|
Around what? Again: direct media links are only possible for media served directly, if it's served in fragments you can't get URL to media file cause there is no media file but fragments. |
Checklist
Verbose log
Description
I use youtube-dl to get the video and audio DASH links from YouTube to play them in vlc. On some (!) videos the -f option gets only the video link for video and audio. Seems to be more frequent on newer YouTube videos.