VLC ignores my preferred audio track language but MPC doesn't

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

VLC ignores my preferred audio track language but MPC doesn't

Postby VLCFanNumber1 » 06 Sep 2019 15:16

Hello,

VLC ignores my preferred audio track language. I set it to french ("fra"), but when I play a video, VLC keeps selecting english (the 1st audio track).

You will easily understand with this video I made to explain you :
:arrow: https://www.youtube.com/watch?v=HW591gC7NxY

Thanks for any help you can provide.

Cedric.

___________________________

VLC Version : 3.0.8 Vetinari
OS : Windows 7 SP1 64 bits
Media Info of the multilanguage video I'm trying to watch :arrow: https://justpaste.it/79dmp
Last edited by VLCFanNumber1 on 07 Sep 2019 09:44, edited 1 time in total.

Lotesdelere
Cone Master
Cone Master
Posts: 9967
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC ignores my preferred audio track language

Postby Lotesdelere » 06 Sep 2019 21:44

Try with "fr" or "fre".
But the english track is being marked as the default one, so I'm not sure the VLC settings can override that.
In this case you need to remux the file with the french track marked as the default one.

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: VLC ignores my preferred audio track language

Postby VLCFanNumber1 » 06 Sep 2019 21:56

Thanks for trying to help, but it doesn't work with "fre" nor "fr".

Not sure how to set a track as default. When I remuxed that video with AVI Demux, I didn't mark any track as default, I'm learning it from you.

Lotesdelere
Cone Master
Cone Master
Posts: 9967
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC ignores my preferred audio track language

Postby Lotesdelere » 07 Sep 2019 09:22

And it didn't work either with the remuxed video ?
Can you post the MediaInfo report of the remuxed video ?

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: VLC ignores my preferred audio track language

Postby VLCFanNumber1 » 07 Sep 2019 09:31

AVI Demux doesn't allow to set a track as default, it just allows to define an order. The Media Info I posted above is from a video I remuxed myself without defining a default track so I'm a bit confused that you said that the english track was the default track.

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: VLC ignores my preferred audio track language

Postby VLCFanNumber1 » 07 Sep 2019 09:44

Hi again. Now I can prove that it is a bug of VLC because MPC recognizes my preferred language as you can see in this video :
:arrow: https://youtu.be/C-Vy4a_S4Eo

I hope VLC fixes this bug in a future update :idea:

Lotesdelere
Cone Master
Cone Master
Posts: 9967
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC ignores my preferred audio track language but MPC doesn't

Postby Lotesdelere » 07 Sep 2019 17:25

Yes, confirmed, I can reproduce the issue. It looks like a bug because VLC can't override the default audio track while some other players can do it.

You should create a new ticket on the VLC Trac with the links to a sample of a problematic file and to this thread.
https://trac.videolan.org/vlc/


Workaround:

Download the GPAC framework:
https://gpac.wp.imt.fr/downloads/

You don't need to install the whole thing, open the installer with 7zip and extract js.dll, libgpac.dll and mp4box.exe into the same folder where you have full write access.
Drop a copy of your original video into this folder as well (always work on a copy of the original video file, you have been warned!).

Open a command prompt and type this:
mp4box "PutYourFileNameHere.mp4" -disable 2 -enable 3

This is making the french audio track as the default one and VLC will play it by default.

VLCFanNumber1
Blank Cone
Blank Cone
Posts: 58
Joined: 19 May 2014 19:30

Re: VLC ignores my preferred audio track language but MPC doesn't

Postby VLCFanNumber1 » 07 Sep 2019 17:38

Thanks for your help Lotesdelere :wink:

#thweiss
Cone that earned his stripes
Cone that earned his stripes
Posts: 136
Joined: 07 Nov 2017 07:13
Location: Germany

Re: VLC ignores my preferred audio track language but MPC doesn't

Postby #thweiss » 09 Dec 2019 08:46

I will add the Link to the Trac-Number for a better overview.

Code: Select all

https://trac.videolan.org/vlc/ticket/22741
I can confirm the issue with not working change of the prefered audio-language in VLC-Player 3.0.7.1 (64-Bit) under OS Microsoft Windows.

Here is an other Video-Example with Japan Language for testing:

Code: Select all

https://www.file-upload.net/download-13813863/ajin.mp4.html
There are some Standards for Language Codes with two, three or numeric letters.
ISO 639-2 (three letter)
- https://www.loc.gov/standards/iso639-2/php/code_list.php

ISO 3166-1 alpha-2 (two letter)
- https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

ISO 3166-1 alpha-3 (three letter)
- https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

ISO 3166-1 numeric (numeric)
- https://en.wikipedia.org/wiki/ISO_3166-1_numeric

I don't know which one is the best solution?
Possible Example for prefered Japanese Language:

Code: Select all

jp,jpn,Japanese,392,any
Any shall be used for select other Language in the VLC-Player behind the prefered, right?

Somewhere I read, that Language Codes should write in small form letters and Country-Codes should write in upper case letters.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 117 guests