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.
Disable Fragments #11380
Disable Fragments #11380
Comments
|
Not possible. There are 8010 URLs because this video is divided into 8010 fragments. You may want to filter the output with |
|
@yan12125 But there are full versions of the video without fragments available (which you can find in the JSON). If you just output the regular link with |
|
I also tried Aren't the fragments only needed for ffmpeg to combine the different parts? |
|
What
That URL points to DASH segments, which can't be used directly |
|
But the fragments are created by youtube-dl, right? So shouldn't it just be a matter of passing an argument like |
Wrong.
Wrong. This video is DASH served in segments by YouTube. |
|
@dstftw I actually checked the DASH earlier and it didn't contain a single fragment. The file was less than 50 KB while the output of youtube-dl was over 10 MB. |
|
There are indded segment URLs in the 50kB DASH manifest. Please check the MPEG DASH standard for how it works. What youtube-dl can do is moving those URLs to somewhere else, like what #9109 was attempting to do, but not removing/disabling/deleting them. |
|
I just looked at the DASH again and there isn't a range inside any of the URLs. I'm talking about the URLs that look like this: |
|
Yes apparently you missed something
|
Description of your issue, suggested solution and other information
When I use the
-jargument to get JSON output I sometimes get ranges included and for longer videos the data's so big that it causes things to crash.Here's one video among many with this problem: http://www.youtube.com/watch?v=gAAIw2NIOxc
Now try it with JSON by running this:
youtube-dl -j 'http://www.youtube.com/watch?v=gAAIw2NIOxc'and it will flood the console with fragments.Is there a way I can disable fragments so I get less data (and avoid the crashes)?