If you forget this, you will likely get various error messages during compilation related to missing functions, structures or fields. If you are using Libav, you should add the option ENABLE_FFMPEG_VERSIONS=FALSE. Unfortunately SSR can not determine automatically whether you are using FFmpeg or Libav, so you have to specify this manually when running cmake, using the ENABLE_FFMPEG_VERSIONS option, which defaults to TRUE (i.e. Although the FFmpeg and Libav API are almost identical, there are some minor differences, mostly related to the version numbering scheme. Since the FFmpeg and Libav APIs have changed significantly over time, SSR checks which version of the libraries is being used to determine which features are safe to use. As of 2020 Libav is effectively no longer being developed, so Libav support may be dropped entirely at some point in the future. Although Libav is theoretically still supported by SSR, I am no longer doing any testing with it. In 2015 Debian and Ubuntu decided to switch back to FFmpeg for technical reasons, which means that these days very few SSR users are still using Libav. In order to deal with this situation, SSR supports both FFmpeg and Libav. Some Linux distributions (including Debian and Ubuntu) switched to Libav because the package maintainers were among the Libav developers, while others stuck to FFmpeg. Libav is a fork of FFmpeg that was created in 2011 as a result of a conflict between the developers. Most of these issues are avoided when using simple-build-and-install, but you may run into them if you run cmake directly. Also, if you don't install the program, you will need to specify where the GLInject libraries are located with LD_LIBRARY_PATH when using OpenGL recording. You don't need to install the program to use it, but installing will give you a desktop entry and an icon. The simple-build-and-install script detects the correct options automatically, you can run it to see which options you need. Note that you may need to specify additional options depending on which Linux distribution and CPU architecture you have. Cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release.
0 Comments
Leave a Reply. |