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.
Question: How do I disable DASH Video from being used on Youtube #21360
Comments
|
Wait what? Not again, what is this a duplicate of?! I looked through the list of search results containing dash and there was nothing relevant in the 50 pages of Issue Titles I've seen! I only asked for a switch or parameter that is not clearly documented in the Readme, or might not actually exist. |
|
Okay Small Update, unsure if anyone is interested. Surely, people who search for this will be. This doesn't work: This doesn't work either: But if you combine both of them, it will suddenly work and prevent dash video from being downloaded: And I did test it on non-dash video just to make sure its not blacklisting literally everything ofcourse. |
Checklist
Question
WRITE QUESTION HERE
I have always gotten issues whenever I wanted to download a "fresh" Livestream from Youtube. And whenever I get that Issue I see that DASH Video is the Format being used.
Here an example of using -F:
139 m4a audio only DASH audio 64k , m4a_dash container, mp4a.40.5@ 48k (24000Hz)
140 m4a audio only DASH audio 144k , m4a_dash container, mp4a.40.2@128k (48000Hz)
160 mp4 256x144 DASH video 124k , mp4_dash container, avc1.42c00b, 30fps, video only
133 mp4 426x240 DASH video 258k , mp4_dash container, avc1.4d4015, 30fps, video only
134 mp4 640x360 DASH video 646k , mp4_dash container, avc1.4d401e, 30fps, video only
135 mp4 854x480 DASH video 1171k , mp4_dash container, avc1.4d401f, 30fps, video only
136 mp4 1280x720 DASH video 2326k , mp4_dash container, avc1.4d401f, 30fps, video only
298 mp4 1280x720 DASH video 3481k , mp4_dash container, avc1.4d4020, 60fps, video only
137 mp4 1920x1080 DASH video 4347k , mp4_dash container, avc1.640028, 30fps, video only
299 mp4 1920x1080 DASH video 5791k , mp4_dash container, avc1.64002a, 60fps, video only
Now Youtube does take about an hour to finish its transcoding and everything to get the Stream Footage working properly, and that moment is what I want to wait for whenever I am downloading new Videos from a Channel Page.
But the Issue I have is that the numbered Video Format IDs for DASH and for Normal are identical (which is also an issue), so I cant just blacklist those using -f. I also tried using [container!*=mp4_dash] but that does not do what I hoped it would do either.
Is there an Option/Parameter to prevent any "DASH video" and "DASH audio" type of thing from being accepted by a script as an available format, so that it will just say "format not available" instead of attempting to "desktop-lag, bandwidth-throttle and file-corrupt" the Video Download with Youtubes broken implementation of DASH?
I cant even watch those most Livestreams properly in latest Firefox, and people complain about Youtube having transcoding Issues, so I assume Youtube is at fault... but I still want my script to be robust against those types of Issues!
This is the -f Parameter I am using right now, which still causes the Issue.
"(243+249/243+250/243+139/243+171/243+140/243+worstaudio/134+249/134+250/134+139/134+171/134+140/134+worstaudio)/(bestvideo[height<=360]+worstaudio/best[height<=360]/18)[container!*=mp4_dash]"
I also use --match-filter '!is_live' in order to prevent Downloading of Livestreams, and the script is running in bash (Kubuntu).
I had lots of Issues with DASH Video in the past, just less severe, and I also updated youtube-dl just to see if that would have fixed my issue (which it doesn't). This is why I am asking for a way to just disable DASH Video/Audio from being used entirely, so my script can actually wait for Youtube to finish transcoding things, or even just not download the corresponding Videos ever, until I decide to try watching it on Youtube itself like a "normal person".
I would like to also avoid the "just download the videos 1 day later" solution, along with avoiding the "run youtube-dl twice, once for checking with -F if DASH is used which is a ton of complicated effort, and once for actually downloading"-Solution.
Note: I only say DASH Video/Audio because -F lists the Videos as such. Whenever -F does NOT list the Videos as such, it works just fine.
Tl;dr: What is the toggle/parameter/switch/option/command to avoid using what is labeled as DASH Video/Audio by -F? I cant find it in the ReadMe in any comprehensible way.