Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```