Lvds/Hdmi/Vga Test - Advantech ROM-3420CD-MDA1E User Manual

Rom-3420 series risc-based rtx module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

3.1.6

LVDS/HDMI/VGA Test

3.1.6.1
Testing through gplay (for default single display)
Step 1: #gplay /tools/Advantech.avi
Step 2: Then you can see the video demo on the default display screen.
3.1.6.2
Testing through gst-launch (for multi-display)
If you'd like to have multiple displays such as dual LVDS, VGA and HDMI output , you
should set parameter in uboot first. Please refer to section 3.7.5.3 for more detail.
Once the display method is set up, please follow the below instructions to run gst-
launch to play video.
Step1: Turn ON the HDMI display, please type as below
#gst‐launch 
sink="mfw_v4lsink device=/dev/video16"&
Step2: Turn ON VGA display at the same time, please type..
#gst‐launch 
sink="mfw_v4lsink device=/dev/video18"&
You can see independent displays both show Advantech.avi at the same time.
If you'd like to set the output audio as HDMI out or speaker out, please add the
parameter of plughw:
A. Plughw:0  Output the audio through audio jack (AUDIO1)
#gst‐launch 
sink="mfw_v4lsink 
device=plughw:0"
B. Plughw:1  Output the audio through HDMI.
#gst‐launch 
sink="mfw_v4lsink 
device=plughw:1"
playbin2 
uri=file:///tools/Advantech.avi 
playbin2 
uri=file:///tools/Advantech.avi 
playbin2 
uri=file:///tools/Advantech.avi 
device=/dev/video17" 
playbin2 
uri=file:///tools/Advantech.avi 
device=/dev/video17" 
13
video‐
video‐
video‐
audio‐sink="alsasink
video‐
audio‐sink="alsasink
ROM-3420 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-3420wd-mda1eRom-3420cq-mda1eRom-3420wq-mda1e

Table of Contents