Add JPEG and PNG for music thumbnails
All checks were successful
Publish Docker image / Push Docker image to the registry (push) Successful in 42m27s

This commit is contained in:
Anton Liaposhchenko 2024-06-17 23:38:39 +03:00
parent b6b726d29f
commit 4fce4e9726

View File

@ -13,7 +13,9 @@ RUN apt-get install -yqq autoconf \
pkg-config \
texinfo \
wget \
yasm
yasm \
libpng-dev \
libjpeg-dev
WORKDIR /opt/ffmpeg-sources
RUN wget https://ffmpeg.org/releases/ffmpeg-6.1.tar.xz && tar -xJvf ffmpeg-6.1.tar.xz
@ -22,7 +24,8 @@ WORKDIR /opt/ffmpeg-sources/ffmpeg-6.1
RUN ./configure --pkg-config-flags="--static" --extra-libs="-lpthread" --ld="g++" \
--prefix="/opt/ffmpeg-build" --enable-shared --disable-static \
--disable-doc --disable-network \
--disable-zlib --disable-lzma --disable-bzlib --disable-bsfs --disable-v4l2-m2m
--disable-lzma --disable-bzlib --disable-bsfs --disable-v4l2-m2m \
--enable-decoder=mjpeg --enable-encoder=mjpeg --enable-decoder=png --enable-encoder=png
RUN make -j16