PDA

View Full Version : Tool for changing preferred DirectShow filters in Windows 7


Pages : [1] 2

clsid
8th May 2009, 23:06
Windows 7 uses its own DirectShow filters for decoding several audio and video formats.

Changing which filters get used requires modifications to some Registry keys, including adjusting access permissions. This can be quite difficult (and dangerous) for novice users.

Below you can find a small tool that can change the preferred filters with just a few clicks.

So now you can play .mkv files with for example ffdshow as the video decoder in Windows Media Center!


Currently supported formats:
* H.264
* MPEG-4 (Xvid/DivX/MP4V)
* MPEG-2
* VC-1 and WMVA
* WMV1/2/3
* DV
* MJPEG
* AAC
* MP1
* MP2
* MP3

Currently supported third party filters (32-bit):
* ffdshow
* LAV Video
* LAV CUVID
* MPCVideoDec
* CoreAVC H.264 decoder
* Xvid MPEG-4 decoder
* DivX H.264 decoder
* DivX MPEG-4 decoder
* DScaler5 MPEG-2 decoder
* Gabest MPEG-2 decoder
* Cyberlink H.264 decoder (PDVD 7/8/9/10)
* Cyberlink MPEG-2 decoder (PDVD 7/8/9/10)
* Cyberlink VC-1 decoder (patched with VC1Tweak: guid {394DFD1B-6F4C-4096-AA14-EF852B02595B})
* ArcSoft H.264 decoder
* ArcSoft MPEG-4 decoder
* ArcSoft MPEG-2 decoder
* ArcSoft VC-1 decoder (patched with VC1Tweak: guid {9DAD7B50-4432-4F48-AC60-B2B4E854454B})
* Monogram AAC decoder
* DiAVC H.264 decoder
* Purevideo MPEG-2 decoder
* NVIDIA MPEG-2 decoder
* Broadcom video decoder
* CoreAAC v2


Currently supported third party filters (64-bit):
* ffdshow
* LAV Video
* LAV CUVID
* CoreAVC
* DiAVC H.264 decoder
* MPCVideoDec
* Xvid MPEG-4 decoder
* Gabest MPEG-2 decoder
* CoreAAC v2


Works on both 32-bit and 64-bit versions of Windows 7.


Note: The preferred filter settings only apply to DirectShow filters. It will not have any effect on files that are played using the Media Foundation framework! For example .m2ts and .mp4 files are played using Media Foundation. The tool also has specific tweaks to disable Media Foundation and other playback components from Microsoft.


Download (http://www.codecguide.com/windows7_preferred_filter_tweaker.htm) (v4.6 - August 23rd 2011):

Hypernova
9th May 2009, 02:13
Thanks clsid! This will help a lot. I think I should add something (that I think is related) tough. It seem like microsft got a way to make Media Extender play unsupport format or container by streaming files that the PC can play but the extender can't, and this seem to not work with file that decode by ffdshow. For example, I can play mkv file using xbox 360 if the file decoded by Microsoft decoder. But if that mkv is decoded by ffshow instead, the streaming won't work and I'll see an error. Not sure anything can fix that (I wish I could see subtitle in 360 though not much hope). Anyway, I just want to let anyone aware of this before using your tool. Again, thanks.

Atak_Snajpera
9th May 2009, 09:14
clsid
Are you going to combine this tool with ffdshow installer?

clsid
9th May 2009, 13:06
@Hypernova

I have no idea what MS did to make their software more compatible with the 360. But wasn't it already possible to stream .mkv files in Vista (after some reg tweaks)? From what I have read only 5.1 audio was problematic.

@Atak_Snajpera

If there is a demand for it, then maybe. First I will try to make the tool more complete.

Atak_Snajpera
9th May 2009, 13:26
If there is a demand for it, then maybe. First I will try to make the tool more complete.
FFdshow installer should automatically force ffdshow as preffered decoder if libavcodec or ffmpeg-mt is selected

gswudi
9th May 2009, 13:32
another filters setting tool
http://img411.imageshack.us/img411/7817/20090509191739.png

Hypernova
9th May 2009, 21:27
@Hypernova

I have no idea what MS did to make their software more compatible with the 360. But wasn't it already possible to stream .mkv files in Vista (after some reg tweaks)? From what I have read only 5.1 audio was problematic.


I think I can't get even Windows 7 Beta to stream mkv (without regsitry tweaks). Probably just my misunderstanding. But at least I don't have to mess with registry to get mkv playing this time.

Is that registry tweaks make it possible to have subtitle via ffdshow? Could you point me out how to do it? I have been searching but never find anything that's help.

Rhane
14th May 2009, 22:41
All I'm concerned about is if I can stream my .mkv's to my PS3 through the program "PS3 Media Server" http://ps3mediaserver.blogspot.com/

Anbody else using Windows 7 and this software?

clsid
15th May 2009, 18:03
New version of the tool can be found in first post.

Keiyakusha
15th May 2009, 20:03
I have CoreAVC with "preferred decoder" checked.
Before and after applying this tool I see this:
http://www.petaimg.com/u327/219123.png
Should I see CoreAVC in this graph? (Win7 RC x86)

Edit: This is h264 video. For mp4 used haali splitter.

clsid
16th May 2009, 13:46
I have only tested with ffdshow.

Carpo
17th May 2009, 11:28
ok i must be doing something wrong because everytime i run this program i tell it to use ffdshow, but its looks like wmp 64 is still using its own codecs for x264 ac3 is handled by ffdshow, just seems the others are still being stolen by microsoft

Carpo
17th May 2009, 17:28
fixed it, seems i needed to change a registry entry so the tool could write to it

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Preferred - give yourself write permissions on there and run clsid's tool and all is good

mr.duck
18th May 2009, 15:00
what about the mess between 64 bit and 32 bit codecs?

The tool may work on 64 bit OS, but does it just set the prefered 32bit codecs?

clsid
18th May 2009, 16:53
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Preferred - give yourself write permissions on there and run clsid's tool and all is goodThe tool should be adjusting the permissions automatically by giving the Administrators group the ownership and full access. It seems this does not always work. I will see if I can improve that.

Simply running the tool again can show you if the changes were successful.

The tool may work on 64 bit OS, but does it just set the prefered 32bit codecs? It has separate options for 32-bit and 64-bit filters.

albain
19th May 2009, 13:05
Good work clsid, I have seen your post about the user account control tool but I did not have the time to implement it.

Snakefood
19th May 2009, 15:00
Simply running the tool again can show you if the changes were successful.

And it doesnt work anyways. Nothing happens. W7 x64 build 7100. Any suggestions?

clsid
19th May 2009, 15:40
Manually adjust the registry access permissions on
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Preferred


Edit: I have uploaded a new version. Maybe that will work better for you.

Edit2: I have just tested 0.4 on a completely fresh install of Windows 7 x64 build 7127 and it worked OK.

Snakefood
20th May 2009, 01:31
Edit2: I have just tested 0.4 on a completely fresh install of Windows 7 x64 build 7127 and it worked OK.

yeah works great, thanks a lot

Atak_Snajpera
20th May 2009, 16:11
Edit: I have uploaded a new version. Maybe that will work better for you.
Did you change commandline for SetACL?

clsid
20th May 2009, 16:13
Same commands, but now split into two separate steps. First change owner, then adjust permissions.

Atak_Snajpera
20th May 2009, 16:16
Something like this ?
SetACL.exe -ot reg -on "HKLM\Software\Microsoft\DirectShow\Preferred" -actn setowner -ownr "n:Administrators;s:n"
SetACL.exe -actn ace -ace "n:Administrators;p:read,full;s:n;i:io,so;m:grant;w:dacl" -rec yes

clsid
20th May 2009, 16:32
Second command must also specify the key name. Also, I have used 'm:set' instead of 'm:grant'.

Atak_Snajpera
20th May 2009, 16:37
Do I have to use 64bit SetACL.exe for 64bit OS?

Keiyakusha
20th May 2009, 16:45
Now I get this error message when trying to use Win7DSFilterTweaker_0.4 on Win7 x86.
http://www.petaimg.com/u440/296Untitled.png

clsid
20th May 2009, 16:54
Do I have to use 64bit SetACL.exe for 64bit OS?You need to use both.

Now I get this error message when trying to use Win7DSFilterTweaker_0.4 on Win7 x86.Is caused by a typo. I will upload a fixed version in a moment.

Keiyakusha
20th May 2009, 17:45
clsid
Just tried Tweaker 0.5, and... Finally, it works for me! Thanks for this great tool ^_^

Atak_Snajpera
21st May 2009, 14:50
@clsid
I think that it's time to combine this tool with ffdshow installer.

zachdms
22nd May 2009, 01:41
As someone who loves stability, this kind of thing frightens me.

I would suspect that if you tried to stabilize your architecture, someone would always find a way to introduce ways to destabilize it. Your "great cause" now is someone else's "uh oh whoops" three months from now. :)

clsid
22nd May 2009, 14:41
Well, the tool can easily restore all settings to their defaults. So all changes that a user choses to make can be reverted.

DarkZell666
25th May 2009, 14:18
As someone who loves stability, this kind of thing frightens me.

I would suspect that if you tried to stabilize your architecture, someone would always find a way to introduce ways to destabilize it. Your "great cause" now is someone else's "uh oh whoops" three months from now. :)

As someone who loves life, cars frighten me. I would suspect that if you tried to live, someone would always find a way to introduce ways to kill you. Your "great cause" now is someone else's "uh oh whoops" three months from now. :rolleyes:

... Life can kill you, you know ;)

mr.duck
1st June 2009, 12:51
Errrr all I get with version 0.5 is a list with the only option for every single codec is "Microsoft". I sure have more options than that installed. DScaler5 for MPEG2 for a start. I'm on Windows 7 64 bit.

clsid
1st June 2009, 13:24
As you can read in the opening post, it only detects a few third party filters. DScaler5 is not yet on that list. I will add it in a future version. If you have more request, let me know.

In case of ffdshow, the tool also actually checks if a format is enabled in ffdshow options, before it is displayed as a choice in the tool.

mr.duck
1st June 2009, 13:53
Ya must add DScaler5 support since it's the best quality MPEG2 decoder and it's free :)

I just noticed that the cyberlink mpeg2 decoder I have installed isn't picked up either.

clsid
1st June 2009, 15:26
New version can be found in first post.

mr.duck
1st June 2009, 17:02
New version can be found in first post.

Both DScaler5 and Cyberlink are showing up now so seems to be working, thanks.

Brazil2
1st June 2009, 20:04
Thanks for the addition of Dscaler5 :)

If you have more request, let me know.
Arcsoft video decoder for both H264 and VC1 please :)

clsid
1st June 2009, 20:23
Could you give me the clsid values for those Arcsoft filters? That is all I need to know to be able to add them.

Edit:
I found value {B793E9A8-C53E-4845-9DE9-C32326EACCAD} belonging to ASVid.ax. Please confirm if that is the decoder you meant.

Brazil2
1st June 2009, 21:28
I found value {B793E9A8-C53E-4845-9DE9-C32326EACCAD} belonging to ASVid.ax. Please confirm if that is the decoder you meant.
Confirmed:
Display name: ArcSoft Video Decoder
File name: ASVid.ax
CLSID: {B793E9A8-C53E-4845-9DE9-C32326EACCAD}
Media types: MPEG1, MPEG2, DVSD, H264, VC1, MPEG4 ASP.

Full list:
Media Types: 30
Type: 0
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
Type: 1
MajorType: KSDATAFORMAT_TYPE_MPEG2_PES {E06D8020-DB46-11CF-B4D1-00805F6CBBEA}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
Type: 2
MajorType: KSDATAFORMAT_TYPE_STANDARD_PACK_HEADER {36523B13-8EE5-11D1-8CA3-0060B057664A}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
Type: 3
MajorType: KSDATAFORMAT_TYPE_DVD_ENCRYPTED_PACK {ED0B916A-044D-11D1-AA78-00C04FC31D60}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
Type: 4
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG1Packet {E436EB80-524F-11CE-9F53-0020AF0BA770}
Type: 5
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG1Payload {E436EB81-524F-11CE-9F53-0020AF0BA770}
Type: 6
MajorType: KSDATAFORMAT_TYPE_STREAM {E436EB83-524F-11CE-9F53-0020AF0BA770}
MinorType: KSDATAFORMAT_SUBTYPE_MPEG1Video {E436EB86-524F-11CE-9F53-0020AF0BA770}
Type: 7
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:dvsd MEDIASUBTYPE_dvsd_ {64737664-0000-0010-8000-00AA00389B71}
Type: 8
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:DVSD MEDIASUBTYPE_DVSD {44535644-0000-0010-8000-00AA00389B71}
Type: 9
MajorType: KSDATAFORMAT_TYPE_DVD_ENCRYPTED_PACK {ED0B916A-044D-11D1-AA78-00C04FC31D60}
MinorType: FourCC:dvsd MEDIASUBTYPE_dvsd_ {64737664-0000-0010-8000-00AA00389B71}
Type: 10
MajorType: KSDATAFORMAT_TYPE_DVD_ENCRYPTED_PACK {ED0B916A-044D-11D1-AA78-00C04FC31D60}
MinorType: FourCC:DVSD MEDIASUBTYPE_DVSD {44535644-0000-0010-8000-00AA00389B71}
Type: 11
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:H264 {34363248-0000-0010-8000-00AA00389B71}
Type: 12
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:h264 {34363268-0000-0010-8000-00AA00389B71}
Type: 13
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:X264 {34363258-0000-0010-8000-00AA00389B71}
Type: 14
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:x264 {34363278-0000-0010-8000-00AA00389B71}
Type: 15
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:AVC1 {31435641-0000-0010-8000-00AA00389B71}
Type: 16
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:avc1 {31637661-0000-0010-8000-00AA00389B71}
Type: 17
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: {5B64102C-0CB7-47E6-8EB1-8EF806CCCB3C}
Type: 18
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: {8D2D71CB-243F-45E3-B2D8-5FD7967EC09B}
Type: 19
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: {6F29D2AD-E130-45AA-B42F-F623AD354A90}
Type: 20
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: {DDF4B57D-C1D7-4595-A34B-56A2255E5E0F}
Type: 21
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: {629B40AD-AD74-4EF4-A985-F0C8D92E5ECA}
Type: 22
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:xvid {64697678-0000-0010-8000-00AA00389B71}
Type: 23
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:XVID {44495658-0000-0010-8000-00AA00389B71}
Type: 24
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:divx {78766964-0000-0010-8000-00AA00389B71}
Type: 25
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:DIVX {58564944-0000-0010-8000-00AA00389B71}
Type: 26
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:dx50 {30357864-0000-0010-8000-00AA00389B71}
Type: 27
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:DX50 {30355844-0000-0010-8000-00AA00389B71}
Type: 28
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:mp4v {7634706D-0000-0010-8000-00AA00389B71}
Type: 29
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:MP4V {5634504D-0000-0010-8000-00AA00389B71}
----- Pin 1 ------
Flags: Output:0 ZeroInst:0 Renderer:0 ManyInst:0
Instances: 0
Media Types: 3
Type: 0
MajorType: KSDATAFORMAT_TYPE_DVD_ENCRYPTED_PACK {ED0B916A-044D-11D1-AA78-00C04FC31D60}
MinorType: KSDATAFORMAT_SUBTYPE_SUBPICTURE {E06D802D-DB46-11CF-B4D1-00805F6CBBEA}
Type: 1
MajorType: KSDATAFORMAT_TYPE_STANDARD_PACK_HEADER {36523B13-8EE5-11D1-8CA3-0060B057664A}
MinorType: KSDATAFORMAT_SUBTYPE_SUBPICTURE {E06D802D-DB46-11CF-B4D1-00805F6CBBEA}
Type: 2
MajorType: KSDATAFORMAT_TYPE_MPEG2_PES {E06D8020-DB46-11CF-B4D1-00805F6CBBEA}
MinorType: KSDATAFORMAT_SUBTYPE_SUBPICTURE {E06D802D-DB46-11CF-B4D1-00805F6CBBEA}
----- Pin 2 ------
Flags: Output:1 ZeroInst:0 Renderer:0 ManyInst:0
Instances: 0
Media Types: 8
Type: 0
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:YUY2 MEDIASUBTYPE_YUY2 {32595559-0000-0010-8000-00AA00389B71}
Type: 1
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:YV12 MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
Type: 2
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: FourCC:UYVY MEDIASUBTYPE_UYVY {59565955-0000-0010-8000-00AA00389B71}
Type: 3
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: DDPF_RGB32 {E436EB7E-524F-11CE-9F53-0020AF0BA770}
Type: 4
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: DDPF_RGB24 {E436EB7D-524F-11CE-9F53-0020AF0BA770}
Type: 5
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: DDPF_RGB565 {E436EB7B-524F-11CE-9F53-0020AF0BA770}
Type: 6
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: DDPF_RGB555 {E436EB7C-524F-11CE-9F53-0020AF0BA770}
Type: 7
MajorType: FourCC:vids MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
MinorType: DDPF_ARGB32 {773C9AC0-3274-11D0-B724-00AA006C1A01}
----- Pin 3 ------
Flags: Output:1 ZeroInst:0 Renderer:0 ManyInst:0
Instances: 0
Media Types: 3
Type: 0
MajorType: KSDATAFORMAT_TYPE_AUXLine21Data {670AEA80-3A82-11D0-B79B-00AA003767A7}
MinorType: KSDATAFORMAT_SUBTYPE_Line21_GOPPacket {6E8D4A23-310C-11D0-B79A-00AA003767A7}
Type: 1
MajorType: KSDATAFORMAT_TYPE_STREAM {E436EB83-524F-11CE-9F53-0020AF0BA770}
MinorType: FourCC:TVCC {43435654-0000-0010-8000-00AA00389B71}
Type: 2
MajorType: KSDATAFORMAT_TYPE_STREAM {E436EB83-524F-11CE-9F53-0020AF0BA770}
MinorType: {A793C893-B525-4E56-9FD9-6C7A9E2CC103}

clsid
1st June 2009, 22:53
Added ;)

New version can be found in first post.

Brazil2
2nd June 2009, 00:25
Added ;)

New version can be found in first post.
Brilliant! Thanks a lot ;)

turbojet
2nd June 2009, 04:24
Hi, is that for Arcsoft TMT2\TME or TMT3?

clsid
2nd June 2009, 12:16
I don't know, I haven't ever used that filter. It is likely they use the same filter in all their products.

turbojet
2nd June 2009, 23:00
Yup after registering ASVid.ax it does have the same CLSID and it shows up.

However I wonder how people are making use of it in directshow as it can't connect to haali or gabest splitters. Brazil2 how are you using it?
The only way I know of to get it to work is through VC1tweak (http://forum.doom9.org/showthread.php?p=1249154#post1249154) and that will only connect to certain TMT2 versions and it's currently not supported by this tool. What would be nifty is if this tool could setup arcsoft/powerdvd/windvd filters to connect to haali and gabest splitters, do you think that will be a possibility in the future?

BTW I kind of prefer this preferred method over merits, more organized, as long as tools like this exist and are supported. Thanks for the tool!

zachdms
3rd June 2009, 00:36
As someone who loves life, cars frighten me. I would suspect that if you tried to live, someone would always find a way to introduce ways to kill you. Your "great cause" now is someone else's "uh oh whoops" three months from now. :rolleyes:

... Life can kill you, you know ;)I ain't trollin', just commentin'. I simply talk with security and stability folks often. Imagine if you will that you put an "air bag" in the car to make it "safer"... ;)

As a dev tool, sounds awesome. If it's something that starts creeping into the user ecosystem nonjudiciously... that's the part that scares me. As a reminder of why I politely bang the caution drum, during the middle of last year, the top crashes across all multimedia components upon Windows Vista were caused by codec packs. Not sheer and absolute MS incompetence as you might expect, just old dumb stuff like mmswitch, iac, and other oh-so-avoidable sources of error. Stuff not working is a tragedy I want to avoid. I'll do what I can to help put the pieces together, as I'm sure many of you do. <3

All respect to the project. I apologize for the minor digression.

clsid
3rd June 2009, 13:06
I am going to correct you there. Codec packs do not cause crashes. It are the bad components in some packs that cause the problems you refer to. Not all packs are bad. For example the K-Lite Codec Pack actually helps users to remove those buggy items you mention when it detects them as installed on a users system.

From what I can see in the Registry, there is a blacklisting option. Is that correct? Why doesn't MS use that for those few known troublemakers, like mmswitch and voxware?

clsid
3rd June 2009, 22:20
Yup after registering ASVid.ax it does have the same CLSID and it shows up.

However I wonder how people are making use of it in directshow as it can't connect to haali or gabest splitters. Brazil2 how are you using it?
The only way I know of to get it to work is through VC1tweak (http://forum.doom9.org/showthread.php?p=1249154#post1249154) and that will only connect to certain TMT2 versions and it's currently not supported by this tool. What would be nifty is if this tool could setup arcsoft/powerdvd/windvd filters to connect to haali and gabest splitters, do you think that will be a possibility in the future?

BTW I kind of prefer this preferred method over merits, more organized, as long as tools like this exist and are supported. Thanks for the tool!
I would also like to know if the Arcsoft filter is actually usable. Otherwise there is no point in having an option for it in the tool. If it only works for certain versions of the filter, then additional information would be welcome. I could let the tool check the version of the filter if needed.

This tool only controls preferred decoders. It does not control which splitters are used.
A different tweak can be used to force a splitter for specific a file extension. Maybe I will someday make a similar tool for that.

zachdms
4th June 2009, 04:43
I am going to correct you there. Codec packs do not cause crashes. It are the bad components in some packs that cause the problems you refer to. Not all packs are bad. For example the K-Lite Codec Pack actually helps users to remove those buggy items you mention when it detects them as installed on a users system.
Agreed. I was assessing culpability that way for them throwing in the kitchen sink as opposed to being lean/trim. Given the stats, I don't think there's any way that that many people *really* were trying to install mmswitch... it was just included with other things they were getting.

It would be nearly technically impossible without extreme malice for things to be as bad as they were previously in the third party space here. Thanks to all for helping clean this area up. :)

We all know that most of this stuff functions on a lower level than any average user ever wants to deal with and in many times would be able to figure out themselves. (Well, OK, maybe not everybody you know - but I'll use the example of my parents.... ;) ) I think the current generation of multimedia development benefits from more people running 7, but when badness is placed on the system it manifests in strange ways that most novice users (80% of the PC population?) cannot sort out by themselves.

Voxware MS should generally be blacklisted as of Vista SP1: Vista RTM had an incomplete blacklisting that we fixed up.
Blacklisting is the last resort, the big huge hammer. And if people are already hacking away at your introduced tools to help stability, it's not like they won't create the new "deblacklist tool" next. Diminishing returns in this area vs doing other positive work. I'm just saying that if I see a tool like this in codec packs, regardless of 'vendor', I reserve the right to bash my head against the wall and set a calendar reminder to check the online crash report stats later. lol :)

Keep on keepin' on, I'm just being curmudgeonly and realize you're judicious and sane in how you use / configure tools like this. <3

turbojet
4th June 2009, 07:17
Is there any chance of supporting VC1tweak for Arcsoft and PowerDVD?

Filename: VC1Tweak_Haali.ax
CLSID: {9DAD7B50-4432-4F48-AC60-B2B4E854454B}

Filename: VC1Tweak_clhaali.ax
CLSID: {394DFD1B-6F4C-4096-AA14-EF852B02595B}

Let me know if you need any more info if you plan on adding it. Thanks

clsid
4th June 2009, 13:50
Voxware MS should generally be blacklisted as of Vista SP1: Vista RTM had an incomplete blacklisting that we fixed up.
Blacklisting is the last resort, the big huge hammer. And if people are already hacking away at your introduced tools to help stability, it's not like they won't create the new "deblacklist tool" next. Diminishing returns in this area vs doing other positive work. I'm just saying that if I see a tool like this in codec packs, regardless of 'vendor', I reserve the right to bash my head against the wall and set a calendar reminder to check the online crash report stats later. lol Would it be possible for you (in your role as MS dev) to share some info/stats about crash reports? It would be interesting to see which DS filters cause the most stability issues. Such knowledge would also be useful for me and others to assist people with solving multimedia issues in Windows. It would also be useful for the developers of those filters, since users often choose not to report bugs.

With regard to my tool. My intention is to only include options for filters which are considered to be stable.

Is there any chance of supporting VC1tweak for Arcsoft and PowerDVD?

Filename: VC1Tweak_Haali.ax
CLSID: {9DAD7B50-4432-4F48-AC60-B2B4E854454B}

Filename: VC1Tweak_clhaali.ax
CLSID: {394DFD1B-6F4C-4096-AA14-EF852B02595B}

Let me know if you need any more info if you plan on adding it. Thanks
Please clarify the following:
1) The unpatched Arcsoft filter only connects to its own splitters, right? Or does that only apply for VC-1 video?
2) What happens if you use the unpatched Arcsoft filter and set it as preferred with the current tool? Does WMP fallback to using a different filter?
3) Does the patched filter only connect to Haali splitter, or also to other splitters?
4) Could you give MD5 hashes of those two patched filters?

turbojet
4th June 2009, 20:06
Please clarify the following:
1) The unpatched Arcsoft filter only connects to its own splitters, right? Or does that only apply for VC-1 video?

VC-1 Arcsoft and PowerDVD for sure and probably WinDVD filters connect with their own splitters but they don't output video via directshow. PowerDVD used to be usable in directshow but I'm pretty sure BD+ made them change their minds, unsure about arcsoft and windvd prior to BD+.

Arcsoft MPEG2 either works in WMP12 or it's using MS decoders (verified with ffdshow tray on and set to highest merit), falls back to other directshow filters in MPC-HC/graphstudio.

Arcsoft H.264/XviD/DivX works with graphstudio and either WMP12 uses it or MS decoders (verified with ffdshow tray on and set to highest merit). MPC-HC falls back to FFDshow, or other directshow filters.

2) What happens if you use the unpatched Arcsoft filter and set it as preferred with the current tool? Does WMP fallback to using a different filter?

It falls back to ffdshow if it's set to decode VC-1, the merit doesn't affect anything, even at do not use level it still gets used. If ffdshow isn't set to decode it falls back to MS filter. MPEG2 falls back to nothing even if ffdshow is enabled to decode

3) Does the patched filter only connect to Haali splitter, or also to other splitters?

These 2 particular ones do, the thread I linked to also has arcsoft for gabest splitter, but only certain versions of the arcsoft filter work, v2 build 113 and 119 are the only 2 so far that work. Needs to be updated to work with newer versions.

4) Could you give MD5 hashes of those two patched filters?

f4e92a42845b5cc72e27fc91c0e5e1a8 *VC1Tweak_Haali.ax

0b2f8e0b80a1cb771a9e5efe3171a11d *VC1Tweak_clhaali.ax

BTW all the links to VC1tweak powerDVD from the original author seem dead now. I have uploaded it again with decoders that work with it here (http://www.mediafire.com/download.php?j3mym4on2nn). It isn't very useful though since it always resizes to 720x480, I'm pretty sure it's an issue with the VC1Tweak_clhaali.ax

I can get clsid's on powerDVD and winDVD filters if you want me to as well.

It's probably far beyond the scope of this project but ultimately until libavcodec adds full support for interlaced VC-1 it would be really nice to get Arcsoft VC-1 working with the latest Arcsoft 3.0.120 trial version decoders, no v2 trial available. Another possibility is powerDVD ax that doesn't resize and pixelate with the troublesome interlaced VC-1. This is how big of a headache proper VC-1 decoding has been since microsoft developed it a few years ago :(

clsid
5th June 2009, 14:06
New version in first post.

zachdms
5th June 2009, 22:07
Would it be possible for you (in your role as MS dev) to share some info/stats about crash reports? It would be interesting to see which DS filters cause the most stability issues. Such knowledge would also be useful for me and others to assist people with solving multimedia issues in Windows. It would also be useful for the developers of those filters, since users often choose not to report bugs.AFAIK, I have to be careful in this space. I generally try to be as helpful as I can, but I'm going to extremely err on the side of caution since it's probably more important to get important information out than dive into specifics.

Ideally vendors sign up to view error reports, as I believe this:
* http://www.microsoft.com/whdc/winlogo/maintain/StartWER.mspx
lets you do.

If that's a problem for filter dev teams, I can potentially check with the WER team about what to do for lighter weight operations - but it'd be a potentially dodgy area. =\

clsid
5th June 2009, 22:26
That is something for commercial companies as it requires a VeriSign ID.

I was more thinking of a top 25 list of most troublesome filters.

turbojet
6th June 2009, 18:15
Thanks both VC1tweak filters work great.

I thought of a few more things:
- add PowerDVD 7 for H.264: CL264dec.ax {F2E3D920-0F9B-4319-BE87-EB94CCEB6C09} I've test it working with 7.3.3319, build 4617, and the latest 5105
- for PowerDVD VC1, MPEG2 add a note that it only outputs 720x480
- change Next button to Apply and it doesn't exit, just makes the changes (like changing resolution without a timer)
- change cancel button to close and if there was changes made ask whether to save (yes/no) or cancel. If nothing changed it exits without question (like text editors)
- titlebar naming more specific then 'tool'

Any chance of any of these?

clsid
6th June 2009, 22:55
I didn't know the PowerDVD MPEG2 decoder had any limitations. It works fine for me at different resolutions on XP. I haven't tested it on Win7. Are you really sure about that?

RadioactiveMan
6th June 2009, 23:13
is there a special way to use this program? no matter if i start it with my normal account with 'start as administrator' or directly under the administrator account, i always get this message as soon as i press 'next' after chosen the preferred decoder:
---------------------------
Tool
---------------------------
Failed to change registry key access permissions for:

HKLM\SOFTWARE\Wow6432Node\Microsoft\DirectShow\Preferred
---------------------------
OK
---------------------------

What did i do wrong?

clsid
6th June 2009, 23:19
I don't know. It works ok for me on clean installs of all recent Windows 7 builds.

turbojet
7th June 2009, 01:45
I didn't know the PowerDVD MPEG2 decoder had any limitations. It works fine for me at different resolutions on XP. I haven't tested it on Win7. Are you really sure about that?

You are right, the MPEG2 m2ts I was using for test had bad headers or something. After I demuxed or remuxed it was giving 1080p output. So it's just the PowerDVD VC1tweak that has the 720x480 output issue, and only with interlaced streams, with progressive there is no issue.

A few more things I thought of:
- check for missing filters that are still registered (cyberlink and arcsoft TMT2 are notorious for leaving these)
- function to completely remove the preferred folder (too hazardous for this tool? or is there some other way to load in graphs without this folder)

EDIT: Just noticed new version, PDVD7 H.264 decoder is working great, thanks. Also thanks for the apply button for quick changes without having to reopen the app.
Do you think the exit now question is needed when you hit apply?
Also is the exit now question needed when you hit close without any changes done?

Also I forgot to mention earlier that I tested WinDVD 9 filters and they appear unusable, even after manually registering all the ax files it couldn't load any video via directshow.

is there a special way to use this program? no matter if i start it with my normal account with 'start as administrator' or directly under the administrator account, i always get this message as soon as i press 'next' after chosen the preferred decoder:
---------------------------
Tool
---------------------------
Failed to change registry key access permissions for:

HKLM\SOFTWARE\Wow6432Node\Microsoft\DirectShow\Preferred
---------------------------
OK
---------------------------

What did i do wrong?

This type of management system wasn't introduced until RC build 7100 as far as I know. Are you using build 7100 or newer?

RadioactiveMan
7th June 2009, 02:00
This system wasn't introduced until RC build 7100 as far as I know. Are you using build 7100 or newer?

I am using Windows 7 RC Build 7100 64bit German

turbojet
7th June 2009, 02:12
I am using Windows 7 RC Build 7100 64bit German

Oh maybe it's some issue with non-english versions.

If you open regedit and browse to that key does it exist?
If not, is it named something else like 'Directshow' or 'Preferred' in german?

RadioactiveMan
7th June 2009, 11:11
If you open regedit and browse to that key does it exist?
If not, is it named something else like 'Directshow' or 'Preferred' in german?


I have already taken a look at it. The key is there.

clsid
7th June 2009, 12:41
Oh maybe it's some issue with non-english versions.Translations only apply to the Windows GUI and a few folder names, not to stuff in the Registry.
Perhaps it is an issue with UAC. Completely disabling UAC can cause problems for applications (like this tool) that need to run with Administrator privileges.

I have already taken a look at it. The key is there. Which group is set as the owner of the key? Originally it is TrustedInstaller. The tool changes it to the Administrators group. After that it sets full access permissions on the key for Administrators.

A few more things I thought of:
- check for missing filters that are still registered (cyberlink and arcsoft TMT2 are notorious for leaving these)
I am not planning to add that at this moment. There are other tools that can scan for such issues. If a preferred filter can not be loaded, then DirectShow will simply fall back to using a different filter.
- function to completely remove the preferred folder (too hazardous for this tool? or is there some other way to load in graphs without this folder)Those who want different alternatives than given by the tool can either request an addition or mess with the Registry themselves. I am not going to offer the possibility to delete the whole key.
Do you think the exit now question is needed when you hit apply?
Also is the exit now question needed when you hit close without any changes done?The prompt can't be easily removed. I am not wasting my time on it.

RadioactiveMan
7th June 2009, 13:54
Translations only apply to the Windows GUI and a few folder names, not to stuff in the Registry.
Perhaps it is an issue with UAC. Completely disabling UAC can cause problems for applications (like this tool) that need to run with Administrator privileges.

Which group is set as the owner of the key? Originally it is TrustedInstaller. The tool changes it to the Administrators group. After that it sets full access permissions on the key for Administrators.
.

i will try to disable uac as soon as the current encoding job is done. that will be in about twelve hours.

regarding the owner of the key: it was trustedinstaller. i have already changed it to administrators and have given the administrator an the users full rights. unfortunately it didn't work.

Atak_Snajpera
7th June 2009, 13:59
Completely disabling UAC can cause problems for applications (like this tool) that need to run with Administrator privileges.


i will try to disable uac as soon as the current encoding job is done.
Did you understand what he said?

RadioactiveMan
7th June 2009, 14:56
Did you understand what he said?

now, when reading it a second time i do. but it also didn't work with uac being activated.

clsid
7th June 2009, 15:36
Perhaps you have some kind of security application (firewall, virusscanner) installed that is blocking the tool.

battles
8th June 2009, 15:08
CLSID,

I know that you've been barraged with requests for adding more decoder options to your very helpful bit of software; here's another. Would you mind adding MPCVidDec.ax to your list of decoder options? Because it enables hardware acceleration, it has been my experience that it is a very good video decoder.

Many thanks on behalf of the HTPC enthusiast community,

Battles

clsid
8th June 2009, 16:44
I'll put it on the todo list for next version.

The Microsoft decoder also has hardware acceleration and is probably has better compatibility than MPC's decoder (which is still buggy).

battles
8th June 2009, 19:37
Thanks CSLID,

This may not be the appropriate thread for this, but I'd appreciate your view on the best video decoders (by file type encoding...VC-1, .264, mpeg, etc.) that employ hardware acceleration. One problem I was having, in particular, when using the media foundation decoders in Win7, was with regard to the playback of .m2ts files encoded in VC-1 (got audio but no video when playing back through MCE/WMP12). I have since solved the problem by disabling the Media Foundation wrapper (msds.dll) and the WMV decoder (wmvdecod.dll). Now WMP/MCE plays back all of my video files; however, in the process, I feel as though I have lost some of the hardware acceleration for .m2ts AVC/.264 encoded files I was experiencing before disabling the aforementioned files (CPU load used to by 10% now around 60%) when using Microsoft's DTV/DVD Video decoder.

Your recommendations would be very helpful.

Best, Battles

clsid
8th June 2009, 20:50
Report your problems at the Microsoft Technet forums, preferably with a sample file. Then they might be able to solve those problems before Windows 7 goes RTM.

I don't play any VC1 content, so I can't make any recommendations for it.

zachdms
8th June 2009, 23:26
VC1 in M2TS won't be supported for RTM. It's a feature request that'll be looked at for the future. =\

battles: yeah, disabling aspects of playback would result in different and potentially bad results. That seems like it would be expected... ? :)

battles
9th June 2009, 00:02
Thanks. But, I'd rather have MCE playback .m2ts VC-1 than not, even with some slight degradation to CPU efficiency. Considering MS developed VC-1, I'm surprised that MS' support of VC-1 .m2ts will not be in the RTM. I'm sure there is a reason, but if you look at the number of blu-ray titles being released which were encoded in VC-1, it sure would be nice if MS supported this natively. Please feel free to enlighten me on this.

zachdms
9th June 2009, 02:29
Priorities. You have N people capable of doing X work at Y quality level.

You're making a Feature Request. :) The right people are aware of it, but it is not going to make the cut for this release, sorry. If they did go off and do that non-trivial work, it's a trade-off with 'other feature' that was deemed of more general value. Trying to be everything to everyone at once doesn't work well in practice. :)

battles
9th June 2009, 03:25
Thanks. I'm glad to hear that this is on the MCE project team's radar screen -- as it seems support for VC-1 playback is no less important than .264. Hopefully it will be addressed in a service pack or update post release. As you know, there's a community of enthusiasts who spend countless hours poring over chat rooms, forums etc, trying to get their MCE completely dialed in. I'm hopeful that those heading up the MCE project team for win7 fit this profile. A lot of us don't necessarily love the MCE product out of the box, but love its potential, and certainly appreciate what the MCE community on the web has done to optimize the MCE experience.

Thanks for sharing an insider's perspective.

MysTinuX
10th June 2009, 02:29
I am using Windows 7 RC Build 7100 64bit German I also had problems with a french release of 7 RC.

I had to set permissions on the Prefered regkey manually with SetACL Command line to use CLSID's tool.

How to do this :

Download and unzip this file : permissions.zip (http://www.homemedia.fr/dl/mce/reg/permissions.zip)
Edit permissions.cmd file
Change for every line this string : "Administrateurs" by the "Administators word" in german/french/spanish...
Save the file and run it with command line (see attached image file)

After that you sould be able to change decoders with CLSID's tool.

CLSID, do you think you could update your tool to support non english Windows 7 versions. I think you just have to change the "Administrator" or "Administrators" strings for SetACL command lines (I think your tool use this).

French translation :
Administrator=Administrateur
Administrators=Administrateurs

turbojet
10th June 2009, 10:34
I am not planning to add that at this moment. There are other tools that can scan for such issues. If a preferred filter can not be loaded, then DirectShow will simply fall back to using a different filter.
Those who want different alternatives than given by the tool can either request an addition or mess with the Registry themselves. I am not going to offer the possibility to delete the whole key.
The prompt can't be easily removed. I am not wasting my time on it.

OK I understand.

I also had problems with a french release of 7 RC.

I had to set permissions on the Prefered regkey manually with SetACL Command line to use CLSID's tool.

How to do this :

Download and unzip this file : permissions.zip (http://www.homemedia.fr/dl/mce/reg/permissions.zip)
Edit permissions.cmd file
Change for every line this string : "Administrateurs" by the "Administators word" in german/french/spanish...
Save the file and run it with command line (see attached image file)

After that you sould be able to change decoders with CLSID's tool.

CLSID, do you think you could update your tool to support non english Windows 7 versions. I think you just have to change the "Administrator" or "Administrators" strings for SetACL command lines (I think your tool use this).

French translation :
Administrator=Administrateur
Administrators=Administrateurs

Another option is using regini which shouldn't be affected by non-English versions because it uses numbers to set permissions.

For instance this pasted to a cmd or bat should work:
@echo off
Reg Query "HKLM\SOFTWARE\Wow6432Node" >nul
if errorlevel 1 goto 32BIT

echo \Registry\Machine\Software\Wow6432Node\Microsoft\DirectShow\Preferred [1 5 8] >> x64.txt
regini x64.txt >nul
del x64.txt >nul

:32BIT
echo \Registry\Machine\Software\Microsoft\DirectShow\Preferred [1 5 8] >> x86.txt
regini x86.txt >nul
del x86.txt >nul


This should set full access to admin/creator and read access to world.

clsid
10th June 2009, 13:56
Changing the ownership of the key is the problem. But I have found the solution for it. By using the SID instead of the localized name.

sarastro
10th June 2009, 20:09
Thank a lot for adding support for the MPC DXVA decoder! Now I've got the same performance -CPU wise- with Media Center on x64 as I have with MPC-HC.

MPC-HC is my default player and a great one, but Windows Media Center with the Mediabrowser plug-in is just a lot slicker and awesomer for browsing through your video collection.

MysTinuX
11th June 2009, 11:37
CLSID, could you also add NVIDIA Pure Video MPEG-2 Decoder?
It is as good as Dscaler 5.

NVIDIA Pure Video MPEG-2 Decoder : {EAFD99D7-54B6-4e87-8C7C-6A3C85F8997C}

turbojet
11th June 2009, 13:31
There's also xvid x64 but I'm having issues finding the CLSID.

clsid
11th June 2009, 13:57
Will add Purevideo in next version.

Xvid x64 is already supported. I have assumed its clsid is the same as the 32bit version.

dimitrik
14th June 2009, 00:31
Hi CLSID, and thank you very much for the fantastic tool!
Combined with K-lite it makes my Win7 desktop sing.

I have a feature request though. Can you add Audio codecs to the tool?

I nhave some videos with multiple audio streams and some flacs and the tool would make it possible to make ffdshow audio the default for those in Win-7 Media Centre.

Thanks a lot, your work is incredibly valuable to the community!

clsid
14th June 2009, 00:51
AC3/DTS/Vorbis don't have a preferred decoder set. I have tried adding an entry for AC3, but it did not have any effect. Although I did only do a tiny bit of testing.

For MP3 there is a preferred entry. However, setting ffdshow as the default caused problems, audio was not decoded properly.

But since the tool makes the contents of the Registry key modifiable, everyone can experiment with adding/changing entries. The mediatype value for MP3 is {00000055-0000-0010-8000-00AA00389B71}. AAC is {000000FF-0000-0010-8000-00aa00389b71}. LPCM is {e06d8032-db46-11cf-b4d1-00805f6cbbea}.

dimitrik
14th June 2009, 09:57
That's too bad. Although its not that common, there's still plenty of multi-audio-stream content out there and it seams Win-7 will not cope with it no matter what we hack:-(

dimitrik
17th June 2009, 23:59
By the way, will this be incorporated in k-lite?

battles
18th June 2009, 18:33
CLSID,

Thanks for adding the MPC decoder to your excellent utility. However, even though I have MPC registered as a decoder in Win7, it does not show up as an option in your preferred filter utility. Does MPC show up for you?

Thanks,

Battles

clsid
18th June 2009, 19:27
I haven't got time to test it right now. Afaik it is working for other users. Maybe someone here can confirm if it works or not.

turbojet
18th June 2009, 23:11
MPCVideoDec.ax 1161 (http://www.xvidvideo.ru/component/option,com_docman/task,doc_download/gid,1908/) x86 and x64 work ok for me with H.264 and VC-1 but the tool isn't showing for DivX\XviD even though it decodes ok. Are you registering it ok?

This is what I used to install, copy to txt and rename to .cmd or .bat
@echo off
Reg Query "HKLM\SOFTWARE\Wow6432Node
if errorlevel 1 goto 32bit
copy MPCVideoDec.ax "%SYSTEMROOT%\syswow64" /Y 1>nul 2>&1
regsvr32 /s "%SYSTEMROOT%\syswow64\MPCVideoDec.ax"
exit
:32bit
copy MPCVideoDec.ax "%SYSTEMROOT%\system32" /Y 1>nul 2>&1
regsvr32 /s "%SYSTEMROOT%\system32\MPCVideoDec.ax"
exit


and uninstall
@echo off
Reg Query "HKLM\SOFTWARE\Wow6432Node
if errorlevel 1 goto 32bit
regsvr32 /s /u "%SYSTEMROOT%\syswow64\MPCVideoDec.ax"
del "%SYSTEMROOT%\syswow64\MPCVideoDec.ax"
exit
:32bit
regsvr32 /s /u "%SYSTEMROOT%\system32\MPCVideoDec.ax"
del "%SYSTEMROOT%\system32\MPCVideoDec.ax"
exit


For x64 only include the lines below :32bit

A filter that's missing is MPC - MPEG-2 Video Decoder (Gabest): Mpeg2DecFilter.ax, {39F498AF-1A09-4275-B193-673B0BA3D478}

clsid
18th June 2009, 23:20
The tool only shows it as an option for H.264 and VC-1. I could add it for DivX and Xvid in some future version, if people really want to use this crippled filter instead of ffdshow for non-DXVA stuff.

turbojet
19th June 2009, 20:31
It's up to you but some users might like the choice to use them. I use MPC-HC's internal decoder for XviD\DivX and they work fine but I haven't tried comparing the video to other decoders but I'm ok with using ffdshow in directshow.

One more thing that seems missing is XviD under default DivX decoder.

clsid
20th June 2009, 00:47
One more thing that seems missing is XviD under default DivX decoder.That would require adding a check on the DivX filter settings to verify that it is configured for Xvid/MP4V decoding. At least that is the proper way to make it idiot-proof. I simply haven't had time to add it yet. It's not a priority for me. Same thing applies for using the Xvid decoder for DivX/MP4V.

clsid
20th June 2009, 14:53
New version available.

Snowknight26
20th June 2009, 23:23
Possible to host it somewhere that doesn't require you to wait?

Keiyakusha
20th June 2009, 23:35
Possible to host it somewhere that doesn't require you to wait?
... and that doesn't require you to turn off all adblocking

Yes, please host it somewhere else...

elminster13
21st June 2009, 22:44
I hate to ask dumb questions, but if you don't ask you'll never know, so here goes, and please don't flame me, if I should direct this question into another thread then I shall.

As a lay person, what does this tool allow me to do? I have ffdshow and arcsoft tmt3 installed and ideally I would like to be able to play blu ray rips direct in mediacenter. Would this tool allow me to change my filter to arcsoft and play in media center? or am I way off?

Again sorry if posted in wrong thread.

mhealy
22nd June 2009, 15:20
I'd be glad to set up ftp hosting or even a complete site hosting for the files if you'd like. I can't stand file sharing sites that make you wait and throw every ad in the book at you either.

Edit: That was dumb I didn't leave contact info. You can reach me via email at mhealy@hack7mc.com

clsid
22nd June 2009, 18:01
It will soon be placed on a proper host.

Joniii
28th June 2009, 21:22
New problems with the latest Windows 7 builds (7229, 7260 and newer).

Haali Media Splitter doesn't work anymore with .ts or .m2ts files, only with .mkv.

I forced Haali splitter to load by disabling one of the Media Foundation files in system32 dir, installed latest ffdshow and changed VC-1, H.264 and MPEG-2 codecs to ffdshow with this utility but only VC-1 uses ffdshow.

It seems that H.264 and MPEG-2 (msmpeg2vdec.dll) can't be changed from DirectShow registry entries anymore, it can only be changed from [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Decoder].

But if you change that registry entry for ffdshow, LiveTV won't work anymore in Media Center.

dimitrik
29th June 2009, 00:57
I'm beginning to think Win-7 is a waste of time for video especially media center. Every new build finds new ways to disable our ability to select codecs and settings.

I have a functioning set-up in Win7-x64, using only the x64 KLCP, although some niceties like flac playback in WMC and tag support for aac/m4a and flac is iffy.

But the prospect of hacking it again on the RTM version even with great tools like this one, is enough to make me stick with vista for another year:mad:

Joniii
29th June 2009, 10:59
I guess we need to wait for MF Haali/VobSub/ffdshow :(

How hard would it be for example to convert VobSub to Media Foundation?

clsid
29th June 2009, 12:38
There is no point in using MF since the MS stuff will still be preferred over 3rd part ones. And all stuff that has no native support can just be handle through DirectShow.

BetaBoy
29th June 2009, 18:23
New problems with the latest Windows 7 builds (7229, 7260 and newer).

Haali Media Splitter doesn't work anymore with .ts or .m2ts files, only with .mkv.

I forced Haali splitter to load by disabling one of the Media Foundation files in system32 dir, installed latest ffdshow and changed VC-1, H.264 and MPEG-2 codecs to ffdshow with this utility but only VC-1 uses ffdshow.

It seems that H.264 and MPEG-2 (msmpeg2vdec.dll) can't be changed from DirectShow registry entries anymore, it can only be changed from [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Decoder].

But if you change that registry entry for ffdshow, LiveTV won't work anymore in Media Center.

I warned everyone that MS was going to pull this before Win7 went final, and this confirms it... This is not just a decoder battle, but a splitter battle.

Joniii
29th June 2009, 18:28
There is no point in using MF since the MS stuff will still be preferred over 3rd part ones. And all stuff that has no native support can just be handle through DirectShow.

So basicly it would be impossible for example nVidia to make PureVideo Blu-ray version for W7?

I'm Media Center Beta tester, there was alot of discussion about this with the Media Center team but they completely ignored it. It's just insane that they did this, more so when their AVCHD splitter lacks VC-1 and DTS support.

clsid
29th June 2009, 22:40
The solution is simple: avoid the MS players.

dimitrik
29th June 2009, 23:26
Unfortunately M& makes the best and easiest 10 foot interface - WMC. I would gladly dump that dog if there was one Open Source or commercial alternative that worked as well.

Joniii
30th June 2009, 11:52
The solution is simple: avoid the MS players.

Unfortunally there isn't anything as good as Media Center for HTPC's :(.

Joniii
30th June 2009, 13:59
There is no point in using MF since the MS stuff will still be preferred over 3rd part ones. And all stuff that has no native support can just be handle through DirectShow.

Wouldn't VobSub still need to be translated as MF in order it to work in WMP and WMC with W7 default decoders?

clsid
30th June 2009, 14:47
No. It already works fine for AVI files in combination with MS decoders.

Joniii
30th June 2009, 14:49
No. It already works fine for AVI files in combination with MS decoders.

Weird, doesn't work for me with any Divx/Xvid videos, only with mkv's.

Which version are you using?

clsid
30th June 2009, 15:12
Last build I tried it on was probably 7201. I haven't done much testing with newer builds. I am waiting for RTM to leak before I waste any more time on it.

Joniii
30th June 2009, 16:22
Last build I tried it on was probably 7201. I haven't done much testing with newer builds. I am waiting for RTM to leak before I waste any more time on it.

Yeah I know what you mean, fortunately it shouldn't be long for RTM :) Which VobSub version are you using?

BetaBoy
30th June 2009, 18:53
Last build I tried it on was probably 7201. I haven't done much testing with newer builds. I am waiting for RTM to leak before I waste any more time on it.
clsid... we could not agree more.... the downside for us is that it's delaying CoreAVC 2.0.

honai
1st July 2009, 10:41
clsid... we could not agree more.... the downside for us is that it's delaying CoreAVC 2.0.

I see. Dog ate the homework again.

(I'm one of the customers back from the olden days when Core announced features "soon to come" that never materialized, and who's growing more and more frustrated by empty promises and blame allocation.)

BetaBoy
1st July 2009, 11:18
I see. Dog ate the homework again.

(I'm one of the customers back from the olden days when Core announced features "soon to come" that never materialized, and who's growing more and more frustrated by empty promises and blame allocation.)

Please explain what features we did not deliver in CoreAVC Professional 1.x that we did state that was coming and not added? And this added value comment has to do with what in relationship to the topic other then a direct poke? clsid stated the obvious and we concur. Wasting devel time on something that Microsoft is clearly changing with every release leading to RTM is the right move, in fact I've spoken to many other companies and they are basically doing the same thing.

honai
1st July 2009, 11:28
Uhm, GPU-aided/based decoding? Back then this was always described as GPU-agnostic and not specific to nVidia GPUs. Then, after more than a year w/o delivering it, you put the blame on the GPU manufacturers being unhelpful or whatever in enabling your solution that nobody ever saw a working version of.

I recall that you promised that feature "coming soon after the release of 1.0", then delayed, delayed, until finally you cancelled it in favor of CUDA.

Don't get me wrong. I'm not saying that CoreAVC 1.9.5 is a bad product. It certainly serves the market.

However, I can't help but notice that once again Core is allocating blame for delayed release cycles to forces outside your control. Or so you claim.

Please, if you can't release your software in time and with the promised feature set, don't make bold statements to the contrary. It's unbecoming of a professional company.

ashlar42
1st July 2009, 18:01
Do I get things right in that using MPC-HC, Zoom Player or KMP Player one would not have problems selecting third party codecs and splitters? This concerns only WMP and MediaCenter users?
Also, a noob question if I may: on a 64 bit W7 installation one can freely mix and match 32-bit and 64-bit codecs and splitters?

BetaBoy
1st July 2009, 18:31
ashlar42... correct this is just a WMP and MCE issue as it relates to Media Foundation taking the priority over Directshow on certain file types in Windows 7.

ashlar42
1st July 2009, 18:41
Thanks BetaBoy. Proud paying client of CoreAVC and not giving a them about MS stuff then. :)

LoRd_MuldeR
1st July 2009, 19:18
Also, a noob question if I may: on a 64 bit W7 installation one can freely mix and match 32-bit and 64-bit codecs and splitters?

No, you can't! 32-Bit applications can only use 32-Bit filters, 64-Bit applications can only use 64-Bit filters ;)

It is impossible to mix 32-Bit and 64-Bit code within the same process! This applies to DirectShow filters, VfW Codecs, application-specific Plugins, whatever.

So given that you want to use 64-Bit MPC(-HC), your entire filter chain MUST be 64-Bit filters.

Anyway, in most cases you will be fine using a 32-Bit application with 32-Bit filters, even on a 64-Bit host. Few applications actually benefit from 64-Bit.

DAKnn
3rd July 2009, 21:05
Windows 7 uses its own DirectShow http://www.zshare.net/download/61623948131db482/

How about another hosting ?

ou Are Using Ad Block Plus or some other advert blocking software!
zSHARE relies on advertising for revenue!.
Please add zSHARE to your ad blocking whitelist or disable ad blocking when you visit zSHARE

eg.. http://www.rapidspread.com/

SeeMoreDigital
3rd July 2009, 21:19
I've put it up on my FTP server. Here you go: -

http://www.one.seemoredigital.net/Downloads/Win7DSFilterTweaker_1.3.zip

-Hitman-
4th July 2009, 22:47
Hi clsid,

Firstly thank you for your time and effort you have put in the codec selection tool you have created!!

I have been hacking win7 media playback since version 7000 using registry CSLID hacks and as we know recently Ms has now stopped some of this from working.

Currently i can fully disable Ms codecs and Media foundation interaction, so that only 3rd party codecs are used with success for WMP12 and WMC7 and all media files from MKV to AVI, currently using win7 ver 7229 x64.

I am now renaming certain Ms codec files contained within the system32 folder to get things working and use Haali, MPCVideo decoder, FFDshow video and audio, all 64bit based.

It looks like you have control over Directshow but for media foundation the mfds.dll file needs to be disabled, this stops media foundation forcing the use of certain DMO and MF codecs, which are terrible with video playback, i have also come across WMPeffects.dll also causing problems and being used with certain video files, so this is also disabled.

If i can be of any help with your project then please do ask!

Keep up the good work and hope you don't leave this behind.

clsid
5th July 2009, 13:37
Renaming files is a bad solution in my opinion.

Once RTM leaks I shall do more investigation on how things can be tweaked through the Registry.

-Hitman-
5th July 2009, 15:44
Renaming files is a bad solution in my opinion.

Once RTM leaks I shall do more investigation on how things can be tweaked through the Registry.

The only solution ATM, but it works.

Thanks.

Thunderbolt8
8th July 2009, 19:11
I don't have much clue about windows 7, since I haven't tested it. but I'd like to, but only If I can still use my usual video settings then. so does atm, with the current RC version, run all those filters normally, mpc with ffdshow, ac3filter, madflac, madVR, vsfilter, haali splitter and also all that stuff eac3to requires, arcsoft, nero, sonic filter, libav stuff, surcode decoder etc. (with or without installing this tool here)??

does all this run normally and only cause problems, when trying to use these filters with windows applications, or don't they run at all?

clsid
9th July 2009, 13:55
I don't recommend installing the RC version. It is buggy. Wait till the final version.

St Devious
15th July 2009, 12:41
Thank you for the wonderful tool. This should come with ffdshow once win 7 RTM is released as this issue will cause headache's for numerous people out there not aware that MS has decoders that are default. Even though i know about codecs and splitters, had ffdshow + haali installed, i couldn't figure out the problem here (http://forum.doom9.org/showthread.php?t=148341). Now its solved.

Kurtnoise
15th July 2009, 12:44
cross-posting is bad...

St Devious
15th July 2009, 12:51
cross-posting is bad...

:confused: sorry, i posted that to say the issue is resolved due to this soft, and any others with similar problems might find that helpful.

abraxxa
18th July 2009, 13:34
Just wanted to say that this tool just saved my day, THANKS!
I'd suggest to include it with ffdshow-tryouts and create an icon for it in the start menu, or integrate the features in the ffdshow audio/video control panels.

kikistan
29th July 2009, 19:44
strange beahavior on my 7

avi with AC3 doesn't play nicely (gibberish sounds look like digital sound in analogic)

but as soon as I rename those avi in mkv
everything runs smoothly

Any idea what is happening ?

clsid
29th July 2009, 23:18
Probably WMP using DirectShow instead of Media Foundation after the renaming. Or, depending on your installed filters, Haali Media Splitter being used instead of the Microsoft splitter.

kikistan
31st July 2009, 08:18
i'm going to reinstall seven on the 6th ....

Keiyakusha
4th August 2009, 23:18
I'm watching videos with MPC-HC through avisynth and without ffdshow and I have troubles with Microsoft audio decoder. If I have normal aac stereo, for some reason it likes decode it into 5.1 crap. Here is example (http://www.hotlinkfiles.com/files/2720375_qn1ft/hhh.7z).
So is it possible to add support for audio filters?

clsid
4th August 2009, 23:44
Manually edit the registry key and tell us if it works. The value for AAC has been posted somewhere in this topic.

Keiyakusha
5th August 2009, 00:10
Works fine on Win7 32bit with
divx aac decoder: {19987CEE-DEE8-49DC-98EC-F21380AA9E68}
and monogram: {3FC3DBBF-9D37-4CE0-8689-653FE8BAB9B3}

clsid
5th August 2009, 13:03
A test version with AAC support:
http://www.zshare.net/download/63657891e9f30046/

supported filters:
ffdshow, monogram, divx for regular AAC.
monogram for LATM AAC.

Keiyakusha
5th August 2009, 15:34
Is there any free/opensource splitters for LATM AAC?
Regular AAC works perfect. Thanks!

Edit: By the way. This is what I see when run this tool. 4 processes... this is normal?
http://www.petaimg.com/u198/509123.png

clsid
7th August 2009, 13:44
I don't have any LATM samples.

You should see 2 processes. It seems you ran it twice.

Keiyakusha
7th August 2009, 14:51
You should see 2 processes. It seems you ran it twice.

No, I ran it once. Just checked.

BetaBoy
7th August 2009, 16:34
I don't have any LATM samples.

You should see 2 processes. It seems you ran it twice.

If you need LATM/LOAS container samples LMK as we just added native support for the upcoming CorePlayer 2.0 release.

SeeMoreDigital
7th August 2009, 22:19
Here's another download link for DSFilterTweaker_1.5 (http://www.one.seemoredigital.net/Downloads/Win7DSFilterTweaker_1.5).


Cheers

Joniii
8th August 2009, 12:04
I don't have any LATM samples.

You should see 2 processes. It seems you ran it twice.

Same for me, 4 processes.

Joniii
8th August 2009, 13:35
Would it be possible to add support for replacing Windows AVCHD Splitter with Haali?

Some quick testing with build 1.5 on Ultimate RTM.

All ok with mkv files but with m2ts files only VC-1 uses ffdshow, for some reason MPEG-2 and H.264 always defaults to MS decoder.

clsid
8th August 2009, 13:57
No. This tool only works for decoders and only for DirectShow.

pico
9th August 2009, 10:38
No. This tool only works for decoders and only for DirectShow.

Hi clsid,

Is there any reason why it couldn't be expanded to splitters? Reason being that I am also trying to playback DVB content with LATM-AAC audio and I think the problem is related to the splitter rather than any decoders. This is because a default render in Graphedit brings up the Haali splitter but it doesn't produce a pin for the audio output (I'm guessing it doesn't recognise the stream).

Alternatively if there is an explanation somewhere how the registry settings work to specify what direct show filters should be used I can try doing it manually.

clsid
9th August 2009, 12:52
Splitters can be controlled with this key:
HKEY_CLASSES_ROOT\Media Type\Extensions
Works on older versions of Windows as well, not just 7.

No, this tool will not include such functionality.

KoD
11th August 2009, 18:41
Could anyone, with access to MSDN Windows 7 images, test if these kind of problems are also present on the Windows 7 N version (the one with WMP and related filters removed)?

St Devious
11th August 2009, 19:58
Could anyone, with access to MSDN Windows 7 images, test if these kind of problems are also present on the Windows 7 N version (the one with WMP and related filters removed)?

just installed Windows 7 RTM. I can test. What do i need to test ?

-Hitman-
11th August 2009, 20:05
Could anyone, with access to MSDN Windows 7 images, test if these kind of problems are also present on the Windows 7 N version (the one with WMP and related filters removed)?

The codecs have been improved somewhat but unfortuantely ARE still problematic especially with multimonitor setup's and still require using third party codecs to work properly.

Leak
12th August 2009, 15:15
Could anyone, with access to MSDN Windows 7 images, test if these kind of problems are also present on the Windows 7 N version (the one with WMP and related filters removed)?
Considering that there's no Windows 7 N releases up at the MSDN subscriber downloads (I just checked) that's probably gonna take a while...

np: RJD2 - Someone's Second Kiss (Since We Last Spoke)

KoD
12th August 2009, 18:49
St Devious, I'm speaking about the "N" edition. It's the special edition without WMP for the EU states.

Leak, that's unfortunate. I hoped that on August the 6th, images for N edition would also be available on MSDN. It would be nice if this edition would not have the issues the regular editions have with their built-in decoders.

BetaBoy
12th August 2009, 21:55
/me dislikes waiting like this.

lol_123
14th August 2009, 08:17
clsid, i dont understand the reason why to give up MS DS filters, did you see any problems with ms default filters?

BetaBoy
14th August 2009, 10:00
clsid, i dont understand the reason why to give up MS DS filters, did you see any problems with ms default filters?

Read D9 you will see many comments on the Media Foundation filters and what they don't do or are broken on.

lol_123
14th August 2009, 11:14
Read D9 you will see many comments on the Media Foundation filters and what they don't do or are broken on.

:thanks:What is D9? where is that?

kikistan
14th August 2009, 11:32
no i'm using shark7 codec pack
work (almost - some tuning has to be done) flawlessly

SeeMoreDigital
14th August 2009, 11:45
:thanks:What is D9? where is that?D9 = Doom9, ie: this forum!

no i'm using shark7 codec pack
work (almost - some tuning has to be done) flawlesslyI don't think you'll find anybody in this thread supporting "codec packs", when you could have installed FFDshow...

clsid
14th August 2009, 12:24
There are several cases where the MS filters fail miserably. I have seen lots of people that were able to solve their playback problems with my tool. Even that Shark idiot is trying to replicate its functionality.

lol_123
14th August 2009, 13:25
There are several cases where the MS filters fail miserably. I have seen lots of people that were able to solve their playback problems with my tool. Even that Shark idiot is trying to replicate its functionality.

Clsid, let me make it clear. i saw you and other MPC-HC coders
had put all ffdshow codecs into MPC-HC.
is it a true that i dont need the tool as long as i am using MPC-HC in Win7?

Shark007
14th August 2009, 13:39
Even that Shark idiot is trying to replicate its functionality.

I may be an idiot in your shallow view of what peoples needs are when it comes to a bundle of filters to install but at least I'm not the INSANE PERSON behind the K-lite fiasco that has caused more formatted partitions than any other blunder known to the 8086 architechture.

I have replicated nothing. I have looked at your tool and it falls short in many instances.
It leaves the registry open to hackers by unlocking keys and leaving them in that state.

My users demand more. They need the security and peace of mind that Microsoft intended for thier systems. My implementation of filter swapping goes way beyond the functionality of your simple hackjob. My users are able to re-lock the keys and return ownership to the TrustedInstaller either by a system Administrator who adjusted the settings in the 1st place or by simply uninstalling my software.

You probably should consider replicating the functionality my software offers (like K-lite does).
I'll look forward to it in some future release of yours.

clsid
14th August 2009, 16:02
is it a true that i dont need the tool as long as i am using MPC-HC in Win7?
MPC uses its own filter manager. It completely ignores the preferred filter settings in Windows 7 and behaves the same as on XP/Vista. The tool is only required for players that use the standard filter manager of DirectShow.

I may be an idiot in your shallow view of what peoples needs are when it comes to a bundle of filters to install but at least I'm not the INSANE PERSON behind the K-lite fiasco that has caused more formatted partitions than any other blunder known to the 8086 architechture.

I have replicated nothing. I have looked at your tool and it falls short in many instances.
It leaves the registry open to hackers by unlocking keys and leaving them in that state.

My users demand more. They need the security and peace of mind that Microsoft intended for thier systems. My implementation of filter swapping goes way beyond the functionality of your simple hackjob. My users are able to re-lock the keys and return ownership to the TrustedInstaller either by a system Administrator who adjusted the settings in the 1st place or by simply uninstalling my software.

You probably should consider replicating the functionality my software offers (like K-lite does).
I'll look forward to it in some future release of yours.
Haha, you make me laugh.

You are just making up things to promote your own stuff. The K-Lite pack works perfectly fine and you damn well know it. It actually fixes stuff, instead of breaking anything.

With regards to my preferred filter tweak tool, it offers the functionality that people have requested here. Additional functionality can and will get added when I have time to further develop it. Restoring the original access permissions to TrustedInstaller is easy to do. Claiming that not doing so is a security vulnerability is nonsense. Any malware running with the Administrative privileges that are needed to modify the key could otherwise also change the permissions on its own.

Plans for future versions include:
- Support for more audio formats.
- Command line switch for resetting to defaults.
- GUI button for quickly resetting to defaults.

wjwuk
14th August 2009, 20:36
Hi,


I'm running Win7 and using WMC to record TV. The only real problem is the picture quality so I've been trying to find out how to change the codecs and renderer and after much searching found this thread (and then waited patiently for the quarantine period to pass).

I've downloaded the tool and tried to use it but it's not showing the Cyberlink decoders I have and would like to use. I used Vista and MediaPortal before and got absolutely excellent pictures from HDTV (with DXVA support) using these codecs and EVR.

I have to assume that my codecs are different to those Cyberlink ones that the tool knows about. Any chance that it can be enhanced to include these please? Details are:

cl264dec.ax - {4541C519-48A6-4B92-8053-AFEE27D5D069}

and

PCMR264Dec.ax - {1B52B40B-2CDC-4E1F-9133-9243E21FC620}

Second, what about renderers? My system always seems to default to using VMR9, not EVR. Any ideas why? I thought EVR was called "enhanced" because it would give better results and therefore assumed that Win7 would use this. Is this too naive?

I know you've said "codecs only" but as they are also Directshow is there any chance that control over renderers could be included in this tool? And is there advice on which renderer is "the best"?

Finally, as far as the N (do you mean E?) version is concerned, although this may not have WMP natively (although actually I think it's only IE that's missing in the E - for Europe - version), it will still have WMC and therefore may be subject to the same problems with forced use of the MS codecs.

clsid
14th August 2009, 23:58
The settings that this tool tweaks only apply to decoders. It can't control source filters and renderers.

I am not sure if it is normal that EVR is not used. It could indicate some kind of graphics driver problem.

Adding those filters is no problem. But I would like some additional information about them. What Cyberlink product do they belong to? What is the difference between the two filters?

Keiyakusha
15th August 2009, 00:02
wjwuk
AFAIK you don't need this tool for setting default renderers. I just increased EVR's merit to preferred+2 and it's default now. The purpose of this tool is change default filters when merits doesn't works because of Microsoft's restrictions. Anyway i think every normal player should be able to choose any supported renderer without any system changes on users side.

wjwuk
15th August 2009, 10:21
CLSID,

Thanks. They both come from PowerCinema (which came with the Hauppage Tuner card I bought). What the difference is I really can't tell. There were occasions when I was using MediaPortal that only one of them would work on a recording and the other one wouldn't - but I have absolutely no idea why.

Keiyakusha,

Thanks also. I'll try that later on today.

clsid
15th August 2009, 12:03
I hope you do realize that only 1 filter can be set as preferred for H.264. So if those two filters each only work properly on half of your files, you would need to frequently switch filters to play your recordings. Have you tried other filters, such as the free DivX H.264 decoder, to see if those work on all your files?

wjwuk
15th August 2009, 12:40
clsid,

Yes, I do realise. I heavily simplified the problems I was having as this is not a MediaPortal forum.

Now that I've switched to Win7 and WMC (couldn't do that before since this is the first time that MS have given us satellite and HDTV support in Europe) I have no problems with stability. It's just that the picture is very poor when compared with what I was getting from MediaPortal and the Cyberlink decoders. Once I find which decoder gives the best results I can stick with it. I have extensively tried all the other options (attempted every option in the nVidia control panel, changed black levels, adjusted all options on the TV, etc) but cannot get a picture out of WMC that is anywhere near as good as before. Hence the desire to try the Cyberlink decoders in WMC.

Joniii
16th August 2009, 21:27
clsid,

Yes, I do realise. I heavily simplified the problems I was having as this is not a MediaPortal forum.

Now that I've switched to Win7 and WMC (couldn't do that before since this is the first time that MS have given us satellite and HDTV support in Europe) I have no problems with stability. It's just that the picture is very poor when compared with what I was getting from MediaPortal and the Cyberlink decoders. Once I find which decoder gives the best results I can stick with it. I have extensively tried all the other options (attempted every option in the nVidia control panel, changed black levels, adjusted all options on the TV, etc) but cannot get a picture out of WMC that is anywhere near as good as before. Hence the desire to try the Cyberlink decoders in WMC.

Media Center MPEG-2/H.264 Decoder is controlled by this key in XP/Vista/7:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Decoder]
"PreferredMPEG2AudioDecoderCLSID"="{E1F1A0B8-BEEE-490D-BA7C-066C40B5E2B9}"
"PreferredMPEG2VideoDecoderCLSID"="{212690FB-83E5-4526-8FD7-74478B7939CD}"

wjwuk
17th August 2009, 10:12
Joniii,
Thanks. I'm away from home for a few days now so will be trying this later this week.

In the meantime, can anyone tell me how to find out if Media Center is actually using the different codecs? If I use Graphstudio while running WMC playing a recorded TV show I can see that a graph exists and can connect to it, but no info. ever appears in the Graphstudio window. I tried saving the graph and then loading that - but still nothing. There's obviously something else that needs doing and I would appreciate help.

Alexander01
2nd September 2009, 23:47
I have Windows 7 RTM. What do I need to do to use the h.264, xvid, divx, ac3 and dts codecs from ffdshow in Windows Media Player and Media Center? Do I need to delete Media foundation codecs in HKEY_CLASSES_ROOT\MediaFoundation\Transforms and HKEY_CLASSES_ROOT\Wow6432Node\MediaFoundation\Transforms and then use clsids tool to change the default Directshow codec from Microsoft to ffdshow? I think there is no other solution yet :(
Microsoft is making more limitations with every new Windows version. I'm getting sick of it. The Media Foundation MP3 codec is also normalizing the volume if the Equalizer in Windows Media Player is used. This was not the case with the directshow mp3 codec in XP. Bah.

If you delete

HKEY_CLASSES_ROOT\MediaFoundation\Transforms\bbeea841-0a63-4f52-a7ab-a9b3a84ed38a
and
HKEY_CLASSES_ROOT\Wow6432Node\MediaFoundation\Transforms\bbeea841-0a63-4f52-a7ab-a9b3a84ed38a

It uses the MP3 directshow codec again and there will be no more volume normalizing with mp3 in Windows Media Player if using the Equalizer.

But deleting of the Media Foundation keys is not a good solution. There must be something better to disable Media Foundation codecs so it will fallback to the Directshow codec.

Alexander01
3rd September 2009, 19:18
Anyone?

Shark007
4th September 2009, 04:16
THIS POST (http://www.sevenforums.com/music-pictures-video/16179-win7codecs-11.html#post261327) on the sevenforums may interest you. It links to software that provides the functionality of using FFDshow for standalone MP3's or MP3's within containers such as MKV. This works for WMP or MC and for x64 installations too.

chaddawkins
4th September 2009, 13:56
run this to unlock (http://www.mediafire.com/?ofmmmm2am2b) ...DirectShow\Preferred (english)

ears1991
4th September 2009, 16:35
Just wondering, would it be possible to create a .bat file to change ffdshow to the default h.264 directshow filter for 32 and 64 bit, rather than running this tool?

Buitenlander
9th September 2009, 17:31
Hey guys,
I'd like to know what codec you're using to display subtitles in mkv files played in mpc @ Windows 7 x64/x86. I've tried many codecs like Haali Media Splitter, directvobsub.ax or subtitlesource.ax at this russian standalone filters pack for x86 but none of them are working. Neither do they appear in the quick launch bar while files are played nor in DSFMgr even though they can be registered with regsvr32.
I'd be glad if someone could help me.

ears1991
9th September 2009, 23:38
enabling subtitles under ffdshow video options works a treat here on 7 x64

clsid
10th September 2009, 15:40
DirectVobSub (vsfilter.dll) works fine as well.

betaking
11th September 2009, 10:50
I may be an idiot in your shallow view of what peoples needs are when it comes to a bundle of filters to install but at least I'm not the INSANE PERSON behind the K-lite fiasco that has caused more formatted partitions than any other blunder known to the 8086 architechture.

I have replicated nothing. I have looked at your tool and it falls short in many instances.
It leaves the registry open to hackers by unlocking keys and leaving them in that state.

My users demand more. They need the security and peace of mind that Microsoft intended for thier systems. My implementation of filter swapping goes way beyond the functionality of your simple hackjob. My users are able to re-lock the keys and return ownership to the TrustedInstaller either by a system Administrator who adjusted the settings in the 1st place or by simply uninstalling my software.

You probably should consider replicating the functionality my software offers (like K-lite does).
I'll look forward to it in some future release of yours.

Hi,Shark! I have a question would like to ask you? why you put
DONATORS links on your site? The CODEC PACK where you do most of the components are included in the GNU OR GPL! And You do not contribute any code.and According to the agreement is that they can not be used for commercial purposes on! so I think you should destroy and those who do not abide by the agreement is attached to the software!

Shark007
11th September 2009, 13:24
Originally Posted by Shark007
I may be an idiot in your shallow view of what peoples needs are when it comes to a bundle of filters to install but at least I'm not the INSANE PERSON behind the K-lite fiasco that has caused more formatted partitions than any other blunder known to the 8086 architechture.

I have replicated nothing. I have looked at your tool and it falls short in many instances.
It leaves the registry open to hackers by unlocking keys and leaving them in that state.

My users demand more. They need the security and peace of mind that Microsoft intended for thier systems. My implementation of filter swapping goes way beyond the functionality of your simple hackjob. My users are able to re-lock the keys and return ownership to the TrustedInstaller either by a system Administrator who adjusted the settings in the 1st place or by simply uninstalling my software.

You probably should consider replicating the functionality my software offers (like K-lite does).
I'll look forward to it in some future release of yours.


According to the agreement is that they can not be used for commercial purposes on!

OT, but your opinion is noted.

clsid
11th September 2009, 14:08
Deliberate fail to quote properly to spread lies one more time?

LoRd_MuldeR
11th September 2009, 14:43
Well, if CLSID's tool can take the ownership of the "TrustedInstaller" registry keys and modify values in those keys, then an evil hacker could do the same thing anyway :sly:

Question:
Is it possible to change the preferred MP2 audio decoder too? I would like to use ffdshow for decoding MP2 audio in DVBViewer, mainly because of ffdshow's Normalize/ReGain capabilities.
Unfortunately even if I set "MP2 Audio Decoder" to "ffdshow Audio Decoder" in DVBViewer options, it will still use the "Microsoft DTV-DVD Audio Decoder" instead :(

System is Windows 7 Professional (64-Bit) and I'm running DVBViewer Pro v4.2.1.0. Under Windows XP (x64 Edition) there was no problem to use ffdshow as audio decoder in DVBViewer.

clsid
11th September 2009, 15:10
Here is a test build with MP2/MP3 support:
http://www.zshare.net/download/65401964b3f7a38f/

Please also test with Windows Media Player. MP3 b0rks here with ffdshow in WMP, while it works perfectly in for example GraphStudio. I haven't tried with MP2 yet.

LoRd_MuldeR
11th September 2009, 15:25
Great! Seems to work as expected for me:

http://img222.imageshack.us/img222/8224/ffdshowmp2win7.th.png (http://img222.imageshack.us/i/ffdshowmp2win7.png/) http://img27.imageshack.us/img27/7238/ffdshowmp2win7wmp.th.png (http://img27.imageshack.us/i/ffdshowmp2win7wmp.png/)

:thanks:

loekverhees
11th September 2009, 16:50
Hi all,

I'm trying to play .mov files via FFDShow, but no luck yet. (See: http://forum.videohelp.com/topic372932.html).

Does anyone know how to play the .mov files with FFDShow (without renaming them to .mkv for example)?

LoRd_MuldeR
11th September 2009, 17:07
MOV is a container, so what you need is a MOV splitter, not a decoder. That's not related to ffdshow!

Depending on what audio/video formats the streams stored in your MOV file use, ffdshow may or may not be able to decode those streams.

Posting a complete MediaInfo report (text mode!) of your MOV file may help...

loekverhees
11th September 2009, 17:15
For the MediaInfo report and more, see the videohelp link ;) .

LoRd_MuldeR
11th September 2009, 17:19
So it's AVC/H.264 video and AAC audio stored in a MOV container. All that can be decoded by ffdshow, as long as you enabled H.264 and AAC decoding in ffdshow's options.

However you will still need a MOV splitter! I'd recommend to use MPC-HC (http://www.xvidvideo.ru/content/category/1/1/2/), which has a built-in MOV splitter filter.

But be aware that you must disable MPC-HC's internal H.264/AAC decoders, if you want ffdshow to decode your streams. The internal decoders should work as well though ;)

loekverhees
11th September 2009, 17:24
I use MPC-HC already. I disabled MP4/MOV in the 'Source Filters' field and checkmarked 'H264/AVC (FFmpeg)' in the 'Transform Filters' field. Still not playing back via FFDShow.

clsid
11th September 2009, 17:32
That is because MPC uses the QuickTime framework by default for .mov files. Change that in the options, or rename your file to for example .hdmov.

clsid
11th September 2009, 17:34
Great! Seems to work as expected for me:

http://img222.imageshack.us/img222/8224/ffdshowmp2win7.th.png (http://img222.imageshack.us/i/ffdshowmp2win7.png/) http://img27.imageshack.us/img27/7238/ffdshowmp2win7wmp.th.png (http://img27.imageshack.us/i/ffdshowmp2win7wmp.png/)

:thanks:
One weird thing in your WMP screenshot. There are two audio decoders listed. I had the same problem with MP3, and in that case the audio got b0rked.

loekverhees
11th September 2009, 17:37
That is because MPC uses the QuickTime framework by default for .mov files. Change that in the options, or rename your file to for example .hdmov.
How/where should I change that in the options? I rather don't want to rename all the files.

LoRd_MuldeR
11th September 2009, 17:40
One weird thing in your WMP screenshot. There are two audio decoders listed. I had the same problem with MP3, and in that case the audio got b0rked.

The sound was alright here though. I will have a look at the graph...

That is because MPC uses the QuickTime framework by default for .mov files. Change that in the options

loekverhees, In "Options" under "Formats" you must set "QuickTime file" to "DirectShow", then it should work.

loekverhees
11th September 2009, 17:44
Yeah, that did the trick finally! Thanks.

LoRd_MuldeR
11th September 2009, 17:45
Sorry, for some reason I cannot connect to the graph. Neither in GraphEdit nor in GraphStudio. Is that normal ???

Anyway, something makes me suspicious that ffdshow is actually used as decoder:

http://img17.imageshack.us/img17/9089/ffdshowmp2win7wmp2.th.png (http://img17.imageshack.us/i/ffdshowmp2win7wmp2.png/)

Not that I would care about WMP. The interface of WMP12 is even more horrible than it's predecessors. Took me ~3 minutes to find where I can open a simple file :D

(It's "Organize" -> "Layout" -> "Show Menubar" that will show the menubar, which finally gives access to the "File" -> "Open" command. Who the heck did design that ???)

hoborg
22nd September 2009, 13:33
run this to unlock (http://www.mediafire.com/?ofmmmm2am2b) ...DirectShow\Preferred (english)

Can i ask if this working on x64 ([HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectShow\Preferred]) too?

SeeMoreDigital
23rd September 2009, 09:50
Took me ~3 minutes to find where I can open a simple file :D

(It's "Organize" -> "Layout" -> "Show Menubar" that will show the menubar, which finally gives access to the "File" -> "Open" command. Who the heck did design that ???)Well, you got further than I did. I can't even find "Organize"! Where is it?

EDIT: I've just found it over in the "Library" part of Windows Media Player....

Zillion_
24th September 2009, 17:19
Hi all,

first of all: big thx to CLSID for all the great stuff he makes for all of us.

I've written a "Codec configuration bible" for Windows 7 Media Center. I'm using your Tweaker as one of the steps in the config process, though there's one problem it doesn't fully resolve, re. the Preferred registry key. Anyway, please read:
http://thegreenbutton.com/forums/t/78749.aspx= (http://thegreenbutton.com/forums/t/78749.aspx).
I've solve the problems with MP3 Audio (FFDSHOW Output tab: "directshow only" :) ).

clsid
24th September 2009, 17:55
You have written some unneeded steps:
1) The tool already takes care of (temporarily) changing the ownership and access rights of the registry key.
2) Default settings can be restored by simply setting everything back to "Microsoft". A backup of the key is thus not really needed. A "reset to default" button will be implemented in the near future to quickly reset things.

Also, I don't understand what you mean with "bad keys". Please elaborate about what is wrong. Those values are only changed when a user selects the related option.

Also what is the error you mentioned on x86?

Zillion_
24th September 2009, 18:12
You have written some unneeded steps:
1) The tool already takes care of (temporarily) changing the ownership and access rights of the registry key.
2) Default settings can be restored by simply setting everything back to "Microsoft". A backup of the key is thus not really needed. A "reset to default" button will be implemented in the near future to quickly reset things.

Also, I don't understand what you mean with "bad keys". Please elaborate about what is wrong. Those values are only changed when a user selects the related opti on.

Also what is the error you mentioned on x86?

1) it's still necessary, you need ownership to remove the "bad keys".
2) just to make sure.
3) the "bad keys": I have explained what they do. They may already be present, but your tool re-writes them there when selecting the options mentioned in the article.
I've tested it all pretty thoroughly (for DivX, XviD and MKV files anyway, with either MP3 or AC3 audio).
Examples are in the Troubleshooting section: e.g. if you see the DivX decoder TWICE in the DirectVobSub menu (e.g. "DivX Decoder Filter" and "DivX Decoder 003"), you've left some of the "bad keys" in the Preferred DirectShow Codecs. See above. If nothing else helps, repeat the procedure but first delete everything under the "Preferred key" (make sure you've backed it up before !).

Zillion_
24th September 2009, 18:18
Also what is the error you mentioned on x86?

Well, the error that it can't write to the x64 registry keys or something like that (someone else told you about this before)

clsid
24th September 2009, 20:12
The keys names are just media types and the values and identifiers of the decoders. There is absolutely nothing wrong or bad about them.

It may be true that they give some weird behavior in your testing, but that is not the fault of the keys, but rather of the player or perhaps the DivX filters. If we can figure out the exact cause of the problem, then I can take action to prevent those problems. Just blindly removing stuff is a bad idea (and will break playback when using other filters).

Can you reproduce the same problems with other decoders than the DivX ones? For example ffdshow.

{44495658-0000-0010-8000-00AA00389B71} equals FourCC "XVID" (capital letters)
{31435641-0000-0010-8000-00AA00389B71} equals FourCC "AVC1"
{5634504D-0000-0010-8000-00AA00389B71} equals FourCC "MP4V"
and
{64697678-0000-0010-8000-00AA00389B71} equals FourCC "xvid"

Zillion_
25th September 2009, 03:15
I've just done a new test install (under VM) to check that I didn't skip, or forget to document, any steps in my guide.
Here's the whole "basic" thing (some nice-to-haves have been skipped):

start with a standard Windows 7 installation
Disable User Account Control
Start Media Player once (configuration)
Open an XviD or DivX file - plays fine, no subs. MKV: not recognized.
Install DivX7, without its MKV splitter
DivX Config: full deblocking with sharpening
Open a DivX or XviD file: DivX icon doesn't appear in Systray
Install GSpot and configure it
Open XviD/DivX file in GSpot, analyze in MS A/V: Mpeg4s DMO and MP3 Decoder DMO are used
Install AutoGK 2.55 (all defaults: including AviSynth, XviD, VobSub...)
Upgrade DVobSub/VSFilter to v2.39
Open a DivX/XviD file that has a matching SRT in GSpot
Analyze in GSpot
DirectVobSub loads when GSpot renders
In Media Player: doesn't load (WMP isn't using DivX or DVobSub at all)
Install Haali Splitter. Leave all defaults during install.
Double-click .MKV file: unrecognized
Create & run .REG file to register MKV filetype
Double-click .MKV file again
Confirm and select "don't ask me again" when WMP warns about playing the file format
File plays, with subs from DVobSub (green arrow and haali icon visible in systray)
Install a recent ffdshow build (e.g. rev 3078 CLSID :-) )
Let "Reset all ffdshow settings" enabled
Disable the "Decode video formats" checkbox
Enable "Raw Video"
Disable "Decode audio formats"
Enable "MP3" with libmad or libavcodec
Enable Raw Audio
Enable Volume Normalization
Run Audio Config
Hide all filters except Volume
Enable Stream Switcher
In "Output", set "Connect To:" to "DirectSound", AND disable "Apply only to S/PDIF output", then click OK
Run Video Config
In "Codecs", click on "Raw Video", enable "Enable in WMP 11"
Hide all filters, click OK
Open your video file (same as above) in GSpot, analyze it with "MS A/V"
ffdshow video is loaded after Mpeg4s DMO, and ffdshow audio is loaded after MP3 Decoder DMO; DirectVobSub loads after ffdshow video. that's ok for now.
Double-click the same video: WMP doesn't use any of this (expected).
Start WinDSFilterTweaker 1.7
Note that ffdshow doesn't appear in the choices for H.264/AVC, XVID or DIVX (on some configurations, it does ! Maybe a problem with recent ffdshow builds ?). Enabled "DivX" as the default for all video codecs that have it, and enable ffdshow as the MP3 decoder.
Click apply. Runtime Error appears re. 64-bit registry keys: ignore it, click OK. Click Apply again, click Yes twice.
Analyze your video in GSpot again: now the whole path should be correct:
video: src -> avi splitter -> divx decoder -> ffdshow decoder -> directvobsub -> video renderer
audio: srv -> avi splitter -> ffdshow audio decoder -> default directsound device.
Click the "2" button to actually play the file
Double-click the same file: WMP still doesn't use any of this !
DMO DLL trick: go to windows\system32, locate DSDMO.DLL, Take Ownership, rename it (e.g. DSDMO.DLL.W7).
Double-click the file again: still no change
Back to System32, do as above for MP3DMOD.DLL
Double-click the file again: WMP is still going with Media Foundation
Restart your computer
Double-click the file again: WMP blocks. A thumbnail for the video may appear on the top left of your screen, in the small WMP window, if you've got "season folders" with posters set up (e.g. as done by & for MediaBrowser and MetaBrowser).
DirectVobSub systray icon (green arrow) appears, and ffdshow audio decoder (blue) is there, but NO! the ffdshow video decoder icon (red) is missing.
This is where the "Preferred" registry key, and what I've called the "bad keys", come into play. Three of the "media types / codec" combos under the "Preferred" DirectShow registry key need to be deleted (see Guide). Don't forget to take ownership of the "Preferred" registry key !
After that, double-click your test file again: YES ! it plays, ffdshow audio and video are loaded, and so are DivXSM and DirectVobSub/VSFilter.
Make sure the DivXSM and FFDSHOW Audio systray icons are always displayed in the systray (you can do "Customize notification icons", but it's a lot quicker to drag & drop the icons from the "popup" icon area to the systray).
NOTE: if you see the picture twice & upside down, disable "Deinterlacing" in the DivX decoder configuration tool. Your hardware can't take it or isn't compatible.
Right-click the DirectVobSub icon to verify which filters & codecs are being used: ffdshow audio is there indeed, but not the ffdshow video.(Note: if the ffdshow audio decoder appears twice, and sound is gibberish, you didn't configure ffdshow audio decoder properly: see above)
Double-click the DirectVobSub system tray icon. Doubled Resolution, always load, and change the font if you wish. PAR compensation: downscale (in most cases).
Install MediaInfo. Enable the Shell Info Tip and the Shell Extension.
Install the AC3 Filter.
Now test an MKV file: everything should be fine, you'll also see the Haali and AC3Filter icons in the system tray.


DONE !

Zillion_
25th September 2009, 03:19
Can you reproduce the same problems with other decoders than the DivX ones? For example ffdshow.


mm I guess I could try with XviD, but not with ffdshow -- well that won't have the problem. The problem occurs when the video stream goes BOTH through a codec first, then is passed through ffdshow before going to the renderer.

Why ? See Guide: MediaControl "MUST" work. So the video and audio feeds must go through ffdshow, so mediacontrol can... well, "control" them (e.g. ffw / rew, switching audio streams...). I don't want to use ffdshow to do the actual video decoding work, because the quality is inferior compared to Divx7 with full deblocking + sharpening.

Zillion_
25th September 2009, 03:23
I guess I'm gonna rewrite the beginning of the guide to clearly state what the goals are, and why certain decisions were made, e.g. "why not just ffdshow" or "why bother with having both DivX and ffdshow"...

I anybody knows another way than MediaControl to enable ffw / rew + audio switching + sub switching in MediaCenter (a way that possibly doesn't require ffdshow or directvobsub/vsfilter, or even one that works through Media Foundation) I'll be very happy to try it out.

I'm still setting up my rig to start testing with CoreAVC, by the way.

clsid
25th September 2009, 10:45
Note that ffdshow doesn't appear in the choices for H.264/AVC, XVID or DIVX (on some configurations, it does ! Maybe a problem with recent ffdshow builds ?). Enabled "DivX" as the default for all video codecs that have it, and enable ffdshow as the MP3 decoder.It only appears when said formats are enabled in ffdshow settings ;)

BetaBoy
25th September 2009, 12:29
I guess I'm gonna rewrite the beginning of the guide to clearly state what the goals are, and why certain decisions were made, e.g. "why not just ffdshow" or "why bother with having both DivX and ffdshow"...

I anybody knows another way than MediaControl to enable ffw / rew + audio switching + sub switching in MediaCenter (a way that possibly doesn't require ffdshow or directvobsub/vsfilter, or even one that works through Media Foundation) I'll be very happy to try it out.

I'm still setting up my rig to start testing with CoreAVC, by the way.

LMK and I'll send you and COMP copy as well (of CoreAVC that is)

Zillion_
25th September 2009, 19:03
LMK and I'll send you and COMP copy as well (of CoreAVC that is)

That'd be great, thx ! Send you a msg through msn.

Joniii
27th September 2009, 10:46
Anyone figured out yet how to play .m2ts files with haali+ffdshow?

Renaming mfds.dll makes haali load with .m2ts files instead of mf splitter but ffdshow is not used in h.264 or mpeg-2.

Shark007
6th October 2009, 14:46
Originally Posted by betaking
Originally Posted by Shark007
I may be an idiot in your shallow view of what peoples needs are when it comes to a bundle of filters to install but at least I'm not the INSANE PERSON behind the K-lite fiasco that has caused more formatted partitions than any other blunder known to the 8086 architechture.

I have replicated nothing. I have looked at your tool and it falls short in many instances.
It leaves the registry open to hackers by unlocking keys and leaving them in that state.

My users demand more. They need the security and peace of mind that Microsoft intended for thier systems. My implementation of filter swapping goes way beyond the functionality of your simple hackjob. My users are able to re-lock the keys and return ownership to the TrustedInstaller either by a system Administrator who adjusted the settings in the 1st place or by simply uninstalling my software.

You probably should consider replicating the functionality my software offers (like K-lite does).
I'll look forward to it in some future release of yours.


According to the agreement is that they can not be used for commercial purposes on!

OT, but your opinion is noted.

Deliberate fail to quote properly to spread lies one more time?

Well, if CLSID's tool can take the ownership of the "TrustedInstaller" registry keys and modify values in those keys, then an evil hacker could do the same thing anyway :sly:

Someone recently informed me that you have corrected your oversite with the unlocking of the registry keys. Obviously you found my concern relevent enough to change the tools behavior but no where have you posted a changlog stating so.

foxyshadis
6th October 2009, 19:25
Yes, Shark, he 'corrected' it by never having it wrong in the first place. Your whole first post was wrong, and your continued insistence on reposting it constitutes harassment and advertisement. Stop posting it.

Brazil2
7th October 2009, 13:14
@ clsid

May I suggest you to update your first post when a new version is out ?

scottsdaleBallroom
7th October 2009, 21:44
Thanks clsid! I think this will help me out.. Thanks for sharing it.

XhmikosR
9th October 2009, 23:45
Hi, clsid. I get the following error with v1.8 on Win 7 32bit RTM.

http://img377.imageshack.us/img377/9774/10102009004128.png

After closing the error window, if I press "Apply" again I get the message that the changes have been applied is shown.

clsid
10th October 2009, 00:26
Fixed

Lolitka
14th October 2009, 09:07
Hello,

i have tried latest version of your switcher, but i don't get ffdshow to load in WMP. It loads when i tried to look what filters load graphedit64.

Is this bug, or there is still no way to force WMP to use ffdshow insted of default "Mpeg4s Decoder DMO".


BTW what acronym "DMO" means? :)

Snowknight26
14th October 2009, 09:27
Make sure you're using the 64-bit WMP.

DMO = DirectX Media Object.

Lolitka
14th October 2009, 09:33
I'm sure i using 64bit wmp - there is no *32 in taskmanager and 64bit vobsub tries to load.

clsid
14th October 2009, 14:48
I suspect you are playing a video format other than the ones controlled by the tool. Please supply MediaInfo output for that file.

Lolitka
15th October 2009, 17:09
I think it is standad xvid, but here you go: http://pastebin.com/f55c6bb45

EDIT: "fixed"

thewebchat
15th October 2009, 19:59
I don't know about it being "standard" or not, but I do know it's a rule 6 violation!

ACrowley
16th October 2009, 10:27
I cant see the Options for Arcsoft and Cyberlink VC1/H264 Decoders in the Tool ?
Also its not possible to reg. the clvc1dec.ax ?

clsid
16th October 2009, 14:12
Give more details about the filters that you want to use, such as the clsid values.

Carpo
23rd October 2009, 18:01
Has anyone else had issues with this tool not working under windows 7 x64? It works fine under x86 windows 7 - i have the ffdshow icons in the tray, but when i run it on my x64 machine it says it has applied settings but still it uses windows own built in codecs.

If this is a known issue sorry for repeating it :)

Scoty
24th October 2009, 11:58
The Download ist very very slow. Where can add a Mirror please ?

Leak
24th October 2009, 12:09
The Download ist very very slow. Where can add a Mirror please ?
Wow, no kidding - Firefox was still listing "0 of unknown bytes (0.0 kb/sec)" after a minute when I just now tried downloading it... :(

np: El-P - Deep Space 9mm (Leak - Quer Durch Den Gemüsegarten Mix)

DJ_Phatic
24th October 2009, 23:51
I have noticed that audio output is lower in 7mc than using an external player (mpc-hc) with the exact same codec ffdshow and same settings, I have made sure it wasn't my ears and did a side-by-side comparison and the output from mpc-hc is clearer and higher than 7mc.

When right clicking on the ffdshow audio icon whilst playing something in 7mc I noticed "WMPlayer equalizer DMO" is listed but I am unable to click on it to change any settings. Any ideas how this change be removed/disabled from being used in 7mc?

clsid
25th October 2009, 00:10
This might work:
Windows Registry Editor Version 5.00

; WMPlayer equalizer DMO
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\NodeCLSIDs\{D01BC8E2-70AD-4976-9612-21B37ED5C8E8}]
"AutoInsert"=dword:00000000

DJ_Phatic
25th October 2009, 11:47
This might work:
Windows Registry Editor Version 5.00

; WMPlayer equalizer DMO
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\NodeCLSIDs\{D01BC8E2-70AD-4976-9612-21B37ED5C8E8}]
"AutoInsert"=dword:00000000


Thanks, that removed WMPlayer equalizer DMO but the audio is still lower in 7mc in comparison to mpc-hc. :confused:

LoRd_MuldeR
25th October 2009, 12:48
Maybe you have the built-in "Audio Switcher" filter with Normalize and/or Regain enabled in MPC-HC?

DJ_Phatic
25th October 2009, 13:55
Maybe you have the built-in "Audio Switcher" filter with Normalize and/or Regain enabled in MPC-HC?

I did notice that the built-in audio switcher was enabled but I have since disabled it and the output is still louder than 7mc. Its not a massive difference but its easily noticable with dialogue, much more audible in mpc-hc than 7mc.

jcoll81
2nd November 2009, 04:32
Has anyone else had issues with this tool not working under windows 7 x64? It works fine under x86 windows 7 - i have the ffdshow icons in the tray, but when i run it on my x64 machine it says it has applied settings but still it uses windows own built in codecs.

If this is a known issue sorry for repeating it :)

Im having the same problem.

dimitrik
2nd November 2009, 09:18
It works perfectly on my x64 Win7 RC (7100).

Did you make sure you scrolled down into the tool and selected the 64-bit codecs? They are listed separately from the x86 ones.


Also if you want to use it in Media Center, I think you need to use the media center decoder utility available here (http://mediacenterexpert.blogspot.com/)

I'm not 100% sure about the last step because its been very long time since I last did it, but the tool definitely works in x64. To make your life easier you may just want to grab the K-lite codec pack x64 which includes the latest version of the tool.

jcoll81
2nd November 2009, 15:13
I will definitely try the tool. My problem is that the x86 codecs are the only ones showing up. The only option for every 64bit codec is the default. Not sure what I need to do to correct that.

It works perfectly on my x64 Win7 RC (7100).

Did you make sure you scrolled down into the tool and selected the 64-bit codecs? They are listed separately from the x86 ones.


Also if you want to use it in Media Center, I think you need to use the media center decoder utility available here (http://mediacenterexpert.blogspot.com/)

I'm not 100% sure about the last step because its been very long time since I last did it, but the tool definitely works in x64. To make your life easier you may just want to grab the K-lite codec pack x64 which includes the latest version of the tool.

clsid
2nd November 2009, 17:33
Install the appropriate 64-bit directshow filters. Options will only be shown for those filters that are installed.

dimitrik
3rd November 2009, 00:15
On my x64 workstation I use only x64 codecs, which I install via K-Lite Codec Pack x64 version.

I used to have both x64 and x86 codecs installed but saw no point in the x86 ones especially since windows already has basic 32-bit codecs if needed, so I uninstalled them. Ffdshow x64 works in my media center decoding everything including DVDs.

However I still think the the 32-bit codecs are best for dedicated video machines.

jcoll81
3rd November 2009, 01:00
Ok so part of the problem was that I had mistakenly downloaded the 32 bit k-lite pack. So I uninstall and then reinstalled the 64 bit. Now I am able to play all of my MKV files in media center. My problem is still with live tv. I have used the filter tweaker to set ffdshow as the default mpeg2 codec. Then I used that tool MCDU listed above to set ffdshow as my default audio and video codecs. I set the mpeg2 codec in ffdshow to libmpeg2. Cranked up media center and now it tells me the codec is not found or installed. I am not sure what I did wrong. Any ideas? And thanks for all the help so far!

turbojet
3rd November 2009, 09:27
Has anyone else had issues with this tool not working under windows 7 x64? It works fine under x86 windows 7 - i have the ffdshow icons in the tray, but when i run it on my x64 machine it says it has applied settings but still it uses windows own built in codecs.

If this is a known issue sorry for repeating it :)

It works for me the first time I hit apply in Win 7 x64 ultimate but in order to change it again the program needs to be restarted.

dimitrik
3rd November 2009, 09:42
Ok so part of the problem was that I had mistakenly downloaded the 32 bit k-lite pack. So I uninstall and then reinstalled the 64 bit. Now I am able to play all of my MKV files in media center. My problem is still with live tv. I have used the filter tweaker to set ffdshow as the default mpeg2 codec. Then I used that tool MCDU listed above to set ffdshow as my default audio and video codecs. I set the mpeg2 codec in ffdshow to libmpeg2. Cranked up media center and now it tells me the codec is not found or installed. I am not sure what I did wrong. Any ideas? And thanks for all the help so far!

Not sure that you did anything wrong. I don't use MC for TV, I just use my regular TV, so I never tried it.
This could mean that MC7 cannot use ffdshow for TV like XP/Vista could, or that it needs some more specific hacking.
The good news is that you should be able to reset this easily by running MCDU again and selecting the default or M$ decoders.

There is a lot of information on tweaking Mc7 at this site (http://www.hack7mc.com/) and you should be able to find an article on what you need to do exactly.

SEB2010
4th November 2009, 20:32
Hey clsid,

i tried your neat tool on my win7 pro 32bit and it will not work. i set all except the mp2/mp3 codecs to ffdshow (and they are still set if i reopen the tool), but when i play an avi with wmp ffdshow still wont show up in the tray nor apply my resizing options. am i missing something??

clsid
4th November 2009, 21:40
The settings from the tool only have effect when WMP uses DirectShow. If it uses Media Foundation, then it will use just Microsoft's own decoders.

I have plans to implement a tweak to bypass Media Foundation, but it is just one of the many things on my todo list. Maybe I will have time for it in the coming weeks.

SEB2010
4th November 2009, 21:58
hey,
that sounds like you can switch the use of direct-show/media foundation in wmp. I thought that wmp uses direct-show by default. But you were right, when monitoring the registry activities of wmp, it definitly accesses the media foundation keys and not the direct show keys. but why is my wmp using mediaf and not directs? or do you mean that my video-source enables wmp to use media foundation? is there a way to change that behavior?

clsid
4th November 2009, 22:47
WMP prefers the use of MF above DirectShow.

shen333
5th November 2009, 15:07
I noticed Haali's avi splitter isn't working well under w7... And for some reason (after determining the codecs of the tracks in the container and tweaked using your tool) transport streams still output mute sound files... I was wondering if you could tweak the splitters and maybe implement vid acceleration for mpeg2+4? It doesn't feel right going on TPB for coreavc/elecard... >.<. Btw, good luck on bypassing media foundation! We'll love you for it (not that we aren't grateful for the ds filter tool and ffdshow already).

lchiu7
23rd November 2009, 10:34
Well like many I have installed Win7 and fallen into the problem of DirectShow no longer working with my normal workflow which is avisynth script, FFDShow, Haali Media Splitter and Megui to open and encode m2ts files.

I bumped into this thread and thought I saw the answer.

So installed ffdshow, haali media splitter (as I had with Vista) and then ran this program to update the filter settings. Made sure that ffdshow was set in the filter to be the codec for m2ts and also in ffdshow settings. Note after I run the filter and then run it again, the values are as I expect with the key value for H.264, VC1, xvid all set to ffdshow.

Opened an avisynth script with basically this line in it
DirectshowSource("c:\movie.m2ts")

with megui and it just hangs. It also hangs (not responding) with Virtualdub opening the same script.

Not sure what else I should be doing to make this work so any tips would be appreciated. I have scanned the entire thread but can't find anybody who has a similar experience.




Thanks

Larry

clsid
23rd November 2009, 16:13
I think someone else with the same problem solved it by setting Haali as the preferred source filter for M2TS. You can do that with this registry tweak:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Media Type\Extensions\.m2ts]
"Source Filter"="{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}"

lchiu7
23rd November 2009, 19:40
I think someone else with the same problem solved it by setting Haali as the preferred source filter for M2TS. You can do that with this registry tweak:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Media Type\Extensions\.m2ts]
"Source Filter"="{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}"


Thanks but it's already set to that. I found another tool that did that for me. The tweak tool is clearly working since I can open the m2ts file in graphstudio and it renders fine with ffdshow and to standard codecs for audio and video. For some reason I just can't get haali into the mix. I am going to hack around and removing and installing Haali again but from looking at the registry the entry appears to be correct.

Lolitka
24th November 2009, 00:01
I think it would be nice if this tool can also change preffered avi, mkv, etc. splitter - i really miss this feature



... and i don't know where to change it in registry for 32 and 64

lchiu7
24th November 2009, 11:13
Update: I deleted avisynth and re-installed it. This time there are very few DLL's in the plugin directory (directshowsource.dll). Using the same scripts as before VirtualDub can open the m2ts file (and I see Haali shows up in the tray icon). This looked really promising and the video is displayed in VirtualDub. Alas success was shortlived. Opening the same script in MeGui brings up an avisynth error - cannot find the file. So I am stuck again.

[edit]

I should note that all is well now. I installed staxrip which didn't work in that it hung when opening an AVS script, but after it installed all the tools it needed (including a fresh installation of avisynth) megui now worked! Sometimes computers are a black art - there is no rhyme or reason to what is going on. Of course nothing would have worked without this tool so I am thankful for that.