This page provides detailed information related to Design Module 2 - SDI Video Capture and Display with PLDDR
...
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.
...
Code Block |
---|
$ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! video/x-raw ,format=NV16_10LE32, width=3840, height=2160, framerate=60/1 ! queue max-size-bytes=-1 ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx force-modesettingasync=false hold-extra-sample=true connectorshow-preroll-propertiesframe="props,sdi_mode=5,sdi_data_stream=8,is_frac=0""false" text-overlay=false sync=false alsasrc device=hw:1,1 ! queue ! audioconvert ! audioresample ! audio/x-raw, rate=48000, channels=2, format=S24_32LE ! alsasink device="hw:1,0" |
...
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 ! 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="/media/usbrun/test.ts" |
File location should be USB-3.0/SATA/RAMdisk to avoid the read-write bandwidth issue.
...
Code Block |
---|
$ gst-launch-1.0 uridecodebin uri="file:///mediarun/usb/test.ts" name=decode ! queue max-size-bytes=0 ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx async=false hold-extra-sample=true show-preroll-frame=false" decode. ! audioconvert ! audioresample ! audio/x-raw, rate=48000, channnelschannels=2, format=S24_32LE ! alsasink device="hw:1,0" |
...
Code Block |
---|
$ 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 demux. ! queue ! h265parse ! video/x-h265, profile=main-422-10, alignment=nalau ! omxh265dec internal-entropy-buffers=5 low-latency=1 ! queue max-size-bytes=0 ! fpsdisplaysink name=fpssink text-overlay=false video-sink="kmssink driver-name=xlnx async=false hold-extra-sample=true show-preroll-frame=false" demux. ! queue max-size-bytes=0 max-size-time=0 max-size-buffers=0 ! aacparse ! faad ! audioconvert ! audioresample ! audio/x-raw, rate=48000, channnelschannels=2, format=S24_32LE ! alsasink device="hw:1,0" |
...