Website: http://www.crait.net/
Twitter: @crait (http://www.twitter.com/crait)
Bluesky: @crait.bsky.social (http://crait.bsky.social)
Version 1.1 - December 7, 2023
The Arduboy Video Player is a simple video player for the Arduboy FX. It plays uncompressed video files that are created using the Node.js program located in the Converter/ directory.
Features:
- Supports different video sizes and FPS
- Play/pause
- Skip to beginning/end
- Next/previous frame
- Fast-forward/rewind and backwards play
- Looping
- Flip video playback
- Invert video colors
- Display metadata (Title, duration, FPS, dimensions)
Version 1.0 - December 6, 2023
The Arduboy Video Converter will create the a .bin file that contains the video data and metadata, as well as a video.h file that must be added to the Player/ directory in order to compile the Arduino sketch file (.ino).
- Download/clone the contents of this GitHub repository to your computer
- Download and install the Arduino IDE and required Arduboy libraries. For a guide on this, check out my tutorial: https://community.arduboy.com/t/make-your-own-arduboy-game-part-1-setting-up-your-computer/7924/1 . You must also install the Arduboy FX library, too! https://github.com/MrBlinky/ArduboyFX
- Download and install FFmpeg onto your computer (https://ffmpeg.org/download.html)
- Download and install Node.js (https://nodejs.org/en/download)
- Using Command Prompt (or Terminal), navigate to the
Converter/directory - Use npm to install the Arduboy Video Converter dependencies with
npm install
- Place your video file in the
Converter/directory - Using Command Prompt (or Terminal), navigate to the
Converter/directory - Run the Arduboy Video Converter by using
npm start - You must provide several pieces of information for the video to be converted, such as the video filename, the height, width, FPS, etc. To skip these questions, you can use
npm start [file] [title] [fps] [width] [height] [additional filters]. - This process will create a
.binandvideo.hfile in theConverter/directory - Move the
video.hfile to thePlayer/directory - Open the
Player.inosketch with the Arduino IDE - Connect your Arduboy FX to your computer and compile/upload your sketch to your device
- You must also upload the
.binthat you generated in theConverter/directory. To do this, I use Mr.Blinky's tools, but there are alernatives that you could try. (https://github.com/MrBlinky/Arduboy-Python-Utilities)
Code is supplied for 2 purposes: 1) Ease of loading onto an Arduboy device for personal play, and 2) Educational value in the case of studying the code and modifying for personal, educational use. Even though the source code is available to the public, this software is not 'open-source'. Re-releasing my code/game, re-distributing my code/game, or publicly sharing a modified variation or derivative of my code/game is not allowed. The code has no guarantee of support in the future. The code is also free of charge. This code must never be sold. This game must never be sold. Distribution of my game/code for commercial or financial gain is explicitly NOT allowed. Finally, someone creating any derivative of this software for a different platform must have explicit permission from me if it is intended to be released or distributed to others. Please don't steal my code!
