[SOLVED] DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

[SOLVED] DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *gdpr deleted 6 »

It could be helpful for users troubleshooting problems with the new lister media player in TC10 to take a peek at the filter graph as set up by the lister media player itself.

GraphEdit/GraphStudioNext can peek into an active filter graph of another process. However, to do so, an application (such as the lister media player) has to announce/register its filtergraph in a particular way to make it discoverable by GraphEdit/GraphStudioNext. Currently, TC doesn't seem to do that, as neither GraphEdit nor GraphStudio discovered the filter graph of an active lister media player instance playing a video.
(I tried with both the 32-bit and 64-bit versions of GraphEdit and GraphStudioNext)

Details of how this should be done here: https://docs.microsoft.com/en-us/windows/win32/directshow/loading-a-graph-from-an-external-process
Last edited by gdpr deleted 6 on 2021-03-19, 14:17 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50856
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *ghisler(Author) »

Thanks for the info, I didn't know that this is possible.
Author of Total Commander
https://www.ghisler.com
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *gdpr deleted 6 »

Awesome!
Confirmed to be working in TC 10.00b2 x86 and x64.
(I only checked with GraphStudioNext, but with GraphStudioNext working i would expect GraphEdit to work as well...)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50856
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [SOLVED] DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *ghisler(Author) »

I tried with both. Please let me know if you find any problems.
Author of Total Commander
https://www.ghisler.com
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: [SOLVED] DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *gdpr deleted 6 »

I also tried with GraphEdit now. No problemo. All fine.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: [SOLVED] DirectShow lister media player: Allow GraphEdit / GraphEditNext to connect to the active filter graph

Post by *DrShark »

history1000.txt wrote:16.03.21 Added: Lister, new media player: Added filter graph to "Running Object Table" so it can be viewed in GraphEdit/GraphStudioNext via "ConnectToRemoteGraph" (needs registered proppage.dll from Microsoft SDK) (32/64)
It's important to note that to register it, regsvr32.exe must be started elevated. Otherwise Windows won't let to register it by showing an error instead:

Code: Select all

[Window Title]
RegSvr32

[Content]
Модуль "<full path>\Tools\proppage.dll" загружен, но не удалось выполнить вызов DllRegisterServer, код ошибки: 0x80070005.

Для получения дополнительных сведений об этой ошибке выполните поиск в Интернете, указав код ошибки как аргумент поиска.

[ОК]
which says that the module is loaded, but DllRegisterServer can't be executed.

BTW, the GraphEdit.exe and this dll also included in K-Lite Codec Pack (at least GraphEdit build 061102 is here in Tools subdir of the codec pack folder which I copied (but didn't install) here in year 2015 from other PC, the date of unins000.exe is ‎June 2, ‎2009‎ but I don't know the version number of codec pack).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply