Added MediaInfo

This commit is contained in:
DataHoarder 2022-05-02 11:12:41 +02:00
parent 90687f1073
commit e603b304b4
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk
3 changed files with 37 additions and 1 deletions

View file

@ -199,6 +199,15 @@ COPY docker/build/xeve/build.sh /build.sh
RUN /build.sh MAIN
FROM build-base AS build-mediainfo
ARG MEDIAINFO_TAG=v22.03
ARG MEDIAINFOLIB_TAG=v22.03
COPY docker/build/mediainfo/build.sh /build.sh
RUN /build.sh
FROM dep-base
RUN pip3 install git+https://github.com/FichteFoll/Sushi.git@master
@ -244,4 +253,5 @@ COPY --from=build-vapoursynth /usr/lib/libffms* /usr/lib/
COPY --from=build-vapoursynth /usr/bin/magick /usr/bin/magick
COPY --from=build-vapoursynth /usr/etc/ImageMagick-7 /usr/etc/ImageMagick-7
COPY --from=build-mkvtoolnix /usr/bin/mkv* /usr/bin/
COPY --from=build-mkvtoolnix /usr/bin/mkv* /usr/bin/
COPY --from=build-mediainfo /usr/bin/mediainfo /usr/bin/mediainfo

View file

@ -13,6 +13,7 @@ docker run -it --rm -v /path/to/mount/on/container:/mnt encoder
| [ffmpeg](https://johnvansickle.com/ffmpeg/) | General Tools | static build from git snapshot. Can be accessed via `$ ffmpeg` |
| [Sushi](https://github.com/FichteFoll/Sushi) | Subtitle Syncing | Automatic shifter for SRT and ASS subtitle based on audio streams. Can be accessed via `$ sushi` |
| [MKVToolNix 67.0.0](https://gitlab.com/mbunkus/mkvtoolnix/-/tree/release-67.0.0) | Matroska Tools | Creating and working with Matroska files. |
| [MediaInfo v22.03](https://github.com/MediaArea/MediaInfo/tree/v22.03) | General Tools | Convenient unified display of the most relevant technical and tag data for video and audio files. |
| [x264 stable](https://code.videolan.org/videolan/x264/-/tree/stable) | H.264 Encoder | x264, the best and fastest H.264 encoder. Can be accessed via `$ x264` |
| [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 | |

25
docker/build/mediainfo/build.sh Executable file
View file

@ -0,0 +1,25 @@
#!/bin/bash
set -e
set -o pipefail
git clone --branch "v0.4.39" --depth 1 https://github.com/MediaArea/ZenLib.git /src/ZenLib
pushd /src/ZenLib/Project/GNU/Library
./autogen.sh
./configure --enable-static --prefix=/usr
make -j$(nproc)
make install
git clone --branch "${MEDIAINFOLIB_TAG}" --depth 1 https://github.com/MediaArea/MediaInfoLib.git /src/MediaInfoLib
pushd /src/MediaInfoLib/Project/GNU/Library
./autogen.sh
./configure --enable-staticlibs --enable-static --prefix=/usr
make -j$(nproc)
make install
git clone --branch "${MEDIAINFO_TAG}" --depth 1 https://github.com/MediaArea/MediaInfo.git /src/MediaInfo
pushd /src/MediaInfo/Project/GNU/CLI
./autogen.sh
./configure --enable-staticlibs --prefix=/usr
make -j$(nproc)
make install