Captions in the video editor

89 views
Skip to first unread message

Michalko161

unread,
May 20, 2021, 9:44:52 AM5/20/21
to Opencast Users
Hello,

is there already a way, or is anything planned, that applies trimming in the video editor to the linked text/vtt captions?

Greeting,
Michi

Lars Kiesow

unread,
May 22, 2021, 12:11:19 PM5/22/21
to us...@opencast.org
Hi Michi,
I haven't tried but I'm confident that the editor can already do that
as long as you add the subtitle as a track and not as an attachment to
the media package.
–Lars

Michalko161

unread,
May 25, 2021, 7:54:59 AM5/25/21
to Opencast Users, Lars Kiesow
Thank you for the answer. Now my question is, how can I add the subtitles as a track. I cannot find an option to do that.

Karen Dolan

unread,
May 25, 2021, 8:37:23 AM5/25/21
to 'Ruth Lang' via Opencast Users, Lars Kiesow
Hi Michi,

I have not tried this, but, if you wish to experiment uploading a transcript as a track. You can try the following with a manual event upload, using documentation from https://docs.opencast.org/r/9.x/admin/#configuration/admin-ui/asset-upload/.

The config file to edit is: etc/listproviders/event.upload.asset.options.properties

The following are the usual WEBVTT upload config but the type is changed to "track". 

1. Use this key to only upload transcripts with new events in the New Event source tab (only visible when adding a new event)

EVENTS.EVENTS.NEW.SOURCE.UPLOAD.CAPTIONS_WEBVTT={\
"id":"attachment_captions_webvtt",
"type": "track",\
"flavorType": "text",\
"flavorSubType": "webvtt",\
... more options such as displayOrder, etc

2. To upload the WEBVTT in the asset upload UI, visible with new and existing events, use the regular WEBVTT key. Uploading to an existing event will not be useful unless you create a workflow to trim the transcript with the mediapackage's SMIL file (if you archive your SMIL files).

EVENTS.EVENTS.NEW.UPLOAD_ASSET.OPTION.CAPTIONS_WEBVTT={\
"id":"attachment_captions_webvtt",
"type": "track",\
"flavorType": "text",\
"flavorSubType": "webvtt",\
... more options such as displayOrder, etc


Best,
Karen

--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.

Karen Dolan

unread,
May 25, 2021, 8:40:44 AM5/25/21
to 'Ruth Lang' via Opencast Users
And change the id 
from "id":"attachment_captions_webvtt"
to "id":"track_captions_webvtt",
Reply all
Reply to author
Forward
0 new messages