Audio Test; Photo Demo Test; Camera Input Test - Advantech ROM-5420 User Manual

Risc-based smarc module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

3.1.15

Audio Test

Execute the following commands to run the Audio demo application on ROM-5420.
#cd /unit_tests
#aplay audio8k16S.wav
Then you can hear the music from speaker/head-sets.
3.1.16

Photo Demo Test

Execute the following commands to run the Photo demo application on ROM-5420.
#cd /tools
#./fbv Advantech.jpg
Then you can see the photo demo on the default display screen.
3.1.17

Camera Input Test

Execute the following commands to run the camera demo application on ROM-5420.
3.1.17.1
Preview
#gst-launch mfw_v4lsrc ! mfw_v4lsink
3.1.17.2
Capture
#gst-launch mfw_v4lsrc num-buffers=1 !
tion=/tools/snapshot.jpg
3.1.17.3
PView picture
#VSALPHA=1 gst-launch filesrc location=/tools/snapshot.jpg ! jpegdec
! imagefreeze ! mfw_isink
3.1.17.4
PRecord video
#gst-launch mfw_v4lsrc ! queue ! vpuenc codec=6 ! matroskamux !
filesink location=/tools/output.avi sync=false
3.1.17.5
PPlay video
#gst-launch
sink="mfw_v4lsink device=/dev/video17"
ROM-5420 User Manual
playbin2
uri=file:///tools/output.avi
20
jpegenc ! filesink loca-
video-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-5420cd-mda1e

Table of Contents