CM-T3530: WinCE: Video playback

From Compulab Mediawiki
Jump to: navigation, search

Introduction

The OMAP3530 includes a built-in TMS320C64X+ DSP Core that provides advanced hardware acceleration support for media encoding / decoding.
For further details, refer to the OMAP35x Technical Reference Manual.

Windows CE Media Codec Framework

The OMAP35x Media Codec Framework for Windows CE is comprised of a set of software components integrated into the operating system environment:

  1. DirectShow Filter - Direct Show is the standard media streaming architecture within the Windows CE operating system.
  2. Codec Engine - Codec Engine is a framework for creation and interaction with multimedia codecs, running either locally or on another processor (DSP).

DSP codecs (i.e. the ones in the DSP server/combo) can be utilized through the DirectShow framework in Windows Media Player.

Creating Videos

The DirectShow video application framework currently supports accelerated MPEG4, MPEG2, H.264 and MP3 wrapped in an AVI container with video quality up to D1 (720x480p @ 30 fps).

The framework also supports WMV content playback. WMV hardware acceleration is not implemented, therefore only videos of up to 640x480 @ 15 fps are supported.

Example video clips can be downloaded from Apple trailers. Use Quicktime Pro to download and save the trailer videos. Apple trailer videos must be converted for compatibility with Windows CE media player. Use the Super conversion tool.

The tables below provide sample Super configuration settings for video conversion.

Output Container:

Format : AVI
Encoder : FFMPEG
DirectShow Decode : OFF


Output Audio Codec:

Codec : mp3
Sampling Freq : 22050 Hz
Channels : 2
Bit rate : 96 Kbps

Output Video Codecs:

Codec : MPEG-II
Width : 848 pixels
Height : 480 pixels
Frame rate : 30 fps
Bit rate : 2064 Kbps
Hi Quality : Unchecked
Top Quality : Unchecked
Stretch It : Checked
48K Audio : Checked


Codec : MPEG-4
Width : 848 pixels
Height : 480 pixels
Frame rate : 30 fps
Bit rate : 2064 Kbps
Hi Quality : Unchecked
Top Quality : Unchecked
Stretch It : Checked
48K Audio : Checked
FourCC : DIVX


Codec : H.264/AVC
Width : 720 pixels
Height : 480 pixels
Frame rate : 30 fps
Bit rate : 1008 Kbps
Hi Quality : Unchecked
Top Quality : Unchecked
Stretch It : Checked
48K Audio : Checked
H.264 Profile : Baseline (CABAC off)
H.264 Level : 3
FourCC : DIVX

Troubleshooting

Known Issues

  • Media Player (ceplayer.exe) registry settings might get corrupted during video playback. If rebooting the system does not fix the problem, please delete the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CEPlayer]