Resolved YouTube videos do not always use the original audio track since recent yt-dlp changes
complete
syncpulse
Videos with multiple language audio tracks such as https://www.youtube.com/watch?v=Otixu98MVBM will not always use the original audio track when resolved in 1080 for AVPro. In that case, this video plays using an alternate Spanish audio track instead of the original English. The same video in a player using the Unity backend is not affected by this and plays in the original english.
This seems to have started with the recent changes to yt-dlp.
Including screenshots of the youtube audio track selector on this video. Not sure if the old behavior was always using whichever is considered "original", or if it was preferring english specifically, I haven't dug into yt-dlp to find out.
Log In
_
_tau_
complete
This post was marked as
available in future release
StormRel
Merged in a post:
Video players play video in random language when playing one that has multiple
OctoFloofy
Play a video that has multiple languages like this (https://www.youtube.com/watch?v=4ofJpOEXrZs) and it will play in a random language. For me it was Polish.
Haxy
Looks like this is an upstream yt-dlp issue, rather than anything vrc specific.
yt-dlp --verbose -f "mp4[height<=?1080]/best[height<=?1080]" --list-formats --no-cache-dir --rm-cache-dir --impersonate safari https://www.youtube.com/watch?v=hgAA95joAKo --get-url
returns a m3u8 containing a dubbed tag
%3Bxtags%3Dacont%3Ddubbed:lang%3Dar
Haxy
hlsManifestUrl contents are not being properly handled by ytdlp,
It does a regex agains the itag, but as every itag in the file for each quality is the same, it disregards anything apart from the first stream for each segment
Haxy
However.. this behaviour could be turned into a feature to add user language selection for youtube where possible based on client language once resolved.. :)
Haxy
_tau_ Enjoy https://github.com/yt-dlp/yt-dlp/pull/9875
You will have to add a preferred language to the lookup
(upstream command)
yt-dlp -f mp4[height<=?1080][language=en]/best[height<=?1080][language=en] --verbose --list-formats --no-cache-dir --rm-cache-dir --get-url --impersonate safari https://www.youtube.com/watch?v=4ofJpOEXrZs
Haxy
Also reported as happening with https://www.youtube.com/watch?v=4ofJpOEXrZs
StormRel
tracked
Haxy
StormRel My PR has been updated to work as before without any additional arguments being passed https://github.com/yt-dlp/yt-dlp/pull/9875