加入CODE CHINA

· 不限速    · 不限空间    · 不限人数    · 私仓免费

免费加入
    README.md

    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

    项目简介

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

    发行版本

    当前项目没有发行版本

    贡献者 1

    H hypox64 @hypox64

    开发语言

    • Python 100.0 %