zsgx1hacks icon indicating copy to clipboard operation
zsgx1hacks copied to clipboard

SOLVED - Snapshot url

Open roleoroleo opened this issue 7 years ago • 12 comments

Is there a url to get a jpeg snapshot? I tried onvif/snapshot, snapshot and other typical path but nothing. I tried also at 8001 port. My cam is a Guudgo GD-SC03.

--- EDIT ---

When I try the url http://192.168.1.1:554/snapshot I receive a different message: Can't get picture. and the log reports: DoHTTPCommand ==> DoCGI: snapshot DDISnapshot_: Unsupported resolution 320x240

roleoroleo avatar May 14 '18 18:05 roleoroleo

Using a disassembler I found that the correct size is 320x180. I patched p2pcam and now it works.

roleoroleo avatar May 18 '18 09:05 roleoroleo

I (and probably others) would be interested by your patched p2pcam for taking snapshot. Can you provide it?

davidlb avatar May 18 '18 12:05 davidlb

Sure. I think p2pcam depends on the firmware version. But I will share my version as soon as possible.

roleoroleo avatar May 18 '18 16:05 roleoroleo

https://repository.ilpuntotecnico.com/files/roleo/public/guudgo_gd-sc03/p2pcam.tgz Feel free to share it. Fw version: 3.2.0.1118.

roleoroleo avatar May 18 '18 17:05 roleoroleo

Great, it works for me on Digoo DG-W01F (don't know how to get the Fw version) Thanks !

davidlb avatar May 18 '18 20:05 davidlb

You can read the firmare version in the log of onvifer, at the bottom of the page. Add Onvif camera, select name and IP, select user and password, select TCP transport, overwrite snapshot port with 554 and run.

roleoroleo avatar May 19 '18 08:05 roleoroleo

@roleoroleo What did you patched in the p2pcam binary? Can you give me some more infos? My firmware is 3.1.0.0824, so i can't use your version of binary. I will try to patch my p2pcam on my own.

Cruiser79 avatar Aug 07 '18 09:08 Cruiser79

Have you got any pointers for patching p2pcam? I'd like to look in to increasing the bitrate of the RTSP stream.

ant-thomas avatar Aug 07 '18 10:08 ant-thomas

I simply changed the wrong resolution 0xF0 with 0xB4 at binary offset 0x00035EFC (see my file above). F0 10 A0 E3 ---> B4 10 A0 E3 MOV R1, #0xF0 ---> MOV R1, #0xB4

roleoroleo avatar Aug 08 '18 07:08 roleoroleo

Ok, i will search the position in my file. Which disassembler did you used, to find this position?

Cruiser79 avatar Aug 08 '18 08:08 Cruiser79

Works on DG-MYQ as well!!!

edsub avatar Sep 13 '18 15:09 edsub

Great, it works for me on Digoo DG-W01F (don't know how to get the Fw version) Thanks !

How do you get the snapshot exactly?

driesvancraen avatar Jul 16 '19 09:07 driesvancraen