Document build steps for Pi

This commit is contained in:
CDrummond 2025-03-16 17:04:07 +00:00
parent 0dda8a17e7
commit 22149c2349

View File

@ -68,9 +68,14 @@ dnf install ffmpeg-devel clang pkg-config
Build with `cargo build --release --features=libav`
If building on a Raspberry Pi, then `rpi` also needs to be passed to `--features`, e.g.
`cargo build --release --features=libav,rpi`
The resultant application will be less portable, due to dependencies on `libavcodec` libraries (and
their dependencies).
## Build for 'libavcodec' library usage, statically linked
`clang`, `pkg-config`, and `ffmpeg` are required to build, as well as
@ -89,6 +94,10 @@ dnf install ffmpeg-devel clang pkg-config
Build with `cargo build --release --features=libav,libavstatic`
If building on a Raspberry Pi, then `rpi` also needs to be passed to `--features`, e.g.
`cargo build --release --features=libav,libavstatic,rpi`
## Build for 'symphonia'