jameszah / ESP32-CAM-Video-Recorder-junior

Simple fast version of ESP32-CAM-Video-Recorder
GNU General Public License v3.0
285 stars 54 forks source link

Is it possible to add FTP to Video-Recorder-junior version ?? #11

Closed Ak1167 closed 2 years ago

Ak1167 commented 3 years ago

Hi Guys. I was finally able to upload and run this module with this version (junior) . I really appreciate your job.and now I have a problem. How i can play recorded videos remotely ? In video-recorder-master version there is FTP ability to connect to module by FTP supporting software.( I tried to connect with ES Explorer on my Android gadget . but I wasn't success) there is FTP server codes in recorder-master folder but I don't know how to add it in junior version. I hope for your helps. thanks all.

jameszah commented 3 years ago

There is a version here with ftp:

https://github.com/jameszah/ESP32-CAM-Video-Recorder-junior/issues/1#issue-740004083

The main changes are to start the ftp in the setup(), and call the handler once (plus or minus) per loop.


  ftpSrv.begin("esp", "esp");

  ftpSrv.handleFTP();

I found the ftp was quite slow for these massive avi files so did not add it here -- my use case for this program is battery powered, and mobile, so the long power hungry ftp transfer didn't suit it.

I have another program that will record short videos and send them to telegram, so there are accessible on your phone or computer, anywhere on the web.

https://github.com/jameszah/ESP32-CAM-Video-Telegram

Ak1167 commented 3 years ago

Thanks a lot Jameszah :+1: It is really good idea to send videos on telegram and see them every where you are. But problem is here that 1.Telegram is forbidden in our country and we had to use proxy. 2.I don't know how to set proxy on my modem to make connecting device to telegram. do you know another application ?

Ak1167 commented 3 years ago

Hi again. I have good news that I found an application like telegram(by my friends help) to make robot and use it to show recorded videos.(it's Bale https://devbale.ir/) But bad news is there than I couldn't change code to make it works yet.

jameszah commented 3 years ago

I think a better solution is to switch to email - no website to block other than the endless email sites.
A 3MB email with an embedded avi is doable. Plus you can reduce the security from the high grade SSL that telegram uses, so might be quicker and simpler for the esp32.

I've been browsing the esp32 email sender programs ... simpler than telegram but not trivial.

Remind me why you are not using https://github.com/jameszah/ESP32-CAM-Video-Recorder

Ak1167 commented 3 years ago

Thanks a lot I tried to send the photo taken with the camera via email with the module.it was successful. Now I want to combine Junior with Email sender. Because of I'm not using ESP32-cam-video recorder is that following picture ....

Low speed video recording and low quality .but junior version has a much better result.

P1

jameszah commented 3 years ago

Check out new version here: https://github.com/jameszah/ESP32-CAM-Video-Recorder

Ak1167 commented 3 years ago

Thanks a lot. I try it soon.

jameszah commented 2 years ago

... new version better than ftp!