pico-playground/apps/popcorn
graham sanderson c1390f40e7 popcorn: add converter 2021-02-26 21:16:04 -06:00
..
converter popcorn: add converter 2021-02-26 21:16:04 -06:00
CMakeLists.txt popcorn: add converter 2021-02-26 21:16:04 -06:00
README.md popcorn: add converter 2021-02-26 21:16:04 -06:00
atlantis.c Initial Release 2021-01-20 11:16:37 -06:00
font.h Initial Release 2021-01-20 11:16:37 -06:00
lcd12.c Initial Release 2021-01-20 11:16:37 -06:00
lcd18.c Initial Release 2021-01-20 11:16:37 -06:00
popcorn.c default scanvideo to support 125mhz system clock for 640x480 - also means better compatibility as 25Mhz is better than 24Mhz when compared to 25.175Mhz 2021-02-13 13:54:50 -06:00

README.md

This is a 320x240x30 movie player that runs at a 48Mhz system clock (it was developed on FPGA which ran at that frequency).

The compression format is not surprisingly not crazily advanced, so movie files are large!

Sample Movie

Here is "Big Buck Bunny": https://drive.google.com/file/d/1q3szTVccPZ08v_TMDxy9ZgqeOOXXwHCX/view?usp=sharing which is 1.6GB

Writing a Movie to SD Card

These are raw disk images without a filesystem. These instructions assume a certain level of knowledge Please feel free to submit PRs to improve them!

Single Movie

A single movie can just be burned as the entirety of the SD card (via dd on unix). Note this will overwrite everything on the card.

One or More Movies

You can format the card with a GPT and then image movies onto the partitions (the partitions must obviously be big enough). The partition name from the GPT is used as the title for the movie.

Playback controls

These are quite limited and use the 3 buttons on the VGA board, and use single button presses with function determined by how long the button is pressed before it is released.

  • Short (<.25s) press while playing: Slower : Pause : Faster
  • Short (<.25s) press while paused: Step Backward : Play : Step Forward
  • Medium (<1s) press: Previous File : Toggle Menu Display : Next File
  • Long (>1s) press: Lower Volume : Toggle Play Direction : Higher Volume - note you can hold the button down to continuosuly lower or raise volume.

Pause and then unpause to reset playback speed to 1x

Converting

see here