term-video
Compilation
Since this project is built using Rust, install its toolchain first, for example using rustup.
git clone https://github.com/pascalpuffke/term-video
cd term-video
cargo build --release
After the build process has finished, the executable is located under target/release/term-video
. You can then copy it to a location that is checked by PATH:
cp target/release/term-video /usr/bin
Usage
term-video [OPTIONS] --input
Options:
--help
: Prints help information
-V
, --version
: Prints version information
-c
, --cache
: Where to save temporary frame data [default: split_frames]
-f
, --fps
: Playback frame rate [default: input video FPS, or 30 should ffprobe fail]
-h
, --height
: Vertical playback resolution [default: current terminal columns]
-i
, --input
: Input video file, can be any format as long as it's supported by ffmpeg.
-w
, --width
: Horizontal playback resolution [default: current terminal rows]
Dependencies
Runtime dependencies:
Build dependencies:
image-rs 0.23.14
walkdir 2.3.2
clap 3.0.0-beta.2