TV-Server Version: 1.0
MediaPortal Version: 1.0 SVN 21688
MediaPortal Skin: StreamedMP
Windows Version: Windows Vista
CPU Type: AMD X2 6400+
HDD: WD SE16 500GB, Samsung SpinPoint 1TB
Memory: 2GB DDR2 800
Motherboard: Gigabyte GA-MA69GM-S2H
Video Card: ATI Radeon HD 3470
Video Card Driver: Catalyst 9.1
Sound Card AC3: Realtek HDMI Audio
1. TV Card: Hauppauge Nova-S Plus
1. TV Card Type: DVB-S
MPEG2 Video Codec: MPC - Mpeg2 decoder
MPEG2 Audio Codec: AC3Filter
h.264 Video Codec: PowerDVD 8 H.264/AVC/VC1 decoder
Satelite/CableTV Provider: Nimiq 82W, Nimiq 91W
HTPC Case: nMedia 2000B
Cooling: Scythe Mini Ninja
Power Supply: Corsair 450VX
Remote: Home Theater Master MX-700
TV: Panasonic 58" TH-58PZ800U
TV - HTPC Connection: HDMI
I recently updated to MediaPortal 1.0 and SVN 21688 and noticed that my 720p/1080p MKVs were not using the right audio decoder. I dug through the source code and discovered that for some very strange reason in VideoPlayerVMR9.cs the decoder configured for AAC audio is being used if the video file has .mkv or .mp4 extension.
This is ridiculous in my opinion and I don't understand how this got approved as a valid code change! MKV containers are not limited to AAC audio, and more often than not contain multi-channel AC3 or DTS audio. My AC3/DTS passthrough decoder of choice is AC3Filter but now I can't use it because it doesn't register as a valid AAC decoder and thus I can not select it in MediaPortal configuration!
Here is the section of code that I feel is wrong:
UPDATE: This is clearly a bug that is causing problems for many folks and leaving them unable to play audio with their MKV files. As a result I am including a patch for the current SVN until this gets fixed in the official stream.
Attached is a patch for SVN 21688.
MediaPortal Version: 1.0 SVN 21688
MediaPortal Skin: StreamedMP
Windows Version: Windows Vista
CPU Type: AMD X2 6400+
HDD: WD SE16 500GB, Samsung SpinPoint 1TB
Memory: 2GB DDR2 800
Motherboard: Gigabyte GA-MA69GM-S2H
Video Card: ATI Radeon HD 3470
Video Card Driver: Catalyst 9.1
Sound Card AC3: Realtek HDMI Audio
1. TV Card: Hauppauge Nova-S Plus
1. TV Card Type: DVB-S
MPEG2 Video Codec: MPC - Mpeg2 decoder
MPEG2 Audio Codec: AC3Filter
h.264 Video Codec: PowerDVD 8 H.264/AVC/VC1 decoder
Satelite/CableTV Provider: Nimiq 82W, Nimiq 91W
HTPC Case: nMedia 2000B
Cooling: Scythe Mini Ninja
Power Supply: Corsair 450VX
Remote: Home Theater Master MX-700
TV: Panasonic 58" TH-58PZ800U
TV - HTPC Connection: HDMI
I recently updated to MediaPortal 1.0 and SVN 21688 and noticed that my 720p/1080p MKVs were not using the right audio decoder. I dug through the source code and discovered that for some very strange reason in VideoPlayerVMR9.cs the decoder configured for AAC audio is being used if the video file has .mkv or .mp4 extension.
This is ridiculous in my opinion and I don't understand how this got approved as a valid code change! MKV containers are not limited to AAC audio, and more often than not contain multi-channel AC3 or DTS audio. My AC3/DTS passthrough decoder of choice is AC3Filter but now I can't use it because it doesn't register as a valid AAC decoder and thus I can not select it in MediaPortal configuration!
Here is the section of code that I feel is wrong:
Code:
if (extension.Equals(".mp4") || extension.Equals(".mkv"))
{
if (strH264VideoCodec.Length > 0)
{
h264videoCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strH264VideoCodec);
}
if ([B]strAACAudioCodec[/B].Length > 0)
{
aacaudioCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strAACAudioCodec);
}
}
UPDATE: This is clearly a bug that is causing problems for many folks and leaving them unable to play audio with their MKV files. As a result I am including a patch for the current SVN until this gets fixed in the official stream.
Attached is a patch for SVN 21688.