Skip to main content

[FORK] Pythonic bindings for FFmpeg's libraries.

Project description

python-av

GitHub Test Status
Gitter Chat Documentation
Python Package Index Conda Forge

python-av is a FORK of PyAV. conda-forge package currently not available

python-av is a Pythonic binding for the FFmpeg libraries. We aim to provide all of the power and control of the underlying library, but manage the gritty details as much as possible.

python-av is for direct and precise access to your media via containers, streams, packets, codecs, and frames. It exposes a few transformations of that data, and helps you get your data to/from other packages (e.g. Numpy and Pillow).

This power does come with some responsibility as working with media is horrendously complicated and python-av can't abstract it away or make all the best decisions for you. If the ffmpeg command does the job without you bending over backwards, python-av is likely going to be more of a hindrance than a help.

But where you can't work without it, python-av is a critical tool.

Installation

Due to the complexity of the dependencies, python-av is not always the easiest Python package to install from source. Since release 8.0.0 binary wheels are provided on PyPI for Linux, Mac and Windows linked against a modern FFmpeg. You can install these wheels by running:

pip install python-av

If you want to use your existing FFmpeg, the source version of python-av is on PyPI too:

pip install python-av --no-binary av

Alternative installation methods

Another way of installing python-av is via conda-forge:

conda install python-av -c conda-forge

See the Conda install docs to get started with (mini)Conda.

And if you want to build from the absolute source (for development or testing):

git clone git@github.com:dot-six/python-av
cd python-av
source scripts/activate.sh <FFMPEG-VERSION>

# Either install the testing dependencies:
pip install --upgrade -r tests/requirements.txt
# or have it all, including FFmpeg, built/installed for you:
# For developers, this is recommended:
./scripts/build-deps

# If you have problem doing build-deps, read this wiki:
# http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
# NOTE: disable all non-server libraries, it is not needed.

# Build python-av.
make

Have fun, read the docs, come chat with us, and good luck!

Download files

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

Source Distribution

pythonav-0.1.0a1.tar.gz (2.4 MB view hashes)

Uploaded Source

Built Distributions

pythonav-0.1.0a1-pp39-pypy39_pp73-win_amd64.whl (25.1 MB view hashes)

Uploaded PyPy Windows x86-64

pythonav-0.1.0a1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.9 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (25.7 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pythonav-0.1.0a1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.9 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (25.7 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pythonav-0.1.0a1-pp37-pypy37_pp73-win_amd64.whl (25.1 MB view hashes)

Uploaded PyPy Windows x86-64

pythonav-0.1.0a1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.9 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.0 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (25.7 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pythonav-0.1.0a1-cp311-cp311-win_amd64.whl (25.3 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pythonav-0.1.0a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (28.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-cp311-cp311-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pythonav-0.1.0a1-cp311-cp311-macosx_10_9_x86_64.whl (26.0 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pythonav-0.1.0a1-cp310-cp310-win_amd64.whl (25.3 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pythonav-0.1.0a1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.9 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (28.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-cp310-cp310-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pythonav-0.1.0a1-cp310-cp310-macosx_10_9_x86_64.whl (26.1 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pythonav-0.1.0a1-cp39-cp39-win_amd64.whl (25.3 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pythonav-0.1.0a1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (29.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-cp39-cp39-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pythonav-0.1.0a1-cp39-cp39-macosx_10_9_x86_64.whl (26.1 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pythonav-0.1.0a1-cp38-cp38-win_amd64.whl (25.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

pythonav-0.1.0a1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (29.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-cp38-cp38-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

pythonav-0.1.0a1-cp38-cp38-macosx_10_9_x86_64.whl (26.1 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pythonav-0.1.0a1-cp37-cp37m-win_amd64.whl (25.3 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

pythonav-0.1.0a1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.7 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

pythonav-0.1.0a1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (28.5 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

pythonav-0.1.0a1-cp37-cp37m-macosx_10_9_x86_64.whl (26.0 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

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