Skip to content

Commit c41013f

Browse files
committed
Add FFmpeg 8.0 to binary build job
1 parent 51ff31f commit c41013f

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/scripts/build_ffmpeg.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,18 @@ if [[ "$(uname)" == Darwin ]]; then
9898
avformat=libavformat.60
9999
avdevice=libavdevice.60
100100
avfilter=libavfilter.9
101-
elif [[ ${ffmpeg_version} == master || ${major_ver} == 7 ]]; then
101+
elif [[ ${major_ver} == 7 ]]; then
102102
avutil=libavutil.59
103103
avcodec=libavcodec.61
104104
avformat=libavformat.61
105105
avdevice=libavdevice.61
106106
avfilter=libavfilter.10
107+
elif [[ ${ffmpeg_version} == master || ${major_ver} == 8 ]]; then
108+
avutil=libavutil.60
109+
avcodec=libavcodec.62
110+
avformat=libavformat.62
111+
avdevice=libavdevice.62
112+
avfilter=libavfilter.11
107113
else
108114
printf "Error: unexpected FFmpeg major version: %s\n" ${major_ver}
109115
exit 1;

.github/workflows/ffmpeg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
ffmpeg_version: ["4.4.5", "5.1.6", "6.1.2", "7.1.1", "master"]
25+
ffmpeg_version: ["4.4.5", "5.1.6", "6.1.2", "7.1.1", "8.0", "master"]
2626
conf:
2727
- { arch: "x86_64", os: "ubuntu-latest" }
2828
- { arch: "aarch64", os: "ubuntu-24.04-arm" }
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
fail-fast: false
6161
matrix:
62-
ffmpeg_version: ["4.4.5", "5.1.6", "6.1.2", "7.1.1", "master"]
62+
ffmpeg_version: ["4.4.5", "5.1.6", "6.1.2", "7.1.1", "8.0", "master"]
6363
runs-on: macos-latest
6464
steps:
6565
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)