Streaming Video From an SD Card on the ESP32.

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 93

  • @atomic14
    @atomic14  Рік тому +3

    If you'd like to help support the channel and help me buy more nonsense - I have a Patreon page: www.patreon.com/atomic14
    We've also got a shop now! shop.atomic14.com
    And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
    Aliexpress - s.click.aliexpress.com/e/_Ac05mF
    Amazon - www.amazon.com/?tag=atomic14-20
    You can also join us on Discord here: discord.gg/h2DDnDdjD2
    There's also the Atomic14 newsletter here: atomic14.substack.com/
    And don't forget about the MakerNews newsletter - makernews.substack.com/

    • @OMNI_INFINITY
      @OMNI_INFINITY Рік тому +1

      Had posted this question earlier, but it seems yt sadly censored it because it had a URL. Can have a look at this S3 board design I made and clarify what needs to be changed about it (if anything), aside from adding boot and reset buttons and a better USB port? Thanks in advance!:
      oshwlab dotto commo/allonesuncorp/esp32-board
      (Yes, the dotto commo is a . and a com)

    • @OMNI_INFINITY
      @OMNI_INFINITY Рік тому

      PS: Can TwoWire do 3 i2c bus instances or is it called TwoWire because it can only make 2? Trying to add an OLED to an ESP32 project that already has 2 sensors on 2 TwoWire i2c buses.

    • @carljay4021
      @carljay4021 Рік тому

      How can I find this board?

  • @ChunkySteveo
    @ChunkySteveo Рік тому +7

    Awesome work, as always, Chris! Keep up the great work!!!!! My daughters have requested several versions of the tiny tv already!!

    • @atomic14
      @atomic14  Рік тому +2

      Get them the bits and set them building their own version :)

  • @gearscodeandfire
    @gearscodeandfire Рік тому +2

    Great ad always- i’ve been waiting to binge these!

  • @lastmagmarian9116
    @lastmagmarian9116 Рік тому +9

    Fun fact: The particular adapter you are using already has the grounds connected.

    • @atomic14
      @atomic14  Рік тому +11

      As soon as I read your comment I did think "doh, they'd have to be connected, they are both ground" - so easy to miss obvious things!

  • @raevod6361
    @raevod6361 Рік тому +5

    I absolutely love this video, please keep it up.

    • @atomic14
      @atomic14  Рік тому

      Thanks! More videos in the works - though I won't have quite as much time over the next few months.

  • @SojournerDidimus
    @SojournerDidimus Рік тому

    Another crazy idea: "precompile" the video decoding on the PC, pushing effectively an ARM executable onto your SD card dedicated to this exact video playback.

  • @Mr.Engine993
    @Mr.Engine993 2 місяці тому

    This is great, might as well get one of these boards myself and try it. I'd love a version that outputs composite/vga video to en external monitor. It would be like a real set top box!

  • @CharlieAmezquita-fc4vx
    @CharlieAmezquita-fc4vx 5 місяців тому +1

    You should use a amplifier, because the esp32 will prob struggle with audio out

  • @petebowcott8348
    @petebowcott8348 Рік тому +1

    Brilliant, thanks for this Atomic14

    • @atomic14
      @atomic14  Рік тому

      No problem - glad you liked it :)

  • @SinanAkkoyun
    @SinanAkkoyun Рік тому +1

    Yes, another gem of a video!

  • @volkinaxe
    @volkinaxe 4 місяці тому +1

    been trying to find some help for getting a esp32 cam captive portal that can play a video
    from the sd card noted that i am new to programing just looking for something that is ez to use

  • @rklauco
    @rklauco Рік тому +2

    Now you can use the same AVI format for streaming :)

    • @atomic14
      @atomic14  Рік тому +2

      Might work - though AVI is definitely not designed for streaming. It could work a nice intermediate format though - maybe preprocess the videos into it before streaming.

  • @kerogre256
    @kerogre256 Рік тому +2

    I got a very bad experience with mosquitoes this year and decide I will make laser zapping auto aiming using microphones(using 4xESP32 as microphone ) in the room to triangulate position of flying mosquitoes .... I know i know it absurd but I need to try it, and it prabobly will not work due latency(all need to be done under 0.002s)

    • @atomic14
      @atomic14  Рік тому

      That sounds absolutely fantastic!

  • @BrianLough
    @BrianLough Рік тому +1

    Awesome work!

  • @victoribarra9930
    @victoribarra9930 3 місяці тому

    Great. This is not a nonsense. Is a good stuff

  • @arunsp4576
    @arunsp4576 11 місяців тому

    I've been watching all of your videos recent times and you are really 👍 awesome i got plenty of knowledge from you sir ☺️ i would like to thank you for providing the stuffs which I've been stuck for a long time

    • @atomic14
      @atomic14  11 місяців тому

      Thanks! That’s great to know.

  • @posthumanistpotato
    @posthumanistpotato 3 дні тому

    Anyway to improve that speaker output? That's worse than a cellphone on speaker mode. lol. I mean the whole thing is impressive and I'm definitely wanting to have video play on my ESP32 with LCD scree. Just wondering if this was the result of a poor speaker, compression, or amp?

  • @BRUXXUS
    @BRUXXUS Рік тому +1

    Oooh, I'd like to try making a little wearable pin that plays videos! That could be a fun project. Maybe a little screen on a hat? :) Thanks for these fun projects!

    • @atomic14
      @atomic14  Рік тому +1

      I've got a round display that I think would make a really cool badge. In theory, you could fit everything on a PCB behind it including the battery.

    • @BRUXXUS
      @BRUXXUS Рік тому

      @@atomic14 That could be so cool! I do live streams on Twitch and have a hat with some little ws2812b LEDs, and chat can control the colors and effects. I think it would be really fun to let them be able to play GIFs on a badge with a screen. :)

  • @DanHarman1000
    @DanHarman1000 Місяць тому

    Great video, would you be able to make step by step guide on how to do this with a cheap yellow display board using an SD card please?

    • @atomic14
      @atomic14  Місяць тому

      The code already supports the CYD - I’ve just pushed an update that really improves the audio.

    • @DanHarman1000
      @DanHarman1000 Місяць тому

      @@atomic14 ok thanks for the reply

  • @piconano
    @piconano Рік тому +2

    There are only a few ESP32 modules with built-in colour LCD I know of;
    MaTouch series, DIYmalls 3.5", and LILYGO T-Display (without the SD card or touch).
    I think I'll buy a DIYmalls. It's so damn impressive for only CAD $40
    I plan to make a Wifi monitor for my security camera running RPi-Cam-Web-Interface. Thanks for the inspiration.

    • @atomic14
      @atomic14  Рік тому +3

      The Cheap Yellow Display is very cheap - search for "ESP32-2432S028R" the audio is a bit crap, but there are some hacks to make it much better.

    • @piconano
      @piconano Рік тому

      @@atomic14 bought the "MaTouch_ESP32-S3 Parallel IPS with Touch 4.3" [google search]
      Made by same people at makerfabs but with an ESP32-S3, IPS capacitive touch...
      Cheap enough to give it a try.
      Keep up the great work.

    • @atomic14
      @atomic14  Рік тому

      Great - there are so many really nice modules out there at really reasonable prices. And having everything already wired up removes so many annoying bugs with breadboard and dodgy jumper wires.

    • @piconano
      @piconano Рік тому

      @@atomic14 Agreed. Also, I wouldn't be able to build one for that price.

    • @jovialcupid9687
      @jovialcupid9687 Рік тому

      Google "esp32c2 7" AliExpress"'
      They are relatively cheap, 30$

  • @zoenagy9458
    @zoenagy9458 Рік тому +1

    wow ton of work!

    • @atomic14
      @atomic14  Рік тому

      Thanks! It was a fun project and came together surprisingly easily.

  • @PsychogenicTechnologies
    @PsychogenicTechnologies Рік тому

    Cool, nice work! Going to be interesting updating the files on that hardwired SD card... maybe stream from the network, hah :-)

    • @atomic14
      @atomic14  Рік тому

      The micro SD can be popped out from the adaptor. What would be really nice though is the ESP32 acting as a mass storage device when it's plugged in. Not sure if that's possible with an S3.

  • @damienda7705
    @damienda7705 14 днів тому

    HI thanks a lot for your project. I have try on a CYD and it's works. but I have not the good color (black is white, red is green... ) and the video is not so clear as your video . do you have an idea of the problem ? Thanks in advance for your help

  • @ShadowDrag17
    @ShadowDrag17 5 місяців тому +1

    hey dude idk but is it possible to make it run games with a connected controller?

    • @atomic14
      @atomic14  5 місяців тому +1

      Yes, you can hook up a Wii Nunchuk to the QWIIC connector - and there’s also this:
      ua-cam.com/video/foP81O48WAI/v-deo.html

  • @missyoufr1770
    @missyoufr1770 11 місяців тому +1

    What if I want to play only 1 video?

    • @atomic14
      @atomic14  11 місяців тому +1

      Just put one video on the card. You can change the code so that it starts to play automatically.

  • @interestgainer9801
    @interestgainer9801 9 місяців тому +1

    Can you attach a battery with it and make it portable
    And also mention the power consumption while it is running
    I need this information because I am doing a similar type of project like almost 80% same
    Please respond it will help me

    • @atomic14
      @atomic14  9 місяців тому +1

      There’s a battery charger on the board. I have no idea how much current it draws when running.

    • @interestgainer9801
      @interestgainer9801 9 місяців тому +1

      @@atomic14 Ok no problem
      But thank you very much to respond 😊

  • @bk-go6905
    @bk-go6905 Рік тому +2

    What is the spi clock speed with LCD? What is frame rate, and are you redrawing the entire screen every frame?

    • @atomic14
      @atomic14  Рік тому +4

      We're running the SPI at 80MHz and getting 15fps - with some tweaking I think we could reach 20-25fps. The whole screen is redrawn for each frame.

  • @carlatashkadeh5890
    @carlatashkadeh5890 Рік тому

    Very cool!

  • @jonathanr4242
    @jonathanr4242 Рік тому +2

    Can you use CYD or Clem's big yellow display?

    • @atomic14
      @atomic14  Рік тому +1

      Yep, it should work on pretty much any ESP32 board - the CYD is pretty handy as it's got the SD Card and display.

    • @MAYERMAKES
      @MAYERMAKES Рік тому

      Whats clems big yellow display?

    • @atomic14
      @atomic14  Рік тому

      If anyone knows - it should be you! :)

    • @MAYERMAKES
      @MAYERMAKES Рік тому

      @@atomic14 i literally have no clue. Seriously.

    • @jonathanr4242
      @jonathanr4242 Рік тому

      @@MAYERMAKES I thought you mentioned it on the discord? Maybe I’m just getting old.

  • @ethzero
    @ethzero Рік тому

    Very nice 👍

  • @pwbarrett7
    @pwbarrett7 Рік тому

    I've built the project to use the CYD - is there anything else I need to change to use the SD card instead of streaming?

    • @atomic14
      @atomic14  Рік тому

      In the platformio.ini file Ithink it’s already set up to use the SD Card. You just need to select - cheap-yellow-display configuration when you build. If that’s not working can you raise an issue on GitHub repo.

  • @LaOwlett
    @LaOwlett Рік тому +1

    Bicycle live rearview camera?

    • @atomic14
      @atomic14  Рік тому +1

      I'd have to make my build a lot more robust!

    • @LaOwlett
      @LaOwlett Рік тому

      @@atomic14 True. It was just the first thing that came to my mind watching your build lol. I wish my Garmin had one.

  • @argentinomacrifuevidaltamb3772
    @argentinomacrifuevidaltamb3772 11 місяців тому

    Excellent video, it works!!!! I have the cheap-yellow-display and it doesn't go more than 5 frames per second, any way to improve it? Thank

    • @atomic14
      @atomic14  11 місяців тому +1

      There’s a weird conflict at the moment with enabling DMA on the display and using the SD Card. Need to investigate what the issues is as it feels like it should work.

    • @argentinomacrifuevidaltamb3772
      @argentinomacrifuevidaltamb3772 11 місяців тому

      @@atomic14 Ok perfect, thanks for your quick response. Congratulations, your work is excellent. Best regards✌

    • @argentinomacrifuevidaltamb3772
      @argentinomacrifuevidaltamb3772 11 місяців тому

      @@atomic14
      I found this in a forum post
      SDcard and display use the different pins for spi interface.
      Display uses HSPI_HOST and DMA channel 1.
      SDCard uses VSPI_HOST an DMA channel 2.
      Change the DMA channel in the SDCard.cpp file
      this:
      ret = spi_bus_initialize(spi_host_device_t(m_host.slot), &bus_cfg, SPI_DMA_CHAN) ;
      for this one:
      ret = spi_bus_initialize(spi_host_device_t(m_host.slot), &bus_cfg, 2) ;
      SPI_DMA_CHAN fixed to 2.
      This changed a lot and the video is displayed much better with almost no frame loss. When the video is very long after 4 minutes it gets a little slow but very little
      I don't know if it is the final solution but the change is significant.
      Stay tuned to your comments.
      Regards

    • @argentinomacrifuevidaltamb3772
      @argentinomacrifuevidaltamb3772 11 місяців тому

      @@atomic14 Corrected, in larger videos I only lower the quality and it works smoothly on the yellow screen.

  • @NotMarkKnopfler
    @NotMarkKnopfler Рік тому +1

    The young ones? Showing your age there! 😃

    • @atomic14
      @atomic14  Рік тому +1

      I feel ancient somethimes!

  • @drbizzarow
    @drbizzarow Рік тому +1

    I have recently found on you tube ... and u are subscribed ..... and add me in your big admirer list .... lots of love and respect :).

    • @atomic14
      @atomic14  Рік тому +1

      Thanks! Much appreciated.

  • @Yakroo108
    @Yakroo108 10 місяців тому

    👍👍👍

  • @April2023-fb6pf
    @April2023-fb6pf 10 місяців тому

    Tft shield please

  • @TheTurmanDreams
    @TheTurmanDreams Рік тому

  • @piconano
    @piconano Рік тому

    I just finished my ESP32 UFO and radiation monitoring project. The code is 950K which makes it my biggest project to date.
    After ESP8266, I divorced Arduino clowns.

    • @MAV_ist
      @MAV_ist Рік тому

      did it work?

    • @piconano
      @piconano Рік тому

      @@MAV_ist Yes on all acoounts

    • @atomic14
      @atomic14  Рік тому

      That's a lot of code!

  • @tonydiamond4118
    @tonydiamond4118 8 місяців тому

    Be me come up with idea for art project using esp32 and small tft displays
    end up on this video thinking this should help
    realize you don't have the knowledge or skill set to know wtf this dude is even talking about. Great video tho