Table of Contents
To get a local copy up and running follow these simple steps.
- Clone the repo
git clone https://github.com/PyroCalzone/BrailleVideo.git- Download the Prerequisites
convertVideo(file, compression=1)converts mp4 file to braille frames. Compression skips frames, save E.G.fps, frames = convertVideo(videoFile, compression=2)playVideo(fps, frames, audioFile = None, save=False)plays braille video using pygame, more accurate than terminal. Save will save each frame to a folder called frames, this if for use withmakeMP4()E.G.playVideo(fps, frames, audioFile=audioFile)playVideoTerminal(fps, frames)plays braille video using terminal. E.G.playVideoTerminal(fps, frames)audioFromVideo(file)converts video file into mp3 for use withplayVideo(audioFile=). E.G.audioFile = audioFromFile('BadApple.mp4')convertToBraille(code)converts braille code into braille characters. Left column top to bottom: 1, 2, 3, 7. Right column top to bottom: 4, 5, 6, 8. so code123568is⢷makeMP4(audioFile = None)takes saved frames fromplayVideo(fps, frames, save=True)and converts it to a mp4 video file called output.mp4.
- Braille dictionary
- Convert pixels to braille data
- Terminal video player
- Non-Terminal video player
- Audio with video player
- Output video converter!
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.md for more information.
Pyro - Discord Server - pyrocalzoneemail@gmail.com
Project Link: https://github.com/PyroCalzone/BrailleVideo