Cerbero编译gstreamer
参考 Building from source using Cerbero,gstreamer通过Cerbero编译非常简单,可以在Readme.md中看到。
下载cerbero
git clone https://gitlab.freedesktop.org/gstreamer/cerbero gstreamer-cerbero
下载后的代码路径为:
/home/hui/gstreamer/gstreamer-cerbero
配置编译env
cd gstreamer-cerbero
git checkout 1.19.3
./cerbero-uninstalled bootstrap
编译gstreamer
cerbero通过指定不同的config文件,编译不同平台binary,可以看到config目录下有android,ios,mac,win,linux等配置文件。
config/build-tools.cbc*
config/cross-android-arm64.cbc
config/cross-android-armv7.cbc
config/cross-android-universal.cbc
config/cross-android-x86-64.cbc
config/cross-android-x86.cbc
config/cross-ios-arm64.cbc
config/cross-ios-universal.cbc
config/cross-ios-x86-64.cbc
config/cross-lin-arm64.cbc
config/cross-lin-arm.cbc
config/cross-lin-x86.cbc
config/cross-macos-arm64.cbc
config/cross-macos-universal.cbc
config/cross-macos-x86_64.cbc
config/cross-uwp-universal.cbc
config/cross-win32.cbc
config/cross-win64.cbc
config/cross-win-arm64.cbc
config/cross-win-armv7.cbc
config/mingw-multilib-lin.cbc
config/mingw-multilib-win.cbc
config/osx-x86-64.cbc
config/win32.cbc
config/win64.cbc
编译ubuntu linux-x86
./cerbero-uninstalled build gstreamer-1.0