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
BinaryImage_RZ_A1H.h
- Committer:
- mtkrtk
- Date:
- 2017-03-12
- Revision:
- 1:3e638b9e91cd
- Parent:
- 0:d0f130e27d32
File content as of revision 1:3e638b9e91cd:
#ifndef BINARYIMAGE_RZ_A1H_H #define BINARYIMAGE_RZ_A1H_H #ifdef __cplusplus extern "C" { /* Start of C Symbol */ #endif extern const uint8_t RGA_Sample_BinaryImage[ 0x0003428FuL ]; #define menu ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) #define menu1 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00006690 )) #define menu2 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000D298 )) #define menu3 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00013CC0 )) #define menud ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0001A788 )) #define menuu ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00021028 )) #define menuux ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00027A58 )) #define menudx ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0002DE20 )) #ifdef __cplusplus } /* End of C Symbol */ #endif #endif /* BINARYIMAGE_RZ_A1H_H */