Difference between revisions of "Rock/Camera"
< Rock
(→CSI) |
|||
Line 15: | Line 15: | ||
== CSI == | == CSI == | ||
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware. | On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports '''OV5640''' and '''OV2659''' sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware. | ||
+ | |||
+ | Kernel driver supports resolution 800*600, NV16 and YUV420P formats. | ||
+ | |||
+ | |||
+ | Read image from ffmpeg. | ||
+ | ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4 | ||
+ | |||
+ | |||
+ | V4L2 program read examples. | ||
+ | NV16 format read and display example. | ||
+ | http://dl.radxa.com/users/jack/cap_img_nv16.c | ||
+ | |||
+ | YUV422P format read and display example. | ||
+ | http://dl.radxa.com/users/jack/cap_img_yuv422p.c |
Revision as of 12:48, 4 August 2015
Contents
USB
Support list
Below is the list of the USB cameras supported by Radxa Rock stock Android firmware.
- Logitech C110/C210/C270
- madsn MD-903
- teclast L200
- bluelover T998
- gsou B18/D30/D50
- HYUNDAI S36
CSI
On rock pro/lite, there is CSI camera interfaces, the rock pro/lite default kernel supports OV5640 and OV2659 sensors. Most sensors of this two model on the market are compatible with rock pro/lite on hardware.
Kernel driver supports resolution 800*600, NV16 and YUV420P formats.
Read image from ffmpeg.
ffmpeg -f video4linux2 -s 800*600 -r 20 -i /dev/video0 test.mp4
V4L2 program read examples.
NV16 format read and display example. http://dl.radxa.com/users/jack/cap_img_nv16.c
YUV422P format read and display example. http://dl.radxa.com/users/jack/cap_img_yuv422p.c