Skip to content

Commit 1164fbd

Browse files
committed
3.2.0
1. Upload the script `install-ffmpeg-5_0.sh`. 2. Revise the ReadMe file.
1 parent dbe171e commit 1164fbd

File tree

2 files changed

+706
-6
lines changed

2 files changed

+706
-6
lines changed

README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,39 @@ import mpegCoder
1515

1616
## Dependencies
1717

18-
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][this-rel].
18+
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:
1919

20-
| Branch | Description |
21-
| :-------------: | :-----------: |
22-
| `install-ffmpeg-4_0_6.sh` | Scripts for installing `ffmpeg 4.0.6` on Ubuntu. |
23-
| `install-ffmpeg-4_4.sh` | Scripts for installing `ffmpeg 4.4` on Ubuntu. |
20+
| Branch | Description | Release page |
21+
| :-------------: | :-----------: | :
22+
| `install-ffmpeg-4_0_6.sh` | Scripts for installing `ffmpeg 4.0.6` on Ubuntu. | [2.0.5 :link:][rel-2-0-5] |
23+
| `install-ffmpeg-4_4.sh` | Scripts for installing `ffmpeg 4.4` on Ubuntu. | [3.0.0 :link:][rel-3-0-0] |
24+
| `install-ffmpeg-5_0.sh` | Scripts for installing `ffmpeg 5.0` on Ubuntu. | [3.2.0 :link:][rel-3-2-0] |
25+
26+
## Usage
27+
28+
### `install-ffmpeg-5_0.sh`
29+
30+
Save the script in `~/`, then run the docker:
31+
32+
```bash
33+
$ docker run --gpus all --rm -it --shm-size=1g ubuntu:jammy
34+
```
35+
36+
After that, run the following commands inside the container:
37+
38+
```bash
39+
cd ~
40+
wget -O https://raw.githubusercontent.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/deps/install-ffmpeg-5_0.sh
41+
chmod +rwx install-ffmpeg-5_0.sh
42+
./install-ffmpeg-5_0.sh --all --nvcuda --sudofix
43+
```
44+
45+
We recommend to use `ubuntu:jammy` (the devel version), because its apt repository provides most of the dependencies claimed in the issue [#4 :exclamation:](https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/issues/4).
46+
47+
[rel-2-0-5]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/releases/tag/2.05 "Release of dependencies (2.0.5)"
48+
[rel-3-0-0]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/releases/tag/deps-3.0.0 "Release of dependencies (3.0.0)"
49+
[rel-3-2-0]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/releases/tag/deps-3.2.0 "Release of dependencies (3.0.0)"
2450

25-
[this-rel]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/releases/tag/deps-3.0.0 "Release of dependencies"
2651
[git-master]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python "master (Windows)"
2752
[git-linux]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/tree/master-linux "master (Linux)"
2853
[exp1]:https://github.com/cainmagi/FFmpeg-Encoder-Decoder-for-Python/tree/example-client-check "check the client"

0 commit comments

Comments
 (0)