UDOO Camera Module
UDOO Camera module is designed to be connected via CSI interface to UDOO Camera Connector. Connection is made via a FLAT-213-16PIN cable.
Important: Never Connect UDOO Camera Module when UDOO is on! This could potentially damage the board and the camera.
Camera with Android
No additional operations needed. Just connect the Camera Module and boot Android. The camera will be automatically recognized by the system.
Using with Gstreamer on Linux
UDOO Camera can be accessed in Hardware mode using Gstreamer Pipelines Specifically with Freescale-provided element mfw_v4lsrc:
To get camera’s stream in Fullscreen’s transparency mode, you can use
gst-launch-0.10 mfw_v4lsrc ! mfw_v4lsink
To retrive camera’s stream in windowed mode, use
gst-launch-0.10 mfw_v4lsrc ! ffmpegcolorspace ! ximagesink
If you wish to retrieve more information on mfw_v4lsrc, you can use
More Informations on Freescale's gstreamer pipelines can be found at
Using with Loopback Device
To use UDOO Camera Module as an ordinary webcam a loopback device is necessary. We can create such device routing the video stream from the camera to a virtual /dev/video device via v4l2loopback
In order to achieve what above we need to have
To create a loopback device on /dev/video7 called UDOO Camera Module we can then execute
sudo modprobe v4l2loopback video_nr=7 card_label="UDOO Camera Module" sudo gst-launch-0.10 mfw_v4lsrc ! ffmpegcolorspace ! v4l2sink device=/dev/video7
The first command loads v4l2loopback module and creates the video loopback device while sudo gst-launch-0.10 puts the hardware streams in it.
Now we can access the UDOO Camera module as an ordinary webcam