iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
15.64k stars 1.71k forks source link

[Enhancement] Add support for multiples audio tracks #2007

Open SapeurPonpier opened 3 years ago

SapeurPonpier commented 3 years ago

I started watching a video ( https://yewtu.be/watch?v=fMfipiV_17o ) from MrBeast, which is a famous English-speaking channel. However, the audio was in Spanish. It seems like YouTube implemented the feature of separate audio tracks and that not only are we not able to pick which one we would like to hear (unlike on the youtube player) but that it defaulted to Spanish. Which is fine by me cause I speak a bit Spanish and it trains me but still ... it might become tedious when I come accross a video with Chinese dubs, I would most definetly not understand anything.

We probably need to add a feature to enable selection of audio track.

TheFrenchGhosty commented 3 years ago

Adding supports for multiples audio track is needed in the player, or if videojs doesn't support multiples audio track, directly in the invidious UI.

Or alternatively just make it use the "default" one.

unixfox commented 7 months ago

Notice: https://yewtu.be uses a custom backend, so the language selection is available.

image

This does not mean that invidious support it natively. it's just a yewtu.be thing

d4g commented 6 months ago

I would kindly ask to not see this as an enhancement but as a bug. It's not an enhancement to play a video in the original language and it's not an enhancement to be able to select the original language if a different langauge is played back. This is a bug. As more and more issues regarding this are created, I would be interested if this is under investigation or postponed into oblivion?

mas1701 commented 5 months ago

I would kindly ask to not see this as an enhancement but as a bug. It's not an enhancement to play a video in the original language and it's not an enhancement to be able to select the original language if a different langauge is played back. This is a bug. As more and more issues regarding this are created, I would be interested if this is under investigation or postponed into oblivion?

With more and more AI translations, the number of multilanguage videos will most likely increase rapidly. So IMO this is too significant to ignore. I just stumbled upon a german car review video playing in french. 👎

KwisatzJim commented 4 months ago

I have one channel I subscribe to that I thought I hit some weird key combo to cause it to play audio in a foreign language, then I came across this thread. If I play the same video in a private tab in Firefox it plays in English. I'm using a self hosted invidious instance. The channel is Undecided with Matt Ferrell.

mas1701 commented 4 months ago

I have one channel I subscribe to that I thought I hit some weird key combo to cause it to play audio in a foreign language, then I came across this thread. If I play the same video in a private tab in Firefox it plays in English. I'm using a self hosted invidious instance. The channel is Undecided with Matt Ferrell.

It's not channel-dependant, it happens often with multi-language YT content (bit of randomness included). It seems the Invidious dev team is working on it, along with some other stuff. See the link "Upgrade to video.js 8" by unifox.

KwisatzJim commented 4 months ago

I have one channel I subscribe to that I thought I hit some weird key combo to cause it to play audio in a foreign language, then I came across this thread. If I play the same video in a private tab in Firefox it plays in English. I'm using a self hosted invidious instance. The channel is Undecided with Matt Ferrell.

It's not channel-dependant, it happens often with multi-language YT content (bit of randomness included). It seems the Invidious dev team is working on it, along with some other stuff. See the link "Upgrade to video.js 8" by unifox.

gotcha, thanks. perhaps that's the one channel I subscribe to that has implemented multi-channel audio so that's why it threw me off. I switched from dash to hd720 to not have the issue. will switch back to dash when new version that resolves issue is released. thanks!

mas1701 commented 3 weeks ago

Once again, a multi-language video from a german channel running in english, because no way of selecting a (default) language and it is unclear what track currently takes precedence.

I suppose it's just the first one the player finds. DASH quality setting. The instance below proxies everything by default for GDPR compliance. (no EU - US personal data transfer)

https://tubeplay.mscs.net/watch?v=_Q5djaCrnVc ... or whatever instance you prefer to try. ;-)