modify password
This commit is contained in:
parent
c66bdf2510
commit
535f0f3736
|
@ -105,7 +105,7 @@ void Camera::openImpl()
|
||||||
this->_port = 554;
|
this->_port = 554;
|
||||||
}
|
}
|
||||||
#if defined(PLATFORM_X86_CUDA) || defined(PLATFORM_X86_INTEL)
|
#if defined(PLATFORM_X86_CUDA) || defined(PLATFORM_X86_INTEL)
|
||||||
camera_url << "rtspsrc location = rtsp://user:9999@" << this->_ip << ":" << this->_port
|
camera_url << "rtspsrc location = rtsp://user:0000@" << this->_ip << ":" << this->_port
|
||||||
<< "/cam/realmonitor?channel=1&subtype=0 latency=100 ! application/x-rtp,media=video ! \
|
<< "/cam/realmonitor?channel=1&subtype=0 latency=100 ! application/x-rtp,media=video ! \
|
||||||
rtph265depay ! parsebin ! avdec_h265 ! videoscale ! video/x-raw,width=(int)" << this->_width
|
rtph265depay ! parsebin ! avdec_h265 ! videoscale ! video/x-raw,width=(int)" << this->_width
|
||||||
<< ",height=(int)" << this->_height << " ! videoflip video-direction=4 ! videoconvert ! video/x-raw,format=(string)BGR ! \
|
<< ",height=(int)" << this->_height << " ! videoflip video-direction=4 ! videoconvert ! video/x-raw,format=(string)BGR ! \
|
||||||
|
@ -113,7 +113,7 @@ void Camera::openImpl()
|
||||||
this->_cap.open(camera_url.str(), cv::CAP_GSTREAMER);
|
this->_cap.open(camera_url.str(), cv::CAP_GSTREAMER);
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLATFORM_JETSON
|
#ifdef PLATFORM_JETSON
|
||||||
camera_url << "rtspsrc location = rtsp://user:9999@" << 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 ! \
|
nvv4l2decoder ! nvvidconv ! \
|
||||||
|
|
Loading…
Reference in New Issue