FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.68k stars 867 forks source link

[Feature Request]: Select default audio track/language #4291

Open notpointify opened 1 year ago

notpointify commented 1 year ago

Guidelines

Problem Description

While FreeTube does support multiple audio tracks nowadays for videos that have them, currently it defaults to the original language of the video. So if I prefer watching foreign videos in another language, e.g. watching English videos dubbed in Spanish, then I have to manually select the Spanish audio for each video I wanna watch.

Proposed Solution

Add an option, under either "General Settings" or "Player Settings", to select the default audio track for all videos (a specific language, or just the original video's language).

Alternatives Considered

Another option could be to use the existing "Locale Preference" setting to select the default audio track instead of adding a new setting, though that might be less "flexible" for the end user.

Issue Labels

ease of use improvement, improvement to existing feature

Additional Information

No response

absidue commented 1 year ago

How should that setting work when the original, dubbed and audio descriptions are all in the same language, like in this video?: https://youtu.be/Kn56bMZ9OE8 On that note audio descriptions exist, which some people would prefer, so I guess you'll need a second setting too.

notpointify commented 1 year ago

I believe in the case of the NewPipe project, when the video has an original audio and a dubbed audio in the same language, it selects the original audio by default. Maybe another setting for that could be added, but I'm not sure if that might be adding a bit too many settings for this.

And yeah, a setting for descriptive audio would be ideal as well, for the people who need/prefer it.

Atrate commented 1 month ago

Considering that Stable Volume appears on all (that I've watched) videos, it'd be nice if it was possible to set Stable Volume as the default.

santaclose commented 1 month ago

I'm currently seeing that the original audio is not being chosen by default when watching mental outlaw. It defaults to German for some reason. I think the default should be the original audio? I'm using version v0.22.0 Beta

absidue commented 1 month ago

@santaclose YouTube added support for auto-dubbed audio tracks shortly before we released 0.22.0 and unfortunately we only found out about them after the release, so we weren't able to add support for them in time. You'll be pleased to know that we've already added support for them in the development branch so the nightlies already support them and the next release will too :).

mooleshacat commented 3 weeks ago

I just had the same issue watching bonehead truckers video ID: sBWqEuyKyhU Oddly enough, Invidious will play the English audio, while FreeTube plays the Spanish audio.

I will try the nightly, thank you for your hard work 👍

Edit: The nightly build works

tkreuzer commented 1 day ago

I experienced it a little different: Since my last update (I think) I started to get the German audio translations by default, when it was available. But on German videos I get the English audio track by default. Changing the language setting doesn't change it. It's super annoying. Edit: Seems like it should be fixed with the next release. https://github.com/FreeTubeApp/FreeTube/issues/4291#issuecomment-2452527942

jlvivero commented 1 day ago

I'm having a similar issue with the audio track defaulting to spanish (despite me having everything in English), I checked the link on youtube and it doesn't default the audio track to spanish, so I'm confused as to why it's choosing to default it to spanish in Freetube.

not sure if it's a specific video, or there just aren't a lot of videos that have spanish dub I'm on v0.22.0 Beta if that helps...

I was thinking of making a specific issue, but it seems related enough to this.

I'll check more videos and test I'll update this and/or make a different issue marked as a bug

absidue commented 1 day ago

@jlvivero Please read my answer earlier on in this thread, there is no need to open duplicate issues (we'll immediately close them to avoid clogging up the issue tracker).

crisjolliff commented 1 day ago

I've noted a different but related issue which has recently started on V.0.22.0 Beta: A couple of channels default to the first language in the list, which is often NOT English, yet English IS the native language of the video. See channels: https://www.youtube.com/channel/UCioZY1p0bZ4Xt-yodw8_cBQ https://www.youtube.com/channel/UCbRj3Tcy1Zoz3rcf83nW5kw

absidue commented 1 day ago

To quote my earlier message:

YouTube added support for auto-dubbed audio tracks shortly before we released 0.22.0 and unfortunately we only found out about them after the release, so we weren't able to add support for them in time. You'll be pleased to know that we've already added support for them in the development branch so the nightlies already support them and the next release will too :).

I'm going to lock this issue for now so people stop leaving comments without reading the existing messages, the more comments you leave the more difficult it is to see the actual answer, as GitHub hides older messages when new replies are added.