在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MaartenBaert/ssr开源软件地址(OpenSource Url):https://github.com/MaartenBaert/ssr开源编程语言(OpenSource Language):C++ 86.6%开源软件介绍(OpenSource Introduction):SimpleScreenRecorderSimpleScreenRecorder is a screen recorder for Linux. Despite the name, this program is actually quite complex. It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC :). There is a separate repository for SimpleScreenRecorder packages: https://github.com/MaartenBaert/ssr-packages LicenseGNU GPL v3 - read 'COPYING' for more info. CompilingImportant: If you have already installed SSR using the package manager of your distribution, you should uninstall it first before continuing! First install the required dependencies (see below). After you have done that, you can compile and install SSR by running:
In order to use OpenGL recording for 32-bit applications on a 64-bit system, you need to compile a 32-bit version of
You can then use SSR without the 32-bit library, or you can use the precompiled 32-bit library provided by your distribution. If you actually want to compile the 32-bit library, you have to manually create the missing symlinks in the 32-bit library directory:
The OpenGL library
Otherwise you need to figure out where the library is installed first, and then manually create symlinks from the regular 32-bit library folder to this file. Note that doing this may interfere with OpenGL functionality if you ever switch to a different driver, or even just update the driver (in the case of NVIDIA). In that case you will need to manually remove the symlinks and (optionally) recreate them. If you are using a combination of open-source and proprietary drivers (e.g. for laptops with Intel + NVIDIA GPUs a.k.a. 'Optimus'), follow only the steps for the open-source drivers. If you are using one of the open-source drivers (i915, radeon, nouveau), then run this:
If you are using the proprietary AMD driver, first figure out where the fglrx directory is located, this can be
If you are using the proprietary NVIDIA driver, first figure out where the fglrx directory is located, this can be
Note that the full name of the 'nvidia' subdirectory includes the driver version number, so you will need to fix these symlinks whenever the driver has been updated. If you want to compile step-by-step (without
Note that you may need to specify additional options depending on which Linux distribution and CPU architecture you have. The You don't need to install the program to use it, but installing will give you a desktop entry and an icon. Also, if you don't install the program, you will need to specify where the GLInject libraries are located with Compilation issuesMost of these issues are avoided when using FFmpeg vs Libav confusionLibav is a fork of FFmpeg that was created in 2011 as a result of a conflict between the developers. Some Linux distributions (including Debian and Ubuntu) switched to Libav because the package maintainers were among the Libav developers, while others stuck to FFmpeg. In order to deal with this situation, SSR supports both FFmpeg and Libav. 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. Although Libav is theoretically still supported by SSR, I am no longer doing any testing with it. As of 2020 Libav is effectively no longer being developed, so Libav support may be dropped entirely at some point in the future. 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. Although the FFmpeg and Libav API are almost identical, there are some minor differences, mostly related to the version numbering scheme. Unfortunately SSR can not determine automatically whether you are using FFmpeg or Libav, so you have to specify this manually when running You can check whether you are using FFmpeg or Libav by running the following command:
This command should print either Qt 4 MOC bugWhen compiling with Qt 4 on some newer distributions, you may get the following error message from AutoMoc:
This is caused by a Qt bug which has been fixed in Qt 5, but has not been backported. The file path reported in the error message is wrong, the actual problem is triggered by line 52 in
Alternatively, if your distribution provides Qt 5 packages, you can also use these instead. For Debian and Ubuntu, you would do this by installing Build dependenciesYou will need the following packages to compile SimpleScreenRecorder:
If you have a 64-bit system and you want to compile the 32-bit GLInject library, you have to install some 32-bit libraries as well. Otherwise the regular packages are sufficient. Debian / UbuntuFor newer versions (with Qt5):
For older versions (with Qt4):
Extra dependencies for 32-bit GLInject on 64-bit systems:
Note: Debian <= 7 and Ubuntu <= 14.04 are affected by Debian bug #689088 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689088), which makes it impossible to install the 32-bit and 64-bit libGL/libGLU development packages at the same time. You should use the following command instead:
Next you should apply the workarounds described in the 'compiling' section. OpenSUSEThis list is incomplete but usually sufficient:
Some packages (e.g. ffmpeg) are not in the official repository, but can be installed from the Packman repository. You can add the Packman repository with this command:
Extra dependencies for 32-bit GLInject on 64-bit systems:
Fedora
Some packages (e.g. ffmpeg) are not in the official repository, but can be installed from the RPM Fusion repository. You can add the RPM Fusion repository with this command:
Extra dependencies for 32-bit GLInject on 64-bit systems:
Other files you may want to readnotes.txt contains notes about the design of the program. It's a good idea read this first if you want to make changes to the code. todo.txt contains a list of things that I still need to do. This file changes a lot of course. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论