how to transmit video via tcp/ip

alvin_xie
Posts: 17
Joined: Fri May 11, 2018 1:48 am

how to transmit video via tcp/ip

Postby alvin_xie » Fri May 11, 2018 2:12 am

how to transmit video via tcp/ip.The video got from SPI,does the ESP32 has enough memory to save and transmit video?

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

Re: how to transmit video via tcp/ip

Postby ESP_Sprite » Fri May 11, 2018 3:40 am

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.

alvin_xie
Posts: 17
Joined: Fri May 11, 2018 1:48 am

Re: how to transmit video via tcp/ip

Postby alvin_xie » Mon May 14, 2018 12:56 am

almost 320*480 , RGB565,30fps, 5second video file get from SPI.(other ARM transmit this file to ESP32 via SPI)

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

Re: how to transmit video via tcp/ip

Postby ESP_Sprite » Mon May 14, 2018 6:41 am

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.

alvin_xie
Posts: 17
Joined: Fri May 11, 2018 1:48 am

Re: how to transmit video via tcp/ip

Postby alvin_xie » Mon May 14, 2018 12:21 pm

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?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], MicroController and 92 guests