Texas Instruments TMS320DM357 DVEVM v2.05 About the Encode + Decode Demo, About the Encode Demo

Page 25

Running the Standalone Demos

3.3.2About the Encode + Decode Demo

The Encode + Decode demo allows you to record and playback video. Video input comes from a source, it is encoded, then decoded, and sent to your video display.

The Encode + Decode does only video processing; it does not encode and decode audio or speech. The supported video algorithm is H.264 (.264 file extension).

Table 3–1 IR Remote Buttons for Encode + Decode Demo

IR Remote Button

Mode

Action Performed

 

 

 

Up/Down

--

-- no action --

Play or OK

Setup

Begin demo

Record

--

-- no action --

Info/Select

Setup

Show / hide block diagram for demo

Info/Select

Run

Toggle information display

Left/Right

Run

Change information transparency level

Pause

Run

Pause demo (press Play to resume)

Stop

Setup / Run

Return to previous screen

 

 

 

The video signal is passed to video encoders and decoders by the Codec

Engine.

To use this demo from the command line, see Section 3.4, Running the

Demos from the Command Line.

3.3.3About the Encode Demo

Like the Encode + Decode demo, the Encode demo also encodes video. In addition, it also encodes audio or speech. The audio/speech source is the microphone.

The encoded data is written to files on the EVM’s NAND flash. The possible filenames are demo.264, demo.mpeg4, demo264.g711, and demompeg4.g711. Older versions of these files are overwritten as needed.

The encode demo has a five minute time limit to prevent the demo from filling up the NAND file system.

Output is not decoded and sent to your video display or speakers other than to show the settings and dynamic data collected about the load and rates.

Running the Demonstration Software

3-7

Image 25
Contents TMS320DM357 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning About This Guide PrefaceTrademarks Contents Contents Dvevm Overview What’s in this Kit? DM357 What’s on the Board?What’s Next? EVM Hardware Setup Setting Up the Hardware Audio In P3 Audio Out P5 Composite Video Out J8 Uart P6 Connecting to a Console Window Running the Demonstration Software Starting the Standalone Demos Default Boot ConfigurationStarting the Standalone Demos Starting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode Demo About the Encode + Decode DemoIR Remote Buttons for Encode Demo IR Remote Buttons for Decode Demo About the Decode DemoRunning the Demos from the Command Line Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components ApplicationPreparing to Install Installing the Target Linux Software Installing the SoftwareInstalling the Dvsdk Software Exporting a Shared File System for Target Access Installing the A/V Demo FilesSwitch user to root on the host Linux workstation EVM # setenv nfshost ip address of nfs host Testing the Shared File SystemInstalling the Software Writing a Simple Program and Running it on the EVM Setting Up the Build/Development EnvironmentBuilding a New Linux Kernel Compile the kernel using the following commandRebuilding the Dvevm Software for the Target Building with DSPLink EVM # setenv serverip tftp server ip address Booting the New Linux KernelUsing the Digital Video Test Bench Dvtb Page Additional Procedures Ntsc Changing the Video Input/Output MethodsPutting Demo Applications in the Third-Party Menu File filename.tar.gz You should see the following output Setting Up a Tftp ServerBooting from Flash Using Board’s Nand Flash File System Alternate Boot MethodsBooting from Flash Using NFS File System Booting via Tftp Using Board’s Nand Flash File SystemBooting via Tftp Using NFS File System Updating U-Boot Using U-Boot Updating/Restoring the BootloadersTo assign a dynamic address, use the following Updating/Restoring the Bootloaders Updating the Kernel Restoring the Nand FlashRestoring the Nand Flash Using NFS Restoring the Nand Flash Using RAM Disk and a 2 GB SD Card EVM # tar xf /mnt/mmc/dm357flashimage####.tar EVM # cd Page NFS IndexIndex--2 Index--3 Spectrum Digital, Inc 511458-0001B