Skip to content

Commit 469a881

Browse files
authored
Merge branch 'jrottenberg:main' into deploy
2 parents 8f00cc9 + a0cc375 commit 469a881

File tree

115 files changed

+311
-43842
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+311
-43842
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pre-commit:
22
image: python:3
33
stage: lint
44
script:
5-
- pip install pre-commit
5+
- pip install pre-commit packaging
66
- pre-commit run --all-files --show-diff-on-failure
77
artifacts:
88
expire_in: 1 days

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos: # pre-commit autoupdate
22
- repo: https://github.com/pycqa/flake8
3-
rev: "6.0.0"
3+
rev: "7.0.0"
44
hooks:
55
- id: flake8
66

77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.4.0
8+
rev: v4.5.0
99
hooks:
1010
- id: trailing-whitespace
1111
- id: check-added-large-files
@@ -22,19 +22,19 @@ repos: # pre-commit autoupdate
2222

2323
# If you want to avoid flake8 errors due to unused vars or imports:
2424
- repo: https://github.com/myint/autoflake.git
25-
rev: v2.0.2
25+
rev: v2.2.1
2626
hooks:
2727
- id: autoflake
2828
args:
2929
[--in-place, --remove-all-unused-imports, --remove-unused-variables]
3030

3131
- repo: https://github.com/pycqa/isort
32-
rev: 5.12.0
32+
rev: 5.13.2
3333
hooks:
3434
- id: isort
3535

3636
- repo: https://github.com/psf/black
37-
rev: 23.1.0
37+
rev: 23.12.1
3838
hooks:
3939
- id: black
4040
language_version: python3

README.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ This image can be used as a base for an encoding farm.
1919
There are different builds available:
2020
- alpine based images `ffmpeg:<version>-alpine` or `ffmpeg:<version>-alpine313` (old versions with `ffmpeg:<version>-alpine312` , `ffmpeg:<version>-alpine311`)
2121
- alpine based scratch images `ffmpeg:<version>-scratch` or `ffmpeg:<version>-scratch313` (old versions with `ffmpeg:<version>-scratch312` , `ffmpeg:<version>-scratch311`)
22-
- centos based images `ffmpeg:<version>-centos` or `ffmpeg:<version>-centos7` or `ffmpeg:<version>-centos8`
2322
- ubuntu based images `ffmpeg:<version>-ubuntu` or `ffmpeg:<version>-ubuntu2004` (old versions with `ffmpeg:<version>-ubuntu1804` , `ffmpeg:<version>-ubuntu1604`)
2423
- ubuntu based nvidia images `ffmpeg:<version>-nvidia` or `ffmpeg:<version>-nvidia2004` (old versions with `ffmpeg:<version>-nvidia1804`, `ffmpeg:<version>-nvidia1604`)
2524
- ubuntu based vaapi images `ffmpeg:<version>-vaapi1804` or `ffmpeg:<version>-vaapi2004` (old versions with `ffmpeg:<version>-vaapi1804`, `ffmpeg:<version>-nvidia1604`)
@@ -34,18 +33,10 @@ There are different builds available:
3433
- 4.3
3534
- 4.4
3635

37-
Not all combinations are supported and older versions will fade out over time. See the table below for the currently supported combinations.
3836

39-
| *Version* | alpine38 | alpine312 | centos7 | centos8 | nvidia1804 | scratch38 | scratch312 | ubuntu1804 | ubuntu2004 | vaapi1804 | vaapi2004 |
40-
| ---------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
41-
| *3.2* | :heavy_check_mark: | :x: | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: | :x: | :heavy_check_mark: |
42-
| *3.3* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
43-
| *3.4* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
44-
| *4.0* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
45-
| *4.1* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
46-
| *4.2* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
47-
| *4.3* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
48-
| *snapshot* | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |
37+
38+
39+
4940

5041
### Generate list of recent images
5142

@@ -260,3 +251,9 @@ See Dockerfile-env to update a version
260251
## Contribute
261252

262253
See [the contributing guide](CONTRIBUTING.md)
254+
255+
256+
257+
## Legal
258+
259+
Those docker images use code of <a href=http://ffmpeg.org>FFmpeg</a> licensed under the <a href=http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>LGPLv2.1</a> and their source can be downloaded on <a href=https://github.com/jrottenberg/ffmpeg>github.com/jrottenberg/ffmpeg</a>.

azure-pipelines.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ stages:
2727
key: pre-commit | "4" | .pre-commit-config.yaml | "$(PY)"
2828
path: $(PRE_COMMIT_HOME)
2929

30-
- script: python -m pip install --upgrade pre-commit
31-
displayName: install pre-commit
30+
- script: python -m pip install --upgrade pre-commit packaging
31+
displayName: install python deps
3232
- script: pre-commit run --all-files --show-diff-on-failure
3333
displayName: run pre-commit
3434

docker-images/3.3/ubuntu2004/Dockerfile renamed to docker-images/2.8/ubuntu2004/Dockerfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ RUN apt-get -yqq update && \
1616

1717
FROM base as build
1818

19-
ENV FFMPEG_VERSION=3.3.9 \
20-
AOM_VERSION=v1.0.0 \
19+
ENV FFMPEG_VERSION=2.8.22 \
20+
AOM_VERSION=v3.8.1 \
2121
CHROMAPRINT_VERSION=1.5.0 \
2222
FDKAAC_VERSION=0.1.5 \
2323
FONTCONFIG_VERSION=2.12.4 \
@@ -34,6 +34,7 @@ ENV FFMPEG_VERSION=3.3.9 \
3434
OPENCOREAMR_VERSION=0.1.5 \
3535
OPUS_VERSION=1.2 \
3636
OPENJPEG_VERSION=2.1.2 \
37+
PYTHON=python3 \
3738
THEORA_VERSION=1.1.1 \
3839
VORBIS_VERSION=1.3.5 \
3940
VPX_VERSION=1.8.0 \
@@ -67,7 +68,6 @@ ARG LIBZMQ_SHA256SUM="02ecc88466ae38cf2c8d79f09cfd2675ba299a439680b64ade
6768
ARG LIBARIBB24_SHA256SUM="f61560738926e57f9173510389634d8c06cabedfa857db4b28fb7704707ff128 v1.0.3.tar.gz"
6869

6970

70-
ARG LD_LIBRARY_PATH=/opt/ffmpeg/lib
7171
ARG MAKEFLAGS="-j2"
7272
ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconfig:/opt/ffmpeg/lib64/pkgconfig"
7373
ARG PREFIX=/opt/ffmpeg
@@ -532,11 +532,9 @@ RUN \
532532
--enable-libbluray \
533533
--enable-libfdk_aac \
534534
--enable-libfreetype \
535-
--enable-libkvazaar \
536535
--enable-libmp3lame \
537536
--enable-libopencore-amrnb \
538537
--enable-libopencore-amrwb \
539-
--enable-libopenjpeg \
540538
--enable-libopus \
541539
--enable-libtheora \
542540
--enable-libvidstab \

0 commit comments

Comments
 (0)