!39 fix GX40's video stream decoding bugs.

Merge pull request !39 from Daniel/lxm
This commit is contained in:
jario-jin 2024-04-18 12:46:34 +00:00 committed by Gitee
commit 10f8d97e21
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void Camera::openImpl()
camera_url << "rtspsrc location = rtsp://user:0000@" << this->_ip << ":" << this->_port camera_url << "rtspsrc location = rtsp://user:0000@" << this->_ip << ":" << this->_port
<< "/cam/realmonitor?channel=1&subtype=0 latency=100 ! \ << "/cam/realmonitor?channel=1&subtype=0 latency=100 ! \
application/x-rtp,media=video ! rtph265depay ! parsebin ! \ application/x-rtp,media=video ! rtph265depay ! parsebin ! \
nvv4l2decoder ! nvvidconv flip-method=4 ! \ nvv4l2decoder ! nvvidconv ! \
video/x-raw,format=(string)BGRx,width=(int)" video/x-raw,format=(string)BGRx,width=(int)"
<< this->_width << ",height=(int)" << this->_height << " ! videoconvert ! video/x-raw,format=(string)BGR ! \ << this->_width << ",height=(int)" << this->_height << " ! videoconvert ! video/x-raw,format=(string)BGR ! \
appsink sync=false"; appsink sync=false";