...
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 4) |
1080p30 | X | √ | √ (Max 8) |
√- Supported
x - Not supported
NA - Not applicable
The below table gives information about the features supported in this design.
Pipeline | Input Source | Output Type | Resolution | VCU Codec |
---|---|---|---|---|
PASSTHROUGH Pipeline: Capture → Display | HDMI-Rx / MIPI / TPG | HDMI-Tx / DP | 4K / 1080p | None |
Single Stream: Capture → SCD → Encode → Decode → Display | HDMI-Rx / MIPI / TPG | HDMI-Tx / DP | 4K / 1080p | HEVC / AVC |
Multi-Stream (2 input sources): Capture → SCD → Encode → Decode → Display | HDMI-Rx / MIPI / TPG | HDMI-Tx | 4Kp30 | HEVC / AVC |
Multi-Stream(4 input sources): Capture → SCD → Encode → Decode → Display | HDMI-Rx / MIPI / TPG | HDMI-Tx | 1080p60 | HEVC / AVC |
Multi-Stream(8 input sources): Capture → SCD → Encode → Decode → Display | 7-HDMI-Rx + 1 MIPI | HDMI-Tx | 1080p30 | HEVC / AVC |
Single Stream: Record/Stream-Out pipeline | HDMI-Rx / MIPI / TPG | File Sink / Stream-Out | 4K / 1080p | HEVC / AVC |
Multi-Stream(2 or 4 i/p sources): Record / Stream-Out pipeline | HDMI-Rx / MIPI / TPG | File Sink / Stream-Out | 2-4Kp30 / 4-1080p60 | HEVC / AVC |
Multi-Stream(8 input sources): Record / Stream-Out pipeline | 7-HDMI-Rx + 1 MIPI | File Sink / Stream-Out | 8-1080p30 | HEVC / AVC |
File Playback / Streaming pipeline | File Source / Stream-In | HDMI-Tx / DP | 4K / 1080p | HEVC / AVC |
DP supports a max resolution of 4Kp30.
TPG will not support 1080p30 resolution mode.
...
Frame drops and jerkiness is observed with TPG source with some test patterns generated by TPG in VCU TRD design
VCU QT: Green shade on DP when playing 4Kp30 HDMI/MIPI pipeline with SCD
Frequency: At random interval
Workaround: None
Frame drops observed with 8x1080p30 (7-HDMI-Rx + 1 MIPI) AVC serial use-case due to system level limitation
For Petalinux related known issues please refer: PetaLinux 2021.1 - Product Update Release Notes and Known Issues
For VCU related known issues please refer AR# 76600: LogiCORE H.264/H.265 Video Codec Unit (VCU) - Release Notes and Known Issues and Xilinx Zynq UltraScale+ MPSoC Video Codec Unit.
To reduce performance issues with 8x serial pipelines, please refer to chapter# 40 of Section VI: Appendices for IRQ Balancing scheme in PG252.
...
The example configuration files are stored at /media/card/config/
folder.
Configuration Type | Configuration Name | Description | Available Options |
---|---|---|---|
Common | Common Configuration | It is the starting point of common configuration | |
Num of Input | Provide the number of inputs | 1 to 8 | |
Output | Select the video interface | HDMI or DP | |
Out Type | Type of output | display, record, stream | |
Display Rate | Pipeline frame rate | 30 or 60 fps | |
Exit | It indicates to the application that the configuration is over | ||
Input | Input Configuration | It is the starting point of the input configuration | |
Input Num | Starting Nth input configuration | 1 to 8 | |
Input Type | Input source type | TPG, HDMI, HDMI_2, HDMI_3, HDMI_4, HDMI_5, HDMI_6, HDMI_7, MIPI, File, Stream | |
Uri | File path or Network URL. Applicable for file playback and stream-in pipeline only. Supported file formats for playback are ts, mp4, and mkv. | file:///run/media/sda/abc.ts (for file path), udp://192.168.25.89:5004/ (for Network streaming, Here | |
Raw | To tell the pipeline is processed or pass-through | True, False | |
Width | The width of the live source | 3840, 1920 | |
Height | The height of the live source | 2160, 1080 | |
Format | The format of input data | NV12 | |
Enable SCD | Enable or Disable Memory based SCD in the pipeline | True, False | |
Exit | It indicates to the application that the configuration is over | ||
Encoder | Encoder Configuration | It is the starting point of encoder configuration | |
Encoder Num | Starting Nth encoder configuration | 1 to 8 | |
Encoder Name | Name of the encoder | AVC, HEVC | |
Profile | Name of the profile | AVC: baseline, main or high | |
Rate Control | Rate control options | CBR, VBR, and Low_Latency | |
Filler Data | Filler Data NAL units for CBR rate control | True, False | |
QP | QP control mode used by the VCU encoder | Uniform, Auto | |
L2 Cache | Enable or Disable L2Cache buffer in encoding process | True, False | |
Latency Mode | Encoder latency mode. | Normal, sub_frame | |
Low Bandwidth | If enabled, decrease the vertical search range used for P-frame motion estimation to reduce the bandwidth. | True, False | |
Gop Mode | Group of Pictures mode. | Basic, low_delay_p, low_delay_b | |
Bitrate | Target bitrate in Kbps | 1-60000 | |
B Frames | Number of B-frames between two consecutive P-frames | 0-4 | |
Slice | The number of slices produced for each frame. Each slice contains one or more complete macroblock/CTU row(s). Slices are distributed over the frame as regularly as possible. If slice-size is defined as well more slices may be produced to fit the slice-size requirement. | 4-22 4Kp resolution with HEVC codec | |
GoP Length | The distance between two consecutive I frames | 1-1000 | |
GDR Mode | It specifies which Gradual Decoder Refresh(GDR) scheme should be used when gop-mode = low_delay_p GDR mode is currently supported with LLP1/LLP2 low-delay-p use-cases only | Horizontal, Vertical, Disabled | |
Entropy Mode | It specifies the entropy mode for H.264 (AVC) encoding process | CAVLC, CABAC, Default | |
Max Picture Size | It is used to curtail instantaneous peak in the bit-stream using this parameter. It works in CBR/VBR rate-control only. When it is enabled, max-picture-size value is calculated and set with 10% of AllowedPeakMargin. i.e. It works in CBR/VBR rate-control only | True, False | |
Format | The format of input data | NV12 | |
Preset | Based on provided six presets, predefined configuration will be set for encoder parameters. Select custom to provide user-specific options for encoder parameters. | HEVC_HIGH, HEVC_MEDIUM, HEVC_LOW, AVC_HIGH, AVC_MEDIUM, AVC_LOW, Custom | |
Exit | It indicates to the application that the configuration is over | ||
Record | Record Configuration | It is the starting point of record configuration | |
Record Num | Starting Nth record configuration | 1 to 8 | |
Out-File Name | Record file path See Mount Location for additional file paths | e.g. /run/media/sda/abc.ts | |
Duration | Duration in minutes | 1-3 | |
Exit | It indicates to the application that the configuration is over | ||
Streaming | Streaming Configuration | It is the starting point of streaming configuration. | |
Streaming Num | Starting Nth Streaming configuration | 1 to 8 | |
Host IP | The host to send the packets to the client |
| |
Port | The port to send the packets to port number | 5004, 5008, 5012, 5016, 5020, 5024, 5028, and 5032 | |
Exit | It indicates to the application that the configuration is over. | ||
Trace | Trace Configuration | It is the starting point of trace configuration | |
FPS Info | To display achieved frame per second information on the console | True, False | |
APM Info | To display APM counter number on the console | True, False | |
Pipeline Info | To display pipeline info on console | True, False | |
Exit | It indicates to the application that the configuration is over |
...
4 Appendix B - HDMI-Rx/Tx Link-up and GStreamer Commands
...