Page 1 of 1

audio and subtitle language isn't force during play

Posted: 11 Mar 2012 22:20
by Necromancer
Hello.

I have the problem that i set the prefered audio and subtitle language but it isn't forced during playback. I could set in previous version, but i had to reinstall my OS and after it the VLC isn't play with the prefered language. Now i use 2.1 20120311. I set this one "en, eng, english, En, Eng, English, EN, ENG, ENGLISH, hu, hun, hungarian, Hu, Hun, Hungarian, HU, HUN, HUNGARIAN". :) That was before i reinstalled the OS (Windows XP SP3).

Re: audio and subtitle language isn't force during play

Posted: 12 Mar 2012 04:20
by nkoriyama

Re: audio and subtitle language isn't force during play

Posted: 12 Mar 2012 10:05
by Necromancer
Noe i change to this one: "eng, hun" but still don't force it... :(

Re: audio and subtitle language isn't force during play

Posted: 12 Mar 2012 11:19
by nkoriyama
It seems a bug on recent nightly.
When I play MKV, audio language selection works fine on 2.0.0, but it doesn't work on 2.1-git/2.0-git.

I created the ticket 6375.

Re: audio and subtitle language isn't force during play

Posted: 12 Mar 2012 11:51
by nkoriyama
Noe i change to this one: "eng, hun" but still don't force it... :(
I confirmed the issue on MKV playback. But what type of file you played?

Re: audio and subtitle language isn't force during play

Posted: 12 Mar 2012 20:22
by Necromancer
I experienced this with MKV...but with the subtitles too...not only audio.

Re: audio and subtitle language isn't force during play

Posted: 13 Mar 2012 11:01
by TypX
Can you post the Track info from verbose logs (tools->messages set verbosity to 2 then start playback)

Re: audio and subtitle language isn't force during play

Posted: 13 Mar 2012 11:57
by nkoriyama
http://pastebin.com/PHFT9JS4 (vlc --extraintf=logger --verbose=2 --logfile=d:\tmp\vlc.log --logmode=text --file-logging)

Re: audio and subtitle language isn't force during play

Posted: 14 Mar 2012 18:17
by Necromancer

Re: audio and subtitle language isn't force during play

Posted: 14 Mar 2012 18:20
by TypX
That was my fault, the bug is now fixed and will be available in tonight's/tomorrow's nightly builds

Re: audio and subtitle language isn't force during play

Posted: 15 Mar 2012 04:44
by kevinau
Hi,
Which download will have the subtitle fixed?
I also want to know if the earlier setting modification for setting subtitle automatically still apply to version 2 or above?
Thanks
http://wiki.videolan.org/What_can_vlc_d ... _subtitles



...
How to enable/use subtitles

Before you try to enable subtitles make sure the subtitles you have are in a format that VLC can read! You can find the list of compatible subtitle formats here. If VLC has detected any sort of subtitles available, you will be able to turn them on under the menu: Video->Subtitles track->Track 1

Auto detection of subtitle files uses a 'fuzzy' logic which you can specify. If this is wrongly specified you may end up with more subtitle file options than really exist or miss some that are provided. By default it allows any file in the right place which exactly matches the video name, and may have some extra characters. If you are not seeing the number of subtitle options you expect you might want to allow more 'fuzziness' by changing the preference in video/subtitles/subtitle autodetection where help is available if you 'hover' over the field.

If you mainly use .srt subtitles or .sub, you can get them turned on automatically when they are detected, by setting the Input/Codecs->Advanced->Choose subtitle track to 0, it will automatically turn on the subtitle track. You can also experiment with the Choose subtitle language on the same page. But if you experiment a bit with the settings you should be able to get subtitles turned on automatically.

Re: audio and subtitle language isn't force during play

Posted: 15 Mar 2012 06:11
by nkoriyama
Which download will have the subtitle fixed?
This issue was that VLC did not choose audio and subtitles tracks as user expected (preferred language setting) when playing MKV using nightly builds.
Do you use Nightly Build of VLC?
This issue DOES NOT happen on VLC 2.0.0.

VLC 2.0.1 will be released soon and this issue has been already fixed.
I also want to know if the earlier setting modification for setting subtitle automatically still apply to version 2 or above?
It should work.
If it doesn't work, it's a bug or something, and please file a bug report at https://trac.videolan.org/vlc .

Re: audio and subtitle language isn't force during play

Posted: 15 Mar 2012 06:41
by kevinau
As I have reset the preferences before , now this is how I set it back:
Tools->Preferences->show settings:all->Input/Codecs->subtitle track =0 :D
Thanks

Re: audio and subtitle language isn't force during play

Posted: 20 Mar 2012 16:09
by Necromancer
for me on XP SP3 with VLC 2.1 latest the problem is solved... Thanks guys... :)

Re: audio and subtitle language isn't force during play

Posted: 27 Apr 2012 16:59
by joseph_
For me in vlc 2.0.1 it still doesn't work correcly in every case. VLC prefers persian language even if there's english audio available too. I've opened a bug: https://trac.videolan.org/vlc/ticket/6710

Re: audio and subtitle language isn't force during play

Posted: 27 Apr 2012 17:17
by nkoriyama
@joseph_
This thread's topic was the problem of auto-selecting languages when playing MKV, not MPEG-TS.

Re: audio and subtitle language isn't force during play

Posted: 27 Apr 2012 17:47
by joseph_
Ok, sorry, I've found this thread and it seemed to be the same problem that I'm experiencing. I didn't realize that mkv and mpeg-ts are handled differently.

Re: audio and subtitle language isn't force during play

Posted: 27 Apr 2012 18:00
by nkoriyama
@joseph_
But your issue is a bug. Thank you for the report.

Re: audio and subtitle language isn't force during play

Posted: 27 Apr 2012 19:04
by nkoriyama
@joseph_
As I wrote ticket 6710, please add ",none" to audio preferred language e.g. "jpn,eng,none".

Re: audio and subtitle language isn't force during play

Posted: 28 Apr 2012 04:55
by joseph_
@nkoriyama
great, this solution works for me.
I had to add more languages there, like "eng,fr,de,none" because every time a stream doesn't contain any of the specified languages audio, vlc disables audio completely. but I suppose this is expected, since this is just a temporary solution for me.
I can live with that until the fixed vlc is released ;)