Spy & Log

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 28: Line 28:
 
DirectShow filter to check connection properties, track interface calls and get information about DirectShow media samples.<br>
 
DirectShow filter to check connection properties, track interface calls and get information about DirectShow media samples.<br>
 
1. Download and install [http://rm.avobjects.com/downloads/130 Spy Filter].<br>
 
1. Download and install [http://rm.avobjects.com/downloads/130 Spy Filter].<br>
2. Insert Spy filter into the DirectShow graph between the filters of interest (connect the input and output pins).
+
2. Insert Spy filter into the DirectShow graph between the filters of interest (connect the input and output pins).<br>
3. Run, stop and close DirectShow graph.
+
3. Run, stop and close DirectShow graph.<br>
 
4. Check the log file created by Log object.
 
4. Check the log file created by Log object.
  

Revision as of 16:09, 20 March 2020

A DirectShow filter for logging the parameters of the DS graph.

Overview

The Log object and Spy filter are great tools for debugging your DirectShow application.

Usage

Log object

1. Download Log Object and unzip log_object.<version>.zip to some catalog.
2. Run register.bat. Please, set check box in "Make this copy..." - shown on Log_register.gif. Also - don't forget name of selected catalog for save log file.
3. Run your application or graph.
4. Zip the log file and send it to us or upload to our FTP.

Note: Only debug version of our filters will write the log file. Please make sure a debug version is registered.

You can find path to log file in next registry key:

   HKEY_CURRENT_USER\Software\_DSTLLOG

This key has subkey with path to log.dll. This subkey has parameter "Log" with value: path to log file.


Spy filter

DirectShow filter to check connection properties, track interface calls and get information about DirectShow media samples.
1. Download and install Spy Filter.
2. Insert Spy filter into the DirectShow graph between the filters of interest (connect the input and output pins).
3. Run, stop and close DirectShow graph.
4. Check the log file created by Log object.

Downloads

See Also

Personal tools