Added x264 dev build
This commit is contained in:
parent
98e327e682
commit
67832e650b
24
Dockerfile
24
Dockerfile
|
@ -40,16 +40,27 @@ COPY docker/build/x265/build.sh /build.sh
|
|||
RUN /build.sh
|
||||
|
||||
|
||||
FROM build-base AS build-x264
|
||||
FROM build-base AS build-lsmash
|
||||
|
||||
COPY docker/build/l-smash/build.sh /build-l-smash.sh
|
||||
|
||||
RUN /build-l-smash.sh
|
||||
|
||||
FROM build-lsmash AS build-x264
|
||||
|
||||
ARG X264_TAG=stable
|
||||
ARG X264_REPO=https://code.videolan.org/videolan/x264.git
|
||||
|
||||
COPY docker/build/x264/build.sh /build.sh
|
||||
COPY docker/build/l-smash/build.sh /build-l-smash.sh
|
||||
|
||||
RUN /build-l-smash.sh && /build.sh
|
||||
RUN /build.sh stable
|
||||
|
||||
FROM build-lsmash AS build-x264-dev
|
||||
|
||||
ARG X264_REPO=https://code.videolan.org/videolan/x264.git
|
||||
|
||||
COPY docker/build/x264/build.sh /build.sh
|
||||
|
||||
RUN /build.sh master
|
||||
|
||||
FROM build-base AS build-aom
|
||||
|
||||
|
@ -82,7 +93,7 @@ COPY docker/build/rav1e/build.sh /build.sh
|
|||
|
||||
RUN /build.sh
|
||||
|
||||
FROM build-base AS build-vapoursynth
|
||||
FROM build-lsmash AS build-vapoursynth
|
||||
|
||||
ARG MAGICK_TAG=7.1.0-31
|
||||
ARG ZIMG_TAG=release-3.0.4
|
||||
|
@ -90,14 +101,12 @@ ARG VS_TAG=R54
|
|||
|
||||
COPY docker/build/magick/build.sh /build-magick.sh
|
||||
COPY docker/build/zimg/build.sh /build-zimg.sh
|
||||
COPY docker/build/l-smash/build.sh /build-l-smash.sh
|
||||
COPY docker/build/vapoursynth/build.sh /build-vapoursynth.sh
|
||||
COPY docker/build/vapoursynth-plugins/build.sh /build-vapoursynth-plugins.sh
|
||||
|
||||
|
||||
RUN /build-zimg.sh && \
|
||||
/build-magick.sh && \
|
||||
/build-l-smash.sh && \
|
||||
/build-vapoursynth.sh
|
||||
|
||||
ENV PYTHONPATH "/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/lib/vapoursynth:$PYTHONPATH"
|
||||
|
@ -123,6 +132,7 @@ ENV PYTHONPATH "/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/lib/vapoursy
|
|||
COPY --from=build-x265 /usr/bin/x265 /usr/bin/x265
|
||||
|
||||
COPY --from=build-x264 /usr/bin/x264 /usr/bin/x264
|
||||
COPY --from=build-x264-dev /usr/bin/x264 /usr/bin/x264-dev
|
||||
|
||||
COPY --from=build-aom /usr/bin/aom* /usr/bin/
|
||||
COPY --from=build-svt-av1 /usr/bin/SvtAv1* /usr/bin/
|
||||
|
|
|
@ -13,7 +13,7 @@ docker run -it --rm -v /path/to/mount/on/container:/mnt encoder
|
|||
| [ffmpeg](https://johnvansickle.com/ffmpeg/) | General | static build from git snapshot |
|
||||
| [Sushi](https://github.com/FichteFoll/Sushi) | Subtitle Syncing | Automatic shifter for SRT and ASS subtitle based on audio streams. |
|
||||
| [x264 stable](https://code.videolan.org/videolan/x264/-/tree/stable) | H.264 Encoder | x264, the best and fastest H.264 encoder |
|
||||
| [x264 master](https://code.videolan.org/videolan/x264/-/tree/master) | H.264 Encoder | Can be accessed via `$ x264_master` |
|
||||
| [x264 master](https://code.videolan.org/videolan/x264/-/tree/master) | H.264 Encoder | Can be accessed via `$ x264-dev` |
|
||||
| [x265 3.5](https://bitbucket.org/multicoreware/x265_git/src/3.5/) | H.265/HEVC Encoder | |
|
||||
| [aom v3.3.0](https://aomedia.googlesource.com/aom/+/refs/tags/v3.3.0/) | AV1 Encoder/Decoder | Can be accessed via `$ aomenc` or `$ aomdec` |
|
||||
| [SVT-AV1 v1.0.0](https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.0.0) | AV1 Encoder/Decoder | Can be accessed via `$ SvtAv1Enc` or `$ SvtAv1Dec` |
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
set -o pipefail
|
||||
|
||||
git clone --branch "${X264_TAG}" --depth 1 "${X264_REPO}" /src/x264
|
||||
git clone --branch "${1}" --depth 1 "${X264_REPO}" /src/x264
|
||||
pushd /src/x264
|
||||
CC=gcc CXX=g++ CFLAGS="-O3 -march=native" CPPFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native" LDFLAGS="" \
|
||||
./configure --enable-shared --enable-static --bit-depth=all --chroma-format=all --enable-lto --enable-pic --prefix=/usr
|
||||
|
|
Loading…
Reference in a new issue