GraphEdit / MediaPlayer difference


  1. Posts : 6
    Windows 7 x64 SP1
       #1

    GraphEdit / MediaPlayer difference (fixed)


    Hi

    If anyone has any suggestions relating the the following issue I'd be most grateful...

    To start with, let me clarify - everything I'm refering to is the x64 versions.

    I've been trying, mostly with success, to get DXVA accelerated playback of videos under Windows 7 x64 (build 7100). I have no problems with video playback at all, but I have a strange issue with the audio streams in some .m2ts files. I have installed ffdshow x64 (rev2936 20090503), haali splitter x64, and the MPC-HC standalone video decoder (mpcvideodec.ax). I've made various changes to merits and to the "preferred" entries in the registry to enable the use of these codecs.
    When I fire up GraphEdit (or GraphStudio) (the x64 versions) and render a graph and play it back, it works fine. Ditto if I use mpc-hc with the internal filters all disabled. However, WMP12 and WMC12, whilst playing the video fine, do not use ffdshow for the audio in some files. In some of these problem-file cases the audio still plays with i don't know what codec being used. In other cases no audio is output.

    If I remove the haali splitter and instead use the gabest splitter, the audio is output the same in all players, but is just a series of pops, clicks and screeching noises.

    If I switch back to haali and enable "uncompressed" audio decoding in ffdshow with the haali splitter then WMP/WMC12 will send the audio stream to ffdshow, but it is just pops, clicks etc, as above.

    In essence, when I play a file back in GraphEdit it plays correctly, and the audio is sent to ffdshow as DTS-HD or TrueHD etc. which play back fine. When I try to play the same file in WMP12 the audio is somehow corrupted and will only be accepted by ffdshow if "uncompressed" is enabled, but as the stream isn't actually raw-audio ffdshow outputs nonsense.

    Somehow, WMP is interfering with the decoding process, but GraphEdit is not.

    Any ideas?


    Note - I have tried sharks codec pack, but get no further.


    -- update 1 --

    On a vanilla install of W7 x64 it is possible to open some .m2ts files in WMP, but these will not open in GraphEdit x64. WMP must be accessing some kind of splitter / reader that GraphEdit cant access or see. I strongly suspect this is what is interfering with the process I describe above.

    -- update 2 --

    Some more info and some progress. The same files play fine if they're renamed to .mkv files. So its something special about the way WMP treats .m2ts files. I've made lots of registry changes, and finally got it to play correctly. I'm sure some of the changes were unnecessary tho, so i'll try to figure which were needed and which weren't

    -- update 3 --

    Audio problem solved. Cause was "PreferredMPEG2AudioDecoderCLSID" in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Decoder] Deleting the value gets rid of the problem

    I also seem to have resolved another minor issue with these regtweaks - that of haali icon flashing on and off and ending up multiple times in the system tray. Will try to determine what caused that as i restore the other reg edits

    -- update 4 --
    Finally solved the explorer loading haali repeatedly. Removed the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.m2ts]
    Last edited by JonScaife; 18 May 2009 at 17:33. Reason: added more info
      My Computer


  2. Posts : 6
    Window 7 x64
       #2

    Hello,

    I think i found out the issue with our HD codecs and Windows 7/WMP12/MC.

    We need to disable - Media Foundation Direct Show Wrapper ( mfds.dll )
    it's within the System32 folder.

    I've also disabled - msmpeg2adec.dll = Microsoft DD/DTS Audio decoder
    - and some MP4 dll's

    To disable these filters , you need to Take ownership of the files and rename the "extentions" msmpeg2adec.dll = msmpeg2adec.dll.bak

    MFDS.dll is probably the only file needed to disable,
    I use FFdshow x64 audio, Haali splitter x64, MPC-HC filters for all HD DXVA playback so i dont need the other MS filters/system files mentioned....

    TEST: before modding, "right click" FFdshows Audio Tray Icon and you'll see all of the Media Foundation Filters/Codecs beening used. this will inform you of what is getting in the way......

    I would have never thought about MF filters until i read your post.

    So THANK YOU: JonScaife
    ( been at this all weekend...)
    Last edited by shayking; 18 May 2009 at 23:03. Reason: fixing my findings
      My Computer


  3. Posts : 6
    Windows 7 x64 SP1
    Thread Starter
       #3

    Doesn't disabling files risk breaking compatibility with TV cards and / or with playback of DRM protected BluRays for those people who also wish to do so?

    I don't have either so can't test the effects of my registry tweaks, which may have the same problem, but renaming files, whilst easier, sounds more likely to cause problems!
      My Computer


  4. Posts : 6
    Window 7 x64
       #4

    DVB-S, ATSC/QAM, M2TS-H.264-VC-1 files, is all working within MediaCenter.WMP12.

    As far as Blu-Ray, Cyberlink & Arcsoft handles the DRM HDCP etc.

    It may break DRM within CableCard stuff..

    Disable = renameing a file.
    if something breaks "Undo" the renamed file.
    Like i said mfds.dll is probably the only file that needs renaming/disableing.

    Obviously this is just a "Temporary fix" for myself.
    Im sure MS media team has more code to add to the Media Foundation Directshow Wrapper..(maybe they crippled it, to complete of an OS).
      My Computer


  5. Posts : 6
    Windows 7 x64 SP1
    Thread Starter
       #5

    Update

    It seems that in the RC renaming or disabling the preferred mpeg2 video decoder or audio decoder breaks TV card playback. I've tried to force this to use ffdshow without success. I read somewhere that this is somehow related to some DRM that MS have included with 7MC. Apparently the cyberlink codec will work, but its not available in 64bit, so for now I'm stuck with the MS codecs for TV. If anyone has any ideas.....
    I wonder if there is a way to disable the DRM...

    -- edit --

    Fixed. Media Center doesn't find the microsoft codecs if they're removed from [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Decoder]

    Restoring these values however prevents my choice of decoder for various files on the disk.
    The solution is to increase the merits of the MS decoders - it seems 7MC wont use them if their merits are too low. To change the merits I had to first change permissions in the registry on [HKEY_CLASSES_ROOT\CLSID\{212690FB-83E5-4526-8FD7-74478B7939CD}] and [HKEY_CLASSES_ROOT\CLSID\{E1F1A0B8-BEEE-490D-BA7C-066C40B5E2B9}]

    Live TV now works and uses the Microsoft codecs. All disk-based files use mpc-hc video and ffdshow audio decoders
    Last edited by JonScaife; 08 Jun 2009 at 10:15.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:00.
Find Us