Giter Club home page Giter Club logo

badvideo's Introduction

BADVIDEO for the TI-84+ CE

Really bad 2-color video player for a calculator.

The video player program can be found in the GitHub releases. Be warned, while it is no longer in beta, if it runs out of files or encounters any problems with decompressing/decoding it will freeze/crash your calculator, requiring a reset & RAM clear.
When in the main menu, use ↑↓ & Enter to select and play a video. While playing a video, these are the controls:

Button Action
2nd/Enter Pause/Play
Mode (While paused) Display debug frame info
Clear (While paused) Stop playing & return to main menu
→ (While paused) Skip 1 frame ahead
→ (While playing) Fast forward

(No rewind because of how the video is stored, it's basically impossible)

The pre-converted Bad Apple video can be found in the GitHub releases. All 8xv files (BADAPPLE.8xv & BADAPP00 to 46) are required for the video to play, two of them must be placed in RAM, the rest in Archive. Currently, the full converted video wouldn't fit on a calculator, so the final 15-ish seconds have been truncated (yes, it's really that close).
Additionally, a pre-converted Lagtrain can also be found in GitHub releases. Again, all 8xv files are required, and the full video is not stored (only like 3/4 this time because the line art is bad for LLV encoding). This video is also lower framerate and doesn't play back as well, there are plans for a second format that could fix this.

Converting your own videos

A python script to convert a video file (uses OpenCV, I've tested with .mp4) to a collection of AppVars can be found in tools/convertFrame.py. Usage is as follows:

convertFrame.py <input video file> <output directory> <AppVar name (1-8 chars)> [# of frames to convert]

Also, the makefile has a QoL target that can build a video from an .mp4 file in the src/video/ directory:

make <video FILENAME no extension> [# of frames to encode, or leave blank for all]

The video is stored in my own file format (Line-Length Video), the specification can be found in format.md. Any changes to the format are assumed to be non-backwards or forwards compatible. The version field will not change location or meaning, and is safe to read for all specifications.

Video Credit

The original Bad Apple shadow art video is by あにら (https://www.nicovideo.jp/watch/sm8628149), and the original Bad Apple music is by Alstroemeria Records (https://www.nicovideo.jp/watch/sm2077177).
The original Lagtrain video is by inabakumori (https://www.youtube.com/watch?v=UnIhRpIT7nc)

Other Info

Licensed under GNU General Public License v3.0 or later. See LICENSE for the full text.

USE AT YOUR OWN RISK! I AM NOT RESPONSIBLE FOR ANY CORRUPTIONS/ERRORS THAT ARISE FROM USING THIS PROGRAM! (although if it does cause problems, submit an issue report!)

Uses the CE programming toolchain. The CE C Standard Libraries (specifically LibLoad, FILEIOC, GRAPHX, and KEYPADC) are required to run the program.

badvideo's People

Contributors

penguin-spy avatar

Stargazers

 avatar  avatar

Watchers

 avatar

badvideo's Issues

tinytag?

It says No module named tinytag? What do I do to fix it?

Using Ubuntu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.