i.MX51 EVK Board USB Camera

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX51 EVK Board USB Camera

i.MX51 EVK Board USB Camera

In order to get USB cameras (web cams) working on i.MX 51 EVK board running Ubuntu, a few steps must be followed, and they are:

  1. Enable USB Camera's drivers on Kernel
  2. Test it using Gstreamer or another compatible software (as Cheese)

Kernel Driver

USB cameras (web cameras) on Linux work over GSPCA driver, to enable this driver you need to go to:

./ltib -c 
  
[*] Configure the kernel 
    Device Drivers --> 
         Multimedia Devices --> 
              [*] Video Capture Adapters --> 
                   [*] V4L USB Devices --> 
                        <*> USB Video Class (UVC) 
                                     [*] UVC input events device support 
                        <*> GSPCA Based WebCams -->

From this point, you need to choose your specific driver. If you don't know, you can select all of those options as a built-in module "<*>" that will work.

Gspca.jpg
GSPCA Drivers

USB Camera Detection

Connect your USB camera to the USB Host port on i.MX 51 EVK board and then type "dmesg", and also check if there is a video0 device using:

ubuntu@ubuntu-desktop:~$ ls /dev/video0 
/dev/video0
Camera_det.jpg
USB Camera Detection

Gstreamer Command Line

In order to test your USB camera using Gstreamer plugin, use the following command line to perform it:

ubuntu@ubuntu-desktop:~$ gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink 

and the results:

USBCamera.jpg
Hi there !!!

EOF !


ラベル(2)
タグ(2)
評価なし
バージョン履歴
最終更新日:
‎09-10-2020 03:38 AM
更新者: