Skip to main content

FFMpeg Source Accessor Library

Project description

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

pip install ffmpeg-input 

Build In Docker (Manylinux_2_28)

# 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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ffmpeg_input-0.2.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-cp311-cp311-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-cp310-cp310-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-cp39-cp39-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-cp39-cp39-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

ffmpeg_input-0.2.1-cp38-cp38-manylinux_2_28_x86_64.whl (35.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

ffmpeg_input-0.2.1-cp38-cp38-manylinux_2_28_aarch64.whl (30.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

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