Spy & Log

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A DirectShow filter for logging the parameters of the DS graph.
+
Log object and Spy filter for logging the parameters of the DS graph.
  
 
==Overview==
 
==Overview==
Line 16: Line 16:
 
4. Zip the log file and send it to us or upload to our [[AVObjects FTP|FTP]].
 
4. Zip the log file and send it to us or upload to our [[AVObjects FTP|FTP]].
  
Note: Only debug version of our filters will write the log file. Please make sure a debug version is registered.
+
Notes:<br>
 +
- Only debug version of our filters will write the log file. Please make sure a debug version is registered.<br>
 +
- Please remember to unregister the log object after use. Log files can be VERY large (up to hundreds of GB) if the option “Add new log to the end of the old file” is selected (default option).<br>
  
You can find path to log file in next registry key:
+
You can find the path to the 32-bit log object in the following registry key:
 
     HKEY_CURRENT_USER\Software\_DSTLLOG
 
     HKEY_CURRENT_USER\Software\_DSTLLOG
This key has subkey with path to log.dll. This subkey has parameter "Log"
+
and to the 64-bit:
with value: path to log file.
+
    HKEY_CURRENT_USER\Software\_DSTLLOG64
  
'''Spy filter'''
+
These keys have subkeys with paths to log32.dll and log64.dll. Also, these subkeys have a "Log" parameter with the value: path to the log file and other parameters.
  
DirectShow filter to check connection properties, track interface calls and get information about DirectShow media samples
 
1. Download and install [http://rm.avobjects.com/downloads/130 Spy Filter]
 
  
 +
'''Spy filter'''
 +
 +
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>
 +
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>
 +
4. Check the log file created by Spy filter with the Log object.
  
 
==Downloads==
 
==Downloads==
Line 41: Line 48:
 
* {{Contact Us}}
 
* {{Contact Us}}
  
[[Category:DirectShow Filters]]
 
[[Category:Help Filters]]
 
 
__NOTOC__
 
__NOTOC__

Latest revision as of 18:43, 24 November 2022

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.

Notes:
- Only debug version of our filters will write the log file. Please make sure a debug version is registered.
- Please remember to unregister the log object after use. Log files can be VERY large (up to hundreds of GB) if the option “Add new log to the end of the old file” is selected (default option).

You can find the path to the 32-bit log object in the following registry key:

   HKEY_CURRENT_USER\Software\_DSTLLOG

and to the 64-bit:

   HKEY_CURRENT_USER\Software\_DSTLLOG64

These keys have subkeys with paths to log32.dll and log64.dll. Also, these subkeys have a "Log" parameter with the value: path to the log file and other parameters.


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