MCPcopy Index your code
hub / github.com/clitic/ffpb-rs

github.com/clitic/ffpb-rs @0.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.1 ↗ · + Follow
29 symbols 51 edges 5 files 2 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ffpb-rs

Github Downloads Crate Downloads Crate Version Build Status Docs Status Crate License Repo Size

ffpb is a modern, cli progress bar for ffmpeg. It was originally inspired from althonos/ffpb. It seamlessly wraps your ffmpeg commands, parses the -progress output, and replaces ffmpeg's standard console spam with a clean, dynamic, and beautiful progress bar featuring an adaptive ETA and real-time encoding statistics.

Features

  • Drop-in Replacement: Simply replace ffmpeg with ffpb in your existing ffmpeg commands. No complex configurations needed.
  • Beautiful UI: Modern, true-color gradient progress bar that adapts to your terminal size.
  • Real-Time Stats: Displays frames, fps, q-value, size, elapsed time, ETA, bitrate, and speed.
  • Smart Duration Parsing: Automatically parses -t, -to, and -ss flags to accurately compute the effective encoding duration.

Installation

Dependencies

  • ffmpeg is a free, open-source command-line software framework used for handling multimedia files.

Pre-built Binaries

Visit the releases page for pre-built binaries. Extract the binary and add its path to your system's PATH.

Install via Cargo

You can also install ffpb using cargo.

cargo install ffpb

Usage

ffmpeg with a progress bar.

Usage: ffpb [ffmpeg arguments...]

Options:
  --clean          Only show progress bar, suppress ffmpeg output
  -h, --help       Show this help
  -V, --version    Show ffpb version

Examples:
  ffpb -i input.mp4 -c:v libx264 output.mp4
  ffpb -ss 10 -to 20 -i input.mp4 output.mp4
  ffpb -y -i input.mp4 -c:a aac output.m4a

All other arguments are forwarded directly to ffmpeg.

Library

Add this to your Cargo.toml file.

[dependencies]
ffpb = "0.2.1"

Or add from command line.

cargo add ffpb

See docs and examples to know how to use it.

Donate

This project is developed and maintained in my free time. Donations help cover development time, testing, and future improvements. If this tool saved you time or helped your workflow, consider supporting it.

Contact Me Buy Me a Coffee at ko-fi.com Buy Me A Coffee PayPal

License

Dual Licensed

Core symbols most depended-on inside this repo

reset
called by 13
src/progress.rs
fg
called by 7
src/progress.rs
dim
called by 6
src/progress.rs
parse_time
called by 4
src/args.rs
bold
called by 3
src/progress.rs
lerp_color
called by 2
src/progress.rs
clear_lines
called by 2
src/progress.rs
render
called by 2
src/progress.rs

Shape

Function 16
Method 9
Class 3
Enum 1

Languages

Rust100%

Modules by API surface

src/progress.rs18 symbols
src/runner.rs4 symbols
src/lib.rs3 symbols
src/args.rs3 symbols
src/main.rs1 symbols

For agents

$ claude mcp add ffpb-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact