cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yellowd
Explorer
Explorer
155 Views
Registered: ‎04-29-2020

VCU can't encode sdi video input

Hello there!
I want to use VCU to encode SDI input video. Through the media-ctl and yavta commands, I can confirm that XCZU4EV has received SDI video normally and the resolution and frame rate are normal. However, the image cannot be obtained through the yavta command, and the SDI video cannot be encoded through the gst-launch-1.0 command. Even if the video is obtained through gst-launch-1.0 and fakesink, the frame rate is only 20fps. How to solve this?
Development environment: 2020.1, XCZU4EV

media-ctl -p

media-ctrl.png

yavta --enum-formats /dev/video0

yavta.png

yavta -c5 -n3 -fXV20 -s1920x1080 -F /dev/video0

yavta-cap.png

gst-launch-1.0 -v v4l2src device=/dev/video0 io-mode=4 ! video/x-raw,format=NV16_10LE32,width=1920,height=1080,framerate=30/1 ! fpsdisplaysink text-overlay=false video-sink="fakesink"

gst-launch.png

gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! video/x-raw,format=NV16_10LE32,width=1920,height=1080,framerate=30/1 ! videoconvert ! omxh265enc gop-length=30 periodicity-idr=30 control-rate=2 prefetch-buffer=1 target-bitrate=8000 gop-mode=basic qp-mode=auto ! video/x-h265, alignment=au, profile=main-422, level=\(string\)5.1, tier=main ! fpsdisplaysink name=111111 text-overlay=false video-sink="fakesink"

yavta-enc.png

0 Kudos
0 Replies