Zynq UltraScale+ MPSoC VCU TRD 2022.2 - Multi Stream Audio Video Capture and Display

Zynq UltraScale+ MPSoC VCU TRD 2022.2 - Multi Stream Audio Video Capture and Display

This page provides all the information related to Design Module 3 - VCU TRD Multi stream Audio-Video Capture and Display design.

Table of Contents

1 Overview

The primary goal of this Design is to demonstrate the capabilities of the VCU hard block present in Zynq UltraScale+ EV devices with a soft audio codec. The TRD will serve as a platform to tune the performance parameters of the VCU and arrive at optimal configurations for encoder and decoder blocks with audio-video synchronization.

This design supports the following video interfaces:

Sources:

  • HDMI-Rx capture pipeline implemented in the PL

  • MIPI CSI-2 Rx capture pipeline implemented in the PL

  • File source (SD card, USB storage, SATA hard disk)

  • Stream-In from network or internet

Sinks:

  • DP-Tx display pipeline in the PS

  • HDMI-Tx display pipeline implemented in the PL

VCU Codec:

  • Video Encode/Decode capability using the VCU hard block in PL 

    • AVC/HEVC encoding

    • Encoder/decoder parameter configuration

Streaming Interfaces:

  • 1G Ethernet PS GEM 

Video format:

  • NV12

Audio Configuration:

  • Codec: Opus

  • Format: S24_32LE

  • Channels: 2

  • Sampling rate: 48 kHz

  • Source: HDMI-Rx/ I2S-Rx

  • Render: HDMI-Tx/ I2S-Tx/ DP

Audio Deliverables:

Pipeline

Video-Input Source 

Audio Input Source

Video Output Type

Audio Output Type

ALSA Drivers

Resolution

Audio Codec Type

Audio Configuration

Video Codec Type

Deliverables

Record use-case
(Capture -> Encode -> Filesink)
Stream-out use-case (Capture -> Encode -> Stream-out)

  1. HDMI-Rx

  2. MIPI-Rx

  1. HDMI-Rx

  2. I2S-Rx

File-Sink
Stream-Out

File-Sink
Stream-Out

HDMI-Rx ALSA drivers

4K / 1080p

Opus

2 channel @ 48 kHz

HEVC / AVC

HDMI-Rx Audio encode with soft codec and video with VCU and store it in a container format.

Playback use-case
(Filesrc -> Decode -> Display)
Stream-in use-case
(Stream-in -> Decode -> Display)

File Source/ Stream-In

File Source/ Stream-In

DP
HDMI –Tx

  1. HDMI-Tx

  2. I2S-Tx

  3. DP

HDMI-Tx ALSA drivers

4K / 1080p

Opus

2 channel @ 48 kHz

HEVC / AVC

Playback of the local-file / stream-in with video decoded using VCU and Audio using GStreamer soft codec.

Pass-through(RAW) use-case
(Capture -> Display)

  1. HDMI-Rx

  2. MIPI-Rx

  1. HDMI-Rx

  2. I2S-Rx

DP
HDMI -Tx

  1. HDMI-Tx

  2. I2S-Tx

  3. DP

HDMI-Rx/Tx ALSA drivers

4K / 1080p

NA

2 channel @ 48 kHz

HEVC / AVC

HDMI-Rx Audio / Video pass to HDMI-Tx without VCU/Audio-Codec.

Display(Serial) use-case
(Capture -> Encode -> Decode -> Display)

  1. HDMI-Rx

  2. MIPI-Rx

  1. HDMI-Rx

  2. I2S-Rx

DP
HDMI -Tx

  1. HDMI-Tx

  2. I2S-Tx

  3. DP

HDMI-Rx/Tx ALSA drivers

4K / 1080p

NA

2 channel @ 48 kHz

HEVC / AVC

HDMI-Rx raw audio and video with VCU encoder and decode to achieve AV sync.

  • Supports 1-4Kp60 Single Stream with either HDMI-Rx or I2S-Rx as input Audio source + HDMI-Rx / MIPI Rx as input Video source; and HDMI-Tx / I2S-Tx as Output Audio Sink + HDMI-Tx / DP as Output Video sink pipeline

  • Supports 1-4Kp30 Single Stream with either HDMI-Rx or I2S-Rx as input Audio source + HDMI-Rx / MIPI Rx as input Video source; and HDMI-Tx / I2S-Tx as Output Audio Sink + HDMI-Tx / DP as Output Video sink pipeline

  • Supports 1-1080p60 Single Stream with either HDMI-Rx or I2S-Rx as input Audio source + HDMI-Rx / MIPI Rx as input Video source; and HDMI-Tx / I2S-Tx as Output Audio Sink + HDMI-Tx / DP as Output Video sink pipeline

  • Supports 2-4Kp30 multi-stream feature with HDMI-Rx and I2S-Rx as input Audio sources, with HDMI-Rx and MIPI Rx as an input Video sources;  and with HDMI-Tx and I2S-Tx as Output Audio Sink + HDMI-Tx as Output Video sink pipeline

  • Supports 2-1080p60 multi-stream feature with HDMI-Rx and I2S-Rx as input Audio sources with HDMI-Rx and MIPI Rx as an input Video sources; and with HDMI-Tx and I2S-Tx as Output Audio Sink + HDMI-Tx as Output Video sink pipeline

Other features:

  • This design supports a single-channel Stream-Based SCD (Scene Change Detection) IP for the HDMI input source only. SCD must be enabled for the HDMI input source through configuration.

Supported Resolution:

The table below provides the supported resolutions of this design.

Resolution

GUI

Command Line

Single Stream

Single Stream

Multi-stream

4Kp60

X

√

NA