Skip to content

Commit 05c23ea

Browse files
committed
video translation api refresh
1 parent 4a72de2 commit 05c23ea

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

articles/ai-services/speech-service/includes/how-to/video-translation/ai-foundry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/4/2025
8+
ms.date: 3/8/2025
99
ms.custom: references_regions
1010
---
1111

articles/ai-services/speech-service/includes/how-to/video-translation/rest.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/4/2025
8+
ms.date: 3/8/2025
99
ms.custom: references_regions
1010
---
1111

@@ -529,6 +529,17 @@ WEBVTT
529529
```
530530
---
531531

532+
### WebVTT with JSON properties
533+
534+
The WebVTT file with JSON properties contains metadata about the translation process. Each subtitle segment includes properties that provide additional information about the translation. Here's a breakdown of the properties:
535+
- `globalMetadata`: This section contains metadata about the speakers in the video. The "speakers" property is an object that contains information about each speaker. Each speaker is identified by a unique ID (e.g., "Speaker0"). The "defaultSsmlProperties" property contains the default SSML properties for the speaker's voice.
536+
- `id`: This is a unique identifier for each subtitle segment. It helps to identify the specific segment of text in the WebVTT file.
537+
- `speakerId`: This property indicates the ID of the speaker for the corresponding subtitle segment. It should match the speaker ID defined in the "globalMetadata" section.
538+
- `ssmlProperties`: This section contains properties related to the speaker's voice. It can include properties like "voiceName" and "voiceKind". The "voiceName" is the name of the voice used for synthesis, and the "voiceKind" indicates whether it's a platform voice or a personal voice.
539+
- `sourceLocaleText`: This property contains the original text in the source language. If you only make changes to `sourceLocaleText`, the system will translate the updated `sourceLocaleText` and use the new translation for synthesis. If you make changes to both `sourceLocaleText` and `translatedText`, the system will ignore the changes to `sourceLocaleText` and use the updated `translatedText` for synthesis.
540+
- `translatedText`: This property contains the translated text in the target language. It represents the text that will be synthesized in the translated video. If you only make changes to `translatedText`, the system will use the updated translatedText for synthesis.
541+
542+
532543
## Step 4: Create additional iterations (Optional)
533544

534545
You can create additional iterations to improve the translation quality. The process is similar to creating the first iteration.

articles/ai-services/speech-service/includes/how-to/video-translation/speech-studio.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/4/2025
8+
ms.date: 3/8/2025
99
ms.custom: references_regions
1010
---
1111

12-
[!INCLUDE [Feature preview](../../../../includes/preview-feature.md)]
13-
1412
In this article, you learn how to use video translation with Azure AI Speech in the [Speech Studio](https://aka.ms/speechstudio).
1513

1614
## Pre-requisites

articles/ai-services/speech-service/video-translation-get-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ zone_pivot_groups: foundry-speech-studio-rest
1414

1515
# How to use video translation
1616

17+
[!INCLUDE [Feature preview](./includes/preview-feature.md)]
18+
1719
::: zone pivot="ai-foundry-portal"
1820
[!INCLUDE [Foundry portal include](./includes/how-to/video-translation/ai-foundry.md)]
1921
::: zone-end

0 commit comments

Comments
 (0)