Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hypox64/shellplayer
You can play soundful&colorful video in shell !!!
https://github.com/hypox64/shellplayer
image-processing video-player
Last synced: 7 days ago
JSON representation
You can play soundful&colorful video in shell !!!
- Host: GitHub
- URL: https://github.com/hypox64/shellplayer
- Owner: HypoX64
- License: gpl-3.0
- Created: 2020-05-20T07:54:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T12:27:45.000Z (over 4 years ago)
- Last Synced: 2024-11-10T15:32:48.970Z (2 months ago)
- Topics: image-processing, video-player
- Language: Python
- Homepage:
- Size: 2.51 MB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![image](./imgs/logo_char.png)
# ShellPlayer
| English | [中文版](./README_CN.md) |
You can play colorful & soundful video in shell !!!
You can play colorful & soundful video in shell !!!
You can play colorful & soundful video in shell !!!## Getting Started
### Prerequisites
* Linux
* python3
* [ffmpeg](http://ffmpeg.org/)
```bash
sudo apt-get install ffmpeg
```
### Dependencies
This code depends on opencv-python, available via pip install.
```bash
pip install opencv-python
```
### Clone this repo
```bash
git clone https://github.com/HypoX64/ShellPlayer.git
cd ShellPlayer
```
### Run program
```bash
python play.py -m "your_video_or_image_path"
```
![image](./imgs/kun.gif)
## More parameters| Option | Description | Default |
| :----------: | :------------------------: | :-------------------------------------: |
| -m | your video or image path | './imgs/test.jpg' |
| -g | if specified, play gray video | |
| -f | playing fps, 0-> auto | 0 |
| -c | charstyle: style of output 1 \| 2 \| 3 | 3 |
| -s | size of shell, 1:80X24 2:132X43 3:203X55 | 1 |
| --frame_num | how many frames want to play 0->all | 0 |
| --char_scale | character aspect ratio in shell | 2.0 |