Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Codec: AAC

  • Format: S24_32LE

  • Channel: 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 / Stream-Out pipeline

  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

AAC

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 pipeline

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

AAC

2 channel @ 48 kHz

HEVC / AVC

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

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.

Capture → Encod → 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

...

The table below provides the supported resolution from GUI and command-line app in this design.

Resolution

GUI

Command Line

Single Stream

Single Stream

Multi-stream

4Kp60

X

NA

4Kp30

√ (Max 2)

1080p60

√ (Max 2)

√ - Supported
x – Not supported
NA – Not applicable

The below sections describe the HDMI / MIPI Video Capture and HDMI Display with the Audio from HDMI / I2S sources. It is VCU TRD design supporting HDMI-Rx audio/video + HDMI-Tx with Audio/video and MIPI-Rx video + I2S-Rx audio with HDMI-Tx video + I2S-Tx audio.

...

Below are some example mount points

Device

Mount Location

SD Card

/run/media/mmcblk0p2

Sata Drive
USB Drive

/run/media/sda
/run/media/usb

RAM Disk

/run/media/

...

4 Appendix B - HDMI-Rx/Tx Link-up and GStreamer Commands

...

Code Block
$ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 num-buffers=3600 ! video/x-raw, format=NV12, width=3840, height=2160, framerate=60/1 ! omxh265enc qp-mode=auto gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000 num-slices=8 control-rate=constant prefetch-buffer=true low-bandwidth=false filler-data=true cpb-size=1000 initial-delay=500 ! video/x-h265, profile=main, alignment=au ! queue ! mux. alsasrc device=hw:2,1 num-buffers=3600 ! audio/x-raw, format=S24_32LE, rate=48000, channels=2 ! queue ! audioconvert ! audioresample ! faac ! aacparse ! mpegtsmux name=mux ! filesink location = "/run/media/sda/test.ts"

...

Code Block
$ gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 num-buffers=3600 ! video/x-raw, format=NV12, width=3840, height=2160, framerate=60/1 ! omxh265enc qp-mode=auto gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000 num-slices=8 control-rate=constant prefetch-buffer=true low-bandwidth=false filler-data=true cpb-size=1000 initial-delay=500 ! queue ! video/x-h265, profile=main, alignment=au ! mux. alsasrc device=hw:1,1 num-buffers=3600 ! audio/x-raw, format=S24_32LE, rate=48000, channels=2 ! queue ! audioconvert ! audioresample ! faac ! mpegtsmux name=mux ! filesink location = "/run/media/sda/test.ts"

...