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

Releases: cainmagi/FFmpeg-Encoder-Decoder-for-Python

PyPI release of mpegCoder

25 Apr 03:12
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.2.4/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.6 3.7 3.8 3.9 3.10
✔️ ✔️ ✔️ ✔️ ✔️
Assets 2
Loading

PyPI release of mpegCoder

22 Apr 22:37
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.2.3/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.6 3.7 3.8 3.9 3.10
✔️ ✔️ ✔️ ✔️ ✔️
Loading

PyPI release of mpegCoder

22 Apr 22:26
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.2.2/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.6 3.7 3.8 3.9 3.10
✔️ ✔️ ✔️ ✔️ ✔️
Loading

PyPI release of mpegCoder

22 Apr 22:05
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.2.1/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.6 3.7 3.8 3.9 3.10
✔️ ✔️ ✔️ ✔️ ✔️
Loading

Dependencies for FFMpeg 5.0

06 Apr 07:35
@cainmagi cainmagi
d0cfde8
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

This release is used for storing the pre-compiled dependencies, including files and libs for FFMpeg. The version includes:

FFMpeg include libs dynamic libs
5.0 (windows) ✔️ ✔️ ✔️
5.0 (linux) ✔️ ✔️ ✔️

Some of the dependencies may be automatically downloaded by some scripts.

Backup for pre-built FFmpeg

The following archives are the pre-built FFMpeg on Linux. Because the FFMpeg does not release the shared library version for Linux. We have to use the scripts to build them. The following files are not actually used for building mpegCoder, but the dependencies are extracted from them.

File name FFMpeg ver. GCC ver. OS
linux-ffmpeg-shared-5.0.tar.xz 5.0 10.2.1 Debian 11
Loading

PyPI release of mpegCoder

12 Apr 10:52
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.2.0/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.6 3.7 3.8 3.9 3.10
✔️ ✔️ ✔️ ✔️ ✔️

Important notes

From this version, the dependencies will not be packed with the .whl package. When users load the lib for the first time, the dependencies will be downloaded from Github.

Loading

FFmpeg mpegCoder for Python (Linux)

08 Apr 08:42
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

Instruction of this version

This is the first release version that contains all python built files. The details of the compilation are shown in the following table:

File FFMpeg Numpy Python GCC/G++ OS
mpegCoder_3_2_0_Linux_py310.tar.xz 5.0 1.22.3 3.10.4 10.2.1 Debian 11
mpegCoder_3_2_0_Linux_py39.tar.xz 5.0 1.22.3 3.9.12 10.2.1 Debian 11
mpegCoder_3_2_0_Linux_py38.tar.xz 5.0 1.22.3 3.8.13 10.2.1 Debian 11
mpegCoder_3_2_0_Linux_py37.tar.xz 5.0 1.21.5 3.7.13 10.2.1 Debian 11
mpegCoder_3_2_0_Linux_py36.tar.xz 5.0 1.19.5 3.6.15 10.2.1 Debian 11

Note that the above versions only show the environment when building mpegCoder. It does not mean that they are the dependencies of running mpegCoder. For example, users could use python 3.9.5 and numpy 1.19.5 to run mpegCoder.

Running the Linux version may be a little bit tricky. Users need to follow the step 5 and 6 in the instructions of the source code 📄. We copy the instructions here:

  1. Extract the built module as mpegCoder.so, then you could import it in the same directory. If you have built FFMpeg by our script, you do not need any other dependencies when importing the libs. However, if not, you may need to download the lib dependencies 📦 and add the lib folder to your LD_LIBRARY_PATH:

    mkdir -p /apps/ffmpeg-5.0
    cd /apps/ffmpeg-5.0
    wget -O- https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/releases/download/deps-3.2.0/so-linux-ffmpeg_5_0.tar.xz | tar xJ -C "."
    echo "export LD_LIBRARY_PATH=/apps/ffmpeg-5.0/lib:\$LD_LIBRARY_PATH" >> ~/.bashrc
    export LD_LIBRARY_PATH=/apps/ffmpeg-5.0/lib:$LD_LIBRARY_PATH
  2. Running mpegCoder requires GLIBC>=2.29. This requirement is not satisfied in some cases. However, if you have built FFMpeg by our script, the requirement would be fulfilled (i.e. you could skip this step). If users are using our pre-built dependencies, users may need to solve this problem by

    ln -sf /apps/ffmpeg-5.0/lib-fix/libm-2.35.so /lib/x86_64-linux-gnu/libm.so.6

Then, users could import the package by

import mpegCoder
Loading

FFmpeg mpegCoder for Python (Win)

06 Apr 07:49
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

Instruction of this version

This is the first release version that contains all python built files. The details of the compilation are shown in the following table:

File FFMpeg Numpy Python VS OS
mpegCoder_3_2_0_Win_py310.tar.xz 5.0 1.22.3 3.10.4 2022 (v143) Windows 11 21H2
mpegCoder_3_2_0_Win_py39.tar.xz 5.0 1.22.3 3.9.12 2022 (v143) Windows 11 21H2
mpegCoder_3_2_0_Win_py38.tar.xz 5.0 1.22.3 3.8.13 2022 (v143) Windows 11 21H2
mpegCoder_3_2_0_Win_py37.tar.xz 5.0 1.21.5 3.7.12 2022 (v143) Windows 11 21H2
mpegCoder_3_2_0_Win_py36.tar.xz 5.0 1.19.5 3.6.15 2022 (v143) Windows 11 21H2

Note that the above versions only show the environment when building mpegCoder. It does not mean that they are the dependencies of running mpegCoder. For example, users could use python 3.9.5 and numpy 1.19.5 to run mpegCoder.

The dynamic libraries could be downloaded from dll-win-ffmpeg_5_0.tar.xz 📦. To make mpegCoder works, users need to place the dependencies in the same folder of mpegCoder, for example:

.
|---mpegCoder.pyd
|---avcodec-59.dll
|---avformat-59.dll
|---avutil-57.dll
|---swresample-4.dll
`---swscale-6.dll

Users could also place the .dlls in a folder that is added to the path. In this case, the mpegCoder.pyd could be imported independently.

Then, users could import the package by

import mpegCoder
Loading

PyPI release of mpegCoder

30 Jul 06:12
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

This is the second attempt for the PyPI release of mpegCoder. To find the details of this project, please check

https://pypi.org/project/mpegCoder/3.1.0-b/

The released pre-compiled versions will cover the following OSs:

Linux Windows
✔️ ✔️

and the following Python:

3.5 3.6 3.7 3.8 3.9
✔️ ✔️ ✔️ ✔️ ✔️

Important notes

For the Linux case, we use a small trick to avoid the requirement of manylinux. Although this package is tagged as manylinux, it should only work on Debian or Ubuntu.

Loading

FFmpeg mpegCoder for Python (Win)

19 Jul 14:31
@cainmagi cainmagi
Compare
Choose a tag to compare
Loading

Instruction of this version

This is the first release version that contains all python built files. The details of the compilation are shown in the following table:

File FFMpeg Numpy Python VS OS
mpegCoder_3_1_0_Win_py39.tar.xz 4.4 1.21.1 3.9.6 2019 (v142) Windows 10 21H1
mpegCoder_3_1_0_Win_py38.tar.xz 4.4 1.21.1 3.8.10 2019 (v142) Windows 10 21H1
mpegCoder_3_1_0_Win_py37.tar.xz 4.4 1.21.1 3.7.10 2019 (v142) Windows 10 21H1
mpegCoder_3_1_0_Win_py36.tar.xz 4.4 1.19.5 3.6.13 2019 (v142) Windows 10 21H1
mpegCoder_3_1_0_Win_py35.tar.xz 4.4 1.15.2 3.5.5 2019 (v142) Windows 10 21H1

Note that the above versions only show the environment when building mpegCoder. It does not mean that they are the dependencies of running mpegCoder. For example, users could use python 3.9.5 and numpy 1.19.5 to run mpegCoder.

The dynamic libraries could be downloaded from dll-win-ffmpeg_4_4.tar.xz 📦. To make mpegCoder works, users need to place the dependencies in the same folder of mpegCoder, for example:

.
|---mpegCoder.pyd
|---avcodec-58.dll
|---avformat-58.dll
|---avutil-56.dll
|---swresample-3.dll
`---swscale-5.dll

Users could also place the .dlls in a folder that is added to the path. In this case, the mpegCoder.pyd could be imported independently.

Then, users could import the package by

import mpegCoder
Loading
Previous 1
Previous

AltStyle によって変換されたページ (->オリジナル) /