Skip to content

Commit e0fe5b6

Browse files
Dan-FloresDaniel Flores
andauthored
[wip] Build FFmpeg8 on CI (#936)
Co-authored-by: Daniel Flores <[email protected]>
1 parent 9c5da20 commit e0fe5b6

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build_ffmpeg.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"]
30+
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
3131
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3232
permissions:
3333
id-token: write
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"]
55+
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
5656
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
5757
with:
5858
job-name: Build
@@ -75,7 +75,7 @@ jobs:
7575
strategy:
7676
fail-fast: false
7777
matrix:
78-
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1"]
78+
ffmpeg-version: ["4.4.4", "5.1.4", "6.1.1", "7.0.1", "8.0"]
7979
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
8080
with:
8181
job-name: Build

packaging/build_ffmpeg.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ if [[ "$(uname)" == Darwin ]]; then
104104
avfilter=libavfilter.10
105105
swscale=libswscale.8
106106
swresample=libswresample.5
107+
elif [[ ${major_ver} == 8 ]]; then
108+
avutil=libavutil.60
109+
avcodec=libavcodec.62
110+
avformat=libavformat.62
111+
avdevice=libavdevice.62
112+
avfilter=libavfilter.11
113+
swscale=libswscale.9
114+
swresample=libswresample.6
107115
else
108116
printf "Error: unexpected FFmpeg major version: %s\n" ${major_ver}
109117
exit 1;

0 commit comments

Comments
 (0)