Hardware Reference
In-Depth Information
As the script starts, the input parameters that will be taken into consideration
are displayed. You can now identify this information, as they have been
explained previously:
• The detected device from V4L2
• The resolution that will be displayed, according to your settings
• Which port will be opened
• Some controls that depend on your camera capabilities (tilt, pan, and so on)
If you need to change the port used by MJPG-Streamer , add -p xxxx at
the end of the command, which is shown as follows:
debian@beaglebone:~/mjpg-streamer-code/mjpg-streamer$
./mjpg_streamer -i "input_uvc.so" -o "output_http.so -w
www -p 1234"
Let's add some security
If you want to add some security, then you should set the credentials:
debian@beaglebone:~/mjpg-streamer-code/mjpg-streamer$ ./mjpg-streamer -o
"output_http.so -w ./www -c debian:temppwd"
Credentials can always be stolen and used without your consent.
The best way to ensure that your stream is confidential all along
would be to encrypt it.
So if you intend to use strong encryption for secured applications,
the crypto-cape is worth taking a look at
http://datko.net/2013/10/03/howto_crypto_
beaglebone_black/ .
"I'm famous" - your first stream
That's it. The webcam is made accessible to everyone across the network
from BeagleBone; you can access the video from your browser and connect
to http://192.168.0.15:8080/ .
 
Search WWH ::




Custom Search