video1

The minimal video playback program.

The loop() function plays a video "fun-1500.avi" from the microSD card.

#include <EEPROM.h>
#include <SPI.h>
#include <GD2.h>

void setup()
{
  GD.begin();
}

void loop()
{
  MoviePlayer mp;

  mp.begin("fun-1500.avi");
  mp.play();
}

This is how it looks on the Gameduino 3 screen: