Hey!
I´m trying to run cameraproxy with mono in ubuntu 16.04, but when running mono MJpegCameraProxyCmd.exe I get an assembly missing error
I saw the notice to add BPUtils for building CameraProxy from source, but as I´m just trying to run it, I think something is missing. Shouldn't this assembly be included in the release?
Here's the error
$ mono MJpegCameraProxyCmd.exe Unhandled Exception: System.TypeLoadException: Could not load type of field 'MJpegCameraProxy.MJpegWrapper:httpServer' (1) due to: Could not load file or assembly 'BPUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:BPUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:<none> [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'MJpegCameraProxy.MJpegWrapper:httpServer' (1) due to: Could not load file or assembly 'BPUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:BPUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:<none>
What do you think? Thanks!
Hey,
I've been trying to get the Pan/Tilt to work on an Amcrest Camera (model: IP2M-841) on and off for the last couple weeks. I can make the camera move with via the 'API' calls in a browsers, but not with a CustomPTZProfile.
It always fails with this:
Exception thrown at 6/4/2017 11:53:10 PM
Additional information: SimpleProxy URL: http://192.168.0.101/cgi-bin/ptz.cgi?action=start&channel=1&code=Up&arg1=0&arg2=1&arg3=0
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at MJpegCameraProxy.SimpleProxy.GetResponse(HttpWebRequest webRequest)
at MJpegCameraProxy.SimpleProxy.GetData(String url, String user, String password, Boolean keepAlive, Boolean allowErrorLogging)
Working API call is:
http://192.168.0.101/cgi-bin/ptz.cgi?action=start&channel=1&code=Up&arg1=0&arg2=1&arg3=0
After sending the above line in a browser, it asks for authentication details.
Do you have any suggestions regarding this?
Thanks!
Hi, I tried to compile the project to fix a jquery reference problem, but was unable to compile the project.
So is it possible to reference the jquery from inside the *.cam class to the scripts folder as it was intended for this purposes?
The line that needs to change is:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
The reason for this is, I like to use it in a close environment which does not have internet access. And needs to reference the jquery that is stored in the directory.. and not to the one on the web.
Can someone please help me with this?
Exception thrown at 16.09.2017 19:12:46
System.IO.IOException: In die Übertragungsverbindung können keine Daten geschrieben werden: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. ---> System.Net.Sockets.SocketException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen
bei System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
bei System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
bei System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
bei System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
bei BPUtil.SimpleHttp.GlobalThrottledStream.ThrottlingManager.ThrottledWrite(GlobalThrottledStream stream, Byte[] buffer, Int32 offset, Int32 count) in C:\Users\brpea\Source\Repos\BPUtil\BPUtil\SimpleHttp\GlobalThrottledStream.cs:Zeile 342.
bei BPUtil.SimpleHttp.GlobalThrottledStream.Write(Byte[] buffer, Int32 offset, Int32 count) in C:\Users\brpea\Source\Repos\BPUtil\BPUtil\SimpleHttp\GlobalThrottledStream.cs:Zeile 76.
bei System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
bei System.IO.StreamWriter.Flush()
bei MJpegCameraProxy.MJpegServer.handleGETRequest(HttpProcessor p)
Exception thrown at 16.09.2017 19:12:47
System.IO.IOException: In die Übertragungsverbindung können keine Daten geschrieben werden: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. ---> System.Net.Sockets.SocketException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen
bei System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
bei System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
bei System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
bei System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
bei BPUtil.SimpleHttp.GlobalThrottledStream.ThrottlingManager.ThrottledWrite(GlobalThrottledStream stream, Byte[] buffer, Int32 offset, Int32 count) in C:\Users\brpea\Source\Repos\BPUtil\BPUtil\SimpleHttp\GlobalThrottledStream.cs:Zeile 342.
bei BPUtil.SimpleHttp.GlobalThrottledStream.Write(Byte[] buffer, Int32 offset, Int32 count) in C:\Users\brpea\Source\Repos\BPUtil\BPUtil\SimpleHttp\GlobalThrottledStream.cs:Zeile 76.
bei System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
bei System.IO.StreamWriter.Flush()
bei MJpegCameraProxy.MJpegServer.handleGETRequest(HttpProcessor p)
Sorry bother, not sure where to ask this, I know there is no new development happening, but I'm excited to try this program out. I've been unsuccessful in adding my hikvision or dahau cameras using Jpeg snapshot or mjpeg, not sure if they support it, can I use the RTSP instead? More overhead for the CPU right? how about for clients connecting to the cameraproxy, will the output be only jpeg or mjpeg, there is no other output stream available, correct?
Thanks so much
Jerry
Hi, once again :)
I'm testing a windows based CameraProxy setup (both 1.6.4 & 1.7) reading a 1280x720 rtsp h264 stream from a Hikvision DS-2CD2622FWD-IZNS camera.
The problem is that some images (occurs sometimes, not always) get a slight but still annoying shift, particularly on moving objects.
The camera connects directly to the PC via a dedicated ETH interface. The PC running CameraProxy is a Intel Core i5 4200U - 4GB and the proxy & camera setup is as follows:
CameraProxy camera settings
Hikvision Settings
Examples images (Check the cars):
http://imgur.com/a/WyU0W
http://imgur.com/a/kFF4W
http://imgur.com/a/jCG4x
I tried to increase the buffer time and lowering transcode frame rate limit but had no luck with these.
Any ideas on what could be causing this behaviour ?
Sorry for every report, I think this project is a great contribution to the open source community and that's why I care about it and want it to be better every day.