Ad Insertion Sample Reference Implementation

ID 标签 713644
已更新 1/12/2022
版本 Latest
公共

author-image

作者

Overview

Powered by Open Visual Cloud. Delivers an end-to-end server-side ad insertion system, which features on-demand video transcoding and streaming, and ad insertion based on video content analysis. It analyzes video content on the fly and inserts personalized advertisements, with transcoding if needed, into the video stream at each advertisement break slot. 

Select Configure & Download to download the sample and the software listed below.   

Configure & Download

Ad Insertion Sample image of dog eating with the words "Dogs love barks."

  • Time to Complete: Approximately 40-50 minutes
  • Programming Language: Python*, JavaScript*, Shell*
  • Available Software: 
    • GStreamer
    • FFmpeg
    • Intel® Distribution of OpenVINO™ toolkit

Target System Requirements 

  • Intel® Xeon® platform, 64 GB RAM or higher 
  • Recommended OS: Ubuntu* 18.04 / CentOS* 7 
  • Disk Space needed: 7 GB (Source: 1 GB, Docker* Images: 6 GB )

How It Works

The E2E sample implements a server-side AD insertion system, which features on-demand video transcoding and streaming, and AD insertion based on video content analysis.

The Content Provider service serves original content, with on-demand transcoding, through the DASH or HLS streaming protocol. The AD Insertion service analyzes video content on the fly and inserts AD, with transcoding if needed, into the video stream at each AD break slot.

See the Demo Video

Software Stacks

The sample is powered by the following Open Visual Cloud software stacks:

The architecture diagram consists of the Ad Content Service, Ad Insertion Service, Content Provider Service, CDN, Client Player, Account Service and Ad Decision Service.
Figure 1: Architecture Diagram

 

 


Get Started

Prerequisites

Follow the steps on GitHub to install the prerequisites.

Install the Sample

Select Configure & Download to download the sample.   

Configure & Download 

Build the Sample  

Follow the steps on GitHub to build the sample.

Run the Sample 

Follow the steps on GitHub to run the sample.


Learn More

To continue learning, see the following guides and software resources: 

"