Page 1 of 1
how to transmit video via tcp/ip
Posted: Fri May 11, 2018 2:12 am
by alvin_xie
how to transmit video via tcp/ip.The video got from SPI,does the ESP32 has enough memory to save and transmit video?
Re: how to transmit video via tcp/ip
Posted: Fri May 11, 2018 3:40 am
by ESP_Sprite
Can't say. If you want to encode and transfer full-HD video, there's no way that's going to work. If you need to transmit e.g. an 80x80 image from a thermal camera, it's going to be pretty easy. We'd need to know a bit more about your intended setup and the specs of your input and output streams.
Re: how to transmit video via tcp/ip
Posted: Mon May 14, 2018 12:56 am
by alvin_xie
almost 320*480 , RGB565,30fps, 5second video file get from SPI.(other ARM transmit this file to ESP32 via SPI)
Re: how to transmit video via tcp/ip
Posted: Mon May 14, 2018 6:41 am
by ESP_Sprite
Hmm, 320*480*30fps*16bit is almost 80MBit/second... that's a fairly hefty data stream. I'm actually not even sure if the SPI bus is fast enough to handle this (unless you go for quad-spi) and I'm pretty sure you will not be able to maintain an 80MBit/sec stream in real WiFi circumstances.
Re: how to transmit video via tcp/ip
Posted: Mon May 14, 2018 12:21 pm
by alvin_xie
well, if we encode the video file before transmit it to ESP32 via SPI.
what about this?
in other way, what is the max speed spi and tcp/ip supported? and what is the max memory while transmit via tcp/ip?
e.g. if the file is 5MB,does the spi and wifi can work?