Metadata-Version: 2.1
Name: ffmpeg_input
Version: 0.2.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Summary: FFMpeg Source Accessor Library
Keywords: FFmpeg,Video
Home-Page: https://github.com/insight-platform/FFmpeg-Input
Author: Ivan Kudriavtsev <ivan.a.kudryavtsev@gmail.com>
Author-email: Ivan Kudriavtsev <ivan.a.kudryavtsev@gmail.com>
License: Apache-2.0
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source Code, https://github.com/insight-platform/FFmpeg-Input

# FFmpeg Source Input Library

FFmpeg Input Library is a small library aimed at receiving raw or decoded (RGB) frames from FFmpeg into a python program. 
You can pass to ffmpeg required arguments and url and get the frames like opencv does. The library 
provides the direct access to the ffmpeg library without the launching of the ffmpeg binary. 
The frames are in raw binary format and must be processed separately.


### Install Prebuilt Wheels

```bash
pip install ffmpeg-input 
```

### Build In Docker (Manylinux_2_28)

```bash
# certain python version (decreases build time)
#
docker build  -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 --build-arg PYTHON_INTERPRETER=/opt/python/cp38-cp38/bin/python .
# all manylinux versions
#
docker build -t ffmpeg_input -f docker/Dockerfile.manylinux_2_28_X64 .

# copy wheels from docker
#
docker run --rm -it -v $(pwd)/distfiles:/tmp ffmpeg_input cp -R /opt/dist /tmp
```

### Try It

```
RUST_LOG=debug python3 test.py
```
