This program plays QuickTime movies on GR-Peach
Dependencies: AsciiFont GR-PEACH_video GraphicsFramework LCD_shield_config R_BSP TLV320_RBSP mbed-rtos mbed
Requirements
- GR-Peach
- GR-Peach Audio Camera Shield or I²S compatible audio DAC
- GR-Peach LCD Shield
- USB memory stick
How to play movie files
- Encode movie files
encode movies with ffmpeg
$ ffmpeg -i <input -ar 44100 -acodec pcm_s16le -s 480x270 -vcodec mjpeg -q:v 3 -movflags faststart -threads 4 -vf fps=30 <output>.mov
- Copy movies to the root directory of USB memory
- Build and upload this program
- Run it
USBHost/FATFileSystem/ChaN/integer.h
- Committer:
- mtkrtk
- Date:
- 2017-03-12
- Revision:
- 1:3e638b9e91cd
- Parent:
- 0:d0f130e27d32
File content as of revision 1:3e638b9e91cd:
/*-------------------------------------------*/ /* Integer type definitions for FatFs module */ /*-------------------------------------------*/ #ifndef _FF_INTEGER #define _FF_INTEGER #ifdef _WIN32 /* Development platform */ #include <windows.h> #include <tchar.h> #else /* Embedded platform */ /* This type MUST be 8-bit */ typedef unsigned char BYTE; /* These types MUST be 16-bit */ typedef short SHORT; typedef unsigned short WORD; typedef unsigned short WCHAR; /* These types MUST be 16-bit or 32-bit */ typedef int INT; typedef unsigned int UINT; /* These types MUST be 32-bit */ typedef long LONG; typedef unsigned long DWORD; #endif #endif