- Notifications
You must be signed in to change notification settings - Fork7
Releases: cainmagi/FFmpeg-Encoder-Decoder-for-Python
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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 |
|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Assets2
Uh oh!
There was an error while loading.Please reload this page.
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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 |
|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Assets2
Uh oh!
There was an error while loading.Please reload this page.
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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 |
|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Assets2
Uh oh!
There was an error while loading.Please reload this page.
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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 |
|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Assets2
Uh oh!
There was an error while loading.Please reload this page.
Dependencies for FFMpeg 5.0
d0cfde8This 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 buildingmpegCoder, 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 |
Assets7
Uh oh!
There was an error while loading.Please reload this page.
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
FFmpeg mpegCoder for Python (Linux)
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 buildingmpegCoder. It does not mean that they are the dependencies of runningmpegCoder. For example, users could usepython 3.9.5 andnumpy 1.19.5 to runmpegCoder.
Running the Linux version may be a little bit tricky. Users need to follow the step 5 and 6 inthe instructions of the source code 📄. We copy the instructions here:
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 downloadthe lib dependencies 📦 and add thelibfolder to yourLD_LIBRARY_PATH:mkdir -p /apps/ffmpeg-5.0cd /apps/ffmpeg-5.0wget -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">>~/.bashrcexport LD_LIBRARY_PATH=/apps/ffmpeg-5.0/lib:$LD_LIBRARY_PATH
Running
mpegCoderrequiresGLIBC>=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 byln -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
importmpegCoder
Assets7
Uh oh!
There was an error while loading.Please reload this page.
FFmpeg mpegCoder for Python (Win)
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 buildingmpegCoder. It does not mean that they are the dependencies of runningmpegCoder. For example, users could usepython 3.9.5 andnumpy 1.19.5 to runmpegCoder.
The dynamic libraries could be downloaded fromdll-win-ffmpeg_5_0.tar.xz 📦. To makempegCoder works, users need to place the dependencies in the same folder ofmpegCoder, 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, thempegCoder.pyd could be imported independently.
Then, users could import the package by
importmpegCoder
Assets7
Uh oh!
There was an error while loading.Please reload this page.
PyPI release of mpegCoder
This is the second attempt for the PyPI release ofmpegCoder. 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 ofmanylinux. Although this package is tagged asmanylinux, it should only work on Debian or Ubuntu.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
FFmpeg mpegCoder for Python (Win)
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 buildingmpegCoder. It does not mean that they are the dependencies of runningmpegCoder. For example, users could usepython 3.9.5 andnumpy 1.19.5 to runmpegCoder.
The dynamic libraries could be downloaded fromdll-win-ffmpeg_4_4.tar.xz 📦. To makempegCoder works, users need to place the dependencies in the same folder ofmpegCoder, 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, thempegCoder.pyd could be imported independently.
Then, users could import the package by
importmpegCoder
Assets7
Uh oh!
There was an error while loading.Please reload this page.