Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
Daft-Freak committed Feb 27, 2020
1 parent 2b1f4cb commit 4dcdec3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# About

A video player for the 32Blit. Supports playing AVI files with MJPEG video and MP3 or raw audio. To convert with ffmpeg:

```
ffmpeg -i [input file] -vcodec mjpeg -q:v 2 -pix_fmt yuvj420p -vf scale=w=320:h=240:force_original_aspect_ratio=decrease,fps=fps=25 -acodec libmp3lame -ar 22050 -ac 1 output.avi
```
For raw audio (not recommended due to SD card read speed) use `-acodec pcm_s16le`, you can also adjust the quality by changing the `-q:v 2` (lower is better).

A lot of code is shared with [the music player](https://github.com/Daft-Freak/32blit-music-player)

# Building

```
Expand Down

0 comments on commit 4dcdec3

Please sign in to comment.