4545 cmake \
4646 git-core \
4747 libass-dev \
48+ libbz2-dev \
4849 libfreetype6-dev \
4950 libgnutls28-dev \
5051 libsdl2-dev \
7071 libopus-dev
7172
7273 - run : |
73- git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
74+ git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.1
7475 cd ffmpeg
7576 mkdir build
7677 cd build
@@ -289,7 +290,7 @@ jobs:
289290 # Disable exr,phm to workaround "multiple definition of 'ff_init_half2float_tables'"
290291 # Ref: `https://github.com/larksuite/rsmpeg/pull/98#issuecomment-1467511193`
291292 - run : |
292- git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
293+ git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.1
293294 cd ffmpeg
294295 mkdir build
295296 cd build
@@ -394,6 +395,42 @@ jobs:
394395 build_dynamic_and_test_ubuntu :
395396 runs-on : ubuntu-latest
396397 steps :
398+ # https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
399+ - name : Install FFmpegBuildTools
400+ run : |
401+ sudo apt-get update -qq && sudo apt-get -y install \
402+ autoconf \
403+ automake \
404+ build-essential \
405+ cmake \
406+ git-core \
407+ libass-dev \
408+ libfreetype6-dev \
409+ libgnutls28-dev \
410+ libsdl2-dev \
411+ libbz2-dev \
412+ libtool \
413+ libva-dev \
414+ libvdpau-dev \
415+ libvorbis-dev \
416+ libxcb1-dev \
417+ libxcb-shm0-dev \
418+ libxcb-xfixes0-dev \
419+ pkg-config \
420+ texinfo \
421+ wget \
422+ yasm \
423+ zlib1g-dev \
424+ nasm \
425+ libdrm-dev \
426+ libx264-dev \
427+ libx265-dev \
428+ libnuma-dev \
429+ libvpx-dev \
430+ libfdk-aac-dev \
431+ libmp3lame-dev \
432+ libopus-dev
433+
397434 - name : Build x264
398435 # Since github actions use 2 core cpu
399436 run : |
@@ -415,7 +452,7 @@ jobs:
415452
416453 - name : Build FFmpeg dylib
417454 run : |
418- git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
455+ git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.1
419456 cd ffmpeg
420457 mkdir build
421458 cd build
@@ -444,6 +481,7 @@ jobs:
444481 --enable-libx264 \
445482 --enable-pic \
446483 --disable-vaapi \
484+ --disable-libdrm \
447485 --disable-vdpau \
448486 --disable-xlib
449487 make -j$(nproc)
@@ -497,7 +535,7 @@ jobs:
497535
498536 - name : Build FFmpeg dylib
499537 run : |
500- git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
538+ git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.1
501539 cd ffmpeg
502540 mkdir build
503541 cd build
@@ -584,7 +622,7 @@ jobs:
584622 cd ../..
585623 - name : Build FFmpeg
586624 run : |
587- git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
625+ git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.1
588626 cd ffmpeg
589627 mkdir build
590628 cd build
@@ -716,14 +754,14 @@ jobs:
716754 texinfo \
717755 wget \
718756 yasm \
719- zlib1g-dev
720- sudo apt-get -y install nasm
721- sudo apt-get -y install libx264-dev
722- sudo apt-get -y install libx265-dev libnuma-dev
723- sudo apt-get -y install libvpx-dev
724- sudo apt-get -y install libfdk-aac-dev
725- sudo apt-get -y install libmp3lame-dev
726- sudo apt-get -y install libopus-dev
757+ zlib1g-dev \
758+ nasm \
759+ libx264-dev \
760+ libx265-dev libnuma-dev \
761+ libvpx-dev \
762+ libfdk-aac-dev \
763+ libmp3lame-dev \
764+ libopus-dev
727765
728766 - name : Set env
729767 run : echo "DOCS_RS=1" >> $GITHUB_ENV
0 commit comments