Open anavc94 opened 5 years ago
Hi,did you solve this problem? i have the same problem
你好,
我正在尝试将YOLOv2与VLC在端口8550上创建的RTSP流一起使用。
我称Darknet为:
darknet.exe detector demo ./data/obj.data ./cfg/yolo-obj.cfg ./backup/_14000.weights rtsp://:8550/motogp_stream -thresh 0.3
我可以在其他VLC窗口中打开URL rtsp://:8550 / motogp_stream,一切似乎正确。
但是,darknet给我以下错误:
[rtsp @ 000001d668da24a0] method SETUP failed: 461 Client error warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:792) warning: rtsp://:8550/motogp_stream (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:793)
但是,我可以使用YOLO处理来自真实IP摄像机的RTSP流。该URL与上一个URL类似,例如:rtsp:// root:password@169.254.1.1/axis-media/media.amp
怎么了?也许问题在于VLC如何流式传输视频内容?
谢谢你 安娜
Hi,did you solve this problem? i have the same problem
Hello,
I am trying to use YOLOv2 with a RTSP stream created by VLC on port 8550.
I am calling darknet as:
darknet.exe detector demo ./data/obj.data ./cfg/yolo-obj.cfg ./backup/_14000.weights rtsp://:8550/motogp_stream -thresh 0.3
I can open the URL rtsp://:8550/motogp_stream in other VLC window and everything seems correct.
However, darknet gives me the following error:
[rtsp @ 000001d668da24a0] method SETUP failed: 461 Client error warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:792) warning: rtsp://:8550/motogp_stream (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:793)
However, I can process a RTSP stream from a real IP camera with YOLO. The URL is similar to the previous one, something like: rtsp://root:password@169.254.1.1/axis-media/media.amp
What is going wrong? Maybe the problem is with how VLC streams the video content?
thank you Ana