Skip to content

Commit 97387df

Browse files
authored
Merge pull request #95931 from Juliako/vi
new files
2 parents a1bc21a + f5743af commit 97387df

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Live stream analysis using Video Indexer
3+
titleSuffix: Azure Media Services
4+
description: This article shows how to perform a live stream analysis using Video Indexer.
5+
services: media-services
6+
author: Juliako
7+
manager: femila
8+
9+
ms.service: media-services
10+
ms.subservice: video-indexer
11+
ms.topic: article
12+
ms.date: 11/13/2019
13+
ms.author: juliako
14+
---
15+
16+
# Live stream analysis with Video Indexer
17+
18+
Azure Media Services Video Indexer is an Azure service designed to extract deep insights from video and audio files offline. This is to analyze a given media file already created in advance. However, for some use cases it's important to get the media insights from a live feed as quick as possible to unlock operational and other use cases pressed in time. For example, such rich metadata on a live stream could be used by content producers to automate TV production,. For example, the [Endemol Shine Group](https://customers.microsoft.com/story/esg-media-telecommunications-azure), where journalists of a newsroom searched the live feeds to build notification services based on the content.
19+
20+
A solution described in this article, allows customers to use Video Indexer in near real-time resolutions on live feeds. The delay in indexing can be as low as four minutes using this solution, depending on the chunks of data being indexed, the input resolution, the type of content and the compute powered used for this process.
21+
22+
![The Video Indexer metadata on the live stream](./media/live-stream-analysis/live-stream-analysis01.png)
23+
24+
*Figure 1 – Sample player displaying the Video Indexer metadata on the live stream*
25+
26+
The [stream analysis solution](https://github.com/Azure-Samples/media-services-dotnet-functions-integration/blob/master/media-functions-for-logic-app/LiveStreamAnalysis.md) at hand, uses Azure Functions and two Logic Apps to process a live program from a live channel in Azure Media Services with Video Indexer and displays the result with Azure Media Player showing the near real-time resulted stream.
27+
28+
In high level, it is comprised of two main steps. The first step runs every 60 seconds, and takes a subclip of the last 60 seconds played, creates an asset from it and indexes it via Video Indexer. Then the second step is called once indexing is complete. The insights captured are processed, sent to Azure Cosmos DB, and the subclip indexed is deleted.
29+
30+
The sample player plays the live stream and gets the insights from Azure Cosmos DB, using a dedicated Azure Function. It displays the metadata and thumbnails in sync with the live video.
31+
32+
![The two logic apps processing the live stream every minute in the cloud](./media/live-stream-analysis/live-stream-analysis02.png)
33+
34+
*Figure 2 – The two logic apps processing the live stream every minute in the cloud.*
35+
36+
## Step-by-step guide
37+
38+
The full code and a step-by-step guide to deploy the results can be found in [GitHub project for Live media analytics with Video Indexer](https://aka.ms/livestreamanalysis).
39+
40+
## Next steps
41+
42+
[Video Indexer overview](video-indexer-overview.md)
553 KB
Loading
79.1 KB
Loading
66.5 KB
Loading

articles/media-services/video-indexer/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
items:
1616
- name: Use Video Indexer API
1717
href: video-indexer-use-apis.md
18+
- name: Samples
19+
items:
20+
- name: Live stream analysis
21+
href: live-stream-analysis.md
1822
- name: Concepts
1923
items:
2024
- name: Overview

0 commit comments

Comments
 (0)