UnsignedArduino / PyGamer-AVI-player

A video player on the Adafruit PyGamer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyGamer-AVI-Player

An AVI video player for the Adafruit PyGamer.

Install

After downloading all the libraries, follow the modifications listed in src/main.cpp if you choose to use PlatformIO.

FFmpeg command

We use Cinepak as the video codec and MP3 as the audio codec.

ffmpeg -i INPUT.mp4 -c:a mp3 -c:v cinepak -q:v 10 -vf "fps=30,scale=iw*min(1\,if(gt(iw\,ih)\,160/iw\,(120*sar)/ih)):(floor((ow/dar)/4))*4" OUTPUT.avi

About

A video player on the Adafruit PyGamer


Languages

Language:C++ 100.0%