Decoding mjpg stream to esp32
Posted: Tue May 12, 2020 5:35 pm
Hello all! I have a project idea but I'm not sure how to go about making it.
I have an octopi setup and it is currently sending an mjpg stream over wifi. Right now my esp32 can connect to wifi and is running an ST7789 tft display (runs over spi) through the wonderful TFT_eSPI library. I am trying to figure out how to stream the contents of the mjpg stream onto the display of my esp32. The resolution is not what I'm going for here, it can be super low but I would at least like to get about 5 fps. I can lower the stream's resolution to whatever is needed to decrease the computational load on the esp32.
I don't know where to start. I don't know how to request/decode a jpg, much less a stream of them. I have some idea of how to display a decoded jpg using Bodmer's jpg decoding library though...
If you have some idea of how to do this, please tell me at least what direction to go to try to start this... really any information would be helpful. I've tried googling similar projects but the results get drowned out with the 1000's of esp32cam tutorials
Anyways, thanks in advance for any help you offer. Really, I appreciate it.
I have an octopi setup and it is currently sending an mjpg stream over wifi. Right now my esp32 can connect to wifi and is running an ST7789 tft display (runs over spi) through the wonderful TFT_eSPI library. I am trying to figure out how to stream the contents of the mjpg stream onto the display of my esp32. The resolution is not what I'm going for here, it can be super low but I would at least like to get about 5 fps. I can lower the stream's resolution to whatever is needed to decrease the computational load on the esp32.
I don't know where to start. I don't know how to request/decode a jpg, much less a stream of them. I have some idea of how to display a decoded jpg using Bodmer's jpg decoding library though...
If you have some idea of how to do this, please tell me at least what direction to go to try to start this... really any information would be helpful. I've tried googling similar projects but the results get drowned out with the 1000's of esp32cam tutorials
Anyways, thanks in advance for any help you offer. Really, I appreciate it.