Streaming 720p@30fps video

PatrickC1026
Posts: 4
Joined: Thu Aug 03, 2017 10:14 pm

Streaming 720p@30fps video

Postby PatrickC1026 » Thu Aug 03, 2017 10:25 pm

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Streaming 720p@30fps video

Postby WiFive » Fri Aug 04, 2017 5:04 am

Maybe if you have h.264/h.265 encoding

PatrickC1026
Posts: 4
Joined: Thu Aug 03, 2017 10:14 pm

Re: Streaming 720p@30fps video

Postby PatrickC1026 » Fri Aug 04, 2017 4:21 pm

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)}

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Streaming 720p@30fps video

Postby kolban » Mon Aug 07, 2017 5:02 am

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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Streaming 720p@30fps video

Postby WiFive » Mon Aug 07, 2017 6:31 am

Why do you need an esp32 to relay WiFi to Bluetooth when the smartphone has WiFi already?

PatrickC1026
Posts: 4
Joined: Thu Aug 03, 2017 10:14 pm

Re: Streaming 720p@30fps video

Postby PatrickC1026 » Tue Aug 08, 2017 12:58 am

@ 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.

temp4eb
Posts: 35
Joined: Tue Jun 06, 2017 8:59 am

Re: Streaming 720p@30fps video

Postby temp4eb » Wed Aug 09, 2017 4:08 am

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!

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Streaming 720p@30fps video

Postby ESP_igrr » Wed Aug 09, 2017 10:14 am

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.

PatrickC1026
Posts: 4
Joined: Thu Aug 03, 2017 10:14 pm

Re: Streaming 720p@30fps video

Postby PatrickC1026 » Thu Aug 10, 2017 3:33 pm

Thank you all for your thoughts.

Who is online

Users browsing this forum: No registered users and 66 guests