Project 23 - Media Player

<< Click to Display Table of Contents >>

Navigation:  Projects >

Project 23 - Media Player

This section shows how to play the AVI video using the VideoPlay() command.

 

 

Component(s)

 

This project uses the following component(s) -

 

SD Card

56mm, 80hm 0.5W(RMS) / 1W(Peak) Internal CleO speaker

 

Command Prototype

 

int16_t PlayerPlay(const char* String)

 

Parameters

Description

String

Media file name

 

 

Code

 

 

void setup() {

/* Initialize CleO - needs to be done only once */

 CleO.begin();

}

 

void loop() {

 /* Start building screen frame */

 CleO.Start();

 

 /* Show screen frame */

 CleO.Show();

 /* Launch Player */

 CleO.PlayerPlay("/Videos/NerO.avi");

}

 

 

Description

 

The loop() routine launches the video player and plays the "NerO.avi" .

 

 

Output

 

Here is the Media Player User Interface -

 

 

Project 23 - AVI Media Player UI