* [[:|Wiki Home]]
* [[:cheat_sheet|Cheat Sheet]]
* [[:compiling_on_virtualbox|Precompiled virtual tools]]
* [[:carambola_where_to_start|Where to start]]
* [[:carambola_connecting|Connecting to carambola]]
* [[:carambola_using_and_customizing|Using and Customizing]]
* [[:carambola_demo_projects|Demo projects/examples]]
* [[:carambola_hardware|Hardware]]
====== Notes ======
You need camera which supports UVC ([[http://www.ideasonboard.org/uvc/#devices|list]])
By default camera can be accessed from LAN interface. It is not available on WAN port.
====== Compile custom image ======
make menuconfig
Select:
* Kernel modules
* Video Support
* Select all if unsure
make
Flash new compiled image.
====== Installing ======
Open terminal to carambola
opkg update
opkg install mjpg-streamer
====== Setup ======
mjpg_streamer gets configuration from ''/etc/config/mjpg-streamer'' file, which by default looks like:
config mjpg-streamer core
option device "/dev/video0"
option resolution "640x480"
option fps "25"
option port "8080"
option enabled "true"
====== Startup & using ======
It starts with system.
If you wish, you can start mjpg_streamer manual way:
1. Kill running instance:
killall -9 mjpg_streamer
or
kill -9 `pidof mjpg_streamer`
or
/etc/init.d/mjpg-streamer stop
2. Run it
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 1600x1200 -f 25" -o "output_http.so -p 8080"
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480 -f 25" -o "output_http.so -p 8080"
mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 854x480 -f 25" -o "output_http.so -p 8080"
3. Open browser or ip stream viewer (like VLC or something else) and see video
http://<carambola_ip_address>:8080/?action=stream
or if you wish single image.
http://<carambola_ip_address>:8080/?action=snapshot