Skip to content

video Indexer in auto-clipper MMI-3401#2550

Open
JacobWang-bc wants to merge 13 commits intodevfrom
indexer
Open

video Indexer in auto-clipper MMI-3401#2550
JacobWang-bc wants to merge 13 commits intodevfrom
indexer

Conversation

@JacobWang-bc
Copy link
Collaborator

This PR adds Azure Video Indexer as an optional transcription provider for AutoClipper, enabling speaker identification in transcripts (e.g., speaker1: Welcome to the news...).
What changed
Core implementation in services/net/auto-clipper/:
Azure/AzureVideoIndexerClient.cs - New API client for Video Indexer
Pipeline/ClipProcessingPipeline.cs - Provider selection based on station config
AutoClipperManager.cs - Speaker prefix in transcript output
Config/Stations/CHAN.yml - Example station using Video Indexer
OpenShift deployment in openshift/kustomize/services/auto-clipper/:
Added azure-video-indexer secret configuration (all env vars are optional)
Local testing tool in tools/auto-clipper-harness/ - Can be skipped during review.

How to use in local
Create video content for the 'CHAN' media in the editor site and clicking the 'Clip' button. Make sure you have already updated the .env file in the auto-clipper folder.

Configure Azure Video Indexer

Service__AzureVideoIndexerAccountId=ddxxxxx
Service__AzureVideoIndexerLocation=trial
Service__AzureVideoIndexerApiKey=0fxxxxx

- Introduced VideoIndexerClient for handling video uploads and transcript extraction with speaker identification.
- Added VideoIndexerRequest class for configuring transcription requests.
- Enhanced Program.cs to support Azure Video Indexer as a provider, including error handling for output directory creation.
- Updated README.md with new configuration options and output details.
- Implemented TranscriptSegment for managing transcript segments with optional speaker identification.
- Improved transcript handling to include speaker labels when enabled.
@JacobWang-bc JacobWang-bc requested review from AlessiaYChen and Fosol and removed request for Fosol February 3, 2026 17:30
@Fosol Fosol added the enhancement New feature or request label Feb 3, 2026
Copy link
Collaborator

@Fosol Fosol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice and clean. Thanks for updating Infrastructure as Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants