Save ESP32-CAM Video to Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • 1 Hour Recording Test to AVI file(Recoding AVI file from ESP32-CAM RTSP on RPI Zero 2 W)
    The ESP32-CAM is an ESP32 board with a very affordable camera module.
    There are many projects going on because we can try many projects for a very low price.
    What I tested in this video was saving the video from the ESP32-CAM on RPI Zero 2 W to an AVI file.
    It was not easy to create and save video files from the ESP32-CAM externally. However, if you use the record function of VLC Player, you can save the video very easily.
    [TenDollarWebcam]
    github.com/gee...
    [tendollar-esp32-cam (Arduino IDE)]
    github.com/Dav...
    [Getting Started, Install Raspberry Pi Zero 2W 64-bit OS to 128GB SD Card]
    • Getting Started, Insta...
    [Raspberry Pi Zero 2 W with WebCam, and OpenCV Test]
    • Raspberry Pi Zero 2 W ...
    [ESP32-CAM AI-THINKER + FTDI USB to TTL Serial Converter]
    amzn.to/3HBjjKM
    [ELECROW Raspberry Pi Monitor 7 Inch Touchscreen IPS 1024x600]
    amzn.to/3USCHIu
    [Samsung PRO Endurance 128GB 100MB/s (U1)]
    amzn.to/3pByqf1
    [Mini HDMI to Standard HDMI Cable 6 Feet]
    amzn.to/3sCoRi0
    [Zebra Zero Heatsink Case in Black Ice]
    amzn.to/3Ca21S3
    [MakerSpot 4-Port Stackable USB Hub HAT]
    amzn.to/3IGookx
    #ESP32CAM #RPI #VLC #AVI #RTSP #ThatProject
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 39

  • @ThatProject
    @ThatProject  2 ปีที่แล้ว +2

    For more projects - th-cam.com/users/ThatProject
    That Project Github Repository - github.com/0015/ThatProject
    Join FB Group - facebook.com/groups/138965931539175

  • @jameszahary
    @jameszahary 2 ปีที่แล้ว +3

    Interesting - I used the same hardware, but set up motioneye on the pi2w, and my esp32-cam-video-recorder on several esp32 -- I found the rtsp on esp32 to be a little slow. Motioneye can take a mjpeg stream, or even better just query a jpeg from the esp32 10+ times a second, and motioneye will merge it into an efficient h264 video plus do motion detection, while the esp32 will record those giant high frame rate mjpeg files on the esp32 if you need that video. Usually the slower efficient video from the pi2w is all you need.

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว

      That's great. If there is an opportunity, I'd like to do a project with Motioneye.

    • @Etienne85
      @Etienne85 ปีที่แล้ว

      I'm just curious to see if esp32 is able to provide that 10 records per sec?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      @@Etienne85 It depends on the resolution, but 10FPS seems to be no problem.

  • @ardeahimawannugroho1331
    @ardeahimawannugroho1331 5 หลายเดือนก่อน +1

    Hi, can I ask you something? I plan to make a home door security system project using face recognition (convolutional neural network method) based on the Internet of Things for my campus assignment. I will use raspberry pi zero w for the brain and esp32cam for the video stream. The system works esp32cam (web server) will send an IP and will be retrieved by raspberry pi zero w, for face recognition using the convolutional neural network method it uses openCV and there will be 3 sensors (vibration sensor, ultrasonic sensor (HC-SR04), reed switch sensor) and will be displayed on a TFT screen to see from the user's side and there will be a website for administrators to add their face database and there will be a realtime livestream on the website so that it can be checked when outside and there is a history for who is outside. Can this be possible? if so, what steps should I take? Thx u

    • @ThatProject
      @ThatProject  5 หลายเดือนก่อน +1

      First of all, I think it would be a good idea to create a part where RPI receives the video from ESP32CAM and processes it with OpenCV.

  • @ITSME-tz8qe
    @ITSME-tz8qe 7 หลายเดือนก่อน +1

    What if I want to receive image? What changes should I do?

    • @ThatProject
      @ThatProject  7 หลายเดือนก่อน

      What do you mean by to receive image? You want to get only a single image instead of streaming?

  • @somebody6590
    @somebody6590 4 หลายเดือนก่อน

    Hi, nice idea. Is it possible to directly connect the esp camera to the pi? Would be pretty interesting if so/

    • @ThatProject
      @ThatProject  4 หลายเดือนก่อน

      I think you can set RPI to operate in WiFi AP mode, access it from ESP32-CAM, and then do the same thing.

    • @somebody6590
      @somebody6590 3 หลายเดือนก่อน

      @@ThatProject Nice, Thanks

  • @adornnet
    @adornnet ปีที่แล้ว

    @That Project Thanks for the Great video. Any chance we could have the planned project of multiple camera with RPI and the recording at defined time period let say it records and save every 15mins or 30 mins or an hour? This is for easier searching of recording.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      That's a good idea. But it's not easy to create an application that runs on Linux. Let's see what I can do about it.

  • @cjlowe1650
    @cjlowe1650 ปีที่แล้ว

    Question! Where does the sd card go? What format? NTFS? FAT FAT32, exFat?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      I believe it should be FAT32 for ESP32.

  • @nogamenolife9870
    @nogamenolife9870 ปีที่แล้ว

    that so cool im looking this for while but can this make static ip ?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      I tested this on my local network. Additional work is required to use static IP.

  • @kilobytes_
    @kilobytes_ ปีที่แล้ว

    Great video, I have been looking for something like this, where can I find the code ?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      I think all you need to do for this project is to prepare your ESP32CAM with this source code, github.com/geeksville/TenDollarWebcam
      and VLC for RPI.

    • @kilobytes_
      @kilobytes_ ปีที่แล้ว

      @@ThatProject Thank you.

  • @jbc8220
    @jbc8220 9 หลายเดือนก่อน

    Would i get better video quality if i use high definition camera for the esp32? Or it has limit because of being wireless?

    • @ThatProject
      @ThatProject  9 หลายเดือนก่อน

      Unfortunately, a bottleneck occurs between acquiring images from the ESP32 and transmitting them again via WIFI, making it difficult to acquire/transmit images very quickly. You either have to reduce the picture quality to improve performance, or increase the picture quality and give up performance.

    • @jbc8220
      @jbc8220 9 หลายเดือนก่อน

      @@ThatProject thankss. Im planning to use a wireless camera for facial recognition purposes.
      Seems the best way is just use a wired camera since I need good performance and high quality video capture for it🙂

  • @gabrielchong8602
    @gabrielchong8602 2 ปีที่แล้ว

    I saw the recorded video around 35min go a shacking, is it due to network or device stability?

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว

      The network connection between the ESP32 and the router was unstable momentarily so a frame drop occurred. Next time, I will make the Raspberry Pi in AP Mode and test it by connecting it directly to the ESP32.

    • @thenextproblem8001
      @thenextproblem8001 2 ปีที่แล้ว

      @@ThatProject waiting for this feature 👌 it will be awesome to watch underwater with esp 🤭

  • @thewolfofswingthat2035
    @thewolfofswingthat2035 2 ปีที่แล้ว

    if you have a raspberry pi zero 2, just use it as a video cam lol, it has better cameras

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว

      You're very true. We can use a much better camera with RPI. The point of this project is to connect the camera wirelessly. It's gonna be the basic part of making a multi-channel surveillance camera system.

    • @thewolfofswingthat2035
      @thewolfofswingthat2035 2 ปีที่แล้ว

      @@ThatProject i see. i love your videos, keep the good work up

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว

      @@thewolfofswingthat2035 Thanks man

  • @the_go0ber
    @the_go0ber หลายเดือนก่อน

    oh my pkcell

    • @ThatProject
      @ThatProject  หลายเดือนก่อน

      You mean battery?

  • @josepalacid
    @josepalacid 2 ปีที่แล้ว

    Great projects, great videos. Bad audio...
    Could you try to vo-ca-li-ze a bit? If you are in for viewers, you really should offer a pleasant experience. A bad audio denotes lack of care to your audience, more than is actually valued.

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว +1

      Agreed. I'll do my best to make it better.

  • @skoylux
    @skoylux ปีที่แล้ว

    Wrong selection. You must use, v3s or f1c200 or similar chips, such as lichee pi. This chips have powerful video compression hardware and contains all needed others, ram, codec, eth phy etc.
    And really very cheap solutions.

  • @Arman2365
    @Arman2365 2 ปีที่แล้ว

    Thats cool 👍, what was the fps from esp32 rtsp source?

    • @ThatProject
      @ThatProject  2 ปีที่แล้ว

      As you can see from the video, it's not that bad. I didn't check the FPS while making this project. It would be nice if there is a way to check FPS in VLC Player.

  • @thewolfofswingthat2035
    @thewolfofswingthat2035 2 ปีที่แล้ว

    hi That Project, i set it to AP mode and used my VLC for android on my phone but i cant receive any stream. 192.168.1.1 on browser is working fine tho, but not on VLC. any reason what went wrong? is inputting rtsp://192.168.0.8:8554/mjpeg/1 or rtsp://192.168.1.1:8554/mjpeg/1 into the stream input in vlc player correct?