Skip to main content

python bindings for ffmpeg

Project description

Python bindings for ffmpeg.
- SYSZUXav now only tested on Ubuntu 16.04/18.04.
- Other Linux distributions may work as well.

# Install
SYSZUXav has the dependency on ffmpeg library.
On Ubuntu 16.04/18.04:

apt update
apt install software-properties-common
add-apt-repository ppa:jonathonf/ffmpeg-4
apt update
apt install ffmpeg libavutil-dev libswresample-dev libavcodec-dev libavformat-dev
pip install syszuxav

# Usage
You can use SYSZUXav by simply import syszuxav:

import cv2
import syszuxav
import numpy as np
#128 means decode thread number
v = syszuxav.SYSZUXav("gemfield.mp4", 128)
count = 0
while True:
b = np.array(v.decodeJpg())
if b.shape[0] == 0:
count += 1

Project details

Download files

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

Files for syszuxav, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size syszuxav-0.1.0-py2-none-any.whl (143.3 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size syszuxav-0.1.0.tar.gz (139.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page