From ecd33b60cfd29085635684409e885e3b74ca8bc3 Mon Sep 17 00:00:00 2001 From: Carolina Ziegler Date: Mon, 15 Dec 2025 16:41:01 +0100 Subject: [PATCH] Generate Subtitles outside of partial-publish Generates Subtitles once in schedule-and-upload. --- .../partial-generate-captions-whisper.xml | 65 ++++ .../files/etc/workflows/partial-publish.xml | 317 ------------------ .../etc/workflows/schedule-and-upload.xml | 23 ++ 3 files changed, 88 insertions(+), 317 deletions(-) create mode 100644 roles/opencast/files/etc/workflows/partial-generate-captions-whisper.xml delete mode 100644 roles/opencast/files/etc/workflows/partial-publish.xml diff --git a/roles/opencast/files/etc/workflows/partial-generate-captions-whisper.xml b/roles/opencast/files/etc/workflows/partial-generate-captions-whisper.xml new file mode 100644 index 0000000..b776e38 --- /dev/null +++ b/roles/opencast/files/etc/workflows/partial-generate-captions-whisper.xml @@ -0,0 +1,65 @@ + + + partial-generate-captions-whisper + Generate Captions with Whisper + + + + + + false + + + + + + + subtitle + -archive + + + + + + + */source + captions/source + archive,subtitle + true + try_presenter_first + + + + + + + captions/source + true + + + + + + + */source + captions/source + archive,subtitle + true + true + try_presenter_first + + + + + \ No newline at end of file diff --git a/roles/opencast/files/etc/workflows/partial-publish.xml b/roles/opencast/files/etc/workflows/partial-publish.xml deleted file mode 100644 index 5537d08..0000000 --- a/roles/opencast/files/etc/workflows/partial-publish.xml +++ /dev/null @@ -1,317 +0,0 @@ - - - - partial-publish - Publish the recording - - - - - */source - */work - -archive - duplicate - - - - - - */work - - - - - - - - - - - - smil/cutting - smil/tmp - - - - - - */work - smil/tmp - smil/tmp - trimmed - false - - - - - - - - - */source - captions/source - archive,subtitle,engage-download - true - try_presenter_first - - - - - - - - - - - - - - - - */trimmed - */search+preview - engage-download - search-cover.http - 3 - - - - - - - - presentation/trimmed - presentation/player+preview - engage-download - player-preview.http - 3 - - - - - - presentation/player+preview - +engage-download - - - - - - - - presenter/trimmed - presenter/player+preview - engage-download - player-preview.http - 3 - - - - - - file://${karaf.etc}/branding/coverimage.xsl - 1920 - 1080 - presenter/coverbackground - presenter/player+preview - archive, engage-download - - - - - - presenter/player+preview - +engage-download - - - - - - - - - */trimmed - */timeline+preview - engage-download - 100 - - - - - - - - - - - - partial-theming - - - - - - - - captions/shifted - captions/delivery - +engage-download - - - - - - - - - - - - - - - - */themed - */delivery - engage-download,engage-streaming - adaptive-parallel.http - - - - - - */trimmed - */delivery - engage-download,engage-streaming - audio-to-m4a.http - - - - - - - - - - - - - - - presentation/themed - engage-download - - - - - - - - presentation/themed - presentation/segment+preview - presentation/delivery - engage-download - engage-download - player-slides.http - - - - - - - - presentation/themed - engage-download - - - - - - - - - - - - - - - - dublincore/*,security/* - engage-download - engage-streaming - false - - - - - - - diff --git a/roles/opencast/files/etc/workflows/schedule-and-upload.xml b/roles/opencast/files/etc/workflows/schedule-and-upload.xml index 814e9d6..84e1bfb 100644 --- a/roles/opencast/files/etc/workflows/schedule-and-upload.xml +++ b/roles/opencast/files/etc/workflows/schedule-and-upload.xml @@ -98,6 +98,29 @@ + + + + + + partial-generate-captions-whisper + + + + + + + + archive + + +