Page 1 of 1

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

Posted: 2021-03-13, 21:14 UTC
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

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

Posted: 2021-03-14, 14:52 UTC
by ghisler(Author)
Thanks for the info, I didn't know that this is possible.

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

Posted: 2021-03-19, 13:57 UTC
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...)

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

Posted: 2021-03-19, 16:42 UTC
by ghisler(Author)
I tried with both. Please let me know if you find any problems.

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

Posted: 2021-03-19, 17:06 UTC
by gdpr deleted 6
I also tried with GraphEdit now. No problemo. All fine.

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

Posted: 2021-03-20, 08:23 UTC
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).