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

Question: How do I disable DASH Video from being used on Youtube #21360

Closed
GregoriusT opened this issue Jun 10, 2019 · 2 comments
Closed

Question: How do I disable DASH Video from being used on Youtube #21360

GregoriusT opened this issue Jun 10, 2019 · 2 comments

Comments

@GregoriusT
Copy link

@GregoriusT GregoriusT commented Jun 10, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

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.

@GregoriusT GregoriusT added the question label Jun 10, 2019
@dstftw dstftw closed this Jun 10, 2019
@dstftw dstftw added the duplicate label Jun 10, 2019
@GregoriusT
Copy link
Author

@GregoriusT GregoriusT commented Jun 10, 2019

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.

@GregoriusT
Copy link
Author

@GregoriusT GregoriusT commented Jun 10, 2019

Okay Small Update, unsure if anyone is interested. Surely, people who search for this will be.

This doesn't work:
[container!^=dash]

This doesn't work either:
[protocol!=http_dash_segments]

But if you combine both of them, it will suddenly work and prevent dash video from being downloaded:
[protocol!=http_dash_segments][container!^=dash]

And I did test it on non-dash video just to make sure its not blacklisting literally everything ofcourse.

@ytdl-org ytdl-org deleted a comment from Thupu Jun 17, 2019
@ytdl-org ytdl-org deleted a comment from GregoriusT Jun 17, 2019
@ytdl-org ytdl-org deleted a comment from Thupu Jun 17, 2019
@ytdl-org ytdl-org deleted a comment from GregoriusT Jun 17, 2019
@ytdl-org ytdl-org locked as off topic and limited conversation to collaborators Jun 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.