https://github.com/obsproject/loganalyzer
Automatic analyzer for logs generated by OBS Studio
https://github.com/obsproject/loganalyzer
Last synced: about 1 year ago
JSON representation
Automatic analyzer for logs generated by OBS Studio
- Host: GitHub
- URL: https://github.com/obsproject/loganalyzer
- Owner: obsproject
- License: gpl-2.0
- Created: 2018-02-10T20:51:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-17T18:18:15.000Z (over 1 year ago)
- Last Synced: 2025-04-19T08:23:40.326Z (about 1 year ago)
- Language: Python
- Homepage: https://obsproject.com/tools/analyzer
- Size: 233 KB
- Stars: 57
- Watchers: 19
- Forks: 34
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loganalyzer
Automatic analyzer for logs generated by OBS Studio
## Installation
### Basic Requirements
* (loganalyzer.py) >= Python 3
* (simplehttp.py) >= Python3.8
### Dependencies
```bash
pip install -r requirements.txt
```
`pycodestyle` is used for code formatting.
## Usage
### Web Server
```bash
$ ./simplehttp.py
```
Command line arguments can be accessed via `-h`.
Once launched, the server is available at http://localhost:8080
Responses can be returned in JSON format:
```plain
GET http://localhost:8080/?format=json&url=
```
### Terminal
Run `loganalyzer.py` in your favourite terminal.
```bash
$ ./loganalyzer.py -h
usage: loganalyzer.py [-h] --url URL
optional arguments:
-h, --help show this help message and exit
--url URL, -u URL url of gist
```
The log specified by `URL` will be automatically analyzed. Output looks like:
```plain
Critical: AUTOCONFIG WIZARD, INSUFFICIENT HARDWARE, MP4 RECORDING, RENDERING LAG, CPU OVERLOAD,
Warning:
Info: NOT ADMIN, LOW STREAM BANDWIDTH, NO SCENES/SOURCES,
--------------------------------------
Details
Critical:
AUTOCONFIG WIZARD
The log contains an Auto-config wizard run. Results of this analysis are
....
Warning:
....
Info:
NOT ADMIN
OBS is not running as administrator. This can lead to obs not being able to
....
```