Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shouchenicu/playcli
Play vedio on your console
https://github.com/shouchenicu/playcli
bash cli console ffmpeg jp2a playcli player shell shell-script vedio
Last synced: 4 months ago
JSON representation
Play vedio on your console
- Host: GitHub
- URL: https://github.com/shouchenicu/playcli
- Owner: ShouChenICU
- License: gpl-2.0
- Created: 2023-05-25T13:46:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-28T10:02:50.000Z (over 1 year ago)
- Last Synced: 2024-10-10T16:41:49.896Z (4 months ago)
- Topics: bash, cli, console, ffmpeg, jp2a, playcli, player, shell, shell-script, vedio
- Language: Shell
- Homepage:
- Size: 9.77 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# playcli
![playcli](https://img.shields.io/badge/playcli-v0.13-5bc2e7?style=for-the-badge "playcli v0.13")
![FFmpeg](https://img.shields.io/badge/-FFmpeg-ff69b4?style=for-the-badge "FFmpeg")
![jp2a](https://img.shields.io/badge/-jp2a-success?style=for-the-badge "jp2a")Play vedio on your console
## Description
It will automatically get the current window size and play with adaptive frame rate on your console, and you can also set the start offset and playback speed.
## Fetures
- Only need one console
- Window size updated in real time
- Adaptive frame rate
- Play offset control
- Playback speed control
- Beautiful timeline
- Audio support## Requirements
- [ffmpeg](https://github.com/FFmpeg/FFmpeg)
- [jp2a](https://github.com/Talinx/jp2a)You can run this command to install it on your debian-like system
`sudo apt install ffmpeg jp2a`
## Usage
```SHELL
playcli.sh [offset_seconds [speed]]
```Mute
```SHELL
AUDIO_ENABLE=0 playcli.sh [offset_seconds [speed]]
```## Examples
```BASH
playcli.sh 1.mkv
playcli.sh 1.mkv 114
playcli.sh 1.mkv 514 10
```![Pic1](res/playcli1.png "playcli1")
![Pic2](res/playcli2.png "playcli2")
![Gif](res/demo.gif "demo")