Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unsignedarduino/esp32-avi-player
A video player on the M5Stack Core2.
https://github.com/unsignedarduino/esp32-avi-player
arduino avi video video-player
Last synced: 6 days ago
JSON representation
A video player on the M5Stack Core2.
- Host: GitHub
- URL: https://github.com/unsignedarduino/esp32-avi-player
- Owner: UnsignedArduino
- Created: 2023-09-24T15:16:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-24T20:51:05.000Z (over 1 year ago)
- Last Synced: 2024-11-10T10:40:00.321Z (2 months ago)
- Topics: arduino, avi, video, video-player
- Language: C++
- Homepage:
- Size: 40 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP32-AVI-Player
An AVI video player for the M5Stack Core2.
## Install
1. Ensure you have PlatformIO installed.
2. Clone this repo.## Build and upload
1. `pio run --target upload` or open in VS Code with the PlatformIO extension and run `PlatformIO: m5stack-core2 > Project tasks > General > Upload`
## FFmpeg command
We use Cinepak as the video codec and MP3 as the audio codec.
```cmd
ffmpeg -i INPUT.mp4 -c:a mp3 -ar 22050 -ac 1 -sample_fmt s16 -c:v cinepak -q:v 10 -vf "fps=15,scale=iw*min(1\,if(gt(iw\,ih)\,320/iw\,(240*sar)/ih)):(floor((ow/dar)/4))*4:flags=lanczos" OUTPUT.avi
```