https://github.com/eeddaann/qc-tools-automations
https://github.com/eeddaann/qc-tools-automations
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eeddaann/qc-tools-automations
- Owner: eeddaann
- Created: 2020-01-28T20:55:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T20:56:47.000Z (over 6 years ago)
- Last Synced: 2025-10-28T14:06:00.512Z (9 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qc-tools-automations
This repo contains the automations for the following workflow:
1. Video added to the input folder.
2. Qcli analyze the video and create *.xml.gz file.
3. Python script triggered and summerizes the *.xml.gz file.
4. The script sends the data as a log to elasticsearch.
## Installtion
1. Verify that ```inotify-tools``` installed by running:
```bash
inotifywait --help | head -1
```
the output should be something like:
```bash
inotifywait 3.14
```
2. Let’s grant execute permissions on ```qc-watcher.sh```:
```bash
chmod u+x qc-watcher.sh
```
3. Run the script via:
```bash
./qc-watcher.sh
```
4. Download ```qcli``` from:
https://mediaarea.net/download/binary/qcli/1.0/
## Logs
### metrics log:
```
{
'min_y':7.0,
'max_y':248.0,
'min_u':7.0,
'max_u':248.0,
'min_v':12.0,
'max_v':245.0
}
```
### operational log:
```
{
'script_version':'0.1',
'video_size_bytes':2565759,
'qcli_duration':29.675265,
'metrics_extraction_duration':1.489104,
'status':'success',
'total_duration':31.165828
}
```