Log Object
(30 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<!--TITLE:Log Object--> | <!--TITLE:Log Object--> | ||
<!--H1:Log Object--> | <!--H1:Log Object--> | ||
− | <!--DESCRIPTION: | + | <!--DESCRIPTION:An object for logging parameters of DirectShow graphs, filters, streams and messages from applications/libraries.--> |
<!--KEYWORDS:Log Logging Trace DirectShow Graph--> | <!--KEYWORDS:Log Logging Trace DirectShow Graph--> | ||
{{This|products/freeware_filters/Log_object.html}} | {{This|products/freeware_filters/Log_object.html}} | ||
Line 9: | Line 9: | ||
==Overview== | ==Overview== | ||
− | |||
− | |||
− | |||
− | |||
The '''Log object''' is great tool for debugging your DirectShow application. | The '''Log object''' is great tool for debugging your DirectShow application. | ||
+ | |||
+ | ==Features== | ||
+ | |||
+ | The log object writes to the file: | ||
+ | * Computer and OS Windows settings. | ||
+ | * Host application and loaded DLL parameters. | ||
+ | * Messages from filters, DLLs and application. | ||
+ | |||
+ | Third party applications can use the '''OutputDebugStringA()''' and '''OutputDebugStringW()''' methods to write to a log file. | ||
==Usage== | ==Usage== | ||
− | + | To prepare files with the studied features and properties, do the following: | |
+ | |||
+ | 1. Download {{Log Object}} and unzip log_object.<version>.zip to some catalog. | ||
+ | |||
+ | 2. Run Log32_reg.bat or Log64_reg.bat, select the folder and log file name. The setup dialog is shown in Log_register.jpg. | ||
+ | |||
+ | 3. Register a debug version of the AVObject filter you are checking, or download and install {{Spy Filter}}. | ||
+ | |||
+ | 3. Run your application or graph (the Debug version of the AVObject filter or the Spy filter must be included in the graph). | ||
− | |||
− | |||
− | |||
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]]. | ||
− | Notes:< | + | <b>Notes:</b> |
− | + | * If you want to register the log object for all users (in the HKEY_LOCAL_MACHINE hive), you should run the batch file with administrator rights. The same for unregistering. | |
− | + | * 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: | + | <br>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: | and to the 64-bit: | ||
− | + | HKEY_CURRENT_USER\Software\_DSTLLOG64 | |
+ | |||
+ | If the log object was registered for all users: | ||
+ | HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\_DSTLLOG | ||
+ | and to the 64-bit: | ||
+ | HKEY_LOCAL_MACHINE\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. | 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. | ||
Line 40: | Line 56: | ||
* {{LinkDescription|Video Generator}} | * {{LinkDescription|Video Generator}} | ||
* {{LinkDescription|Spy Filter}} | * {{LinkDescription|Spy Filter}} | ||
− | |||
− | |||
− | |||
− | |||
==See Also== | ==See Also== | ||
− | * [[Log | + | * [[Log Object: Release Notes]] |
* [[Problem Description Guidelines]] | * [[Problem Description Guidelines]] | ||
* [[AVObjects FTP]] | * [[AVObjects FTP]] | ||
− | ==Action Items== | + | ===Action Items=== |
+ | * Download {{Log Object}} | ||
+ | * Download {{Spy Filter}} | ||
* {{Contact Support}} | * {{Contact Support}} | ||
* {{Place Order!}} | * {{Place Order!}} |
Latest revision as of 13:17, 24 March 2025
This page is a copy of the original page on the AVObjects' web site and can also be viewed here.
An object for logging parameters of DirectShow graphs, filters, streams and messages from applications/libraries.
Overview
The Log object is great tool for debugging your DirectShow application.
Features
The log object writes to the file:
- Computer and OS Windows settings.
- Host application and loaded DLL parameters.
- Messages from filters, DLLs and application.
Third party applications can use the OutputDebugStringA() and OutputDebugStringW() methods to write to a log file.
Usage
To prepare files with the studied features and properties, do the following:
1. Download Log Object and unzip log_object.<version>.zip to some catalog.
2. Run Log32_reg.bat or Log64_reg.bat, select the folder and log file name. The setup dialog is shown in Log_register.jpg.
3. Register a debug version of the AVObject filter you are checking, or download and install Spy Filter.
3. Run your application or graph (the Debug version of the AVObject filter or the Spy filter must be included in the graph).
4. Zip the log file and send it to us or upload to our FTP.
Notes:
- If you want to register the log object for all users (in the HKEY_LOCAL_MACHINE hive), you should run the batch file with administrator rights. The same for unregistering.
- 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
If the log object was registered for all users:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\_DSTLLOG
and to the 64-bit:
HKEY_LOCAL_MACHINE\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.
Related Products
- Video Generator - DirectShow filter for generating a video stream with the necessary parameters, for creating video frames for checking chroma key, for outputting an audio stream synchronized with video, and much more.
- Spy Filter - DirectShow filter for tracing (together with the log object) connections, positioning, data flow, etc, to save input Direct Show samples to file(s).
See Also
Action Items
- Download Log Object
- Download Spy Filter
- Contact Support...
- Contact Sales!