13
ROM-3420 User Manual
Chapter 3
S
oftware
Functionality
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
playbin2
uri=file:///tools/Advantech.avi
video
‐
sink="mfw_v4lsink
device=/dev/video16"&
Step2: Turn ON VGA display at the same time, please type..
#gst
‐
launch
playbin2
uri=file:///tools/Advantech.avi
video
‐
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
playbin2
uri=file:///tools/Advantech.avi
video
‐
sink="mfw_v4lsink
device=/dev/video17"
audio
‐
sink="alsasink
device=
plughw:0"
B. Plughw:1
Output the audio through HDMI.
#gst
‐
launch
playbin2
uri=file:///tools/Advantech.avi
video
‐
sink="mfw_v4lsink
device=/dev/video17"
audio
‐
sink="alsasink
device=
plughw:1"
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...