-
Notifications
You must be signed in to change notification settings - Fork 472
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
YouTube links pick descriptive audio instead of original #1268
Comments
When there are two identical tracks in terms of quality (codec/bitrate) then it currently simply picks the first one. YDL JSON output does not contain any language or track description. Only difference in this case is tags in the URL. I am not going to spend time to fix this. |
Coming from ytdl-org/youtube-dl#29864, since I can't mention this on their issue tracker. Appears to be a limitation of youtube-dl, and is probably unlikely to be fixed anytime soon. For reference, the yt-dlp fork appears to extract this:
|
"English original" and "English descriptive" sound like names chosen by the creator of the video. So they could have theoretically been named just "A" and "B". So question becomes, how to know which audio track is the default/preferred one? |
Thanks @coletdjnz I didn't know about the yt-dlp fork. So this output at least answers one question I posed in ytdl-org/youtube-dl#29864: apparently
Could be, I have no idea. In that case it wouldn't really make sense to figure out why MPC-BE and YouTube-dl |
Looking at the page source, it contains this info for the audio streams: So |
Has been fixed in yt-dlp - yt-dlp/yt-dlp@26e8e04
The |
Dont think it is. I have seen other videos with the same description for the two streams Eg:
|
* 'master' of https://github.com/yt-dlp/yt-dlp: [youtube] Improve 26e8e04 [youtube] Prefer audio stream that YouTube considers default Fixes: ytdl-org/youtube-dl#29864 Related: clsid2/mpc-hc#1268 [FormatSort] Remove priority of `lang`
Great stuff @pukkandan, thanks! |
MPC-HC now uses the track preference info when available. |
It would be amazing to be able to pick the descriptive audio track from within MPC-HC! Can this be done? |
This would be really useful for folks like myself who use descriptive audio tracks, and might be a compelling reason for others to switch from what they currently use. (AFAIK most are using Foobar+foo_youtube but I am pretty sure it cannot do this) |
Example: https://youtu.be/BJ_PrIVI5Ac
MPC-HC picks the "English descriptive" audio track instead of "English original" and I don't understand why. MPC-BE doesn't, and when I use YouTube-dl directly, it doesn't pick "English descriptive" either. I tried with and without "eng" in default audio track preference.
The text was updated successfully, but these errors were encountered: