
Running the Demos from the Command Line
A-4
❏
-l, --linein
Changes the input device for sound recording to the "Line In" as
opposed to the "Mic In", which is the default.
❏
-i | --interface
If used, causes the main demo interface to launch when this demo
exits. By default, this is off.
❏
-x
Select S-Video input format. This flag is available only with DVEVM
1.1 or greater. (DVEVM 1.0 supports only composite video.)
❏
-h | --help
Print this help message.
The following example uses MPEG4 video encode, no audio encode,
and quits after 20 seconds.
Target $
./encode -v test.mpeg4 -t 20
The following example uses H.264 video encode at 1 Mbps and no audio
encode:
Target $
./encode -v test.264 -b 1048576
The following example uses H.264 video encode and G.711 speech
encode:
Target $
./encode -v test.264 -s test.g711
You must supply at least a video or a speech file or both with appropriate
extensions for the file formats. For more information about this demo, see
the encode.txt file and Section 3.3.2,
.
A.1.3
Decode Demo Command Line
This demo uses Codec Engine to decode data from files. It outputs the
uncompressed data using peripheral device drivers. Video, audio, and
speech files are supported. All files must consist of raw frames of data.
Target $
./decode [options]
Options:
❏
-a | --audiofile
Specify the filename of the audio file to play. The file extension
identifies the format to use. The supported audio algorithms are AAC
(.aac file extension) and MPEG1 Layer 2 (.mp2 file extension). You
cannot play both an audio file and a speech file at the same time.
Содержание DVEVM
Страница 1: ...DVEVM Getting Started Guide Literature Number SPRUE66A August 2006...
Страница 14: ...1 6...
Страница 70: ...Index 4...