My Videos Don't respect audio codec setting (1 Viewer)

pellegj

Portal Pro
May 7, 2009
106
32
Home Country
Sweden Sweden
Hi!
In my videos it seems that it don't fully respect my settings for audio codec.
If i set "MPEG / AC3 audio decoder" to ac3filter and "AAC audio decoder" to MPC-MPA Decoder Filter, it won't use ac3filter as codec for mpeg or ac3 audio but instead use the mpc-mpa decoder. If i however change AAC decoder to Monogram (which dont show up for mpeg/ac3) it will use ac3filter for decoding the audio as it should.
This for some reason seems to only happen when MPC-MPA decoder is used for AAC. I tried setting ffdshow as aac decoder and then it used ac3filter as expected for mpeg and ac3 audio. If i set ffdshow for mpeg and ac3 audio and still have MPC-MPA as aac decoder, it will not respect the settings and it will use MPC-MPA for mped and ac3 audio.



MediaPortal Version: 1.2.1
MediaPortal Skin: Default Wide
Windows Version: Win 7 Ultimate x64 SP1
CPU Type: Intel Core i5 2500K
HDD: Corsair Force 3 60GB
Memory: 8 GB DDR4
Motherboard: P8p67
Video Card: AMD Radeon HD 6870
Video Card Driver:
Sound Card: Onboard
Sound Card AC3: no AC3
Sound Card Driver: 6.10.2.6585
1. TV Card: TT S2-3200
1. TV Card Type: DVB-S
1. TV Card Driver: 5.0.1.8
2. TV Card: TT S2-3200
2. TV Card Type: DVB-S
2. TV Card Driver: 5.0.1.8
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MS DTV DVD Decoder
MPEG2 Audio Codec: AC3Filter
h.264 Video Codec: MS DTV DVD Decoder
Satelite/CableTV Provider:
HTPC Case:
Cooling: Many Fans
Power Supply:
Remote:
TV:
TV - HTPC Connection: DVI
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi again pellegj

    So I think I have a few ideas about why this is happening...
    First point is that when the MPEG/AC3 filter and AAC filter are different, MP inserts *both* filters into the graph. This is possibly to allow faster switching between audio streams.
    Now I come quickly to the problem: when MP connects the video and audio codecs, it doesn't connect certain filters specifically - it "renders" the video and audio pins on the splitter. This "render" process will use the codecs with the highest merit in the graph that support the format. In your system the MPC MPA codec has merit 0x00600001 and the AC3Filter has merit 0x40000000. I *think* this means that the MPC MPA codec will be chosen instead of the MPC MPA one.

    To test if this theory is correct, can you please use GraphStudio (or similar) to try to reduce the merit of the MPA filter. Note that you will possibly need to restart MP and/or Windows for the change to take effect.

    mm
     

    Attachments

    • 1.jpg
      1.jpg
      99.2 KB

    pellegj

    Portal Pro
    May 7, 2009
    106
    32
    Home Country
    Sweden Sweden
    Hi again pellegj

    So I think I have a few ideas about why this is happening...
    First point is that when the MPEG/AC3 filter and AAC filter are different, MP inserts *both* filters into the graph. This is possibly to allow faster switching between audio streams.
    Now I come quickly to the problem: when MP connects the video and audio codecs, it doesn't connect certain filters specifically - it "renders" the video and audio pins on the splitter. This "render" process will use the codecs with the highest merit in the graph that support the format. In your system the MPC MPA codec has merit 0x00600001 and the AC3Filter has merit 0x40000000. I *think* this means that the MPC MPA codec will be chosen instead of the MPC MPA one.

    To test if this theory is correct, can you please use GraphStudio (or similar) to try to reduce the merit of the MPA filter. Note that you will possibly need to restart MP and/or Windows for the change to take effect.

    mm

    Sorry to have to say that it don't help, i set MPC -MPA decoder to merit "0x00200001 (MERIT_DO_NOT_USE + 1)" and it still uses that instead of ac3filter. And if this had been the case, it should use ffdshow audio decoder instead of ac3filter when ffdshow is set for aac, since ffdshow has a merit of 0x00800001.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Sorry to have to say that it don't help, i set MPC -MPA decoder to merit "0x00200001 (MERIT_DO_NOT_USE + 1)" and it still uses that instead of ac3filter.
    :(
    Even after restart of the PC?

    And if this had been the case, it should use ffdshow audio decoder instead of ac3filter when ffdshow is set for aac, since ffdshow has a merit of 0x00800001.
    Did you uninstall FFDShow? I don't think it is installed properly (you can tell this if it has a red exclamation mark in GS) since it is not listed in the dxdiag output in your logs, therefore it wouldn't be possible to use it for anything.

    mm
     

    pellegj

    Portal Pro
    May 7, 2009
    106
    32
    Home Country
    Sweden Sweden
    Yes, even after restart.
    About ffdshow, i also tested it on another machine which is x86, sorry about any confusion.
    The one the logs comes from is x64.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Okay

    What happens if you do this:
    1. Open GraphStudio.
    2. Insert the Haali Media Splitter filter.
    3. This will prompt you to select a file - select the mkv file that you used as a sample.
    4. Insert the MPC MPA filter and the AC3Filter.
    5. Right click on the audio pin on the splitter and click "render".

    What happens - does the audio get connected through the MPC filter or AC3Filter?

    mm
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hmmm...

    I can't seem to reproduce. On my system MP is only inserting one filter into the graph (AC3Filter), however I don't have MKV samples to play with. I wonder: does your sample have multiple audio streams (with one or more being AAC)?

    mm
    PS: I meant to say earlier that your installation seems to be a little messed up - looks like the TvPlugin was not upgraded properly from MP 1.2.0b.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    I've had problems in the past with Haali splitter behaving oddly with video/audio decoders - uninstall Haali and try using LAV splitter instead for MKV.

    Tony
     

    Users who are viewing this thread

    Top Bottom