View Full Version : Tool for changing preferred DirectShow filters in Windows 7
Pages :
1
2
3
4
5
6
7
[
8]
9
clsid
6th February 2010, 15:16
I think it actually is a workaround in WMP to allow AVI playback with subtitles. It is something I suggested to one of the MS developers when testing early builds of Windows 7.
osmosis
6th February 2010, 22:05
Great idea! Can the workaround be added to FFDshow? Maybe those registry key deletions should be added to Win7DSFilterTweaker for XviD and MP3 too, then it would be easy for anyone else trying to get DirectShow functionality back in Win7 without having to break WMF.
clsid
6th February 2010, 22:27
I think you misunderstood. It is a workaround that Microsoft has placed in WMP/Media Foundation. It is not something we can manipulate. Also, your reg key deletions are unrelated.
osmosis
6th February 2010, 23:15
I disagree. I've tried a few different ways to get FFDshow as the default decoder (overriding WMF) for XviD, DivX, MP3, etc., and FFDshow with Win7DSFilterTweaker didn't work alone. Win7DSFilterTweaker, FFDshow and DirectVobSub didn't work either (though it got it working half of the time; on files with subtitles). All of those AND deleting those registry keys are what got it working for me. Sure, you can rename files in SYSTEM32 and have a similar outcome, but this is the only way I've seen you can still have WMF working in IE and for thumbnailing. I recreated this on a second computer using these 4 things, testing all along the way and nothing worked perfectly until those registry keys were removed.
My thought was if DirectVobSub can somehow force WMF to allow DirectShow decoders to take precedence (at least half of the time), why can't FFDshow?
dijx
7th February 2010, 12:46
I have it working with my RTM Ultimate build.
Have you taken ownership of the system32/wow64 directory, I found that I had to do this in order for it to work. Also a couple of the registry folders namely:
the one CLSID mentioned in a reply to my post a couple of posts back and this one
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Preferred.
That was the first thing I did.
@dijx
The preferred filter settings has no effect when Media Foundation is used. Your only option is to disable Media Foundation.
When I disable MF for avi extension MC cannot open the file.
When I disable MF (very last option in Your tweaker) MC is still using MF decoder.
When I disable DMO decoders MC cannot open the file again.
But I just checked and when I change extension from avi to mkv or mp4 everything works fine (with MF and DMO decoders disabled)
When I change any mkv extension to avi MC cannot open the file again
For now Avi is handled by haali splitter.
It looks like avi is some kind of special extension in my MC and it is splitted and decoded only by internal MF decoders regardless of preffered filter settings. But why it's only me having such difficulties?
diegobh
9th February 2010, 03:39
Hi!!
All the time that i tried to play an .AVS with this very simple code:
DirectShowSource("C:\video.flv")
LanczosResize(704,400)
ConvertToYV12()
i´ve got this error: CAVIStreamSynth: System exception - Access Violation at 0x100185c7, reading from 0x4dd4000
I´m using Win 7 Ultimate (64 bits), K-Lite Mega and the Win7DSFilterTweaker.
I´ve already installed the version for 64bits, but doesn´t work...
Could someone help me, please??
Thx and have a good day!!!
D@vid
28th February 2010, 15:01
I prefer to use 'Microsoft DTV-DVD Video Decoder' for decoding H.264 (due to it's hardware acceleration), instead of ffdshow's decoder.
However, I would like to get subtitles working in WMP. So I enabled subtitles in ffdshow and set 'raw video' to 'all', but that doesn't work.
Enabling ffdshow to decode H.264 and preferring ffdshow for H.264 (using clsids' Preferred DirectShow Filter Tweaker) does work, but how do I get subtitles to work with 'Microsoft DTV-DVD Video Decoder'?
I managed to get it to work with DirectVobSub without any tweaking. But how about ffdshow?
clsid
28th February 2010, 15:15
When using subtitles in WMP you will lose hardware acceleration.
GnatGoSplat
5th March 2010, 06:48
I'm using a Broadcom Crystal HD decoder card in Windows 7 x64. With this program, I was able to change the 32-bit H.264 and MPEG2 decoders to Broadcom which works well and halves the CPU utilization in WMP 32-bit. However, there is no option under the 64-bit section to change codecs to Broadcom so this won't work under WMP 64-bit or Media Center which is where I would really like to use the Broadcom decoder. Is this because it is not yet supported in this app, or are there no 64-bit DirectShow filters for the Broadcom decoder? I installed its x64 drivers, but I'm a bit unclear if the 64-bit drivers are supposed to install a 64-bit filter or not.
clsid
5th March 2010, 16:09
I don't know if there is a 64-bit version of the Broadcom filter. You tell me ;)
With the K-Lite Codec Tweak Tool you can generate a list of all installed filters.
GnatGoSplat
10th March 2010, 20:29
Thanks, I think I wasted my money. There are 64-bit drivers, but not 64-bit filters. I saw the only filter files in the driver package installs into Program Files (x86).
clsid
2nd April 2010, 15:11
v3.1: Added support for ffdshow DXVA and PowerDVD10 decoders.
nijiko
4th April 2010, 03:38
When will add support for PowerDVD10 decoders in CodecTweakTool?
CL PDVD10's Real Audio Decoder is much better than Gabest's.
It's not dependent on Real 10's cook.dll at all.
clsid
4th April 2010, 14:09
There is no setting for a preferred RealAudio decoder in the Windows 7 registry. You can thus set it as preferred by simply increasing its merit.
The PDVD10 MPEG-2 and H.264 decoders were added in v3.1
jelockwood
22nd April 2010, 12:22
Back in 2007, I came up with a solution to allow Windows Media Player to play Apple Lossless (aka. ALAC) files. These use the same file extension as AAC, that is .m4a
This solution required combining three different sets of source code from three different developers. The BASS audio library, an Apple Lossless module from another, and an existing DirectShow filter that used the BASS library and an MP3 module that was written by Milenko Mitrovic.
I managed to get Milenko to add the Apple Lossless module to his DirectShow filter and this resulted in a DirectShow filter that could play AAC and Apple Lossless and MP3. This worked fine in WMP9, WMP10, and WMP11 in XP and Vista. It also worked fine for Windows Media Center. As far as I am aware this is still the only solution existing for playing Apple Lossless in WMP.
Unfortunately with Windows7 and its new Media Foundation and built-in support for AAC, it overrides and ignores this DirectShow filter since it tries to process .m4a files containing Apple Lossless using the built-in codec.
I am therefore requesting whether you can add support for disabling the Microsoft AAC support and instead enabling this DirectShow filter which can play both AAC and Apple Lossless.
You can download this filter from http://www.dsp-worx.de/?n=15 along with if needed source code. You can test it with any AAC file but if you want to test an Apple Lossless format file then I suggest you use iTunes to create one as some thirdparty tools for creating Apple Lossless files do not create 100% complaint files.
Apple Lossless files are the only format that could be fully played in iTunes, WMP and on the iPod. Other lossless formats such as WAV, AIFF, or FLAC, or WMA Lossless, either do not work at all in one or more of these, or have severe limitations regarding Meta-Data. As a result I know a lot of people have been using this DirectShow filter.
As iTunes now finally supports on-demand automatic transcoding from Apple Lossless to AAC when Syncing to an iPod or iPhone, I can see a lot of people will be still wanting to do this so as to keep a lossless copy for use in a home media server setup.
clsid
22nd April 2010, 14:11
Media Foundation is used for .m4a files. Disabling MF specifically for .m4a unfortunately results in playback failure. There doesn't seem to be a fallback to DirectShow like there is for some of the other formats.
dwrbudr
30th April 2010, 13:16
Do you have an idea how can I silently register .ax file in a way that works on XP/Vista/7
For example I want to register Gabest MpegSplitter.ax on my program startup.
regsvr32 and DllRegisterServer are not an option because they want admin rights (runas) under Vista/7
I've tried side-by-side COM registration in the manifest file, but without luck.
I've used side-by-side COM registration on other OCX files, but on .ax it seems that the classes are not registered sucessfully.
I still wonder how KMPlayer manages to register the filters at runtime without any prompts with UAC on under Vists/7...
moonrak
6th May 2010, 23:19
clsid,
Is there any way to save the program settings to a file?
That would be useful in case of having to do a fresh install.
TIA
:)
moonrak
That is not possible, and I have no plans for such functionality either. Sorry.
zachdms
12th May 2010, 07:13
Do you have an idea how can I silently register .ax file in a way that works on XP/Vista/7
For example I want to register Gabest MpegSplitter.ax on my program startup.
regsvr32 and DllRegisterServer are not an option because they want admin rights (runas) under Vista/7
I've tried side-by-side COM registration in the manifest file, but without luck.
I've used side-by-side COM registration on other OCX files, but on .ax it seems that the classes are not registered sucessfully.
I still wonder how KMPlayer manages to register the filters at runtime without any prompts with UAC on under Vists/7...This question seems orthogonal to the purpose of this particular thread(?).
You can't do this. You do not have privileges to write there under LUA/UAC. You can install anything you need at (elevated) install time. Past that, you're a normal non-elevated app that shouldn't be doing anything admin-ish -- unless you want to pop an admin prompt.
But that's a different thread entirely that doesn't fit in clsid's thread, really. :)
politby
14th May 2010, 10:55
Greetings
I just downloaded the tool to disable Media Foundation for .mp3 and .wma files so I can use Reclock while playing music files in 7MC.
However, it seems there are no longer any options to disable MF for those two formats? I've seen screen shots of version 2.7 which shows those options but the latest version does not list .mp3 and .wma.
Why?
clsid
14th May 2010, 13:18
Those options were removed because it didn't work correctly, at least not for me. Did it work for you?
politby
14th May 2010, 13:23
Those options were removed because it didn't work correctly, at least not for me. Did it work for you?
Didn't find the old version so I could not try.
All I want is to have my stereo music sent as two channel PCM over HDMI. This implementation has to be the most stupid thing ever to come out of Microsoft/ATI. Why would anyone want two channel audio to be sent with an extra 4 channels which are silent?
I don't think there are many AVRs/processors which will be able to figure out this is really stereo and the four silent channels are to be ignored.
clsid
14th May 2010, 13:40
The save yourself the trouble. For me it resulted in complete playback failure. You can of course complete Media Foundation completely.
politby
14th May 2010, 14:08
The save yourself the trouble. For me it resulted in complete playback failure. You can of course complete Media Foundation completely.
Yes, but since my system is also the main TV hub, I don't want to disable MF entirely. That is likely to break my TV functionality big time.
At least that's how I understand it.
ptr727
23rd May 2010, 01:16
Hi, I am testing my new Zotac ZBOXHD-ID11 (http://blog.insanegenius.com/2010/05/zotac-zboxhd-id11-first-impressions.html) minipc HTPC, and I am looking for the best configuration for 1080p H264 video playback.
For 1080p H264 playback using the Atom CPU is too slow, and I need GPU accelerated playback. Testing ffdshow DXVA, CoreAVC Cuda, and the default Microsoft renderer.
Running on Win7 x64, installed Haali, ffdshow 3439 and CoreAVC 2.0.
With both ffdshow and CoreAVC installed, I can't get Microsoft to be the preferred renderer again.
Tool sets Microsoft as preferred, but CoreAVC is still used to play.
GraphStudio confirms the same results.
Am I doing something wrong, or should I be able to have ffdshow and CoreAVC installed, and select between ffdshow, CoreAVC, and Microsoft?
P.
Keiyakusha
23rd May 2010, 02:08
Decoder and renderer are different things. You seems to be talking about decoder.
Check if custom mediatype for h264 is on in haali splitter settings and disable it if yes.
ptr727
23rd May 2010, 03:07
Decoder and renderer are different things. You seems to be talking about decoder.
Check if custom mediatype for h264 is on in haali splitter settings and disable it if yes.
Ah, yes, I meant the default windows decoder.
The custom media type was enabled, I disabled it, and now things work as expected.
What does that setting do?
I noticed that sometimes I change the setting for 32bit decoders, but when I click back, the setting reverted, or if I exit and relaunch the setting reverted. When this happens I have to change the setting, apply, exit, relaunch, then set it again, then it will stick.
P.
Keiyakusha
23rd May 2010, 03:44
What does that setting do?
Well, it does what it says, just only CoreAVC and FFDShow can recognise this custom mediatype which makes possible to use these decoders in WMC under Win7.
ptr727
23rd May 2010, 06:35
Ok, thank you.
Is there an equivalent tool for setting the audio decoder priorities?
P.
mingleberry
11th August 2010, 11:36
Hi
I've been using Win7FilterTweaker to successfully enable FFDShow DXVA in 7MC for h264 video files - have been most impressed with the ability to have both DXVA and SRT subs working.
However, something seems to have changed recently in my set-up and FFdshow DXVA isn't being used anymore - Graphedit confirms that Microsoft's DTV Windows Media Foundation codec has taken over again. Even worse, Win7FilterTweaker no longer seems to be able to change the codec - even if I disable the MS DTV codec (which just prevents the content from playing at all with "some of the streams are unsupported" error).
Anyone experiencing the same problem or have a solution?
Thanks
Dom
dimitrik
16th August 2010, 08:31
I experienced similar problems last night with both h264 and XviD/DivX files.
I was using Windows Media Player x86 on win7 x64. I didn't have time to try WMC. I installed the latest version of the tool (as part of k-lite 6.30) and all of a sudden playback of files that used to work fine, was broken - the default MF codecs were used instead:mad:
I hope this is a temporary thing and not evil M$ breaking things again...
BetaBoy
31st August 2010, 07:54
All.... an FYI... I have asked clsid to add support for CoreAAC 2.0 in his next release.
dimitrik
18th October 2010, 16:27
Using the latest 2 versions of the tool on Win7 ultimate x64 , I experience the following behavior:
The x64 Directshow filters I select (ffshow) are used for decoding but selecting the equivalent 32-bit decoders has no effect - the WMF codecs are used instead.
This can only be changed by disabling 32-bit media foundation for those filetypes. Why this affects the 32 bit codecs but not the x64 ones, I have no clue. I use the same settings, and in the past it used to work fine for 32-bit...
clsid
18th October 2010, 18:29
Perhaps you have installed the DivX codec bundle? That contains a Media Foundation splitter for MKV, which enables the use of MF instead of DirectShow.
dimitrik
19th October 2010, 15:03
No, I just install k-lite mega codec pack (6.40).
I will have a look through my system later to see if anything like that is installed, possibly a leftover...
I'll report back what I find...
dimitrik
20th October 2010, 11:46
New problem (unrelated to previous post).
On Windoiws 7 ultimate x86, with Windows Media Center & WMP.
I want to use ffdshow for all AAC audio, both audio streams in video as well as m4a music files.
Nothing seems to work:
Selecting ffdshow for AAC in the tool results in correct playback only in MPC-HC. WMP/WMC still use the Microsoft DTV audio decoder. Disabling the DTV decoder works for video with aac audio streams but breaks m4a playback. Disabling media foundation entirely does the same.
Using the MCDU.exe tool to set ffdshow audio decoder as default, results in complete playback failure:(
Is there anything I can do to get WMC/WMP to play all types of AAC with ffdshow?
*********
Slightly OT: I wouldn't care about it so much, if it wasn't for the fact that my ATI 5570 card insists on forcing passthrouch of AAC through HDMI to my TV. This effectively disables my volume controls except for those on the TV - which is problematic for reasons too involved to get into here...
I had no such problems with Vista, which I used until last week.
*********
Any advice would be sincerely appreciated!
dimitrik
25th October 2010, 10:07
Oops, I just saw that CLSID answered this question earlier in this thread. It seems you cannot use anything other than the MS decoder for AAC in any of the MS players. Fortunately I found a workaround for my problem.
hydra3333
16th March 2011, 12:20
It seems you cannot use anything other than the MS decoder for AAC in any of the MS players. Fortunately I found a workaround for my problem.Which was ?
Hmm http://www.videohelp.com/tools/Preferred_Filter_Tweaker says v4 yet the 1st post in this thread says v3.4 ... are these not the same tool ?
Kindly add support for LAV CUVID and LAV Filter. Thanks.
andybkma
18th June 2011, 09:17
Hi, am using Windows 7 and trying to get Zoom Player (ZP) to use ffdshow to play MPEG1 video files along with MPEG-1 Layer 2 audio using the merit system (not the ZP Smart Play option where it forces ZP to use a codec). But I can't seem to do that by what I guess is the new Win7 totally disregarding the merit system. So I guess I need to ask for a feature request... can you please add MPEG1 video and MPEG-1 Layer 2 audio to the "Preferred Decoder" section of Win7DS Filter Tweaker? It seems I have everything working by the merit system except for MPEG1 video and MPEG-1 Layer 2 audio (unless I'm doing something wrong which I think I'm not). Thank you....
jakobkraft
10th August 2011, 16:45
AFter changing the preferred filter for H.264 to ffdhow -- and doing NOTHING else -- I get an error in Windows Media Center saying "Video Error, Files needed to display video are not installed or not working correctly"
The worst part is selecting the RESET option in Win7DSFilterTweaker does NOT fix it, restarting my computer does not fix it.
I should mention that this did work with Windows Media Player 12, at least. WMP12 was able to play mkv with ffdshow.
But this completely broke MKV playback in Windows Media Center -- is there any way to fix? I'm running Win 7 Ultimate, 32-bit.
Thanks in advance!!
clsid
10th August 2011, 18:28
If the tool shows the Microsoft decoder as selected, then that is what is set as preferred decoder, and the reset worked properly. Your problem has a different cause.
jakobkraft
11th August 2011, 14:45
If the tool shows the Microsoft decoder as selected, then that is what is set as preferred decoder, and the reset worked properly. Your problem has a different cause.
You were right, I uninstalled Internet TV from WMC and suddenly everything was working, WITH ffdshow codecs! Then I reinstalled Internet TV and everything was STILL working after. Weird.
I hate not knowing why stuff breaks, but at least it's fixed now. Thanks!
clsid
23rd August 2011, 17:04
New version is available.
- Added DV and MJPEG options
- Added LAV Video and LAV CUVID
Dogway
14th September 2011, 06:05
Does avisynth have any performance issues if I don't tweak these settings? like say RAW decoding?
Is there also something I must tweak here in order to preview video in graphedit?
Sorry the ignorance here, it's a friend's PC what I'm trying to fix, I just have the good old XP : P
pirlouy
19th September 2011, 21:10
Would it be possible to disable WMVideo Decoder DMO in tweaks ?
I think it would need a "(not recommanded)" since it appears it's a (good) working decoder (from Madshi and Navcairiel) which can handle interlaced sources.
But I'd like to disable it anyway.
turbojet
2nd December 2011, 05:22
LAV filters 32 bit is only showing for h.264 but shows for all supported formats in 64 bit. I've tried unregistering/registering 32 bit with no luck.
Is anyone else having this issue and/or any suggestions on how to fix?
turbojet
22nd December 2011, 05:23
4.7 fixed most of the LAV video 32 problems except VC-1 for 32 and 64 bit. Also can it support LAV audio?
CrazyCanuck
27th December 2011, 14:58
I currently use ffdshow, haali and win7dsfiltertweaker for my W7 media center. Most of my videos are mp4 (no mkv) and music is mp3.
I have win7ds setup to use ffdshow audio for all my videos, mp3s as well as live TV and it works great (main reason I use it is for volume normalization). I stick with MS for video.
My problem comes when I try to use my extender. If I disable everything above, mp4s play fine (natively) on the xbox360 in great quality.
As soon as I disable WMF from handling mp4 (Haali takes over), then W7 now transcodes the video of the mp4 to my extenders and they look terrible.
Has anyone found a way to use ffdshow for all audio (mp4, mp3, liveTV) and yet still send raw stream (not transcoded) to xbox360?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.