|
|
@@ -53,8 +53,10 @@ ffmpeg_impl: |
|
|
|
sudo apt-get install -y yasm |
|
|
|
sudo apt-get install -y nasm # apparently x264 switched to this |
|
|
|
|
|
|
|
mkdir x264_out |
|
|
|
mkdir ffmpeg_out |
|
|
|
mkdir -p x264_out |
|
|
|
mkdir -p ffmpeg_out |
|
|
|
|
|
|
|
cp -prv 5.1-0004-fix-binutils.patch ffmpeg/ |
|
|
|
|
|
|
|
pushd x264 && \ |
|
|
|
git checkout 2451a7282463f68e532f2eee090a70ab139bb3e7 |
|
|
@@ -75,9 +77,10 @@ ffmpeg_impl: |
|
|
|
pushd ffmpeg && git checkout n3.1 |
|
|
|
#git checkout 71052d85c16bd65fa1e3e01d9040f9a3925efd7a # or my muxing code won't work, they've modified the example since fba1592f35501bff0f28d7885f4128dfc7b82777 |
|
|
|
pushd ffmpeg && \ |
|
|
|
./configure --cxx=$$(which c++) --enable-static --enable-shared --enable-libx264 --enable-gpl --disable-swresample --prefix=$$(realpath $$PWD/../ffmpeg_out) && \ |
|
|
|
./configure --cxx=$$(which c++) --enable-static --enable-shared --enable-libx264 --enable-gpl --disable-swresample --prefix=$$(realpath $$PWD/../ffmpeg_out) && \ |
|
|
|
sed -i.bak 's/HAVE_ARC4RANDOM 1/HAVE_ARC4RANDOM 0/g' ./config.h && \ |
|
|
|
make -j $$(nproc) && \ |
|
|
|
patch libavcodec/x86/mathops.h 5.1-0004-fix-binutils.patch && \ |
|
|
|
make -j $$(nproc) && \ |
|
|
|
make install |
|
|
|
|
|
|
|
package-ubuntu1804: |
|
|
@@ -124,4 +127,4 @@ clean: |
|
|
|
rm -rf ffmpeg_out |
|
|
|
|
|
|
|
shell: |
|
|
|
FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash |
|
|
|
FLAGS="-i --privileged" bash ../ubuntu2404.sh /bin/bash |