
Running the Demos from the Command Line
A-2
A.1
Running the Demos from the Command Line
You can run the demo applications from the Linux shell in a terminal
window connected to the EVM board’s serial port. These are the same
demos described in Section 3.2,
.
The command line syntax and options for the demo applications are
provided in the following subsections.
Before running demo applications from the command line, you must load
the DSP/BIOS Link and CMEM kernel modules. Use the following
command from the directory that contains the demos to load these
modules:
Target $
./loadmodules.sh
The supported file extensions for A/V files are:
❏
Video. H.264 Baseline Profile (*.264 files)
❏
Video. MPEG4 (*.mpeg4 files)
❏
Video. MPEG2 (*.m2v files)
❏
Speech. G.711 (*.g711 files)
❏
Audio. AAC (*.aac files)
❏
Audio. MPEG1 Layer 2 (*.mp2 files)
A.1.1
Encode/Decode Demo Command Line
This demo uses Codec Engine to encode data from the capture device
(V4L2) using the H.264 algorithm into an intermediate buffer before the
data is decoded to the display frame buffer.
Target $
./encodedecode [options]
Options:
❏
-r | --resolution
Resolution of demo. Specify CIF, ZOOM, or D1. The default is D1.
■
CIF. Captures and displays at 352x240 on an NTSC system and
352x288 on a PAL system. The image is centered on the screen.
■
ZOOM. Captures video at 352x240 on an NTSC system and
352x288 on a PAL system. After the data has been encoded and
decoded, it is zoomed by the display to D1 resolution (720x480
on NTSC and 720x576 on PAL).
■
D1. Capture and displays at 720x480 on an NTSC system and
720x576 on a PAL system.
Содержание DVEVM
Страница 1: ...DVEVM Getting Started Guide Literature Number SPRUE66A August 2006...
Страница 14: ...1 6...
Страница 70: ...Index 4...