- Notifications
You must be signed in to change notification settings - Fork7
This is a C++ based FFmpeg Encoder/Decoder for Python 3.6+ & numpy 1.19+. Both Linux & Win versions are provided. Theoretically you do not need to install FFmpeg for using this library.
License
cainmagi/FFmpeg-Encoder-Decoder-for-Python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mpegCoder adapted from FFmpeg & Python-c-api. Using it you could get access to processing video easily. Just use it as a common module in python like this.
importmpegCoder
Branch | Description |
---|---|
master 🔗 | The source project ofmpegCoder , Windows version. |
master-linux 🔗 | The source project ofmpegCoder , Linux version. |
example-client-check 🔗 | A testing project of the online video stream demuxing. |
example-client-player 🔗 | A testing project of the simple online video stream player. |
This branch is used for archiving the dependencies used for building the project on different platforms. The installation scripts for ffmpeg would be stored here, while the Windows dependencies would be stored in the release page liste in the following table:
Branch | Description | Release page |
---|---|---|
install-ffmpeg-4_0_6.sh | Scripts for installingffmpeg 4.0.6 on Ubuntu. | 2.0.5 🔗 |
install-ffmpeg-4_4.sh | Scripts for installingffmpeg 4.4 on Ubuntu. | 3.0.0 🔗 |
install-ffmpeg-5_0.sh | Scripts for installingffmpeg 5.0 on Debian. | 3.2.0 🔗 |
Save the script in~/
, then run the docker:
docker run --gpus all --rm -it --shm-size=1g debian:bullseye
After that, run the following commands inside the container (root mode):
cd~&& apt update&& apt install wgetwget https://raw.githubusercontent.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/deps/install-ffmpeg-5_0.shchmod +rwx install-ffmpeg-5_0.sh./install-ffmpeg-5_0.sh --all --nvcuda --sudofix
We recommend to usedebian:bullseye
(the current version), because its apt repository preserves the best compatibility, and provides most of the dependencies claimed in the issue#4 ❗.
About
This is a C++ based FFmpeg Encoder/Decoder for Python 3.6+ & numpy 1.19+. Both Linux & Win versions are provided. Theoretically you do not need to install FFmpeg for using this library.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.