Hardware setup - LeopardBoard DM365

From RidgeRun Developer Connection

(Difference between revisions)
Jump to:navigation, search
(5Mpx Camera Module - LI-5M03)
(Video composite input board - LI-VI365)
Line 28: Line 28:
There is a video composite input board which allows to capture video from either a composite input or a S-Video input. The module is shown in the figure 3.
There is a video composite input board which allows to capture video from either a composite input or a S-Video input. The module is shown in the figure 3.
-
[[File:LIVI365_capture_module.jpeg|500px|thumb|center| Figure 1. LI-VI365 video capture module.]]
+
[[File:LIVI365_capture_module_picture.jpeg|500px|thumb|center| Figure 3. LI-VI365 video capture module.]]
-
In order to activate this module you need to activate the ''Texas Instruments TVP514x video decoder'' driver in the following path into the configuration window of the SDK:
+
In order to activate this module you need to activate the ''Texas Instruments TVP514x video decoder'' driver in the following path into the configuration window of the SDK (See figure 4):
       -> Kernel configuration                                                 
       -> Kernel configuration                                                 
Line 38: Line 38:
               -> Autoselect pertinent encoders/decoders and other helper     
               -> Autoselect pertinent encoders/decoders and other helper     
                 -> Encoders/decoders and other helper chips
                 -> Encoders/decoders and other helper chips
 +
 +
 +
[[File:LIVI365_capture_module.jpeg|500px|thumb|center| Figure 4. Selecting driver for LI-VI365 video capture module.]]
'''Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.'''
'''Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.'''
Line 48: Line 51:
Composite record
Composite record
</pre>
</pre>
-
 
== Video HD component input board - LI-HDI365 ==
== Video HD component input board - LI-HDI365 ==

Revision as of 14:02, 6 July 2011

This page shows the steps necessary to setup the different hardware modules available for the LeopardBoard DM365. The instructions provided are based in the SDK 2011Q2 for LeopardBoard DM365.

Contents

Capture Modules

5Mpx Camera Module - LI-5M03

Figure 1. LI-5M03 camera module.

In order to activate the camera module it is necessary to build the kernel with the MT9P031 sensor driver. You can find this driver at the following path into the configuration window:

    -> Kernel configuration                                                
        -> Device Drivers                                                    
          -> Multimedia support (MEDIA_SUPPORT [=y])                         
            -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y]) 

And select the option mt9p031 support as is shown in the figure 2. Once you have selected the driver for your camera module exit the configuration window and save the changes made. Now you can rebuild your SDK by running the make command and install it into the board running the make install command.

Figure 1. SDK MT9P031 driver.

In order to test the module has been built correctly you can run the following GStreamer pipeline which will record 500 buffers of video and store them into a video file called video_camera_capture.mp4. Once the video has been recorded it can be played using any multimedia player such as VLC or mplayer.

Video PIPELINE

Video composite input board - LI-VI365

There is a video composite input board which allows to capture video from either a composite input or a S-Video input. The module is shown in the figure 3.

Figure 3. LI-VI365 video capture module.

In order to activate this module you need to activate the Texas Instruments TVP514x video decoder driver in the following path into the configuration window of the SDK (See figure 4):

     -> Kernel configuration                                                
        -> Device Drivers                                                    
          -> Multimedia support (MEDIA_SUPPORT [=y])                        
            -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])           
              -> Autoselect pertinent encoders/decoders and other helper     
                -> Encoders/decoders and other helper chips


Figure 4. Selecting driver for LI-VI365 video capture module.

Note: in order to use the LI-VI365 module it is necessary to desactivate the MT9P031 camera sensor driver.

Once you have selected the driver for the module, you can save all the changes and rebuild your SDK by running the make command and finally install it into your board running the make install command.

In order to verify that the new module was installed correctly you can run the following GStreamer command which will capture a video from the composite input of the module and record it to a video file called composite_capture_module.mp4, then you can reproduce the video file with any multimedia application such as VLC or mplayer.

Composite record

Video HD component input board - LI-HDI365

Display Modules

Navigation
Toolbox