Cheap Chinise camera PTZ control

Hello,

I have a chinise PTZ camera, I get the stream without a problem.
I have problems only with the PTZ.
With ONVIF Device Manager and iSpy connect programs, the ptz working without any problem, but in Netcam Stdio not.
I tried a lot of settings, without any effect.
Can anyone help me?

Camera type: link

Camera user name:admin
Camera password: -> no password

The command that the ONVIF Device Manager sends and works:


I’ve got a very similar issue… with a similar camera, the PTZ does not work, it’s brand “Einnov” GW-D08S. not sure what URLs to enter in which panel (ONVIF Source, vs. Custom URL)…
The ispy has that company, but not exact model, this is the url: https://www.ispyconnect.com/man.aspx?n=EINNOV which gives few ideas, tried all but nothing worked…

will monitor this thread too

any idea to work with PTZ?

Well, “Cheap Chinese camera” is always a challenge. According to a web site with the camera it support Android and iOS. Usually that means that they use some propitiatory code for control of the camera. It says nothing about onvif or windows.
What you can do is to connect to the camera from a browser and see if it responds where you can get a video and maybe more informations in the configuration of the camera. You can also use Wireshark and check the data traffic between computer and camera and if you are lucky you get the URL for the video/audio. Getting the commands for PTZ control is usually more difficult.
On several sites the use /user=admin_password=tlJwpbo6_channel=1_stream=0.sdp as a general command string for the camera brand.
In VLC or NCS (Custom URL) use
rtsp://admin:tlJwpbo6@cameraIP:554/channel=1_stream=0.sdp
or
use 1.sdp

-Henrik

The video stream works perfectly in Netcam Studio, only PTZ does not.
But PTZ works with ONIV Device Manager.
So the camera is ONVIF PTZ compatible.
Am I right?
In the second post I added the PTZ command difference between Netcam Studio and ONIV Device Manager.
Can you help to make it work?
I can provide internet access to the camera if needed.

You don´t get access to the PTZ part. First I would add a password and see how it goes.
Internet access to camera will not help since onvif discovery only work if units are on the same LAN.

Unfortunately the camera doesn’t have WEB interface, i can’t add password for admin user.
I think not necessary user name and password for PTZ with this camera.
Onvif device manager PTZ working without authentication, only the RTSP stream need user name.
I can provide remote desktop access to the server if needed.

Yes, it can be interesting. Send by message or to support mail.
-Henrik

privat message sent :wink:

btw, I’ve got a similar case with a multi-brand IP camera GW-D085 (vendor can be Einnov or Yoosee, etc.) can get video, but no PTZ no matter what.

I can provide VNC access to a dedicated PC that connects to the lan with cameras.
Stormy.

Do the discovery function (Browse) see/find the camera?

not to hijack this OP/thread, it sounds like the issues are very similar…

Henrik, I’m relatively new, so clicked REMOVE source (it was added via custom url i think), then clicked Add video source, and tab:ONVIF Source, clicked BROWSE, it immediately found it (along with a d-link that’s there to validate network)…

the source it picked is: http://192.168.1.52:5000/onvif/device_service
username is correct, password has 6 “*” (but printed on the camera is just “123”, so left that, in PTZ mode it put Continuous, not sure how.

Trying to click the “Check mark” lower right yields NOTHING, pressing it many times, the window won’t close, i.e. the source cannot be added.

Gave it a source name in the empty field, also changed password, tried multiple times, the checkbox button is not working for some reason…

so, thought to exit completely from netcam, and restart it, this time it discovered without anything in username/password or PTZ, so i’m guessing above these were cached values from prior setup of that camera.

only way managed to add the source/close that dialog is by adding a “custom URL”, i just entered same http://192.168.1.52:5000/onvif/device_service, source added, but it cannot connect, now i don’t recall the exact url that worked before… tried all the jpg/mpeg, stream types… so, it seems the discovery is not working… i’ll try to figure out how to get video back, it was definitely working moments ago :slight_smile:

Thank you for checking the issue.
But the camera works with ONVIF Device Manager, iSpy Connect application recognizes the ONVIF camera device and RTSP and the PTZ service works without any extra programming/settings.
So I think it’s not impossible to work the camera with Netcam Studio.
There are many similar devices on the market, so many people would be happy with the solution.

komatim, totally agree, would help many others!! btw, after going through older netcam logs:

c:\ProgramData\Moonware\Netcam Studio\Server\Logs\

and many many many attempts, finally managed to get video and audio back on my camera!! posting just in case it helps someone.

From what I can tell, TWO tabs must be filled in Edit Video Source.

  1. The “ONVIF Source” has in source:

    http://192.168.1.52:5000/onvif/device_service

    enter user/password in the fields, and PTZ tried all options, nothing worked…

  2. Now go to CUSTOM URL TAB and enter this:

    Stream Type: RTSP_UDP
    URL: rtsp://usr:pass@192.168.1.52:554/onvif1

    (change usr:pass)

    In my case, that was the only working stream type that I could find, tried RTSP_TCP, RTSP_HTTP as well as MPEG4, all failed. I’m no expert probably the URL needs to change for each stream type, but for now, that’s fine i guess.

While doing this drill, noticed another TAB on the Edit Video “Special Source”…

It has: “Waveform”, Timestamp (PTZ), DataMatrix(PTZ) and DocCode(PTZ)

none of these worked for me, got blank white screen, also the URLs in the first 2 tabs were cleared so had to re-configure to get video working…

Sorry to appear off-topic, hopefully we can get this PTZ working…

btw, when pressing the PTZ controls, in the log such lines are added, but camera does not move:

Error   03:08:17.926    SourceController.PanTilt.SendCommand    Template has not been initialized.      940     250.57MB
Information     03:08:18.085    Source(2).SendPtzCommand        Sending PTZ command: MoveStop   940     251.64MB
Error   03:08:18.088    SourceController.PanTilt.SendCommand    Template has not been initialized.      940     257.58MB
Information     03:08:18.410    Source(2).SendPtzCommand        Sending PTZ command: Left       940     251.79MB
Error   03:08:18.412    SourceController.PanTilt.SendCommand    Template has not been initialized.      940     251.79MB

If anyone wants a VNC will be glad to provide.
Stormy.

If anyone knows why PTZ is not working, please let me know.

WORKING: ONVIF Device Manager
POST /onvif/PTZ HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8; action=“http://www.onvif.org/ver20/ptz/wsdl/ContinuousMove
Host: 192.168.1.72
Content-Length: 1048
Accept-Encoding: gzip, deflate
Connection: Close

<s:Envelope xmlns:s=“http://www.w3.org/2003/05/soap-envelope”><s:Header>admin46b8yabtvkkemIncUj1OBehgSWw=5By8hZTVsEmFekFm6XLGEhYAAAAAAA==2019-10-24T17:26:19.725Z</s:Header><s:Body xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>Profile_1</s:Body></s:Envelope>HTTP/1.1 200 Data follows
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 1780

<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope” xmlns:soapenc=“http://www.w3.org/2003/05/soap-encoding” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:tt=“http://www.onvif.org/ver10/schema” xmlns:tds=“http://www.onvif.org/ver10/device/wsdl” xmlns:trt=“http://www.onvif.org/ver10/media/wsdl” xmlns:timg=“http://www.onvif.org/ver20/imaging/wsdl” xmlns:tev=“http://www.onvif.org/ver10/events/wsdl” xmlns:tptz=“http://www.onvif.org/ver20/ptz/wsdl” xmlns:tan=“http://www.onvif.org/ver20/analytics/wsdl” xmlns:tst=“http://www.onvif.org/ver10/storage/wsdl” xmlns:ter=“http://www.onvif.org/ver10/error” xmlns:dn=“http://www.onvif.org/ver10/network/wsdl” xmlns:tns1=“http://www.onvif.org/ver10/topics” xmlns:tmd=“http://www.onvif.org/ver10/deviceIO/wsdl” xmlns:gte=“http://www.onvif.org/ver10/gtextension/wsdl” xmlns:wsdl=“http://schemas.xmlsoap.org/wsdl” xmlns:wsoap12=“http://schemas.xmlsoap.org/wsdl/soap12” xmlns:http=“http://schemas.xmlsoap.org/wsdl/http” xmlns:d=“http://schemas.xmlsoap.org/ws/2005/04/discovery” xmlns:wsadis=“http://schemas.xmlsoap.org/ws/2004/08/addressing” xmlns:xop=“http://www.w3.org/2004/08/xop/include” xmlns:wsnt=“http://docs.oasis-open.org/wsn/b-2” xmlns:wsa=“http://www.w3.org/2005/08/addressing” xmlns:wstop=“http://docs.oasis-open.org/wsn/t-1” xmlns:wsrf-bf=“http://docs.oasis-open.org/wsrf/bf-2” xmlns:wsntw=“http://docs.oasis-open.org/wsn/bw-2” xmlns:wsrf-rw=“http://docs.oasis-open.org/wsrf/rw-2” xmlns:wsaw=“http://www.w3.org/2006/05/addressing/wsdl” xmlns:wsrf-r=“http://docs.oasis-open.org/wsrf/r-2” xmlns:tnsn=“http://www.eventextension.com/2011/event/topics”>env:Bodytptz:ContinuousMoveResponse/
</env:Body>
</env:Envelope>

NOT WORKING: Netcam Studio
POST /onvif/device HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Host: 192.168.1.72
Content-Length: 994
Accept-Encoding: gzip, deflate
Connection: Close

<s:Envelope xmlns:s=“http://www.w3.org/2003/05/soap-envelope” xmlns:a=“http://www.w3.org/2005/08/addressing”><s:Header>admingqApAUCs6HZwAM1/md27ZXQ66yk=AkyKqcMra8/nLxZ0PHG/uw==2019-10-24T07:31:58.390Z<a:To s:mustUnderstand=“1”>http://192.168.1.72/onvif/device</a:To></s:Header><s:Body xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”></s:Body></s:Envelope>HTTP/1.1 200 Data follows
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 5921604

<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope” xmlns:soapenc=“http://www.w3.org/2003/05/soap-encoding” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:tt=“http://www.onvif.org/ver10/schema” xmlns:tds=“http://www.onvif.org/ver10/device/wsdl” xmlns:trt=“http://www.onvif.org/ver10/media/wsdl” xmlns:timg=“http://www.onvif.org/ver20/imaging/wsdl” xmlns:tev=“http://www.onvif.org/ver10/events/wsdl” xmlns:tptz=“http://www.onvif.org/ver20/ptz/wsdl” xmlns:tan=“http://www.onvif.org/ver20/analytics/wsdl” xmlns:tst=“http://www.onvif.org/ver10/storage/wsdl” xmlns:ter=“http://www.onvif.org/ver10/error” xmlns:dn=“http://www.onvif.org/ver10/network/wsdl” xmlns:tns1=“http://www.onvif.org/ver10/topics” xmlns:tmd=“http://www.onvif.org/ver10/deviceIO/wsdl” xmlns:gte=“http://www.onvif.org/ver10/gtextension/wsdl” xmlns:wsdl=“http://schemas.xmlsoap.org/wsdl” xmlns:wsoap12=“http://schemas.xmlsoap.org/wsdl/soap12” xmlns:http=“http://schemas.xmlsoap.org/wsdl/http” xmlns:d=“http://schemas.xmlsoap.org/ws/2005/04/discovery” xmlns:wsadis=“http://schemas.xmlsoap.org/ws/2004/08/addressing” xmlns:xop=“http://www.w3.org/2004/08/xop/include” xmlns:wsnt=“http://docs.oasis-open.org/wsn/b-2” xmlns:wsa=“http://www.w3.org/2005/08/addressing” xmlns:wstop=“http://docs.oasis-open.org/wsn/t-1” xmlns:wsrf-bf=“http://docs.oasis-open.org/wsrf/bf-2” xmlns:wsntw=“http://docs.oasis-open.org/wsn/bw-2” xmlns:wsrf-rw=“http://docs.oasis-open.org/wsrf/rw-2” xmlns:wsaw=“http://www.w3.org/2006/05/addressing/wsdl” xmlns:wsrf-r=“http://docs.oasis-open.org/wsrf/r-2” xmlns:tnsn=“http://www.eventextension.com/2011/event/topics”>env:Bodytptz:StopResponse/
</env:Body>
</env:Envelope>

wow, was not aware of ONVIF Device Manager, indeed PTZ works on my cheap china camera (with each click there is a large RED message on the video):

“The underlying connection was closed: The connection was closed unexpectedly”

however, the camera DOES move… so yeah, question stands how come this tool can do it? I can provide a VNC to the PC with these cameras attached… if anyone is interested.

Hi
Yes please! Send message with info. Also a link to a website where I can find the camera.
-Henrik