Spy & Log

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 30: Line 30:
 
2. Insert Spy filter into the DirectShow graph between the filters of interest (connect the input and output pins).<br>
 
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.<br>
 
3. Run, stop and close DirectShow graph.<br>
4. Check the log file created by Log object.
+
4. Check the log file created by Spy filter with the Log object.
  
 
==Downloads==
 
==Downloads==

Revision as of 16:14, 20 March 2020

Log object and Spy 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 Spy filter with the Log object.

Downloads

See Also

Personal tools