https://github.com/alesanfra/pycord
A tiny python wrapper on top of FFMpeg
https://github.com/alesanfra/pycord
ffmpeg-wrapper multimedia video-processing
Last synced: 3 months ago
JSON representation
A tiny python wrapper on top of FFMpeg
- Host: GitHub
- URL: https://github.com/alesanfra/pycord
- Owner: alesanfra
- License: mit
- Created: 2020-03-19T22:10:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T14:05:06.000Z (over 2 years ago)
- Last Synced: 2025-09-25T10:59:10.820Z (6 months ago)
- Topics: ffmpeg-wrapper, multimedia, video-processing
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/py/pycord)
# 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](https://pypi.org/project/opencv-python/)
or [Decord](https://pypi.org/project/decord/) in your Computer Vision or Machine Learning projects.
## Example
```python
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 **py**thon implementation of de**cord**).
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 some low-level code,
take a look to my other project [iterframes](https://github.com/alesanfra/iterframes)!
It's a python module implemented in [Rust](https://www.rust-lang.org) with the aim to be as fast as possible.