Skip to content

HypoX64/ShellPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

ShellPlayer

| English | 中文版 |
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

sudo apt-get install ffmpeg

Dependencies

This code depends on opencv-python, available via pip install.

pip install opencv-python

Clone this repo

git clone https://github.com/HypoX64/ShellPlayer.git
cd ShellPlayer

Run program

python play.py -m "your_video_or_image_path"

image

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

About

You can play soundful&colorful video in shell !!!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages