Skip to main content

PyPI version

Pycord - A tiny python wrapper on top of FFMpeg

Pycord is a simple python wrapper on top of ffmpeg designed to load videos into numpy ndarrays quickly and easily.

You can use Pycord in place of more complex video loader as OpenCV or Decord in your Computer Vision or Machine Learning projects.

Example

from pycord.video_reader import VideoReader

vr = VideoReader("video.mp4")

b = vr.get_batch([5, 8])

Documentation

There's no documentation at the moment, take a look to the tests to find some examples of use.

Contributing

The main idea of this project is to provide a decord-like interface completely written in python (hance the name pycord, a python implementation of decord).

Any contribution is welcome as long as it is implemented in pure python.

I'm looking for something faster...

If you think pycord is slow, and you don't mind to deal directly with come low-level code, take a look to my other project iterframes! It's a python module implemented in Rust with the aim to be as fast as possible.

Release files for pycord 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pycord 0.1.1
File Interpreter ABI Platform
pycord-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / pycord-0.1.1-py3-none-any.whl

Download URL pycord-0.1.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de535f91abb49de90e9b318f00edfa38de688d180d1caa4b0e3812c64d36e3c3
BLAKE2b-256 checksum
How to use checksums
6e8a27b8268b33c804340b0b10d4035975a44c620fe04df82b1ca38aa7310af7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page