• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

av/H23-Jan-2021-8,8036,546

av.egg-info/H03-May-2022-11788

docs/H23-Jan-2021-2,2441,318

examples/H23-Jan-2021-208120

include/H23-Jan-2021-1,6271,275

src/av/H23-Jan-2021-383,723296,054

tests/H23-Jan-2021-3,2922,370

MANIFEST.inH A D23-Jan-2021212 87

PKG-INFOH A D23-Jan-20215.2 KiB11788

README.mdH A D23-Jan-20213.1 KiB8355

setup.cfgH A D23-Jan-2021695 2924

setup.pyH A D23-Jan-202117.5 KiB544386

README.md

1PyAV
2====
3
4[![GitHub Test Status][github-tests-badge]][github-tests] \
5[![Gitter Chat][gitter-badge]][gitter] [![Documentation][docs-badge]][docs] \
6[![GitHub][github-badge]][github] [![Python Package Index][pypi-badge]][pypi] [![Conda Forge][conda-badge]][conda]
7
8PyAV is a Pythonic binding for the [FFmpeg][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.
9
10PyAV 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).
11
12This power does come with some responsibility as working with media is horrendously complicated and PyAV 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, PyAV is likely going to be more of a hindrance than a help.
13
14But where you can't work without it, PyAV is a critical tool.
15
16
17Installation
18------------
19
20Due to the complexity of the dependencies, PyAV is not always the easiest Python package to install from source. Since release 8.0.0 binary wheels are provided on [PyPI][pypi] for Linux, Mac and Windows linked against a modern FFmpeg. You can install these wheels by running:
21
22```
23pip install av
24```
25
26If you want to use your existing FFmpeg/Libav, the C-source version of PyAV is on [PyPI][pypi] too:
27
28```
29pip install av --no-binary av
30```
31
32Alternative installation methods
33--------------------------------
34
35Another way of installing PyAV is via [conda-forge][conda-forge]:
36
37```
38conda install av -c conda-forge
39```
40
41See the [Conda quick install][conda-install] docs to get started with (mini)Conda.
42
43And if you want to build from the absolute source (for development or testing):
44
45```
46git clone git@github.com:PyAV-Org/PyAV
47cd PyAV
48source scripts/activate.sh
49
50# Either install the testing dependencies:
51pip install --upgrade -r tests/requirements.txt
52# or have it all, including FFmpeg, built/installed for you:
53./scripts/build-deps
54
55# Build PyAV.
56make
57```
58
59---
60
61Have fun, [read the docs][docs], [come chat with us][gitter], and good luck!
62
63
64
65[conda-badge]: https://img.shields.io/conda/vn/conda-forge/av.svg?colorB=CCB39A
66[conda]: https://anaconda.org/conda-forge/av
67[docs-badge]: https://img.shields.io/badge/docs-on%20pyav.org-blue.svg
68[docs]: http://pyav.org/docs
69[gitter-badge]: https://img.shields.io/gitter/room/nwjs/nw.js.svg?logo=gitter&colorB=cc2b5e
70[gitter]: https://gitter.im/PyAV-Org
71[pypi-badge]: https://img.shields.io/pypi/v/av.svg?colorB=CCB39A
72[pypi]: https://pypi.org/project/av
73
74[github-tests-badge]: https://github.com/PyAV-Org/PyAV/workflows/tests/badge.svg
75[github-tests]: https://github.com/PyAV-Org/PyAV/actions?workflow=tests
76[github-badge]: https://img.shields.io/badge/dynamic/xml.svg?label=github&url=https%3A%2F%2Fraw.githubusercontent.com%2FPyAV-Org%2FPyAV%2Fdevelop%2FVERSION.txt&query=.&colorB=CCB39A&prefix=v
77[github]: https://github.com/PyAV-Org/PyAV
78
79[ffmpeg]: http://ffmpeg.org/
80[conda-forge]: https://conda-forge.github.io/
81[conda-install]: https://conda.io/docs/install/quick.html
82
83