Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KristianAskk/Mp4-to-terminal
A program that displays mp4 videos in the terminal.
https://github.com/KristianAskk/Mp4-to-terminal
Last synced: 3 months ago
JSON representation
A program that displays mp4 videos in the terminal.
- Host: GitHub
- URL: https://github.com/KristianAskk/Mp4-to-terminal
- Owner: KristianAskk
- Created: 2022-02-21T21:14:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T21:31:32.000Z (over 2 years ago)
- Last Synced: 2024-06-28T13:32:12.089Z (5 months ago)
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mp4 to Terminal
A small conversion program that converts a .mp4 file to text and displays it in the terminal. Videoes can be displayed with both braille and characters respectively.
![example](https://user-images.githubusercontent.com/77408372/157014508-cb7e3923-2350-401a-a63f-13e9d9420fb9.gif)
## Quick start
- Clone the github repository
- Move your .mp4 file in the same directory as the cloned repo
- Install dependencies listed in __requirements.txt__
- Run the program while specifying the name of the video file and the number of processes that will be converting the video.E.g:
```
python3 Mp4-to-terminal -f video.mp4 -p 2
```## TODO:
- [x] Rewrite or edit the __scale__ method ( it's a mess )
- [x] Improve video processing time
- [x] Make the project runnable as a whole instead of running it with __main__.py ( in other words, fix importing )
- [x] The function __scale__ is currently returning None if the terminal is too small.
- [x] Remove unused methods in the VideoFile class
- [x] Add threading
- [x] Center the video being displayed
- [x] Add whitespaces to ensure that only one frame is being displayed at a time.
- [ ] Add comments
- [ ] Write installation process and proper description
- [x] Add multiprocessing limit## Credits
- @Feeenix for making option for video being displayed in braille possible