File tree Expand file tree Collapse file tree 2 files changed +33
-4
lines changed Expand file tree Collapse file tree 2 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,41 @@ jobs:
4242 - name : Install dependencies
4343 run : composer install --prefer-dist --no-progress
4444
45- - name : Install libopus shared library
45+ - name : Install libopus and build FFmpeg 7.1.1 shared libraries
4646 if : matrix.os == 'ubuntu-latest'
4747 run : |
4848 sudo apt update
49- sudo apt install -y libopus-dev
50- pkg-config --modversion opus || echo "libopus not found"
49+ sudo apt install -y \
50+ build-essential \
51+ pkg-config \
52+ yasm \
53+ libtool \
54+ autoconf \
55+ automake \
56+ cmake \
57+ git \
58+ curl \
59+ libopus-dev
60+
61+ mkdir -p ~/ffmpeg_sources
62+ cd ~/ffmpeg_sources
63+ curl -LO https://ffmpeg.org/releases/ffmpeg-7.1.1.tar.gz
64+ tar xzvf ffmpeg-7.1.1.tar.gz
65+ cd ffmpeg-7.1.1
66+
67+ ./configure \
68+ --prefix="/usr/local" \
69+ --pkg-config-flags="--static" \
70+ --enable-shared \
71+ --enable-gpl \
72+ --enable-libopus
73+
74+ make -j$(nproc)
75+ sudo make install
76+ sudo ldconfig
77+
78+ ffmpeg -version
79+ pkg-config --modversion libavcodec || echo "libavcodec not found"
5180
5281 - name : Check PHP and FFI status
5382 run : |
Original file line number Diff line number Diff line change 1- # SRTP Adapter for PHP
1+ # Opus Adapter for PHP
22
33[ ![ PHP Version] ( https://img.shields.io/badge/php-%3E%3D8.4-blue.svg )] ( https://php.net/ )
44[ ![ License] ( https://img.shields.io/badge/license-BSD-blue.svg )] ( LICENSE )
You can’t perform that action at this time.
0 commit comments