DXVA enabled MPC-HC source in MP? (1 Viewer)

us1111

Portal Member
April 4, 2008
6
0
Hi,

I've tried a looong time to find a DXVA enabled player which actually tells me if DXVA is enabled so I could try and find out when the system is using Hardware H.264 acceleration or not. In my search I came across Media Player Classic, which is able to do hardware assisted video decoding.

What's even better, I can actually check if DXVA is used (Right Mouse -> Filters -> MPC Video Decoder -> DXVA Mode).

I think the MPC code works really well, and we don't have to invest in a bulky powerDVD bundle. Wouldn't it be possible to use the MPC Video Decoder native within Mediaportal? :p
 

Spooky

MP Donator
  • Premium Supporter
  • February 14, 2005
    1,187
    47
    void 4tl
    Home Country
    Austria Austria
    You can download the Filters of MPC-HC separately: SourceForge.net: Files

    I tried to use the MPC Video Decoder today in MediaPortal for H264 content, but I couldn't get it to work. I only downloaded the mpchc_x86_v1.1.604.0_MPCVideoDec.zip, extracted the .ax file, registered it, and configured MediaPortal to use the MPC Video Decoder for H264 content. However, when actually viewing an HD channel MP is unable to create a graph with it an switches to the next H264 codec with a high merit (PowerDVD again in my case). I also checked the merit setting and changed it to normal (and restarted the PC), but that didn't help. I don't know what else I could try.
     

    pvkleeff

    Portal Member
    July 18, 2007
    32
    5
    51
    Roosendaal
    Home Country
    Netherlands Netherlands
    The MPC-HC codec works for H264 content, but not in combination with TsReader. So, every filetype except ts files work sine that's the only type that get's put through TsReader.
    The fact that this doesn't work is that TsReader gives {8D2D71CB-243F-45E3-B2D8-5FD7967EC09B} as the video subtype on the video-out pin, which is an type MPC-HC doesn't accept on the video-in pin. So the graph can't be build and the switch is made to the codec with the highest merit which accepts this type of input.
    This same story goes for ffdshow...
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    I just did a test with a modified TsReader:
    The filter now connects but the image is black and no frames are running through the vmr9 renderer so there must be another problem but i have no idea what it could be.
    All other filters i tried (elecard, mpv, nvidia, cyberlink) work just fine :confused:
     

    pvkleeff

    Portal Member
    July 18, 2007
    32
    5
    51
    Roosendaal
    Home Country
    Netherlands Netherlands
    Gemx,

    What did you modify ? I already tried to simply change the GUID of the H264_SubType in mediaformats.h to the GUID of the Haali file source, but then I get the same result as you. (First frame plays but then stops)
    Could you try to match the output Haali gives and see if that works ?
    (Haali also has a different bitCount, Compression, and a different MPEG2VIDEOINFO structure)
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    I just tried with Haali splitter and it seems as only mpeg2 ts can be played back.
    If i try it with a h264 ts recording the picture is black and no frames are processed.
    Did anyone has success in playing back ts h264 recordings with this filter?
    For me it doesn't work
     

    pvkleeff

    Portal Member
    July 18, 2007
    32
    5
    51
    Roosendaal
    Home Country
    Netherlands Netherlands
    Yes, I did.
    The mail I sent you on 6th July contains screenshots of the graph I made from a H264 ts file I recorded with TV-Server.
    With the Haali splitter as File Source, MPC-HC as video filter, ffdshow as audio filter I can play that file.
     

    eXDee

    Portal Pro
    February 20, 2008
    120
    1
    Home Country
    New Zealand New Zealand
    Bit of a bump here, but any development on this?

    It would be great if the MP team could modify this codec to be integrated into mediaportal, just like the monogram AAC decoder. This would mean that it would help out countries like NZ and Norway where h264 is used, which is a standard that other countries also seem to be moving towards.
    The codec is developed mainly by members of doom9 forum, so you could talk to them about it.

    Using MPC-HC playing a freeview HD .ts file i can acheive sub 5% cpu usage consistently, though it it doesn't seem to deinterlace too well.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom