Skip to content

clitic/ffpb-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packaging Status

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.

License

Dual Licensed

About

A modern, cli progress bar for ffmpeg.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages