Open bagminer opened 4 years ago
Do you get this issue if you run darknet after the video-stream started?
Hey, @AlexeyAB I am getting this issue on following scenarios -
Try to set 2000
instead of 20
https://github.com/AlexeyAB/darknet/blob/cd1c7c32af3f40610aa8ed4c0a3d6ebfdd958460/src/image_opencv.cpp#L746
Set 1
instead of 0
https://github.com/AlexeyAB/darknet/blob/cd1c7c32af3f40610aa8ed4c0a3d6ebfdd958460/src/demo.c#L57
and recompile
Hey @AlexeyAB Thanks for the suggesting the changes. With these changes, I am still getting the earlier mentioned error, if darknet gets started before the video-stream starts. To avoid loading the parameters and weight file while the video is streaming, I am running the darknet script before I streams the video.
@bagminer @AlexeyAB i recompiled and changed these two lines, but still same error "Video-stream stopped!" fro RTSP. I am running the darknet on my main rig after i start streaming the video.
@socratesishere Can you check if you are able to RTSP streaming video in vlc or some other player ? I am not getting any error, if darknet is running after the video stream starts. Also, can you share the commands you used for both darknet and RTSP streaming ?
I had the Video-stream stopped!
issue when inputing a video stream through RTSP.
In my case the password was messing somehow the format, i.e.: rtsp://user:aab$o0@192.168.0.1:486
that pw was causing problems, idk why (maybe the $
). Changing it to a pw without special chars. fixed me the problem
I am trying to detect objects in real time streaming video. I am streaming the video through RTSP (Wowza) server. For initial few seconds (before streaming starts) I am getting
Video-stream stopped!
, but even after video starts streaming I am getting the same error. I tried to look into the code and do some modifications, but to me everything looks fine. Is there any way to start reading the video once the streaming starts.With MJPEG streaming, I am getting following error (if streaming stops in between) -
CUDA status Error: file: ./src/dark_cuda.c : () : line: 223 : build time: Jan 2 2020 - 07:17:43 CUDA Error: __global__ function call is not configured CUDA Error: __global__ function call is not configured: Too many open files darknet: ./src/utils.c:293: error: Assertion '0' failed. Aborted (core dumped)