[Bug]: Original Audio track isnt applied when switching away from the legacy formats
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
Describe the bug
When I go to a video with multiple language tracks, I get offered the first language in the list (typically German). Neither the original language of the video, my system language, or my Freetube interface language is German.
This is not the same as https://github.com/FreeTubeApp/FreeTube/issues/4291 where the original language was always being provided.
Expected Behavior
My language is set as English (UK), so I would expect to be given
- English (UK)
- Any other English (arbitrarily chosen)
- The original language of the video
in that order of preference; alternatively I would be fine with just always being given the video's original language.
Issue Labels
usability issue
FreeTube Version
v0.23.3 Beta
Operating System Version
Ubuntu 22.04
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
Please provide a link to the video you experienced this with. Additionally it would be good to know if this happens for every playback of that same video or only sometimes?
@absidue examples:
https://youtu.be/08UfIjELhH4
https://youtu.be/4lPfnFo3FSg
https://youtu.be/m7-UdDg5uIw
I always get German by default. Every time. 0.23.3 Flatpak
My default language is also English UK.
Im unable to reproduce with these urls
Perhaps it only happens when your IP address is in a country that has German as one of its official languages?
Tried going to Germany with my VPN and im still unable to reproduce
@pseudomonas Which video quality do you have set as your default: Auto or one of the specific resolutions?
I'll have to check when I'm back home on Monday
I default to the first language in the list (usually German) if I'm using Legacy 480p, but default to English (original) with Dash 480p.
I also have mine set to legacy (because of the autoplay bug that affects dash). Haven't thought of that lol. True, it doesn't seem to be the case when dash is selected as default.
i can reproduce this way.
- Go to Player Settings
- Set Default Video Format to Legacy
- Go to https://youtu.be/m7-UdDg5uIw
- See that chosen track is German
Okay so what is happening is that it is failing to play the legacy format, there is only one and it is 360p with the original audio language (so in this case English), and is then switching to audio or DASH and when it does that it is just picking the first audio track, not the original one.
So long story short this is a bug when switching away from legacy to DASH or audio, not with the actual legacy formats playback.
I also experience this bug for about a week ! My language is also set as English (UK) (Legacy, 360p by defaut in settings), and as you describe most videos come with German Audio. I am watching from France, so no German IP on my side :)
Choosing "DASH" format in the settings seems to solve the issue. Thanks for the suggestion.
@absidue are you sure that's the reason?
-
If I switch default format to audio, I get English as default language
-
I'm using legacy format as default, because dash and audio are affected by the autoplay bug (disabling autoplay is effectively being ignored). If you're right and the legacy format setting is effectively ignored and it switches to dash, doesn't that mean that I should get autoplay even when legacy format is default?
And why is it even failing to play legacy then? That's weird.
Just checking...
The auto-play problem is completely unrelated, is already covered in a different ticket (plus many duplicates because people don't search through the existing issues before opening a new one) and is already fixed in the development branch, so the fix for that will be in 0.24.0 (no ETA for that).
And why is it even failing to play legacy then? That's weird.
If you look in the console you'll see a 403 error just before it switches away from the legacy formats. YouTube only seems to error in the first few seconds, if you switch back to it afterwards it will work just fine, as for why it happens we aren't quite sure yet. yt-dlp issue about the same thing: https://github.com/yt-dlp/yt-dlp/issues/12794
Hi, I'm having the exact same problem.
[ SETTINGS ]
{"_id":"backendFallback","value":true} {"_id":"backendPreference","value":"local"} {"_id":"barColor","value":false} {"_id":"baseTheme","value":"catppuccinMocha"} {"_id":"bounds","value":{"x":1920,"y":37,"width":1920,"height":1043,"maximized":true,"fullScreen":false}} {"_id":"currentLocale","value":"system"} {"_id":"defaultCaptionSettings","value":"{"backgroundColor":"#000","backgroundOpacity":"1","color":"#FFF","fontFamily":"proportionalSansSerif","textOpacity":"1","windowColor":"#000","windowOpacity":"0"}"} {"_id":"defaultInvidiousInstance","value":"http://127.0.0.1:3001"} {"_id":"defaultQuality","value":"auto"} {"_id":"defaultVideoFormat","value":"dash"} {"_id":"defaultViewingMode","value":"theatre"} {"_id":"displayVideoPlayButton","value":false} {"_id":"expandSideBar","value":false} {"_id":"forceLocalBackendForLegacy","value":false} {"_id":"hideUpcomingPremieres","value":true} {"_id":"mainColor","value":"DraculaCyan"} {"_id":"playNextVideo","value":true} {"_id":"proxyProtocol","value":"http"} {"_id":"proxyVideos","value":true} {"_id":"region","value":"BR"} {"_id":"secColor","value":"DraculaCyan"} {"_id":"settingsPassword","value":""} {"_id":"sponsorBlockInteraction","value":{"color":"Green","skip":"showInSeekBar"}} {"_id":"sponsorBlockSelfPromo","value":{"color":"Yellow","skip":"showInSeekBar"}} {"_id":"sponsorBlockUrl","value":"https://sponsor.ajay.app"} {"_id":"useProxy","value":false} {"_id":"useRssFeeds","value":false} {"_id":"useSponsorBlock","value":true}
[ INFO ]
Test videos: [1] https://youtu.be/8JDIcxhWgeQ [2] https://youtu.be/uRA10nidKSc
The video [1] has 2 audio tracks: Brazilian Portuguese (original) and American English The video [2] has 1 audio track: Brazilian Portuguese
Ps: [1] It's a channel of an American guy who creates content in Brazilian Portuguese. The first sentence is in English ("What's up"), but the rest of the video is in Brazilian Portuguese
On Freetube, the audio from video [1] is in English, even though the original audio is in Brazilian Portuguese and I don't have the audio track selection button in the player to select the original one. And the expected behavior would be to play the original audio track (Brazilian Portuguese) by default instead of the English one.
The audio from video [2] is in Brazilian Portuguese, since it's the only audio track available.
As you can see in the Freetube screenshot, I don't have the audio track selection button in the Freetube Player.
Below, my selfhosted Invidious instance settings. It plays the English audio track by default, but at least I have the option to select the original one.
@darwin-brandao Your issue is the pinned one #6683, which is unrelated to this one.
Hi ! I see the same problem with this video, for example https://www.youtube.com/watch?v=3GXFBL0wW0Y. I discovered this problem with this video.
When I launch the video in “DASH format”, it's the English voice generated by Youtube that reads. What's more, the video only launches in 360p.
When I launch the video in “LEGACY format”, however, I get the basic French voice and the video in 720p as intended by the Legacy format.