Using DVI Output on DM365Leopard

From RidgeRun Developer Connection
Revision as of 18:39, 28 July 2011 by Caguero (Talk | contribs)

Jump to: navigation, search

An accessory for the LeopardBoard 365 allows you to generate video in DVI format. Attach the LI-DVI1 module to J7, the Parallel RGB (PRGB) port, to add a DVI port to your LeopardBoard.

Figure 1. LI-DVI1 DVI output module for dm365 leopard.


DVI configuration is achieved after three basic steps, done using the RidgeRun's SDK configuration tool, which can be run using:

make config

1) Make sure that the dm365_generic_prgb_encoder is selected. This can be enabled at:

Kernel configuration -> Device Drivers -> Multimedia support -> Video capture adapters -> Generic PRGB Encoder support 
Figure 2. Generic PRGB Encoder enabling.

2) Set the video output to PRGB, then choose the max DVI resolution size that is required (480P, 720P, 1080I).

Architecture configurations -> Video Output (PRGB)
Architecture configurations -> Maximum Video Output Buffer Size    
Figure 3. Generic PRGB output and Maximum Video Output Buffer.

3) Add an extra parameter to the kernel command line, which in the kernel configuration is called an extram kernel argument:

Kernel configuration -> Extra kernel arguments   
Figure 4. Generic PRGB encoder data setup.

Add the PRGB parameter that will be used by the kernel to set the mode.

A couple examples of include:




Test pipelines

Test pipelines (works with dm365_generic_prgb_encoder.mode=1280x720MR-16@60)

Test Pipeline for videotestsrc to DVI output:

gst-launch videotestsrc ! TIDmaiVideoSink videoStd=PRGB

Test pipeline for 5Mp Camera to DVI output

gst-launch v4l2src chain-ipipe=true always-copy=false ! "video/x-raw-yuv,format=(fourcc)NV12, width=1280,height=720,framerate=(fraction)23/1" ! dmaiaccel ! TIDmaiVideoSink videoStd=PRGB sync=false enable-last-buffer=false