You can automatically generate captions (more accurately called subtitles) from the audio track of your videos using the Azure AI Video Indexer service. This article will guide you through the process of registering your Video Indexer account with RMS.
Before you begin
The Video Indexer account is not created during the RMS deployment. Consequently, you'll need to create a Video Indexer account or use an existing Video Indexer account. The Video Indexer account must exist outside of the RMS managed resource group.
Procedure
- Create the Azure AI Video Indexer account. Follow these instructions from Microsoft Learn to create the account ✅ Create a video indexer account (azure)
- Assign the RMS managed identity a Contributor role in the Video Indexer account
- Go to the RMS managed resource group and locate the “Managed Identity” section. Find the RMS user assigned managed identity. Its name is id-rms-{unique-suffix}. Copy this name for use later in the procedure.
- Go to your Azure AI Video Indexer
- Navigate to "Access Control (IAM)"
- Press the "Add">"Add role assignment"
- Switch the tab to "Privileged administrator roles" and press the "Contributor" role
- Click on "Managed identity" and "Select members"
- In the side panel set the Managed identity as "User-assigned managed identity" and in the Select field select the RMS managed identity you copied earlier.
8. Finally, click Select, then Review+assign.
You have now assigned the RMS managed identity to the Video Indexer and RMS can now access the account.
Register the Azure AI Video Indexer account in the RMS Management Console
1. You will need the following data to register the Video Indexer:
- Video Indexer Account name
- Resource group where the Video Indexer has been created
- Subscription ID
2. Go to the RMS Console > Account Settings
3. Click the button on the right side of Video Indexer accounts list.
4. Enter the Video Indexer account details and click Add video indexer account.
API Endpoint
Once Video Indexer was added, its record becomes visible in Account Settings.
The API Endpoint field indicates which Video Indexer environment your account is using and can't be edited.
There are 2 possible options for the API endpoints for Video Indexer:
-
https://api.videoindexer.ai
- Azure Commercial -
https://api.videoindexer.ai.azure.us
- Azure Government
This completes the setup process for Video Indexer in RMS. Once configured, begin using Video Indexer's capabilities to generate closed captions for your content (e.g., using the AudioAnalyzer preset).