Default audio track not being played? (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Could you try again, there is a bug in Watchdog for 1.12 (corrected on 1.13) that doesn't enable debug level, so can you change your level and retry watchdog :)
    Thanks :)

    upload_2016-1-17_14-15-59.png
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep perfect :) Debug line are there.

    Code:
    [2016-01-17 14:08:35,476] [Log    ] [MPMain   ] [DEBUG] - VideoPlayer: FoundStreams: Type=Audio; Name=A: No lang AC3 5.1 chnls 640 kbps (ac3, 48000 Hz, 5.1, 640 kb/s) [default], Filter=LAV Splitter Source, Id=1, PDWGroup=1, LCID=0
    [2016-01-17 14:08:35,476] [Log    ] [MPMain   ] [DEBUG] - VideoPlayer: FoundStreams: Type=Audio; Name=A: English - commentary AC3 2.0 chnls 192 kbps [eng] (ac3, 48000 Hz, stereo, 192 kb/s), Filter=LAV Splitter Source, Id=2, PDWGroup=1, LCID=1033

    As you can see, your first track is not tagged as language event if the default, i have looked the code and MP stop to search (match) a language when it found the first one, so it means that if you set a language on this track, MP will find and select it (even if we have a second track as english).

    So the best way will be to tag your track for now.

    Maybe in a newer MP version : (need to think obout it lol)

    A feature can be surely developed to select a default track (but it dependent of splitter i.e LAV splitter parse the info so it can surely works with it) that override the language selected in config.
    So for example we have 3 audio tracks and the second one is the default (what ever the language set or not, for example it can be no language set or chinese or what ever), MP will select it (the second/default audio track) even if the first audio track is english (English is the setting in your config) :)
     

    Dr Forinor

    Portal Pro
    December 21, 2015
    206
    28
    42
    Home Country
    United Kingdom United Kingdom
    Thank you for that.

    So in the scenario where I have foreign films, with the default track being the audio in the foreign language and it is what I want played, what should I do then? Or do I have no choice?
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    I'm just a little bit curious, what happens if you pick not English as preferred language. Set it to Afrikaans or Papiamento, does it fallback to the default audio track?
     

    Dr Forinor

    Portal Pro
    December 21, 2015
    206
    28
    42
    Home Country
    United Kingdom United Kingdom
    @Ministerk Interesting thought, let me try and get back to you :) :)

    I was thinking if you can have an option of "No Preference" in the language list? That way, you can let the video decide?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I'm just a little bit curious, what happens if you pick not English as preferred language. Set it to Afrikaans or Papiamento, does it fallback to the default audio track?

    If it was like subtitle, MP will take the first available audio track (whatever default or not) :)

    Thank you for that.

    So in the scenario where I have foreign films, with the default track being the audio in the foreign language and it is what I want played, what should I do then? Or do I have no choice?

    For the feature to develop, if we have an option to always take the detected default track, it will take the default one whatever the selected language set in MP configuration.
     

    Users who are viewing this thread

    Top Bottom