5627b135b40dea7e762dad53b247e8749af464d4
Uses ffmpeg libraries to provide video encoding of an osg::GraphicsContext (which could be for Flightgear's main window) to file. The video codec is specified as a string at runtime. Success depends on what is supported by the system's ffmpeg installation. Handling of resize doesn't always work. We finish current stream and create a new encoder and continue. Works ok with mpeg2, but with more modern codecs vlc usually fails to handle the change. We call the encoder on a separate thread to avoid latency. If SG_FFMPEG is not defined, we don't make calls to ffmpeg libraries and VideoEncoder class's constructor always throws an exception.
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%