Skip to content
Snippets Groups Projects
Commit 93203f4f authored by Jan Hartig's avatar Jan Hartig
Browse files

Architecture documentation

parent 8de1dd9c
No related branches found
No related tags found
1 merge request!4Merge new features and fixes
...@@ -9,6 +9,36 @@ ...@@ -9,6 +9,36 @@
- Optional: Sends monitoring data to webserver - Optional: Sends monitoring data to webserver
## Job folders
Jobs are given a randomly generated uuid. A job folder looks like this:
```
job_uuid:
- audio.mkv
- video_language.txt
- metadata.json
- statefile (new/done/error)
```
### audio.mkv
Preprocessed input file. Contains only audio data to conserve disk space.
### video_language.txt
Contains the video language tag used for processing with [whisper-webvtt-transcriber](https://gitlab1.ptb.de/janhartig/whisper-webvtt-transcriber).
Is used by the cronjob script (step 3).
### metadata.json
Used by mailservice (step 4).
```json
{
"email": "example@example.com",
"language": "de",
"video_language": "de",
"filename": "original_filename.original_file_extension"
}
```
### statefile
State is tracked through the following files in the jobs folder: State is tracked through the following files in the jobs folder:
- new: Job has been submitted by user - new: Job has been submitted by user
- done: Job has been processed without errors - done: Job has been processed without errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment