-
-
Notifications
You must be signed in to change notification settings - Fork 55.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTSP streams freeze at version 3.1+ but not at 3.0 #11619
Comments
There is no support for C# bindings here.
It is very hard to reproduce issues with remote video streams. |
Regardless of binding, it appears the problem is directly within the OpenCV library though. It is verified to not exist in version 3, yet does exist in later versions. |
Freeze - stops collecting video frames. This is not solicitation of troubleshooting assistance. There is an underlying issue within OpenCV library that didn't exist in older version. C++ code:
|
|
you update your code above, and i'll strike the comment, i'd say. also, it will be only reproducable, if we can agree on a publicly viewable ip (NOT 192.168.x.x) |
The request for a different URL is understood. Unfortunately, this is a URL relevant to the "AimCam" camera I have issues with. When testing against the public "bunny" video at the link below, has no issue. When running through debugger - the application hangs within the OpenCV_ffmpeg dll. rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov the aim-cam camera model: (this is the store page, no intention to solicit purchase) like mentioned above. The steam does not halt process when run with version 3.0 of open-cv. Also, the stream does not "freeze" (as explained above) when run through VLC or through its own android application. Current stack trace when stops responding:
|
3.4.0 -- no more relevant. please use at least 3.4.1 , better even. latest master branch (4.0.0.dev) |
no problem, using latest master branch here:
( emgu or not, i don't think, you have a valid issue here, in the 1st case) |
Like I mentioned, the "bunny" video isn't demonstrating the issue. I can only reproduce this issue with the camera I mention above, which is streaming on its own wifi and cannot be made public. And it appears to be locked at the ffmpeg dll. I'm in the process of building it again with 3.4.1 to verify again. |
why mention it, then ? |
Several comments above I'm asked to supply a URL. My comment was that I'm looking for one, and the only public one I found with quick search doesn't demonstrate an issue. |
@miloMich cmon. right now youre fighting something that has all of the BADDIES , -- unsupported 3rdparty wrappers (emgu), outdated opencv versions, and in the end, you're probably fighting some problem due to your (local) ip cam not complying to any standards again i do not think, you have enough "proof" to submit a bug report here. so, please close it. (rather do some more research on your own, and come back if you really found something). |
lockup on version 3.4.1 as well. Stack trace:
This is not EMGU, this is in opencv. It is possibly an issue with manufacturer's compliance with some standard, however the issue is not in version 3 of opencv. I hear your comments requesting I close it. I'm not arguing or anything. I opened this issue here because I was directed here. The lockup is happening, but there is no tool to open and see what in opencv_ffmpeg341.dll is locking up or why. If it isn't something that can be resolved here, and that's why you wish I close this issue - then that's how it'll be. |
@miloMich apologies for being overly harsh before ! (but again, -- as long as we cannot access your ipcam, we can't debug your problem) |
Understood - I'll see if anything further can be done to assist. If it's OK - I'll leave this open for the next few days as I look into ways to provide a sample stream |
On the internet there are instructions for saving the stream to a file (without any re-encoding). Please give it a try, and see if the freeze problem can be re-created when reading from that file. Based on internet discussions, it is true that ip cameras can behave erratically, such as closing streams unexpectedly or reboot. The only way to investigate would be to ask the ip camera manufacturer to investigate. Otherwise, another venue is to ask in the user forums for that vendor/brand of ip camera. |
OpenCV doesn't work with cameras / video streams directly. It uses some libraries/SDK/APIs. opencv_ffmpeg.dll is a wrapper over FFmpeg sources. Did you observe issues with FFmpeg tools without OpenCV? Try "ffmpeg" binary to capture your rstp stream and write it into file. Try to play with TCP/UDP settings (OpenCV 3.3.1+ via Also you could try to "replace" this wrapper DLL with older one. External interfaces of opencv_ffmpeg wrapper may be compatible (not tested!), so try to rename opencv_ffmpeg DLL from OpenCV 3.0 to 3.4.1. |
System information (version)
Detailed description
Using an RTSP camera such as "AimCam", the stream freezes after 10 seconds. It does not freeze when using EMGU 3.0. It does not freeze when run through VLC utility either
Steps to reproduce
The text was updated successfully, but these errors were encountered: