Skip to content

Commit 0e8a78d

Browse files
authored
Update build.md
1 parent 1aa0b42 commit 0e8a78d

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

doc/build.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,38 @@ Libs: -framework Accelerate -framework Metal -framework Foundation -framework Co
2727

2828
I don't know what the windows one should be as I don't have a windows machine.
2929

30-
## Ubuntu 22.04
30+
## FFmpeg
3131

32-
Installing FFmpeg 6.1 libraries
32+
Required for decoding media files into audio which is suitable for audio detection and transcription.
33+
34+
### MacOS
35+
36+
On Macintosh with homebrew, for example:
37+
38+
```bash
39+
brew install ffmpeg@6 chromaprint make
40+
brew link ffmpeg@6
41+
```
42+
43+
### Debian
44+
45+
If you're using Debian you may not be able to get the ffmpeg 6 unless you first of all add the debi-multimedia repository. You can do this by adding the following line to your /etc/apt/sources.list file:
46+
47+
Add the repository as privileged user:
48+
49+
```bash
50+
echo "deb https://www.deb-multimedia.org $(lsb_release -sc) main" >> /etc/apt/sources.list
51+
apt update -y -oAcquire::AllowInsecureRepositories=true
52+
apt install -y --force-yes deb-multimedia-keyring
53+
apt install -y libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
54+
```
55+
56+
### Ubuntu 22.04
57+
58+
Easier with Ubuntu! Installing FFmpeg 6.1 libraries:
3359

3460
```bash
35-
sudo add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg6
36-
sudo apt-get update
37-
sudo apt-get install -y libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
61+
add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg6
62+
apt-get update
63+
apt-get install -y libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
3864
```

0 commit comments

Comments
 (0)