Versions Compared

Key

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

...

2 Other Information

2.1 Known Issues

2.2 Limitations



3 Appendix A - Input Configuration File (input.cfg)


The example configuration files are stored at /media/card/config/ folder.

Common Configuration:
It is the starting point of common configuration.

Num of Input:
Provide the number of inputs. this is always 1 for this design.

Output:
Select the video interface.
Options: SDI or DP

Out Type:
Options: Display

Display Rate:
Pipeline frame rate.
Options: 30 FPS or 60 FPS for each stream.

Exit:
It indicates to the application that the configuration is over.

Input Configuration:
It is the starting point of the input configuration.

Input Num:
Starting Nth input configuration.
Options: 1

Input Type:
Input source type.
Options: 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.
Options: file:///media/usb/abc.ts (for file path), udp://192.168.26.89:5004/ (for Network streaming, Here 192.168.26.89 is IP address and 5004 is port no)

Raw:
To tell the pipeline is processed or pass-through.
Options: True, False

Width:
The width of the live source.
Options: 3840, 1920

Height:
The height of the live source.
Options: 2160, 1080

Exit:
It indicates to the application that the configuration is over.

Trace Configuration:
It is the starting point of trace configuration.

FPS Info:
To display fps info on the console.
Options: True, False

APM Info:
To display the APM counter number on the console.
Options: True, False

Pipeline Info:
To display pipeline info on console.
Options: True, False

Exit
It indicates to the application that the configuration is over.


4 Appendix B


Notes for modetest commands:

  • Modetest command for  4kp60
Code Block
themeMidnight
$ xmodetest -M xlnx -s 31:3840x2160-60@XV20  -w 31:sdi_mode:5 -w 31:sdi_data_stream:8 -w 31:is_frac:0 &
  • Modetest command for  4kp30
Code Block
themeMidnight
$ xmodetest -M xlnx -s 31:3840x2160-30@XV20  -w 31:sdi_mode:4 -w 31:sdi_data_stream:8 -w 31:is_frac:0 &
  • Modetest command for 1080p60
Code Block
themeMidnight
$ xmodetest -M xlnx -s 31:1920x1080-60@XV20  -w 31:sdi_mode:2 -w 31:sdi_data_stream:2 -w 31:is_frac:0 &


  • Run the following gst-launch-1.0 command for file playback using the GStreamer pipeline.
Code Block
themeMidnight
$ gst-launch-1.0 uridecodebin uri="file:///media/usb/test.ts" ! queue max-size-bytes=0 ! kmssink driver-name=xlnx

NOTE: File location should be USB-3.0 to avoid the read-write bandwidth issue.

  • Run the following gst-launch-1.0 command to display stream-in video using the Gstreamer pipeline where 5004 is port no.
Code Block
themeMidnight
$ gst-launch-1.0 udpsrc port=5004 buffer-size=60000000 caps="application/x-rtp, clock-rate=90000" ! rtpjitterbuffer latency=1000 ! rtpmp2tdepay ! tsparse ! video/mpegts ! tsdemux name=demux ! queue ! h265parse ! omxh265dec internal-entropy-buffers=5 latency-mode=normal ! queue max-size-bytes=0 ! kmssink driver-name=xlnx

NOTE: A low latency stream-in pipeline cannot be launched with vcu-gst-app. Hence use below gst-launch pipeline

  • Run the following gst-launch-1.0 command to display stream-in video using Gstreamer pipeline where 5004 is port no
Code Block
themeMidnight
$ gst-launch-1.0 udpsrc port=5004 buffer-size=60000000 caps="application/x-rtp, clock-rate=90000" ! rtpjitterbuffer latency=1000 ! rtpmp2tdepay ! tsparse ! video/mpegts ! tsdemux name=demux ! queue ! h265parse ! video/x-h265, profile=main-422-10, alignment=nal ! omxh265dec internal-entropy-buffers=5 low-latency=1 ! queue max-size-bytes=0 ! kmssink driver-name=xlnx

Notes for modetest commands:

  • Modetest command for  4kp60

...

themeMidnight

...

xlnx

...

  • Modetest command for  4kp30
Code Block
themeMidnight
$ xmodetest -M xlnx -s 31:3840x2160-60@XV20  -w 31:sdi_mode:4 -w 31:sdi_data_stream:8 -w 31:is_frac:0 &
  • Modetest command for 1080p60

...

themeMidnight

...