Page 1 of 1
Streaming 720p@30fps video
Posted: Thu Aug 03, 2017 10:25 pm
by PatrickC1026
Hello,
Just joined the forum. It seems that ESP32 is a very nice radio. I would like to know if ESP32 can be used to downstream 720p@30fps video via Wi-Fi and upstream same video via Bluetooth. A few millisecond of delay is OK between down and up-stream. Thanks in advance.
Re: Streaming 720p@30fps video
Posted: Fri Aug 04, 2017 5:04 am
by WiFive
Maybe if you have h.264/h.265 encoding
Re: Streaming 720p@30fps video
Posted: Fri Aug 04, 2017 4:21 pm
by PatrickC1026
Thanks for reply. There will be a H.264 encoder at the source. So basically, this is what I'm thinking, but I'm not sure if it will work.
{Camera --> ISP + H.264 encoder --> ESP32 (Wi-Fi)} --> {ESP32 (Wi-Fi) --> ESP32 (Bluetooth)} --> {Smart phone (Bluetooth)}
Re: Streaming 720p@30fps video
Posted: Mon Aug 07, 2017 5:02 am
by kolban
Looking here,
http://www.diffen.com/difference/Bluetooth_vs_Wifi
One sees that the max bit rate of Bluetooth is 2.1M Bits second ... is that enough bandwidth for your desired framerate? What is the size of a frame?
Re: Streaming 720p@30fps video
Posted: Mon Aug 07, 2017 6:31 am
by WiFive
Why do you need an esp32 to relay WiFi to Bluetooth when the smartphone has WiFi already?
Re: Streaming 720p@30fps video
Posted: Tue Aug 08, 2017 12:58 am
by PatrickC1026
@ kolban,
It is true that Bluetooth speed 2.1Mbps, but on couple of forums, I read that 1.5 to 2.0Mbps is good enough for 720p @ 30fps. Perhaps frame rate can be reduced to 24.
@ WiFive,
Since the smart phone will be in very close proximity, and Bluetooth consumes less power than Wi-Fi, I just got that idea. Since Wi-Fi is already connected to the video source radio, I think it's going to be quite complex if not impossible, to use Wi-Fi for relaying video as well.
Re: Streaming 720p@30fps video
Posted: Wed Aug 09, 2017 4:08 am
by temp4eb
I wonder how to feed the h.264 stream to ESP32.
H.264 encoder --> ESP32 (Wi-Fi)
The interface between them should be USB usually.Thanx!
Re: Streaming 720p@30fps video
Posted: Wed Aug 09, 2017 10:14 am
by ESP_igrr
PatrickC1026 wrote:
Since the smart phone will be in very close proximity, and Bluetooth consumes less power than Wi-Fi, I just got that idea. Since Wi-Fi is already connected to the video source radio, I think it's going to be quite complex if not impossible, to use Wi-Fi for relaying video as well.
Regarding power consumption: if you are pushing Bluetooth at its maximum bandwidth, then all things being equal (including TX power), it will not consume less than if you do same over WiFi.
Also with regards to using WiFi and BT: since there is only one radio on the ESP32, WiFi and BT are going to compete for air time, and because BT is much less tolerant to violation of real time constraints, it is going to heavily reduce wifi throughput when you try to use maximum air time for BT. I think receiving and re-transmitting over wifi is much more feasible.
Re: Streaming 720p@30fps video
Posted: Thu Aug 10, 2017 3:33 pm
by PatrickC1026
Thank you all for your thoughts.