ROM-5420 User Manual
20
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 ! jpegenc ! filesink loca-
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 playbin2 uri=file:///tools/output.avi video-
sink="mfw_v4lsink device=/dev/video17"
Содержание ROM-5420
Страница 1: ...User Manual ROM 5420 RISC based SMARC Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 17: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 5420 plat form...
Страница 53: ...45 ROM 5420 User Manual Chapter 5 Advantech Services...