File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,21 @@ jobs:
6363 sudo ldconfig
6464 ffmpeg -version
6565
66- - name : Install FFmpeg 7.1.1 on macOS
66+ - name : Install FFmpeg 7.1.1 on macOS (build from source)
6767 if : matrix.os == 'macos-latest'
6868 run : |
69- brew install cmake git nasm pkg-config x264 x265 libvpx fdk-aac lame opus
69+ brew update
70+ brew install automake fdk-aac git lame libass libvorbis libvpx opus sdl2 texi2html theora x264 x265 cmake pkg-config
71+
72+ rm -rf FFmpeg
7073 git clone https://github.com/FFmpeg/FFmpeg.git
7174 cd FFmpeg
7275 git checkout n7.1.1
73- ./configure --enable-shared --enable-gpl --enable-nonfree \
74- --enable-libx264 --enable-libx265 --enable-libvpx \
75- --enable-libfdk-aac --enable-libmp3lame --enable-libopus
76- make -j$(sysctl -n hw.ncpu)
76+
77+ ./configure --prefix=/usr/local --enable-shared --enable-gpl --enable-nonfree --enable-libx264 \
78+ --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libfdk-aac --enable-libopus
79+
80+ make -j$(sysctl -n hw.logicalcpu)
7781 sudo make install
7882 ffmpeg -version
7983
You can’t perform that action at this time.
0 commit comments