This page provides detailed information related to Design Module 2 - SDI Video Capture and Display with PLDDR
...
The table below provides the supported resolution from GUI and command-line app in this design.
Resolution | GUI | Command Line |
Single Stream | Single Stream | |
4Kp60 | X | √ |
4Kp30 | X | √ |
1080p60 | X | √ |
√ - Supported
x – Not supported
The below table gives information about the features supported in this design.
Pipeline | Input Source | Output Type | ALSA Srivers | Resolution | Audio Codec Type | Audio Configuration | Video Codec | Deliverables |
---|---|---|---|---|---|---|---|---|
Record/Stream-Out pipeline | SDI-Rx | File Sink/ Stream-Out | SDI-Rx ALSA drivers | 4K/1080p | AAC | 2 channel @ 48 kHz | HEVC/AVC | SDI-Rx Audio encode with soft codec and video with VCU and store it in a container format. |
Playback pipeline | File Source/ Stream-In | SDI-Tx | SDI-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 | SDI-Rx | SDI-Tx | SDI-Rx ALSA drivers and SDI-Tx ALSA drivers | 4K/1080p | NA | 2 channel @ 48 kHz | HEVC/AVC | SDI-Rx Audio /Video pass to SDI-Tx without VCU/Audio-Codec. |
Capture → Encode → Decode → Display | SDI-Rx | SDI-Tx | SDI-Rx ALSA drivers and SDI-Tx ALSA drivers | 4K/1080p | NA | 2 channel @ 48 kHz | HEVC/AVC | SDI-Rx raw audio and video with VCU encoder and decode to achieve AV sync. |
The below figure shows the SDI Video Capture and SDI Display with Audio design hardware block diagram.
...
Code Block |
---|
$ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 num-buffers=3600 ! video/x-raw, width=3840, height=2160, format=NV16_10LE32, framerate=60/1 ! omxh265enc qp-mode=auto gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000 max-picture-size=1100 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-422-10, alignment=au ! queue max-size-bytes=0 ! mux. alsasrc device=hw:1,1 num-buffers=3600 ! audio/x-raw, format=S24_32LE, rate=48000, channels=2 ! queue max-size-buffers=0 max-size-time=0 ! audioconvert ! faac ! aacparse ! queue max-size-bytes=0 ! mpegtsmux name=mux ! filesink location="/run/test.ts" |
...