Skip to content

Commit 4694c12

Browse files
committed
new topic
1 parent b64184f commit 4694c12

File tree

4 files changed

+900
-1585
lines changed

4 files changed

+900
-1585
lines changed

articles/media-services/latest/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@
138138
- name: Time-shifting and live-to-VOD
139139
displayName: archive, dvr
140140
href: live-event-cloud-dvr.md
141+
- name: Live transcription
142+
href: live-transcription.md
141143
- name: Feature comparison
142144
href: live-event-types-comparison.md
143145
- name: States and billing
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
title: Using Azure Media Services time-shifting and live-to-VOD (video on demand) | Microsoft Docs
3+
description: This article explains what Live Output is and how to use a cloud DVR.
4+
services: media-services
5+
documentationcenter: ''
6+
author: Juliako
7+
manager: femila
8+
editor: ''
9+
10+
ms.service: media-services
11+
ms.workload: media
12+
ms.tgt_pltfrm: na
13+
ms.devlang: ne
14+
ms.topic: article
15+
ms.date: 08/27/2019
16+
ms.author: juliako
17+
18+
---
19+
20+
# Live transcription (preview)
21+
22+
Azure Media Service delivers video, audio, and now text in different protocols. When you publish your live stream using MPEG-DASH or HLS/CMAF, then along with video and audio, our service will deliver the transcribed text in IMSC1.1 compatible TTML, packaged into MPEG-4 Part 30 (ISO/IEC 14496-30) fragments. If using delivery via HLS/TS, then text is delivered as chunked VTT.
23+
24+
This article describes how to enable live transcription when streaming a Live Event with Azure Media Services v3. Before you proceed, make sure you are familiar with the use of Media Services v3 REST APIs (see [this tutorial](stream-files-tutorial-with-rest.md) for details). You should also be familiar with the [live streaming](live-streaming-overview.md) concept. It is recommended to complete the [Stream live with Media Services](stream-live-tutorial-with-api.md) tutorial).
25+
26+
> [!NOTE]
27+
> Currently, live transcription is only available as a preview feature in the West US 2 region. It supports transcription of spoken words in English to text. The API reference for this feature is in this document – since it is in preview, the details are not available with our REST documents.
28+
29+
## Creating the Live Event
30+
31+
To create the Live Event, you would send the PUT operation to the 2019-05-01 version, such as:
32+
33+
```
34+
PUT https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Media/mediaServices/:accountName/liveEvents/:liveEventName?api-version=2019-05-01-preview&autoStart=true
35+
```
36+
37+
The operation has the following body (where a pass-through Live Event is created with RTMP as the ingest protocol). Note the addition of a transcriptions property. The only allowed value for language is en-US.
38+
39+
```
40+
{
41+
"properties": {
42+
"description": "Demonstrate how to enable live transcriptions",
43+
"input": {
44+
"streamingProtocol": "RTMP",
45+
"accessControl": {
46+
"ip": {
47+
"allow": [
48+
{
49+
"name": "Allow All",
50+
"address": "0.0.0.0",
51+
"subnetPrefixLength": 0
52+
}
53+
]
54+
}
55+
}
56+
},
57+
"preview": {
58+
"accessControl": {
59+
"ip": {
60+
"allow": [
61+
{
62+
"name": "Allow All",
63+
"address": "0.0.0.0",
64+
"subnetPrefixLength": 0
65+
}
66+
]
67+
}
68+
}
69+
},
70+
"encoding": {
71+
"encodingType": "None"
72+
},
73+
"transcriptions": [
74+
{
75+
"language": "en-US"
76+
}
77+
],
78+
"vanityUrl": false,
79+
"streamOptions": [
80+
"Default"
81+
]
82+
},
83+
"location": "West US 2"
84+
}
85+
```
86+
87+
You should poll the status of the Live Event until it goes into the “Running” state, which indicates that you can now send a contribution RTMP feed. You can now follow the same steps as in this tutorial, such as checking the preview feed, and creating Live Outputs.
88+
89+
## Delivery and playback
90+
91+
Review the [Dynamic packaging overview](dynamic-packaging-overview.md#to-prepare-your-source-files-for-delivery) article of how our service uses dynamic packaging to deliver video, audio, and now text in different protocols. When you publish your live stream using MPEG-DASH or HLS/CMAF, then along with video and audio, our service will deliver the transcribed text in IMSC1.1 compatible TTML, packaged into MPEG-4 Part 30 (ISO/IEC 14496-30) fragments. If using delivery via HLS/TS, then text is delivered as chunked VTT. You can use a web player such as the [Azure Media Player](use-azure-media-player.md) to play the stream.
92+
93+
## Known issues
94+
95+
At preview, following are the known issues with Live Transcription
96+
97+
* The feature is available only in West US 2.
98+
* Applications need to use the preview APIs, described in the [Media Services v3 OpenAPI Specification](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json) specification.
99+
* The only supported language is English.
100+
* With respect to content protection, only AES envelope encryption is supported.
101+
102+
## Next steps
103+
104+
[Media Services overview](media-services-overview.md)
-2.82 KB
Loading

0 commit comments

Comments
 (0)