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:
42
42
- name : Install dependencies
43
43
run : composer install --prefer-dist --no-progress
44
44
45
- - name : Install libopus shared library
45
+ - name : Install libopus and build FFmpeg 7.1.1 shared libraries
46
46
if : matrix.os == 'ubuntu-latest'
47
47
run : |
48
48
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"
51
80
52
81
- name : Check PHP and FFI status
53
82
run : |
Original file line number Diff line number Diff line change 1
- # SRTP Adapter for PHP
1
+ # Opus Adapter for PHP
2
2
3
3
[ ![ PHP Version] ( https://img.shields.io/badge/php-%3E%3D8.4-blue.svg )] ( https://php.net/ )
4
4
[ ![ License] ( https://img.shields.io/badge/license-BSD-blue.svg )] ( LICENSE )
You can’t perform that action at this time.
0 commit comments