📄 compiling
字号:
Movino======The movino-suite code tree contains the core library for receiving a movinodata stream and the various applications which use this.It is meant to be built in two different environments, on Mac OS X(where a GUI application and a QuickTime component is built) and onLinux (where a video server is built). The core library only depends onlibjpeg, but can use ffmpeg, ogg/theora/vorbis and the 3GPP AMR referenceimplementation if available.The build scripts or project files for the different applications imposeslightly more restrictions, however.Movino on Linux---------------The video server makefiles require that libjpeg, libcurl andexpat are installed system-wide.The default option for the server is to encode into ogg/theora, whichrequires libogg, libvorbisenc, libtheora. To disable this, manually editserver/Makefile and change the HAVE_THEORA flag to no, at the top of the file.In addition, ffmpeg can be built to enable the video server to decodempeg1 frames and enable encoding into flv. If that is wanted, executethe build_ffmpeg_linux.shscript within the movino-suite directory. It checks out the testedffmpeg revision from svn (can also be extracted from ffmpeg-r10702.tar.gz)and builds it. This requires liblame to be installed.If AMR audio is to be used, the reference implementation can be bedownloaded and extracted using get-3gpp-amr.sh. If this is included,the resulting binaries probably can't be distributed according to theLGPL.The makefiles automatically detect whether ffmpeg and the AMR codecare installed. To build the server, just execute "make" within the serversubdirectory of movino-suite.Movino on OS X--------------Libjpeg is assumed to be installed in a directory named "libjpeg" withinthe parent directory of movino-suite. (Extract libjpeg-movino.tar.gzinto this directory.) Build a universal binary library of this by enteringthe libjpeg directory and executing "make -f Makefile.osx".Ffmpeg must be installed and built in the same directory as libjpeg. Itcan be built using the included script build_ffmpeg_osx.sh, which shouldbe called from the movino-suite directory. That script checks out thecorrect tested revision from svn and builds it. If the ffmpeg directoryalready exists, it only builds the libraries. (A svn snapshot of thecorrect revision can be extracted from ffmpeg-r10702.tar.gz.)Last but not least, framework versions of Ogg, Vorbis and Theora mustbe installed into the movino-suite/frameworks directory. These canbe built directly using the xcode project files within the officialpackages of these projects. If built from source, the fix_install_names.shscript must be executed, to alter the install names of the frameworks,to allow them to be distributed within the application bundle. Prebuiltversions of these can be found in ogg-frameworks.tar.gz.When these three library families are installed, Movino can be built.Either open Movino.xcodeproj in xcode, or build it from the command lineusing "xcodebuild -target DMG -configuration Release build".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -