Sending real time video from one room to the other
Hello, I want to send live streaming video from Raspberry Pi 3 B+ and the camera from one floor to the other. The problem is that the onboard WiFi that Raspberry has does not work properly.. Maybe the distance is too large... Maybe because they are not on the same floor... I don't know. Any solution to this? Should I use 4G modem? Or a WiFi module with high gain antenna? Something else?
Re: Sending real time video from one room to the other
An ethernet cable works best, also it allows you to verify that the streaming works if the bandwidth is good enough.
And you can measure the bandwidth needed so you know what standard Wifi adaptors you might use.
Or what about Powerline networking ?
And you can measure the bandwidth needed so you know what standard Wifi adaptors you might use.
Or what about Powerline networking ?
Re: Sending real time video from one room to the other
From a google search a powerline interfaces with ethernet, so I have to send all the information through that. Because I want to implement bidirection communication, meaning, not only get information (images) from the Raspberry + the camera, but also sending commands from my laptop to the raspberry+camera, is sockets programming a solution? Is there any other API/GUI more appropriate or github source code for that?
Thank you...
Thank you...
Re: Sending real time video from one room to the other
Powerline networking is a potential headache. The signal doesn't like travelling through circuit breakers so if you've got different circuits for each floor then expect throughput to be bad. It is also very prone to interference from other devices in the building as well. If it works then great but diagnosing problems with it can be difficult.
If you want something ready to deploy then look at https://motion-project.github.io/
If you want something ready to deploy then look at https://motion-project.github.io/
Re: Sending real time video from one room to the other
Is there a way to calculate the bandwidth usage If I manage to send video? I mean the (bandwidth I use)/(total bandwidth capacity)
And I need to build a function in python that every time I consume bandwidth to capture this. I am googling it, but I would be grateful if you could help me.
Thanks...
And I need to build a function in python that every time I consume bandwidth to capture this. I am googling it, but I would be grateful if you could help me.
Thanks...
Re: Sending real time video from one room to the other
Dont overthink it. It seems like you right now havent setteled on how to stream the video between two Pis.
There is a very simple command called "dstat" that will print out every second a line with CPU usage, disk usage and network traffic.
And another tool like "iperf3" can be used to test the max-speed you can get between two machines.
There is a very simple command called "dstat" that will print out every second a line with CPU usage, disk usage and network traffic.
Code: Select all
sudo apt install dstat
pi@raspberrypi:~ $ dstat
You did not select any stats, using -cdngy by default.
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai stl| read writ| recv send| in out | int csw
0 0 100 0 0| 566B 3762B| 0 0 | 0 0 | 258 76
3 2 67 28 0| 0 176k| 684k 43k| 0 0 |1904 1948
11 5 84 0 0| 0 6144k|5359k 176k| 0 0 | 11k 12k
11 8 73 8 0| 0 5640k|5452k 145k| 0 0 | 10k 10k
13 8 79 0 0| 0 4376k|5288k 92k| 0 0 |9412 8737
9 7 84 0 0| 0 6688k|5375k 125k| 0 0 | 10k 11k
13 7 80 0 0| 0 4096k|2959k 80k| 0 0 |8398 6879
9 6 85 0 0| 0 2872k|2406k 44k| 0 0 |5810 4238 ^C
Re: Sending real time video from one room to the other
This is something I bookmarked some time ago and still quite keen to give it a go when I get chance:
https://befinitiv.wordpress.com/wifibro ... ideo-data/
https://befinitiv.wordpress.com/wifibro ... ideo-data/