home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
Wrong audio track selected when playing MKV files
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pedu" data-source="post: 839749" data-attributes="member: 118288"><p>I have selected English as default Audio language and Danish as default Subtitle language in the Videos configuration settings. However when trying to play back a MKV file with two embedded audio tracks (1st: German, 2nd: English) Media Portal always select the 1st track - not the 2nd with English audio. I have attached my mediaportal.log file but by browsing through it I stumbled upon the following (marked in bold):</p><p></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.001415 [Info.][MPMain(1)]: VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />lay \\NAS\video\High Definition\Blu-ray\Moviename (1080p).mkv</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.011416 [Info.][MPMain(1)]: VideoPlayer9: Enabling DX9 exclusive mode</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.014416 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.313433 [Info.][MPMain(1)]: VideoPlayer9: found H264 video out pin</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.364436 [Info.][MPMain(1)]: Added filter: ArcSoft Video Decoder to graph</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.368436 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device </span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.368436 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.388437 [Info.][MPMain(1)]: Added filter: LAV Audio Decoder to graph</span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:30.599449 [Info.][MPMain(1)]: VideoPlayer9: Cleanup Captions</span></p><p><span style="font-family: 'Courier New'"><strong>2012-01-31 22:37:31.048475 [Info.][MPMain(1)]: VideoPlayerVMR7: Subtitle CultureInfo da</strong></span></p><p><span style="font-family: 'Courier New'"><strong>2012-01-31 22:37:31.106478 [Info.][MPMain(1)]: VideoPlayerVMR7: CultureInfo Selected active subtitle track language: Danish (0)</strong></span></p><p><span style="font-family: 'Courier New'"><strong>2012-01-31 22:37:31.107478 [Info.][MPMain(1)]: VideoPlayerVMR7: AudioLanguage CultureInfo en</strong></span></p><p><span style="font-family: 'Courier New'"><strong>2012-01-31 22:37:31.160482 [Info.][MPMain(1)]: VideoPlayer<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />uration:6336,371708</strong></span></p><p><span style="font-family: 'Courier New'">2012-01-31 22:37:31.161482 [Info.][MPMain(1)]: g_Player.OnStarted() \\NAS\video\High Definition\Blu-ray\Moviename (1080p).mkv media:Video</span></p><p></p><p>As far as I can see MP finds and select the correct subtitle stream da but does not find an audio stream which honours the AudioLanguage CultureInfo en.</p><p></p><p>By manually inspectiing the file with MediaInfo I get the following info</p><p></p><p><span style="font-family: 'Courier New'"></span></p><p><span style="font-family: 'Courier New'">Audio #1</span></p><p><span style="font-family: 'Courier New'">ID : 2</span></p><p><span style="font-family: 'Courier New'">Format : AC-3</span></p><p><span style="font-family: 'Courier New'">Format/Info : Audio Coding 3</span></p><p><span style="font-family: 'Courier New'">Mode extension : CM (complete main)</span></p><p><span style="font-family: 'Courier New'">Codec ID : A_AC3</span></p><p><span style="font-family: 'Courier New'">Duration : 1h 45mn</span></p><p><span style="font-family: 'Courier New'">Bit rate mode : Constant</span></p><p><span style="font-family: 'Courier New'">Bit rate : 640 Kbps</span></p><p><span style="font-family: 'Courier New'">Channel(s) : 6 channels</span></p><p><span style="font-family: 'Courier New'">Channel positions : Front: L C R, Side: L R, LFE</span></p><p><span style="font-family: 'Courier New'">Sampling rate : 48.0 KHz</span></p><p><span style="font-family: 'Courier New'">Bit depth : 16 bits</span></p><p><span style="font-family: 'Courier New'">Compression mode : Lossy</span></p><p><span style="font-family: 'Courier New'">Stream size : 483 MiB (6%)</span></p><p><span style="font-family: 'Courier New'">Title : German AC3</span></p><p><span style="font-family: 'Courier New'">Language : <strong>German</strong></span></p><p><span style="font-family: 'Courier New'">Default : Yes</span></p><p><span style="font-family: 'Courier New'">Forced : No</span></p><p><span style="font-family: 'Courier New'"></span></p><p><span style="font-family: 'Courier New'">Audio #2</span></p><p><span style="font-family: 'Courier New'">ID : 3</span></p><p><span style="font-family: 'Courier New'">Format : DTS</span></p><p><span style="font-family: 'Courier New'">Format/Info : Digital Theater Systems</span></p><p><span style="font-family: 'Courier New'">Codec ID : A_DTS</span></p><p><span style="font-family: 'Courier New'">Duration : 1h 45mn</span></p><p><span style="font-family: 'Courier New'">Bit rate mode : Constant</span></p><p><span style="font-family: 'Courier New'">Bit rate : 1 510 Kbps</span></p><p><span style="font-family: 'Courier New'">Channel(s) : 6 channels</span></p><p><span style="font-family: 'Courier New'">Channel positions : Front: L C R, Side: L R, LFE</span></p><p><span style="font-family: 'Courier New'">Sampling rate : 48.0 KHz</span></p><p><span style="font-family: 'Courier New'">Bit depth : 24 bits</span></p><p><span style="font-family: 'Courier New'">Compression mode : Lossy</span></p><p><span style="font-family: 'Courier New'">Stream size : 1.11 GiB (15%)</span></p><p><span style="font-family: 'Courier New'">Title : English DTS</span></p><p><span style="font-family: 'Courier New'">Language : <strong>English</strong></span></p><p><span style="font-family: 'Courier New'">Default : No</span></p><p><span style="font-family: 'Courier New'">Forced : No</span></p><p><span style="font-family: 'Courier New'"></span></p><p></p><p>So it's obvious that the MKV container contains two audio tracks with the second track being the English track. I also noticed that the first track (German) has the default track flag set - however I thought that MP would ignore this flag and enforce the Audio Language selected in Video settings instead.</p><p></p><p>Is this a bug or have I got it all wrong?</p><p></p><p>Cheers,</p><p>Peter</p></blockquote><p></p>
[QUOTE="pedu, post: 839749, member: 118288"] I have selected English as default Audio language and Danish as default Subtitle language in the Videos configuration settings. However when trying to play back a MKV file with two embedded audio tracks (1st: German, 2nd: English) Media Portal always select the 1st track - not the 2nd with English audio. I have attached my mediaportal.log file but by browsing through it I stumbled upon the following (marked in bold): [FONT="Courier New"]2012-01-31 22:37:30.001415 [Info.][MPMain(1)]: VideoPlayer:play \\NAS\video\High Definition\Blu-ray\Moviename (1080p).mkv 2012-01-31 22:37:30.011416 [Info.][MPMain(1)]: VideoPlayer9: Enabling DX9 exclusive mode 2012-01-31 22:37:30.014416 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph 2012-01-31 22:37:30.313433 [Info.][MPMain(1)]: VideoPlayer9: found H264 video out pin 2012-01-31 22:37:30.364436 [Info.][MPMain(1)]: Added filter: ArcSoft Video Decoder to graph 2012-01-31 22:37:30.368436 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device 2012-01-31 22:37:30.368436 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer 2012-01-31 22:37:30.388437 [Info.][MPMain(1)]: Added filter: LAV Audio Decoder to graph 2012-01-31 22:37:30.599449 [Info.][MPMain(1)]: VideoPlayer9: Cleanup Captions [B]2012-01-31 22:37:31.048475 [Info.][MPMain(1)]: VideoPlayerVMR7: Subtitle CultureInfo da 2012-01-31 22:37:31.106478 [Info.][MPMain(1)]: VideoPlayerVMR7: CultureInfo Selected active subtitle track language: Danish (0) 2012-01-31 22:37:31.107478 [Info.][MPMain(1)]: VideoPlayerVMR7: AudioLanguage CultureInfo en 2012-01-31 22:37:31.160482 [Info.][MPMain(1)]: VideoPlayer:Duration:6336,371708[/B] 2012-01-31 22:37:31.161482 [Info.][MPMain(1)]: g_Player.OnStarted() \\NAS\video\High Definition\Blu-ray\Moviename (1080p).mkv media:Video[/FONT] As far as I can see MP finds and select the correct subtitle stream da but does not find an audio stream which honours the AudioLanguage CultureInfo en. By manually inspectiing the file with MediaInfo I get the following info [FONT="Courier New"] Audio #1 ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : A_AC3 Duration : 1h 45mn Bit rate mode : Constant Bit rate : 640 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 483 MiB (6%) Title : German AC3 Language : [B]German[/B] Default : Yes Forced : No Audio #2 ID : 3 Format : DTS Format/Info : Digital Theater Systems Codec ID : A_DTS Duration : 1h 45mn Bit rate mode : Constant Bit rate : 1 510 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossy Stream size : 1.11 GiB (15%) Title : English DTS Language : [B]English[/B] Default : No Forced : No [/FONT] So it's obvious that the MKV container contains two audio tracks with the second track being the English track. I also noticed that the first track (German) has the default track flag set - however I thought that MP would ignore this flag and enforce the Audio Language selected in Video settings instead. Is this a bug or have I got it all wrong? Cheers, Peter [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
Wrong audio track selected when playing MKV files
Contact us
RSS
Top
Bottom