Ad Insertion Sample Reference Implementation

Published: 12/02/2021  

Last Updated: 01/12/2022

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 ad

  • 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:

Ad Insertion Sample Architecture Diagram
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: 

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.