Skip to content

pffmpeg

PFFmpeg package.

PFFmpeg enhances the user experience of running FFmpeg commands by providing a rich progress bar. This allows users to execute their usual ffmpeg commands while benefiting from a visually appealing and informative progress display.

To use PFFmpeg, replace the ffmpeg command with pffmpeg in your terminal.

Example
pffmeg -i input.mp4 output.mp4

The command above runs ffmpeg -i input.mp4 output.mp4.

Dependencies
  • ffmpeg: Not included if you install pffmeg, follow the proper installation procedure of ffmpeg for your system.
  • rich: Used for displaying the progress bar.

Functions

pffmpeg

pffmpeg(args: list[str] | None = None) -> int

PFFmpeg CLI, run ffmpeg with progress bar.

Parameters:

Name Type Description Default
args list[str] | None

List of ffmpeg arguments, resolve as sys.argv[1:] if None given.

None