INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Problem? - default audio language in videos  (Read 790 times)

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Problem? - default audio language in videos
« on: June 13, 2020, 03:14:10 pm »

In [Options]->[Video]->[Subtitles & Language] I have following settings:

Subtitle mode: show subtitles only if selected language is different from audio language
Default subtitle language: English
Default audio language: No default language

Playing movies MC picks English audio all the time even though other audio tracks are marked as default in MKV. Is this normal behavior?

As I like to watch movies in their native language, I was hoping above setting would pick default audio track (I set default flags in my MKV rips for native language).

Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Problem? - default audio language in videos
« Reply #1 on: June 13, 2020, 04:23:24 pm »

If I recall correctly, MC exhibits a behavior that is unfortunate, but also not unique to MC... It does not respect the default flag in MKV files. It considers the first track to be the default.  I have seen other apps do this too. I'm sure Hendrik could clarify.

Once you have selected an audio track in a movie, MC will remember it for future plays, so you only have to do it once.

The only way to mitigate MC's default behavior is to use MKVmerge to re-order the tracks in the MKV.  This is lossless, but does take time because the entire file must be rewritten, so the time depends on file size and storage speed.
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: Problem? - default audio language in videos
« Reply #2 on: June 14, 2020, 01:23:58 am »

I actually posted this in wrong forum :( ... on MC26 actually

but anyway ... native audio track is always first in my MKVs ... and is set to default

Like you mention, @wer, I was hoping if MC has default language set to none ... it will pick either MKVs default or first track ... thats why i rip my disk with native language as first track and set to default ... but MC always manages to pick English track if it is present

for movies its not big deal ... but for Anime with 200+ episodes ... picking Jap audio track everytime becomes a chore
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Problem? - default audio language in videos
« Reply #3 on: June 14, 2020, 01:52:13 am »

I think I'd consider that a defect.  If it's not honoring the default flag (bad enough), AND it's not taking the first track even when no language is set, that's bad behavior I'd think.  Optimal behavior would be to honor the default flag. You might want to raise it. I'm sure Hendrik could address it.
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Problem? - default audio language in videos
« Reply #4 on: June 14, 2020, 02:30:56 am »

Tij, if all those 200 files have the same structure, in terms of track number vs language, the once you had selected the appropriate tracks on one, I imagine you should be able to copy the Playback info field to all the others, as that would contain your track selections.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10924
Re: Problem? - default audio language in videos
« Reply #5 on: June 14, 2020, 05:40:19 am »

This works fine for me, you aren't using a custom video mode with external LAV or anything like that, are you?

Without a favorite language, it should stick to whatever LAV preselects.
Logged
~ nevcairiel
~ Author of LAV Filters

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: Problem? - default audio language in videos
« Reply #6 on: June 14, 2020, 09:17:21 am »

No custom mode ... just plain old ROHQ with MadVR supplied by MC (no custom experimental MadVR) ... forgot to mention MC 26.0.91 and files are MKV.

In [Options]->[Video]->[Subtitles & Language] I have following settings:

Subtitle mode: show subtitles only if selected language is different from audio language
Default subtitle language: English
Default audio language: No default language

Tried setting subtitles to none (thought maybe MC picking English from there) and MC still picks English audio track … native track is Jap which is set to default and is first audio track. Setting Default audio to Jap, picks correct Jap track.

Here is mediaInfo for one of file (deleted irrelevant info)

Video
ID                                       : 1
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Title                                    : JapMusic
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Title                                    : EngMusic
Language                                 : English
Default                                  : No
Forced                                   : No

Text
ID                                       : 5
Format                                   : PGS
Language                                 : English
Default                                  : No
Forced                                   : No
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10924
Re: Problem? - default audio language in videos
« Reply #7 on: June 14, 2020, 05:16:15 pm »

I've fixed a bug in that area, please check in the next build
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up