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
CppStandardHelper.hpp@1:3e638b9e91cd, 2017-03-12 (annotated)
- Committer:
- mtkrtk
- Date:
- Sun Mar 12 02:01:46 2017 +0000
- Revision:
- 1:3e638b9e91cd
- Parent:
- 0:d0f130e27d32
fixed lcd contrast pin
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mtkrtk | 0:d0f130e27d32 | 1 | #ifndef __CppStandardHelper__ |
mtkrtk | 0:d0f130e27d32 | 2 | #define __CppStandardHelper__ |
mtkrtk | 0:d0f130e27d32 | 3 | |
mtkrtk | 0:d0f130e27d32 | 4 | #if __cplusplus < 201103L |
mtkrtk | 0:d0f130e27d32 | 5 | /* Online compiler (C++98) */ |
mtkrtk | 0:d0f130e27d32 | 6 | # define constexpr const |
mtkrtk | 0:d0f130e27d32 | 7 | # define ENUM enum |
mtkrtk | 0:d0f130e27d32 | 8 | # define nullptr NULL |
mtkrtk | 0:d0f130e27d32 | 9 | # define ONLINE_COMPILER |
mtkrtk | 0:d0f130e27d32 | 10 | #else |
mtkrtk | 0:d0f130e27d32 | 11 | /* GCCARM */ |
mtkrtk | 0:d0f130e27d32 | 12 | # define ENUM enum class |
mtkrtk | 0:d0f130e27d32 | 13 | #endif |
mtkrtk | 0:d0f130e27d32 | 14 | |
mtkrtk | 0:d0f130e27d32 | 15 | #endif |
mtkrtk | 0:d0f130e27d32 | 16 |