Awesome
librem README
librem is a Audio and video processing media library
- Copyright (C) 2010 - 2019 Creytiv.com
- Copyright (C) 2020 - 2023 Baresip Foundation (https://github.com/baresip)
Features
- Audio buffer
- Audio sample format conversion
- Audio file reader/writer
- Audio mixer
- Audio resampler
- Audio tone generator
- Audio codec (G.711)
- DTMF decoder
- Video mixer
- Video pixel converter
- FIR-filter
Building
librem is using CMake, and libre must be installed before building.
Build with debug enabled
$ cmake -B build
$ cmake --build build -j
$ sudo cmake --install build
$ sudo ldconfig
On some distributions, /usr/local/lib may not be included in ld.so.conf.
You can check with grep "/usr/local/lib" /etc/ld.so.conf.d/*.conf
and add if necessary:
$ echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/libc.conf
$ sudo ldconfig
Build with release
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build -j
$ sudo cmake --install build
$ sudo ldconfig
Build with clang compiler
$ cmake -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
$ cmake --build build -j
$ sudo cmake --install build
$ sudo ldconfig
License
The librem project is using the BSD license.
Contributing
Patches can sent via Github Pull-Requests
Modules
Audio Modules:
name: status: description:
* aac unstable Advanced Audio Coding (AAC)
* au testing Base audio types
* aubuf testing Audio buffer
* auconv unstable Audio sample format conversion
* aufile testing Audio file reader/writer
* aumix unstable Audio mixer
* auresamp unstable Audio resampler
* autone testing Tone/DTMF generator
* dtmf unstable DTMF decoder
* g711 stable G.711 audio codec
Video Modules:
name: status: description:
* avc unstable Advanced Video Coding (AVC)
* h264 unstable H.264 header parser
* vid testing Base video types
* vidconv testing Colorspace conversion and scaling
* vidmix unstable Video mixer
Generic modules:
* dsp testing DSP routines
* flv unstable Flash Video File Format
* fir unstable FIR (Finite Impulse Response) filter
* goertzel unstable Goertzel Algorithm
Specifications:
- ITU-T G.711 Appendix I and Appendix II
Supported platforms
Same as libre