|
1.opencv打开本地视频失败
使用的源码:
cv::VideoCapture cap;
static const char * video_name = "3.mp4";
cap.open(video_name);
log:
Unable to stop the stream: Inappropriate ioctl for device
open video [3.mp4] error!!!
2.opencv打开网络摄像头失败
使用的源码:
cv::VideoCapture cap;
static const char * video_name = "rtsp://admin:12345@192.168.0.200:554//Streaming/Channels/1";
cap.open(video_name);
log:
open video [rtsp://admin:12345@192.168.0.200:554//Streaming/Channels/1] error!!!
另外,本地视频确认没有问题,用播放器可以播放。rtsp用vlc确认过可以拉取视频。
|
|