Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| subtitles [2021/02/20 13:54] – andi | subtitles [2026/07/26 21:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | = Subtitles / Untertitel | + | # Subtitles / Untertitel |
| + | [software: | ||
| + | über die publizierte Vorträge Untertitel bekommen können: | ||
| - | === Architecture overview in context of media.ccc.de | + | \- die klassischen Workflows über die Django-App auf c3subtitles.de |
| + | ([subtitleStatus](https:// | ||
| + | Whisper/ | ||
| + | [Publishing API](https:// | ||
| - | {{:: | + | Vereinfacht gesagt geht es dabei immer um zwei Tasks: |
| - | <callout type="warning"> | + | \- das Publizieren der SRT/VTT Datei - das Anlegen der Metadaten (aka |
| + | "Subtitle Recording") in voctoweb, damit die Untertitel auch im Player | ||
| + | angezeigt werden | ||
| - | * Sync-Skript von subtitlesStatus -> vocotoweb: https:// | + | ## Publishing Gateway/API |
| - | * systemd Timer auf [[intern: | + | |
| - | * https:// | + | |
| - | * Dashboard mit Übersicht des Transkriptionsstatus pro Konferenz und Vortrag | + | |
| - | * Workflow-Manager | + | |
| - | * … | + | |
| - | * schiebt fertige Untertitel-Dateien (SRT) per rsync auf mirror.selfnet.de | + | |
| + | Um sich nicht mit den Eigenheiten der c3voc Infrastrktur herumschlagen | ||
| + | zu müssen wurde 2023/2024 eine REST API eingerichtet die es erlaubt | ||
| + | Zusatzdaten wie Slides, Subtitles etc. rein per REST zu publizieren, | ||
| + | ohne das SFTP o.ä. verwendet werden muss: | ||
| - | == CSV-Export from C3Subtitles: | + | \- <https:// |
| + | < | ||
| - | https://c3subtitles.de/media_export/ | + | Die dazu notwendigen API Keys sind aktuell noch statisch konfiguriert, |
| + | sollen aber perspektivisch an <https://sso.c3voc.de/> angebunden werden. | ||
| - | Example: | + | ## Transcribee |
| - | ^ `GUID` ^ `complete` ^ `media_language` ^ `srt_language` ^ `last_changed_on_amara` ^ `revision` ^ `url` ^ `touched` ^ `amara_key` ^ `amara_language` ^ `state` ^ `amara_subtitle_url` ^ | + | TBD |
| - | | db11e86c-ecf8-40c0-b8d8-2f6798507146 | False | eng | en | 1-01-01T00: | + | |
| - | | 221560a2-7470-4e90-9190-99a2bef53238 | False | deu | de | 1-01-01T00: | + | |
| - | | 6beabddc-2dd6-43d2-9936-618d41d42cde | True | deu | de | 1-01-01T00: | + | |
| - | | 7bdf7688-8620-4170-93bf-3c2adfd30030 | False | deu | de | 1-01-01T00: | + | |
| - | | 52ce1398-fa9b-4bd3-aa9e-6a49a764ac2c | True | deu | de | 1-01-01T00: | + | |
| - | | 1cff41a8-455e-42a6-ab08-d6cb166e7d3b | False | deu | de | 1-01-01T00: | + | |
| + | ## Classic workflow via c3subtitles.de/ | ||
| - | To download the raw (draft) subtitles from Amara, append use `https://amara.org/ | + | \< |
| + | alten Workflow, der aktuell nicht mehr aktiv in Verwendung ist. Das Team | ||
| + | hat hatte zwischenzeitlich eigene Infrastruktur unter | ||
| + | <https://wiki.c3subtitles.de> die bei selfnet gehostet war – inzwischen | ||
| + | ist diese VM aber leider aus unbekannten Gründen nicht mehr erreichbar. | ||
| + | \</callout\> | ||
| + | Components | ||
| - | === States | + | \- |
| + | [sync_media_recordings.py](https:// | ||
| + | uses CSV export from \`subtitlesStatus\` to publish subtiles in | ||
| + | [vocotoweb](vocotoweb) via REST API: | ||
| - | For voctoweb | + | - was running every 10 minutes via systemd timer |
| + | [intern: | ||
| - | ^ ID ^ c3subtitles | + | \- \[subtitleStatus\](< |
| - | | 1 | Nothing available yet | irrelevant should not exist | | + | (Django-App @ c3subtitles.de) |
| - | | 2 | Transcribed until | should exist | | + | |
| - | | 3 | Transcript finished | might exist - still no timestamps | | + | |
| - | | 4 | Please do not touch, work in progress | Autotiming in process no timestamps | | + | |
| - | | 5 | Synced until | rare case of syncing by hand | | + | |
| - | | 6 | Syncing finished | with timestamps, usable as draft | | + | |
| - | | 7 | Quality control done until | with timestamps, usable as draft | | + | |
| - | | 8 | Job completed | finished, obviously with timestamps and usable | | + | |
| - | | 9 | Unknown | should not exist | | + | |
| - | | 11 | Translated until | translation, | + | |
| - | | 12 | Translation is finished | finished, obviously with timestamps and usable | | + | |
| + | - Dashboard mit Übersicht des Transkriptionsstatus pro Konferenz und | ||
| + | Vortrag | ||
| + | - Workflow-Manager | ||
| + | - … | ||
| + | - schiebt fertige Untertitel-Dateien (SRT) per rsync auf | ||
| + | mirror.selfnet.de | ||
| - | == Communication | + |  only states 7, 8 and 12 are relevant. | ||
| + | Subtitle files in all other states should be ignored. | ||
| + | ![](tablelayout? | ||
| + | information ^ | ||
| + | | | ||
| + | |-----|------------|---------------------------------------|------------------------------------------------| | ||
| + | | 1 | ||
| + | | 2 | todo | Transcribed until | should exist | | ||
| + | | 3 | ||
| + | | 4 | ||
| + | | 5 | ||
| + | | 6 | ||
| + | | 7 | draft | Quality control done until | with timestamps, usable as draft | | ||
| + | | 8 | complete | ||
| + | | 9 | ||
| + | | 11 | todo | Translated until | translation, | ||
| + | | 12 | translated | Translation is finished | ||
| - | [[intern: | ||