News:

Re-organized the forum to more cleanly delineate the development section, as the end user support side appears to have taken a life of its own!

Author Topic: HiLinux in Szsinocam: how to grab video/image?  (Read 7926 times)

  • No avatar
  • *
August 01, 2015, 11:11:47 pm
Hi all,

I got a nice Szsinocam IP camera, although the web-interface for this camera requires Active-X controls, meaning that I, a Linux person, should switch to MS Windows! And even under Windows their applications crash Adobe flash player, so nothing works.

I was able to do telnet into this camera and discovered that it runs HiLinux

# uname
Linux (none) 3.0.8 #1 Tue Mar 11 17:36:34 HKT 2014 armv5tejl GNU/Linux

But this is the fist time for me that I deal with IP cameras.

Can somebody help me and tell how I can retrieve video from this camera? Finally I want to set it up so that it sends images via FTP to my ftp server (or any other way you can suggest). But I have no idea where these images are stored in the camera.

Are their dinamically accessible somewhere at /proc/... ?

Any help from knowledgeable people is highly appreciated!
« Last Edit: August 01, 2015, 11:14:29 pm by deadlock »

  • ***
August 02, 2015, 01:16:40 pm

Please contact the manufacturer here:

http://www.szsinocam.com/

Then worse case even from Linux you could use methods like this. Because they work with any Internet browser capable devices from Computers to Tablets to Phones and TV's using any Operating System and any browser and never require any plugins or additional software to be downloaded or installed to be a able to view and control Network IP Cameras:

http://107.170.59.150/

The manufacturer should be able to give you RTSP and Snapshot URL information. I would ask them for any CGI/SDK information they have while your at it.

Don
« Last Edit: August 02, 2015, 01:40:31 pm by TheUberOverLord »

  • No avatar
  • *
October 10, 2016, 04:24:31 am
Hi,

You will most probably save time by using at last a windows VM to use the ActiveX control for the camera.

If you like adventures, the camera is probably onvif capable, so you might be able to retrieve its capabilities with SOAP requests.
for my camera the service entrypoint is: http://192.168.0.31/onvif/device_service

So, you can create the following script: CallOnvif.sh
Code: [Select]
curl -s http://"$1"/onvif/device_service --data '<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"'"$2"'><soap:Body>'"$3"'</soap:Body></soap:Envelope>'|xmllint --pretty 1 -
Then, discover profiles like this:
Code: [Select]
./CallOnvif.sh 192.168.0.31 ' xmlns:trt="http://www.onvif.org/ver10/media/wsdl"' '<trt:GetProfiles/>'
And finally get the snapshot URI, like this (place profile name in call, instead of "profile0_1"):
Code: [Select]
./CallOnvif.sh 192.168.0.31 ' xmlns:trt="http://www.onvif.org/ver10/media/wsdl"' '<trt:GetSnapshotUri><trt:ProfileToken>profile0_1</trt:ProfileToken></trt:GetSnapshotUri>'
For instance, for my camera:
Code: [Select]
http://192.168.0.31:80/cgi-bin/anv/images_cgi?channel=0&amp;user=root&amp;pwd=zob