This article covers how to edit the source track file in the Azure portal.
To manage tracks, you have two options: use the API to perform full CRUD operations, or edit the manifest file directly using the steps from this article.
In this article:
View the caption streams in the manifest
Find the track
List asset tracks in the portal
- Navigate to the storage account linked to your RMS deployment.
- Select Storage browser > Blob container. The Assets list will appear.
- Locate the target asset and select it to open the asset container.
Edit the track
There are two ways to edit the track. You can either edit the track in the Azure portal or download the track and edit it locally.
Important: Be careful not to edit the timestamps.
Edit the track in the Azure portal
- Click on the track file you want to edit.
- Select the Edit tab. The Captions editing screen will appear.
- Edit the file.
- Select Save.
Download and edit the track
- Click on the track file you want to edit.
- Select Download. Save the file locally.
- Open the file in your favorite text editor.
- Edit the text or correct anything that AI Video Indexer didn't capture.
- Save the edited file.
Upload captions
- Click Upload from the asset menu (see List asset tracks in the portal).
- Select a track file (
VTT,SRTorTTL). - Call Tracks - Create or Update via API.
View the caption streams in the manifest
View the manifest to see the track changes in the manifest file.
- You should already be on the output asset screen.
- Select the
.ismfile from the file list. - Select Edit.
- Look for the following XML above the
</switch>element, changing the track file names to the ones you've uploaded.
<textstream src="sample_(en-US).vtt" systemBitrate="0" systemLanguage="en-US">
<param name="systemLanguage" value="en-US" valueType="data" />
<param name="trackName" value="text_v-track-name-2" valueType="data" />
<param name="armId" value="v-track-name-2" valueType="data" />
<param name="textDisplayName" value="eng-cc" valueType="data" />
<param name="transcriptsrc" value="sample_(en-US).vtt" valueType="data" />
<param name="outputFlag" value="3" valueType="data" />
<param name="textIsHlsForce" value="False" valueType="data" />
<param name="textHlsCharacteristic" value="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound,public.easy-to-read" valueType="data" />
<param name="textIsDefault" value="True" valueType="data" />
</textstream>5. Call Tracks - Update Track Data. Changes become visible after the 2-hour cache expires. The cache timer resets each time the streaming URL is loaded or played, so make sure to reload it after calling the operation.