GStreamer Log Viewer is a tool designed to efficiently handle the voluminous debug logs produced during GStreamer debugging sessions. It aids in navigating, categorizing, and analyzing the debug information, making the debugging process smoother and quicker. GStreamer's debugging system generates detailed logs that can be overwhelming; this viewer makes it easier to manage and understand these logs.
To get a debug log file, set environment variables as below:
- export GST_DEBUG_FILE=gst.log
- export GST_DEBUG_NO_COLOR=1
- export GST_DEBUG=5
See Running GStreamer Applications for details.
- Open Log Files: Easily accessible through the Application menu to open and view logs.
- Visual Timeline: Logs are displayed in a table format with a visual timeline on the left, enhancing the ease of understanding log sequences.
- Filtering Options: Filters can be applied in the filter box when enter key is pressed. Column-specific filtering can be done with the format
column_name:search_keyword
. Unless column is specified, keywords work forMessage
column - Find Functionality: Users can find word through the logs using the find box by entering text and pressing enter to jump.
- Double-click on:
Timestamp
: open the line in an externally configured text editorProcess
,Thread
,Level
,Category
,Source
,Function
,Object
: add[column name]:[current value]
to the filter box and apply itLine
: open the source code and jump to the corresponding line in an externally configured text editorMessage
: add current message to the filter box and apply it
To install GStreamer Log Viewer, follow these steps:
- Clone the repository from GitHub at https://github.com/task-jp/gstreamer-log-viewer.
- Ensure that Qt 6 is installed as it is a dependency for running the application.
- Follow the provided setup instructions to compile and run the viewer.
After installation, you can start the application via the executable created in the build process. Use the Application menu to open log files and start viewing and filtering GStreamer debug logs. For detailed instructions, refer to the features section above.
Settings for the application can be accessed via Application > Preferences...
Here, users can configure:
- GStreamer Source Directory: Set the local path to the GStreamer source code for integrated source navigation.
- External Text Editor: Set the path to the external editor for opening log files directly.
Contributions are welcome! Please refer to the GitHub repository to report issues, suggest features, or submit pull requests. Follow the standard GitHub flow for collaborating on projects.
GStreamer Log Viewer is licensed under the GNU General Public License v2 (GPLv2), which allows for free usage and distribution under certain conditions. For more details, refer to the LICENSE file in the repository.
For further assistance or to contribute to the project, please visit the project's GitHub page at https://github.com/task-jp/gstreamer-log-viewer.