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.
Streaming 720p@30fps video
Re: Streaming 720p@30fps video
Maybe if you have h.264/h.265 encoding
-
- Posts: 4
- Joined: Thu Aug 03, 2017 10:14 pm
Re: Streaming 720p@30fps video
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)}
{Camera --> ISP + H.264 encoder --> ESP32 (Wi-Fi)} --> {ESP32 (Wi-Fi) --> ESP32 (Bluetooth)} --> {Smart phone (Bluetooth)}
Re: Streaming 720p@30fps video
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?
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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Streaming 720p@30fps video
Why do you need an esp32 to relay WiFi to Bluetooth when the smartphone has WiFi already?
-
- Posts: 4
- Joined: Thu Aug 03, 2017 10:14 pm
Re: Streaming 720p@30fps video
@ 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.
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
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!
H.264 encoder --> ESP32 (Wi-Fi)
The interface between them should be USB usually.Thanx!
Re: Streaming 720p@30fps video
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.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.
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.
-
- Posts: 4
- Joined: Thu Aug 03, 2017 10:14 pm
Re: Streaming 720p@30fps video
Thank you all for your thoughts.
Who is online
Users browsing this forum: renatopinheiro and 76 guests