Guest DAvenger Posted November 1, 2003 Share Posted November 1, 2003 (edited) This little tool allows you to change merit of DirectShow filters. We thought some people may find it useful. Should help fix some filter incompatibilty problems. @Griga : Perhaps you could port it to DVBViewer native plugin? Screenshot below <Edit> Download of the current version 1.6: Executable Delphi 7 Source Code </Edit> Edited April 20, 2008 by Griga Quote Link to comment
Griga Posted November 1, 2003 Share Posted November 1, 2003 Hey, what a great tool! I didn't test all the functions yet, but it's exactly what I always wanted to have. E.g. "Copy CSLID"... it's really hard to do without this tool (searching up and down the registry or copy it manually letter by letter from GraphEdit... ) Thanks to DAvenger and Radscorpion for providing it here! Perhaps you could port it to DVBViewer native plugin? Sure I could. If there was a function that can be enhanced by directly accessing the DVBViewer graph, it would make sense... but up to now I can't see such a function. However, as a stand-alone tool the filter manager can be easily integrated in the DVBViewer Plugins Menu by using the MenuCreator Plugin. Griga 4 Quote Link to comment
Klausing Posted November 1, 2003 Share Posted November 1, 2003 realy nice tool, but i wish me to put in the Merit manually by number. A look at the Merit's with Zoomplayer shows that there are Merits like 0x800000 0x71000 0x600005 0x400007 ... and not only standard values For my Nvidia decoder i see in this tool the merit 0x0000000 But in Zoomplayer i see 0x800000 and 8000000 must be right because Nvidia is my prefered decoder in the system. You can see it in the picture. I recommend to be really carefully with this tool. Maybe not every shown Merit is right ! Steffen Quote Link to comment
RadScorpion Posted November 1, 2003 Share Posted November 1, 2003 According to what I've read from the DirectX SDK. Merit information is registered in HKEY_CLASSES_ROOT\CLSID\{Category}\Instance\{FilterCLSID} : FilterData registry key. The fact is that all the stuff is indeed written there... but there is also a "second" copy of "the same" somewhere in HKEY_LOCAL_MACHINE\blablabla. I've also noticed that the values stored in those 2 places sometimes differ :S:S. The next thing is that changing the merit value in HKEY_CLASSES_ROOT had no effect :S:S... so I'm not completely sure which value is the right one. Quote Link to comment
Guest DAvenger Posted November 1, 2003 Share Posted November 1, 2003 Sure I could. That would be great even though the difference between standalone and plugin would be minimal. I think the best way would be to pack & upload it as a "plugin" and provide some readme file how to use it with the MenuCreator plugin. If there was a function that can be enhanced by directly accessing the DVBViewer graph, it would make sense... but up to now I can't see such a function. If you open regular media within DVBViewer 2 kernel would actually switch to "media moduleset" thus RadLight's media playback module would be used - which is fully customizable and totally independent from merit system - in fact this tool will be redundant then For now it does the job. Quote Link to comment
RadScorpion Posted November 1, 2003 Share Posted November 1, 2003 OKOK... Tool updated. There was a problem with too small buffer when loading FilterData from registry and some filters failed to load. Now everything should work fine.... the links are the same. Quote Link to comment
Klausing Posted November 1, 2003 Share Posted November 1, 2003 Great and fast work !!! Now it works well. But how can i put in a nonstandard Merit value ? Steffen Quote Link to comment
RadScorpion Posted November 1, 2003 Share Posted November 1, 2003 Why would you need a nonstandard value ? Using nonstandard values results into conflicts and incompatibilities. If everyone used standard values there would be no need for a Filter manager at all Quote Link to comment
Griga Posted November 1, 2003 Share Posted November 1, 2003 That would be great even though the difference between standalone and plugin would be minimal. I think the best way would be to pack & upload it as a "plugin" and provide some readme file how to use it with the MenuCreator plugin. @DAvenger: I thought about it... it's better to have it as a stand alone tool, because filters should not be unregistered while they are running. As a plugin it could *only* be launched within the DVBViewer, and then some of the filters shown in the list will be used for sure. It will be quite expensive to disable the Unregister Button especially for those filters... stand alone is much more flexible. @Klausing & RadScorpion: Picking a merit values from a list is much easier for most people than typing hex numbers. Nevertheless the whole thing could be enhanced by providing an additional input line, that displays the selected value as a hex number and allows to edit it. In the way it is done now it's not clear wether the selected merit is lower or higher than another one... you first have to go the About Tab to see which value belongs to which list entry. Griga Quote Link to comment
crypto Posted November 2, 2003 Share Posted November 2, 2003 Many thanks for this cool tool. I really like the "Navigate" button, a complete new function which I never saw in any other tools. BTW. I also think that non-standard merit values are needed some times. I have some applications, which do not work, when they do not find their filters automatically selected. This requires same tricky values. 1 Quote Link to comment
Guest DAvenger Posted November 2, 2003 Share Posted November 2, 2003 @Griga : Ok. Could you or somebody upload it to the members are? I am not sure if I have upload permission moreover I don't remember my pass Also, the manual(s) could be updated so people with merit problems can address them quickly. @Crypto Well, I am against shooting merit values out of blue ... normal +1 / +255 and preferred +1 / +255 must be enough for everyone. Of course, the source is available so if you have time Quote Link to comment
Griga Posted November 2, 2003 Share Posted November 2, 2003 Could you or somebody upload it to the members are? Done Of course, the source is available so if you have time I tried yesterday and encountered some difficulties - parts were missing. Finally I got it compiled, but all the displayed merit values were = 0. Has the source been updated too? I'll post a more detailled report later. Griga Quote Link to comment
Guest Oliver Posted November 2, 2003 Share Posted November 2, 2003 Also, the manual(s) could be updated so people with merit problems can address them quickly. Done. Bye, Oliver Quote Link to comment
Griga Posted November 2, 2003 Share Posted November 2, 2003 OK, I made it somehow... But first: When I open the project file FilterManager.dpr, I get two errors: Error reading MainForm.ScreenSnap. Property ScreenSnap does not exist.Error reading MainForm.SnapBuffer. Property SnapBuffer does not exist. I tell Delphi (D6) to ignore it, and it doesn't seem to matter... I hope these non-existent properties are not important... The zero merit values (see my posting above) were due to launching the filter manager in a restricted user account (stupid me ). With admin rights it works. Finally: The file WindowsXP.res is missing in the source (or is part of D7, don't know). Without this, the filter manager looks a bit old-fashioned (see attached picture). So I added the Merit Input Line, and it (hopefully) works. If a merit is selected from the list, it is transferred to the input line and can be edited. Same, if a filter's merit is selected in the tree view. The Set Value Button picks the merit from the input line, not from the list. If RadScorpion agrees, I will provide this version for download. Griga Quote Link to comment
Klausing Posted November 3, 2003 Share Posted November 3, 2003 If a merit is selected from the list, it is transferred to the input line and can be edited Yes, but only if you click directly on the Merit value. This could be a little bit perplexing. Is there a way to do this if i click on the filter name? Steffen Quote Link to comment
RadScorpion Posted November 3, 2003 Share Posted November 3, 2003 Yeah sure... good job. BTW. There is the WindowsXP.Res file you've been missing. If you need any more files drop here a line... P.S. : The code may look messy if you use the Tab-Character width of 8 spaces... I use 4. : DAMN : I had to ZIP a 648 byte file WindowsXP.res.zip 1 Quote Link to comment
Gioxy Posted November 3, 2003 Share Posted November 3, 2003 Great tool! Well done! Tank to all! Some fast consideration: - in win98 "Navigate" only lead to the dir where is located the filter... it's impossible to also select it? (...or maybe isn't so useful?) - a botton that say "save filter hierarchy" would be useful - I suggest also (to limit the damages to the beginners and absent-minded) a first auto save (for example in a .reg file) of the "original filter hierarchy" - of course a "load filter hierarchy" button would be useful too... Gioxy Quote Link to comment
Griga Posted November 3, 2003 Share Posted November 3, 2003 Yes, but only if you click directly on the Merit value. This could be a little bit perplexing. Is there a way to do this if i click on the filter name? @Klausing: Sure... I first did it this way. However, after some tests I didn't like it, because the merit value in the input line got changed too easily (and accidently). I think it's better to transfer a filters's merit only "on demand" to the input line... when you really want it. I hope I'll find the time to upload the new version at noon. Thanks again to RadScorpion for providing the source... and giving me an opportunity to learn from it. Griga Quote Link to comment
Klausing Posted November 3, 2003 Share Posted November 3, 2003 Ok, that's pursuable. On this way you dont have the possibility to change the wrong filter. Steffen Quote Link to comment
Guest DAvenger Posted November 3, 2003 Share Posted November 3, 2003 (edited) Hi, The first error is just a screen snap property ("sucking windows"). The second one is .res which will make app be XP aware - nothing to worry about (introduced with D7). You should probably create some changes.txt or similar and give yourself some credits Also, if you don't mind please, attach/provide links in the original thread in our forum : http://www.radlight.net/forum/index.php?showtopic=355 EDIT : http://forum.doom9.org/showthread.php?s=&t...&threadid=64298 Thanks Edited November 3, 2003 by DAvenger Quote Link to comment
Griga Posted November 3, 2003 Share Posted November 3, 2003 (edited) Here it is - the binary with the Merit Input Line (version 1.2). *** Warning ***: In contrast to RadScorpion's original version this version allows to enter and set non-standard merit values. If you are not familiar with the DirectShow settings or you don't know what filter merits are, please keep your hands off - you may disable all kinds of media playback on your computer! There are some more feature requests... unfortunately my time will be very limited in the coming weeks. I'm no professional programmer and have to do my job. If there are requests that can be implemented easily I'll have a look at it. But bigger things... maybe someone else can take the source and do something useful with it. Griga Go down for an enhanced version... we had 511 downloads of the 1.2, that's enough rlfm_bin1_2.zip Edited November 8, 2003 by Griga Quote Link to comment
Griga Posted November 3, 2003 Share Posted November 3, 2003 (edited) And here is the updated source (D6). All changes are marked with {***}. Griga Go down for the enhanced 1.3 source... rlfm_src1_2.zip Edited November 8, 2003 by Griga Quote Link to comment
Guest DAvenger Posted November 3, 2003 Share Posted November 3, 2003 Many thanks. Our time is also very limited - anyway, the core of this app is working fine and the rest of the requests are more user_interface oriented - should not be a problem even for a beginner - if there are any - it's never too late to begin Of course, we'll try to implement some of them when the time shedule allows us to do so Quote Link to comment
dimzon Posted November 5, 2003 Share Posted November 5, 2003 Missing DirectShow.pas (D7) Where can I get it? Quote Link to comment
Griga Posted November 5, 2003 Share Posted November 5, 2003 Try http://www.progdigy.com/dspack/. Griga Quote Link to comment
Pameijer Posted November 7, 2003 Share Posted November 7, 2003 Nice tool! There's one but for me: I use big fonts in Windows (120 dpi) and now it is impossible to set the merits of the filters, because I can't see them. Maximizing the screen don't help Quote Link to comment
Guest DAvenger Posted November 8, 2003 Share Posted November 8, 2003 There is a switch in Delphi (7?) that fixes the large fonts incompatibility ... Quote Link to comment
Griga Posted November 8, 2003 Share Posted November 8, 2003 That's what I've found in Google Groups: Set the Scaled property of the form to False.Change the Font property of the form to some TrueType font (such as Arial, *not* MS Sans Serif) Make sure all controls' ParentFont property (on the form) are set to True. The app will look fine on large and small fonts. However, the user's font size selection will be ignored if it's done like this. @Pameijer: Do you want the whole app to re-scale to your font size? Quite expensive... or to display a fixed small font size? Much easier, though Arial as app font is a bit odd... Griga Quote Link to comment
Pameijer Posted November 8, 2003 Share Posted November 8, 2003 That's what I've found in Google Groups: Set the Scaled property of the form to False.Change the Font property of the form to some TrueType font (such as Arial, *not* MS Sans Serif) Make sure all controls' ParentFont property (on the form) are set to True. The app will look fine on large and small fonts. However, the user's font size selection will be ignored if it's done like this. @Pameijer: Do you want the whole app to re-scale to your font size? Quite expensive... or to display a fixed small font size? Much easier, though Arial as app font is a bit odd... Griga Anything will do. Nothing is odd as long as it works, so fixed font sizes will be fine. But hey, if you got some spare time I wont stop you! Unfortunately, I have to share my PC with my wife and she definitely wants/needs big fonts, otherwise I'll just switch to normal. If it is up to her, she"d even want to go (way!) back to 800x600 resolution on a 17" monitor Quote Link to comment
Griga Posted November 8, 2003 Share Posted November 8, 2003 RadLight Filter Manager Version 1.3 OK, I did something more to the Filter Manager: - Fixed the 120 dpi problem (the Scaled Property of the Main Form had to be set to false). - Added a Log Tab & File Recently somebody unregistered the MPEG Audio Decoder (which means: whole quartz.dll ) and didn't find his way back, because he didn't know which file he had to re-register. Accidents like that won't happen with version 1.3. All changes performed by the Filter Manager can be reviewed on the log tab. They are written to the file FilterManager.log, if the "Write Log File" option is checked. First have a look at the new tab on the attached picture... the next posting contains the new binary, and the next but one the new D6 source. Griga Quote Link to comment
Griga Posted November 8, 2003 Share Posted November 8, 2003 As promised, the v1.3 binary: rlfm_bin1_3.zip 1 Quote Link to comment
Griga Posted November 8, 2003 Share Posted November 8, 2003 ...and the v1.3 source: rlfm_src1_3.zip Quote Link to comment
Guest DAvenger Posted November 9, 2003 Share Posted November 9, 2003 Heh, I am starting to like the idea behind open source Great job! btw. the Merit editbox and all components on the Log page do not have anchors enabled properly (try to resize the window ...) if you could fix that and reupload (the same version number would be ok) Also, I attached a separate "versions.txt". versions.txt Quote Link to comment
Griga Posted November 9, 2003 Share Posted November 9, 2003 btw. the Merit editbox and all components on the Log page do not have anchors enabled properly Oops... re-uploaded! Anyway... I've also forgotten to update the version number on the About Tab. Versions.txt is included now in the ZIP. Griga Quote Link to comment
Pameijer Posted November 9, 2003 Share Posted November 9, 2003 Thanks a lot Griga! Works like a charm now at 120dpi. [dreammode]Now, if only commercial softwaresuppliers couold implement featurerequests at this warpspeed[/dreammode] Quote Link to comment
RadScorpion Posted November 9, 2003 Share Posted November 9, 2003 **Very Nice** indeed... I knew it was a good idea to make it open source Quote Link to comment
Guest Oliver Posted November 9, 2003 Share Posted November 9, 2003 I've also updated the manual. Bye, Oliver Quote Link to comment
Guest DAvenger Posted December 1, 2003 Share Posted December 1, 2003 It took them a while but BetaNews finally added it - http://fileforum.betanews.com/detail.php3?...?fid=1068572413 Quote Link to comment
Griga Posted December 29, 2003 Share Posted December 29, 2003 (edited) Here is version 1.4 of the RadLight Filter Manager: - Button for opening a filter's property page (if the filter provides one) added - I've missed it in some situations - Empty log file added, so that the Write Log File option is switched on by default Download it from http://www.radlight.org P.S. I want it to be clear, that DAvenger directs you to radlight.org here, not me. He removed the original uploaded file resp. link, without asking or notifying me, leaving invalid links elsewhere, e.g. in the DVBViewer manual. Griga Edited June 5, 2005 by Griga 1 Quote Link to comment
Griga Posted December 29, 2003 Share Posted December 29, 2003 (edited) The V 1.4 source: Download it from www.radlight.org [edit by griga] Link no more valid [/edit] P.S. I want it to be clear, that DAvenger directs you to radlight.org here, not me. He removed the original uploaded file resp. link, without asking or notifying me, leaving invalid links elsewhere, e.g. in the DVBViewer manual. Edited June 4, 2007 by Griga Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.