Add a subtitles workflow to Imagen β‘
A new workflow will be required to add subtitle files to audio or video content
Introduction
Only with a subtitles workflow can Imagen add subtitles to audio or video content. The XML below can be used to import a ready-made workflow into an Imagen Workflow Editor. Copy the text below into a text editor and save the file as "Subtitles Workflow.xml.Β Then follow the walkthrough guide.Β
Example Subtitle Workflow XML
<?xml version="1.0" encoding="utf-8"?>
<CISXMLDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Β <Workflow id="872882D8-3C8B-42be-8F46-ED72B3AF32B0" name="Subtitles_Upload" auto-submit="0">
Β Β <ProcessingCostMultiplier>0</ProcessingCostMultiplier>
Β Β <Global-Inputs>
Β Β Β <Input type="Int" sub-type="Record_ID" hidden="false" id="0" name="Record ID" maxOccurs="100">
Β Β Β Β <connection maxOccurs="100">Retrieve Original Video:0</connection>
Β Β Β Β <connection maxOccurs="1">Create annotations:1</connection>
Β Β Β </Input>
Β Β Β <Input type="Int" sub-type="Media_ID-Video" hidden="false" id="1" name="Media ID" maxOccurs="100">
Β Β Β Β <connection maxOccurs="100">Retrieve Original Video:1</connection>
Β Β Β Β <connection maxOccurs="1">Create annotations:2</connection>
Β Β Β </Input>
Β Β </Global-Inputs>
Β Β <Workflow-Elements>
Β Β Β <Workflow-Element id="Create annotations" type="CIS_CreateAnnotations" name="Create annotations" version="1.000000" locationX="529" locationY="310">
Β Β Β Β <Inputs>
Β Β Β Β Β <Pin type="FQ_MediaObject" hidden="false" id="0" name="Media" minOccurs="-1" />
Β Β Β Β Β <Pin type="Int" sub-type="Record_ID" hidden="false" id="1" name="Record ID" />
Β Β Β Β Β <Pin type="Int" sub-type="Media_ID,Layer_out-;Explicit Content;Label Detection;Logos;Object Tracking;Scenes;Transcript;Text Detection;Audio Effects;Blocks;Emotions;Faces;Frame Patterns;Keywords;Named Locations;Named People;Sentiments;Shots;Speakers;Topics" hidden="false" id="2" name="Media ID" minOccurs="-1" />
Β Β Β Β </Inputs>
Β Β Β Β <Outputs>
Β Β Β Β Β <Pin type="Text" hidden="false" id="0" name="Completed" />
Β Β Β Β </Outputs>
Β Β Β Β <Properties>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="0" name="LayerName" />
Β Β Β Β Β <Parameter type="Text" hidden="false" id="1" name="ExplicitContentDetection">Explicit Content</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="2" name="LabelDetection">Label Detection</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="3" name="LogoRecognition">Logos</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="4" name="ObjectTracking">Object Tracking</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="5" name="ShotChangeDetection">Scenes</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="6" name="SpeechTranscription">Transcript</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="7" name="TextDetection">Text Detection</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="8" name="AudioEffects">Audio Effects</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="9" name="Blocks">Blocks</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="10" name="Emotions">Emotions</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="11" name="Faces">Faces</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="12" name="FramePatterns">Frame Patterns</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="13" name="Keywords">Keywords</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="14" name="NamedLocations">Named Locations</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="15" name="NamedPeople">Named People</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="16" name="Sentiments">Sentiments</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="17" name="Shots">Shots</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="18" name="Speakers">Speakers</Parameter>
Β Β Β Β Β <Parameter type="Text" hidden="false" id="19" name="Topics">Topics</Parameter>
Β Β Β Β Β <Parameter type="Int" hidden="false" id="20" name="MinimumConfidence">0</Parameter>
Β Β Β Β </Properties>
Β Β Β </Workflow-Element>
Β Β Β <Workflow-Element id="Retrieve Original Video" type="CIS_RetrieveMedia" name="Media Retriever" version="2.000000" locationX="219" locationY="307">
Β Β Β Β <Inputs>
Β Β Β Β Β <Pin type="Int" sub-type="Record_ID" hidden="false" id="0" name="Record ID" maxOccurs="100" />
Β Β Β Β Β <Pin type="Int" sub-type="Media_ID" hidden="false" id="1" name="Media ID" maxOccurs="100">
Β Β Β Β Β Β <Dependence condition="P1:">
Β Β Β Β Β Β Β <Attribute id="""Media_ID-"":P1"subtype"" attribute="subtype" />
Β Β Β Β Β Β </Dependence>
Β Β Β Β Β </Pin>
Β Β Β Β Β <Pin type="Int" sub-type="Profile" hidden="false" id="2" name="Profile" minOccurs="0" maxOccurs="100">
Β Β Β Β Β Β <Dependence condition="P1:-1">
Β Β Β Β Β Β Β <Attribute attribute="minOccurs">1</Attribute>
Β Β Β Β Β Β </Dependence>
Β Β Β Β Β </Pin>
Β Β Β Β Β <Pin type="Int" sub-type="Start_Frame" hidden="false" id="3" name="Start" minOccurs="-1" maxOccurs="100" />
Β Β Β Β Β <Pin type="Int" sub-type="End_Frame" hidden="false" id="4" name="End" minOccurs="-1" maxOccurs="100" />
Β Β Β Β Β <Pin type="Text" sub-type="ExternalURLs" hidden="false" id="6" name="ExternalURLs" minOccurs="-1" />
Β Β Β Β </Inputs>
Β Β Β Β <Outputs>
Β Β Β Β Β <Pin type="FQ_MediaObject" sub-type="Video" hidden="false" id="0" name="Media" maxOccurs="100" />
Β Β Β Β Β <Pin type="FQ_MediaObject" sub-type="Image" hidden="false" id="1" name="Custom Image" maxOccurs="100" propertyIDForCount="3" />
Β Β Β Β Β <Pin type="FQ_MediaObject" sub-type="Subtitles" hidden="false" id="2" name="Subtitles (English GB (en-GB))" maxOccurs="100" />
Β Β Β Β </Outputs>
Β Β Β Β <Properties>
Β Β Β Β Β <Parameter type="Int" hidden="false" id="0" name="Database">13</Parameter>
Β Β Β Β Β <Parameter type="Int" sub-type="Video" hidden="false" id="1" name="Profile">-2</Parameter>
Β Β Β Β Β <Parameter type="Int" hidden="false" id="2" name="Flags">1</Parameter>
Β Β Β Β Β <Parameter type="Count" hidden="false" id="3" name="Output Count">0</Parameter>
Β Β Β Β Β <Parameter type="Text" sub-type="Subtitle" hidden="false" id="4">en-GB</Parameter>
Β Β Β Β </Properties>
Β Β Β Β <Connections>
Β Β Β Β Β <Connector id="2">
Β Β Β Β Β Β <connection maxOccurs="1">Create annotations:0</connection>
Β Β Β Β Β </Connector>
Β Β Β Β </Connections>
Β Β Β </Workflow-Element>
Β Β </Workflow-Elements>
Β Β <Client-Attributes>
Β Β Β <Usage>GeneralUse</Usage>
Β Β Β <Database>13</Database>
Β Β Β <Allow-Batch>1</Allow-Batch>
Β Β Β <SingleJob>false</SingleJob>
Β Β Β <ACL>
Β Β Β Β <Role RoleID="8" Type="2" Rights="1" Organisation="">Imagen Ltd SSO</Role>
Β Β Β </ACL>
Β Β </Client-Attributes>
Β Β <EmailProperties version="" updateType="None">
Β Β Β <Properties />
Β Β </EmailProperties>
Β </Workflow>
</CISXMLDocument>
Walkthrough Guide
Can't see the guide below? Open it in a new tab ↗ (may not work when viewing this page in SharePoint)
If SharePoint blocks the link, copy this address and paste it into a new browser tab:
https://scribehow.com/embed/How_to_add_a_subtitle_workflow__LP6FEFSQR6Oo4H4GUlCfrg?as=scrollable&removeLogo=true
Β