Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.34k stars 789 forks source link

Suggestion: Whitelist/blacklist options (like ffdshow) #453

Open Nazosan opened 2 years ago

Nazosan commented 2 years ago

Sometimes some things don't get along well with the functionality of things like LAVFilters (and ffdshow and etc.) Honestly the biggest culprit would be games, which often kind of need minimal processing and filtering, but a number of programs may also possibly experience some issues (I can imagine some audio/video editors likely at least have a chance of doing so.) A good solution is probably to have a whitelist like ffdshow/ffdshow-tryouts has where it will only load in particular programs (with some obvious defaults like the most common video players.) They also had a blacklist which can work, but is less optimal for obvious reasons (but maybe easier to implement?)

clsid2 commented 2 years ago

It already has a blacklist function.

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LAV\Video\Blacklist

Nazosan commented 2 years ago

I suppose I would then change the blacklist part of my suggestion to "add an option to the GUI" then. Though I still think the whitelist was the better mechanism for managing compatibility.

clsid2 commented 2 years ago

You can forget about such functionality. I doubt that nevcairiel is interested in adding that.

But any application that uses DirectShow which isn't compatible with LAV Filters is pretty much broken. Such applications/games should customize their filter graph building process to prefer whichever filters want to use.

If you are having trouble with an application then you should mention the name of its .exe