Skip to main content

ffmpeg filter graph bindings for python

Project description

ZPRP FFmpeg 2

docs

Documentation Status

tests

Test Coverage

package

PyPI Package latest release PyPI Wheel Supported versions Supported implementations Commits since latest release

Implementation of the successor to the ffmpeg-python library

  • Free software: MIT license

Installation

The package is available on pip:

pip install zprp_ffmpeg2

Getting started

A minimal example showing basic usage of the library:

import zprp_ffmpeg2 as ffmpeg
stream = ffmpeg.input("input.mp4")
stream = ffmpeg.hflip(stream)
stream = ffmpeg.output(stream, "output.mp4")
ffmpeg.run(stream)

Check out more examples

Further documentation is available here

Development

Project uses poetry for package management. Check out their docs for installation steps. Tests are managed by tox, which uses pytest under the hood.

To install package in development mode, enter the virtual environment managed by poetry, then use install command:

poetry shell
poetry install --with="typecheck"

To run tests on multiple python interpreters, build documentation, check for linting issues, run:

tox

However, this might be cumbersome, since it requires having all supported python interpreters available. To run only selected interpreters, use -e option, for example:

tox -e py312-lin,check #python 3.12 on linux, and linter checks

You can view all defined interpreters with tox -l

To check for typing and linting issues manually, run:

mypy src
pre-commit run --all-files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zprp_ffmpeg2-3.2.0.tar.gz (79.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zprp_ffmpeg2-3.2.0-py3-none-any.whl (81.3 kB view details)

Uploaded Python 3

File details

Details for the file zprp_ffmpeg2-3.2.0.tar.gz.

File metadata

  • Download URL: zprp_ffmpeg2-3.2.0.tar.gz
  • Upload date:
  • Size: 79.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for zprp_ffmpeg2-3.2.0.tar.gz
Algorithm Hash digest
SHA256 2d15d9208f05b0010c436a64055b2bb3129c2d02d461c29de8ce1310174aebc2
MD5 148f6f2a0e471a40fe22514796c2e3c1
BLAKE2b-256 9a61ec6ff1a61610c6cbd4c67600d9bee636309fd80f15d1c3cab78bac181951

See more details on using hashes here.

File details

Details for the file zprp_ffmpeg2-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: zprp_ffmpeg2-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 81.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for zprp_ffmpeg2-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d5b5359a0f80dd76f16b489683623c32dd4a55696978f9cd6380bdc222c46fc
MD5 e33ab21d94d4ee1a96dc786002084d47
BLAKE2b-256 cd877b7752e640ea3af0e5e461617554f9a7f29e3352d520b7691fd5dc86490d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page