Infognition forum
September 10, 2010, 12:55:32 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Last GraphEditPlus version: 1.4.0   Last Video Enhancer version: 1.9.4
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Show Matching Filters - Video Renderer missing from the list?  (Read 979 times)
handy13
Newbie
*

Karma: +1/-0
Posts: 4


View Profile
« on: May 15, 2009, 06:12:19 PM »

Hi,
If I place a source filter (a webcam source for example) on the "Graph" panel in GraphEditPlus,
then right click the output pin, then select "Show Matching Filters", I do not see
"Video Renderer" in the list.  However if I right-click the output pin and select "Render pin"
GraphEditPlus places the "Video Renderer" on the "Graph" panel and connects it to my
source filter. 

Why doesn't the "Show Matching Filters" list display "Video Render"??

Not critical but I am trying to write a source filter for an IP Camera and I'm using
GraphEditPlus to help me figure out what is actually happening in CheckMediaType
called by AttemptConnection in amfilter.cpp.  Trying to figure out how and why
the system selects a particular downstream filter.  I thought I would see "Render pin"
in the list of matching filters...

Thanks,

Howard
Logged
Dee Mon
Administrator
Sr. Member
*****

Karma: +7/-0
Posts: 297



View Profile WWW
« Reply #1 on: May 17, 2009, 11:26:20 AM »

thanks for a smart question, it made me do some investigations.
The "Show Matching Filters" feature shows the result of
IFilterMapper2::EnumMatchingFilters(). One of its parameters specifies whether
the filter must render its input. Since I wanted to see not only
renderers I set it to false, and it lead to renderers being out of the
list. Now I understand GEP should call EnumMatchingFilters twice to
get list of renderers as well as list of non-renderers. Will be fixed in the nearest release.
Logged
handy13
Newbie
*

Karma: +1/-0
Posts: 4


View Profile
« Reply #2 on: May 19, 2009, 04:31:11 AM »

I wonder if this is why it takes 26 seconds to connect when I select "Render pin" in Graph Edit Plus and only takes 2 seconds for Graphedit to do it.  Will be looking forward to your new version!

Thanks,

Howard
Logged
Dee Mon
Administrator
Sr. Member
*****

Karma: +7/-0
Posts: 297



View Profile WWW
« Reply #3 on: May 19, 2009, 02:47:12 PM »

Here you can take new executable (v1.3.3.1).
http://tmp.thedeemon.com/
Now it searches for both renderers and non-renderers. However, in my tests renderers still haven't appeared. Sad Don't know yet why.

I wonder if this is why it takes 26 seconds to connect when I select "Render pin" in Graph Edit Plus and only takes 2 seconds for Graphedit to do it. 
No idea, should be the same. On all my machines it happens instantly.
Logged
handy13
Newbie
*

Karma: +1/-0
Posts: 4


View Profile
« Reply #4 on: May 25, 2009, 07:10:08 AM »

Sorry, my error regarding the 26 seconds.   Embarrassed  I am running the filter in the Visual Studio debugger and using GDIPlus as the Debugging "Command".  It was initialization of my software in the debugger (connecting to internet IP address, etc.) that was taking up the 26 seconds.

I have not yet taken time to download v1.3.3.1 because I have been hot on the trail of displaying the video images obtained from my filter which should be showing up in the renderer.  I see a proper video image if I store the BMP data as a file then read the file in.  Working on making that direct now so that a file is not involved.  So far the images don't look too good - scrambled...  Lots of bitmap details to work through.  (Would not be so hard if the comp sci know-it-alls had not decided that "information-hiding" was a good idea.  Poorly commented black boxes are a poor substitute for seeing the internals!   Smiley  Like when you convert a DIB to a DDB, what REALLY happens to the bitmap data?

Thanks,

Howard
Logged
handy13
Newbie
*

Karma: +1/-0
Posts: 4


View Profile
« Reply #5 on: May 25, 2009, 08:14:32 AM »

OK,

I downloaded 1.3.3.1.  I see no difference.  Video Renderer still does not appear in the "Show Matching Filters" list...
This is apparently what you observed also...

Thanks,

Howard
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!