Compare commits

..

No commits in common. "c37e5329912b24b54c4d56687662347b8c7fee1b" and "0010452cbc4b99be19fac4a8d23bca9cc91c1245" have entirely different histories.

33 changed files with 22 additions and 251 deletions

View File

@ -6,6 +6,5 @@ Will pull the latest versions of the packages from github, install them to the
specified location, and then remove the source code (if successful).
Packages that are not included, but are required include (but are not limited
to) gcc > v.11; gnu binutils > v2.6; xorg-x11-drv-intel-devel (intel-gen4asm);
and clang. Good luck, and as usual you'll want to send a prayer up to
St. Isidore.
to) gcc > v.11; gnu binutils > v2.6; and clang. Good luck, and as usual you'll
want to send a prayer up to St. Isidore.

View File

@ -3,7 +3,6 @@
#build with hwaccell
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
curDir="$PWD"
pkg=jellyfin-ffmpeg
if ! [[ -d "$pkg" ]]
then
@ -27,33 +26,28 @@ make distclean
--extra-cflags="-I/app/ffmpeg/install/include" \
--extra-ldflags="-L/app/ffmpeg/install/lib" \
--extra-libs="-lpthread -lm -lz -ldl" \
--enable-libvpl \
--enable-vaapi \
--enable-opengl \
--enable-opencl \
--enable-libmfx \
--enable-libvorbis \
--enable-libvpx \
--enable-libdrm \
--enable-libzimg \
--enable-libsvtav1 \
--enable-libdav1d \
--enable-gpl \
--enable-runtime-cpudetect \
--enable-libfdk_aac \
--cpu=native \
--enable-libfdk-aac \
--enable-libx264 \
--enable-libx265 \
--enable-openssl \
--enable-libmp3lame \
--enable-pic \
--enable-libass \
--enable-libfreetype \
--enable-libsrt \
--cpu=native \
--enable-nonfree
# --disable-debug \
# --enable-debug \
# --enable-libmfx \
# --enable-vaapi \
# --enable-opengl \
# --enable-opencl \
make -j8
if make

View File

@ -4,7 +4,6 @@
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
curDir="$PWD"
pkg=jellyfin-ffmpeg
if ! [[ -d "$pkg" ]]
then

View File

@ -6,7 +6,7 @@ curDir="$PWD"
pkg=mesa-drm
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/gnedo/mesa-drm.git
git clone https://github.com/freedesktop/mesa-drm.git
fi
mkdir -p build
cd "$pkg"

1
deps/05_intel-sdk/MediaSDK vendored Submodule

@ -0,0 +1 @@
Subproject commit 22dc85a376ebe8be9cc43fc48654ea159419db79

View File

@ -10,7 +10,7 @@ then
fi
#Unsure if still needed:
sed -i "1s/^/#include <stdint.h>\n/" ./MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp
echo "#include <stdint.h>" >>./MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp
cd "$pkg"

View File

@ -1,40 +0,0 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
unset LIBVA_DRIVERS_PATH
curDir="$PWD"
pkg=intel-vaapi-driver
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/intel/intel-vaapi-driver.git
fi
cd "$pkg"
if ! [[ -f configure ]] && [[ -f autogen.sh ]]
then
bash autogen.sh
elif ! [[ -f configure ]]
then
echo "NO WAY TO CONFIGURE?, CMAKE?"
exit 1
fi
make clean
make distclean
./configure \
--prefix="/app/ffmpeg/install/"
#make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

@ -1 +0,0 @@
Subproject commit fd727a4e9cb8b2878a1e93d4dddc8dd1c1a4e0ea

@ -1 +0,0 @@
Subproject commit 7a72de33a15d6e7cdb842b12b901a003f7154f0a

1
deps/10_SDL/SDL vendored

@ -1 +0,0 @@
Subproject commit 4797970bfa6d6258bc9e636b6797acdfc1e73c31

View File

@ -34,7 +34,7 @@ make distclean
--enable-realtime-only \
--enable-better-hw-compatibility \
--disable-unit-tests \
--as=nasm \
--as=nsam \
--prefix="/app/ffmpeg/install/"
make -j8

1
deps/13_libvpx/libvpx vendored Submodule

@ -0,0 +1 @@
Subproject commit 972149cafeb71d6f08df89e91a0130d6a38c4b15

View File

@ -1,12 +1,13 @@
#!/bin/bash
#Depends on libtool
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=libass
pkg=ImageMagick
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/libass/libass.git
git clone https://github.com/ImageMagick/ImageMagick.git
fi
cd "$pkg"
@ -22,8 +23,11 @@ fi
make clean
make distclean
./configure \
--enable-opengl \
--enable-opencl \
--prefix="/app/ffmpeg/install/"
make -j8
if make
then
@ -37,3 +41,4 @@ fi
echo "Done"

@ -1 +0,0 @@
Subproject commit 4bea3e706c4d168377b813a8700198e9abfb7894

View File

@ -1,46 +0,0 @@
#!/bin/bash
#Depends on libtool
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/install/lib64/pkgconfig/
export LD_LIBRARY_PATH=/app/ffmpeg/install/lib:/app/install/lib64:$LD_LIBRARY_PATH
curDir="$PWD"
pkg=ImageMagick
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/ImageMagick/ImageMagick.git
fi
cd "$pkg"
if ! [[ -f configure ]] && [[ -f autogen.sh ]]
then
bash autogen.sh
elif ! [[ -f configure ]]
then
echo "NO WAY TO CONFIGURE?, CMAKE?"
exit 1
fi
make clean
make distclean
./configure \
--enable-opengl \
--enable-opencl \
--prefix="/app/ffmpeg/install/" \
CFLAGS="-ldl"
make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

1
deps/16_x265/x265_git vendored Submodule

@ -0,0 +1 @@
Subproject commit c07d076cf20ab41d8077a804dda70fdbc3b97386

View File

@ -1,39 +0,0 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=freetype
if ! [[ -d "$pkg" ]]
then
git clone https://gitlab.freedesktop.org/freetype/freetype.git
fi
cd "$pkg"
if ! [[ -f configure ]] && [[ -f autogen.sh ]]
then
bash autogen.sh
elif ! [[ -f configure ]]
then
echo "NO WAY TO CONFIGURE?, CMAKE?"
exit 1
fi
make clean
make distclean
./configure \
--prefix="/app/ffmpeg/install/"
#make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

39
deps/22_srt/build.sh vendored
View File

@ -1,39 +0,0 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=srt
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/Haivision/srt.git
fi
cd "$pkg"
if ! [[ -f configure ]] && [[ -f autogen.sh ]]
then
bash autogen.sh
elif ! [[ -f configure ]]
then
echo "NO WAY TO CONFIGURE?, CMAKE?"
exit 1
fi
make clean
make distclean
./configure \
--prefix="/app/ffmpeg/install/"
make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

View File

@ -1,32 +0,0 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg="SVT-AV1"
if ! [[ -d "$pkg" ]]
then
git clone https://gitlab.com/AOMediaCodec/SVT-AV1.git
fi
cd "$pkg/Build"
make clean
make distclean
cmake \
-DCMAKE_BUILD_TYPE=Realease \
-DCMAKE_INSTALL_PREFIX="/app/ffmpeg/install/" \
.. -G"Unix Makefiles"
make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

View File

@ -1,29 +0,0 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=dav1d
if ! [[ -d "$pkg" ]]
then
git clone https://code.videolan.org/videolan/dav1d.git
fi
mkdir -p build
cd "$pkg"
meson ../build/
meson configure ../build/ -Dprefix=/app/ffmpeg/install/
cd ../
if ninja -C build/ install
then
make install
cd "$curDir"
rm -rf "$pkg" "build"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"