ant-thomas / zsgx1hacks

Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
365 stars 102 forks source link

Save the recordings to SD Card? #63

Open xlucasfelix opened 6 years ago

xlucasfelix commented 6 years ago

How to set up to save the recordings to the SD Card?

(My model is: GD-SC03 / Guudgo)

ghost commented 6 years ago

Hi,

I finaly get it work on my new Digoo DG-W01F Camera.

I have the same question. By considering I agree to disable to chinese cloud we at least need to record locally videos/pictures coming from this perfect camera code you gave to us. Then how to get motion detection recorded on the SD card ? Or where does it perhaps already record them because I did not find it.

The idea should be to rsync the recorded videos/pictures to external storage connected on the network. I means by considering there is a Linux platform connected to the same network on which a storage is available it should then detect there are new videos/pictures on this remote camera and then rsync them back to the external storage of this Linux platform. It will give back enough place on the MicroSD allowing it to continue recording even videos or interval pictures when motion are detected.

Sincerely thanks for your help or consideration to this request.

ghost commented 6 years ago

Hi,

please consider this as a needed request. It will allow the camera to be used offline and sync its content back to an identified external storage (laptop, raspberry, any IP storage) when it received an IP address.

ljs commented 6 years ago

@miguipda1 Hi, what is your firmware version?

ghost commented 6 years ago

Dear ljs,

I do not have the camera connected now then I just can tell you it was the version installed on my first post. It means around the 19 may 2018. Then I am nearly sure it was the v0.4

Sincerely thank you for your help.

When I will come back from holiday I will check the version installed to give you a better answer.

Have a nice day.

Miguipda

ljs commented 6 years ago

Hello again,

Thanks for your reply too.

No problem, but I mistakenly assumed that you own a Guudgo SC-03, because of the first poster in this thread, so I was asking for firmware version of the Guudgo. I also own a SC-03, and it does not record to SD card when no connection to internet. Which contradicts with the advertised functions actually.... anyway.

I'm afraid I won't be able to assist in regards to your model Digoo DG-W01F, I hope there will be some solution for you too.

Have a nice day too!

L.

ghost commented 6 years ago

Thank you Ljs

2018-07-13 21:32 GMT+02:00 LjS notifications@github.com:

Hello again,

Thanks for your reply too.

No problem, but I mistakenly assumed that you own a Guudgo SC-03, because of the first poster in this thread, so I was asking for firmware version of the Guudgo. I also own a SC-03, and it does not record to SD card when no connection to internet. Which contradicts with the advertised functions actually.... anyway.

I'm afraid I won't be able to assist in regards to your model Digoo DG-W01F, I hope there will be some solution for you too.

Have a nice day too!

L.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ant-thomas/zsgx1hacks/issues/63#issuecomment-404931859, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdS6iydFhnslB-1xuzLPMuFqIuzKnDnks5uGPXfgaJpZM4T7tEL .

--


米革耳 - Mig ;-)


ttl76543 commented 6 years ago

I am using the ZS-GX1, and after booting from the hacked SD card, it also does not record locally to the SD card. Any suggestions? Without the cloud service, local recording is important.

ghost commented 6 years ago

Hi everybody,

I suppose that without an answer from the developer we perhaps could find a part of our need at this page. It WSDL point 14 GetCapabilities show it has a Capabilities - Extension - Recording and at the point 82 SetStorageConfiguration it also seems it could allow us to define where to store the motion detection.

So if someone found the way to set our desired store to the local DS card it should be appreciate to share it to us.

Have a nice day.

Miguipda

Cruiser79 commented 6 years ago

@Miguipda The idea was nice, but my cam don't send a Capabilities - Extension - Recording in the GetCapabilities request. It is optional, says the WSDL. Also the GetStorageConfigurations method is not implemented in my cam. So i thing, sadly this idea is dead.

sanket15n commented 5 years ago

It would be awesome if there can be local video recording function on the SD card itself so we can get these recording via ftp or view the same on WebUI.

It use to create the file " .recording" in SD card the content of the file was the name of latest ongoing video recording media file. In readonly hack this file is empty and no recording is captured.

DBaluxa commented 5 years ago

Hi everybody,

I've implemented the video save function via ffmpeg. You can find the modified code in my pull request: https://github.com/ant-thomas/zsgx1hacks/pull/93

Hope You find it usefull.

DBaluxa

pristis commented 3 years ago

Hi everybody,

I've implemented the video save function via ffmpeg. You can find the modified code in my pull request: #93

Hope You find it usefull.

DBaluxa

Hello!

I was trying to record something, but nothing happens. Can you do some tutorial how to do it. Thanks!

Best regards, Martin

DBaluxa commented 3 years ago

Hello Pristis,

If You check out my modified version (it hasn't been merged yet, https://github.com/DBaluxa/zsgx1hacks), it will work automatically. After You start the camera with the modified code on the SD card, itt will start immadiatelly recording on the SD card.

Best regards, Balazs

pristis commented 3 years ago

Hello Pristis,

If You check out my modified version (it hasn't been merged yet, https://github.com/DBaluxa/zsgx1hacks), it will work automatically. After You start the camera with the modified code on the SD card, itt will start immadiatelly recording on the SD card.

Best regards, Balazs

Hello!

Thanks for your time! I saw your modified code and on the SD card I put the content from "readonlysd" folder. Unfortunately there are still no recordings. I can see the folder with today's date in Videos, but it's empty. ffmpeg.log has many rows with: Wed Dec 2 18:26:48 GMT 2020 Killed

Also the cam reboots continuously after few minutes of working.

Best regards, Martin