Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

cainmagi/FFmpeg-Encoder-Decoder-for-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

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
BranchDescription
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.

Dependencies

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:

BranchDescriptionRelease page
install-ffmpeg-4_0_6.shScripts for installingffmpeg 4.0.6 on Ubuntu.2.0.5 🔗
install-ffmpeg-4_4.shScripts for installingffmpeg 4.4 on Ubuntu.3.0.0 🔗
install-ffmpeg-5_0.shScripts for installingffmpeg 5.0 on Debian.3.2.0 🔗

Usage

install-ffmpeg-5_0.sh

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp