Commit a4fc392e authored by François Grisez's avatar François Grisez

Update README.md

parent ca468006
msopenh264 - H.264 encoder/decoder plugin for mediastreamer2 based on the openh264 library.
Installation guide:
-------------------
1) Install OpenH264:
$ git clone https://github.com/cisco/openh264.git -b v1.4.0
$ cd openh264
$ make
$ make install PREFIX=<your installation prefix>
2) Install the msopenh264 plugins:
$ export PKG_CONFIG_PATH=<your install prefix>/lib/pkgconfig
$ ./autogen.sh
$ ./configure --prefix=<your installation prefix>
$ make
$ make install
MsOpenH264
==========
Overview
--------
MsOpenH264 is an H.264 encoder/decoder plugin for mediastreamer2 based on the openh264 library.
Compilation guide
-----------------
### Dependencies
- *Mediastreamer[1]:* needed for its API
- [OpenH264][openh264-website]: H264 encoder and decoder
### Build procedure
The Autotools way is deprecated. Use [CMake][cmake-website] to configure the source code.
cmake . -DCMAKE_INSTALL_PRFIX=<prefix> -DCMAKE_PREFIX_PATH=<search_prefixes>
make
make install
### Build options
- `CMAKE_INSTALL_PREFIX=<string>` : installation prefix
- `CMAKE_PREFIX_PATH=<string>` : column-separated list of prefixes where to look for dependencies
- `ENABLE_DECODER=NO` : disable H264 decoding feature
### Note for packagers
Our CMake scripts may automatically add some paths into research paths of generated binaries.
To ensure that the installed binaries are striped of any rpath, use `-DCMAKE_SKIP_INSTALL_RPATH=ON`
while you invoke cmake.
-----------------------------------
[1] Mediastreamer: git://git.linphone.org/mediastreamer2.git *or* <http://www.linphone.org/releases/sources/mediastreamer>
[openh264-website]: http://www.openh264.org/
[cmake-website]: https://cmake.org
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment