From a7d2835dba40efdfd618fca7091e75c11b93d85d Mon Sep 17 00:00:00 2001 From: Daniel <1367240116@qq.com> Date: Thu, 18 Apr 2024 10:58:02 +0800 Subject: [PATCH] fix GX40's video stream decoding bugs. --- video_io/sv_video_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_io/sv_video_input.cpp b/video_io/sv_video_input.cpp index 1dc7970..64272e5 100644 --- a/video_io/sv_video_input.cpp +++ b/video_io/sv_video_input.cpp @@ -116,7 +116,7 @@ void Camera::openImpl() camera_url << "rtspsrc location = rtsp://user:0000@" << this->_ip << ":" << this->_port << "/cam/realmonitor?channel=1&subtype=0 latency=100 ! \ application/x-rtp,media=video ! rtph265depay ! parsebin ! \ - nvv4l2decoder ! nvvidconv flip-method=4 ! \ + nvv4l2decoder ! nvvidconv ! \ video/x-raw,format=(string)BGRx,width=(int)" << this->_width << ",height=(int)" << this->_height << " ! videoconvert ! video/x-raw,format=(string)BGR ! \ appsink sync=false";