ningwebbeginner
正在显示 45 个修改的文件 包含 4787 行增加0 行删除

要显示太多修改。

为保证性能只显示 45 of 45+ 个文件。

env:
NJOBS: 4
freebsd_task:
env:
COMPILER: clang
freebsd_instance:
matrix:
image_family: freebsd-15-0-snap
image_family: freebsd-14-0
cpu: 2
memory: 4G
timeout_in: 60m
install_script:
- chmod +x ports/ci/freebsd/install_deps.sh
- ./ports/ci/freebsd/install_deps.sh
script:
- chmod +x ports/ci/freebsd/build.sh
- ./ports/ci/freebsd/build.sh
deploy_script:
- chmod +x ports/ci/freebsd/deploy.sh
- ./ports/ci/freebsd/deploy.sh
... ...
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.so.*
*.so.debug
*.run
*.AppImage
*.framework
# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.xz
# Logs and databases #
######################
*.log
*.sql
*.sqlite
vgcore.*
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
*~
*_resource.rc
Info.plist
# Ignore files generated by Qt #
################################
*.a
*.moc
moc_*.cpp
ui_*.h
*.obj
*.dylib
Makefile*
*.prl
*.app
*.user*
*.qmlproject.user*
*.autosave
*.qmlc
.qmake.stash
.qmake.cache
callgrind.out.*
*.debug
*.plugin
*_qmlcache.qrc
test.o-*
object_script.*
# Ignore files generated by Python #
####################################
__pycache__
*.pyc
# Android files #
#################
android-build
android-*-deployment-settings.json
# VIM temporary files #
#######################
.*.swp
# Kate temporary files #
#######################
.*.kate-swp
# KDevelop generated files #
############################
.kdev4
# MinGW files #
###############
*.Debug
*.Release
# MSVC files #
##############
*.exp
*.ilk
*.lib
*.pdb
# Failed patch #
################
*.orig
*.rej
# Project Files #
#################
Webcamoid
bin/webcamoid
AkVCamAssistant
# Ignore Directories #
######################
build
debug
release
.cache
# Ignore Auto Generated Files #
###############################
*_auto*
# Ignore Private Files and Folders #
####################################
*_priv
*_priv.*
... ...
[weblate]
url = https://hosted.weblate.org/api/
translation = webcamoid/main
... ...
AUTHORS AND MAINTAINERS:
Gonzalo Exequiel Pedone <hipersayan dot x at gmail dot com>
MAIN DEVELOPERS:
Gonzalo Exequiel Pedone <hipersayan dot x at gmail dot com>
... ...
# Webcamoid, webcam capture application.
# Copyright (C) 2021 Gonzalo Exequiel Pedone
#
# Webcamoid is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Webcamoid is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
#
# Web-Site: http://webcamoid.github.io/
cmake_minimum_required(VERSION 3.16)
project(Webcamoid)
include(libAvKys/cmake/ProjectCommons.cmake)
if (ANDROID)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
endif ()
add_subdirectory(libAvKys)
add_subdirectory(StandAlone)
# Try detecting Qmake executable.
set(QT_QMAKE_EXECUTABLE qmake6 CACHE FILEPATH "Qt qmake path")
find_program(QT_QMAKE_EXECUTABLE_BIN "${QT_QMAKE_EXECUTABLE}")
# Retrieve useful variables related to Qt installation.
if (QT_QMAKE_EXECUTABLE_BIN)
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE_BIN} -query QT_INSTALL_PREFIX
OUTPUT_VARIABLE QT_INSTALL_PREFIX
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE_BIN} -query QT_INSTALL_LIBS
OUTPUT_VARIABLE QT_INSTALL_LIBS
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE_BIN} -query QT_INSTALL_BINS
OUTPUT_VARIABLE QT_INSTALL_BINS
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE_BIN} -query QT_INSTALL_PLUGINS
OUTPUT_VARIABLE QT_INSTALL_PLUGINS
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${QT_QMAKE_EXECUTABLE_BIN} -query QT_INSTALL_QML
OUTPUT_VARIABLE QT_INSTALL_QML
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif ()
set(QT_INSTALL_SRC "${QT_INSTALL_PREFIX}/src" CACHE PATH "Qt sources templates directory")
# Set platform related variables to be used in package_info.conf.
if (ANDROID)
set(TARGET_PLATFORM android)
set(BUILD_INFO_FILE ${DATAROOTDIR}/build-info.txt)
set(MAIN_EXECUTABLE ${BINDIR}/libWebcamoid_${CMAKE_ANDROID_ARCH_ABI}.so)
set(APP_LIBDIR ${LIBDIR})
set(OUTPUT_FORMATS "AndroidAPK")
set(OUTPUT_QML_DIR ${DATAROOTDIR}/android_rcc_bundle/qml)
set(OUTPUT_QT_PLUGINS_DIR ${DATAROOTDIR}/android_rcc_bundle/plugins)
elseif (APPLE)
set(TARGET_PLATFORM mac)
set(BUILD_INFO_FILE ${DATAROOTDIR}/build-info.txt)
set(MAIN_EXECUTABLE ${BINDIR}/Webcamoid)
set(APP_LIBDIR ${LIBDIR})
set(QTIFW_TARGET_DIR "\@ApplicationsDir\@/Webcamoid")
set(OUTPUT_FORMATS "CompressedTarXz, MacPkg")
set(INSTALLER_ICON "StandAlone/share/themes/WebcamoidTheme/icons/webcamoid.icns")
set(RUN_PROGRAM "\@TargetDir\@/${MAIN_EXECUTABLE}")
set(OUTPUT_QML_DIR ${DATAROOTDIR}/qml)
set(OUTPUT_QT_PLUGINS_DIR ${EXECPREFIX}/Plugins)
set(QT_CONF_FILE ${DATAROOTDIR}/qt.conf)
elseif (WIN32)
set(TARGET_PLATFORM windows)
set(BUILD_INFO_FILE ${DATAROOTDIR}/build-info.txt)
set(MAIN_EXECUTABLE ${BINDIR}/webcamoid.exe)
set(APP_LIBDIR ${LIBDIR})
set(OUTPUT_FORMATS "CompressedZip, Nsis")
set(INSTALLER_ICON "StandAlone/share/themes/WebcamoidTheme/icons/hicolor/256x256/webcamoid.ico")
set(RUN_PROGRAM "${MAIN_EXECUTABLE}")
set(PROGRAM_ARGS "-c \"%%~dp0${DATAROOTDIR}\\config\"")
set(OUTPUT_QML_DIR ${LIBDIR}/qt/qml)
set(OUTPUT_QT_PLUGINS_DIR ${LIBDIR}/qt/plugins)
set(QT_CONF_FILE ${BINDIR}/qt.conf)
set(EXTRA_LIBS_LIST
libeay32.dll
ssleay32.dll
libEGL.dll
libGLESv2.dll
D3DCompiler_43.dll
D3DCompiler_46.dll
D3DCompiler_47.dll)
list(JOIN EXTRA_LIBS_LIST ", " EXTRA_LIBS)
else ()
set(TARGET_PLATFORM posix)
set(BUILD_INFO_FILE ${DATAROOTDIR}/build-info.txt)
set(MAIN_EXECUTABLE ${BINDIR}/webcamoid)
set(APP_LIBDIR ${LIBDIR})
set(QTIFW_TARGET_DIR "\@HomeDir\@/Webcamoid")
set(OUTPUT_FORMATS "AppImage, CompressedTarXz, QtIFW, DebPackage, RpmPackage")
set(INSTALLER_ICON "StandAlone/share/themes/WebcamoidTheme/icons/hicolor/128x128/webcamoid.png")
set(RUN_PROGRAM "\@TargetDir\@/webcamoid.sh")
set(OUTPUT_QML_DIR ${LIBDIR}/qt/qml)
set(OUTPUT_QT_PLUGINS_DIR ${LIBDIR}/qt/plugins)
set(QT_CONF_FILE ${BINDIR}/qt.conf)
endif ()
# Try detecting the target platform.
if (UNIX AND NOT APPLE AND NOT ANDROID)
include(CheckCXXSourceCompiles)
check_cxx_source_compiles("
#ifndef __linux__
#error Not Linux
#endif
int main()
{
return 0;
}" IS_LINUX)
check_cxx_source_compiles("
#ifndef __FreeBSD__
#error Not FreeBSD
#endif
int main()
{
return 0;
}" IS_FREEBSD)
if (IS_LINUX)
set(PKG_TARGET_PLATFORM linux)
elseif (IS_FREEBSD)
set(PKG_TARGET_PLATFORM freebsd)
else ()
set(PKG_TARGET_PLATFORM ${TARGET_PLATFORM})
endif ()
else ()
set(PKG_TARGET_PLATFORM ${TARGET_PLATFORM})
endif ()
find_package(PkgConfig)
# Try detecting VLC plugins install path.
pkg_check_modules(VLC_PLUGINS vlc-plugin)
if (VLC_PLUGINS_FOUND)
pkg_get_variable(VLC_PLUGINS_DIR vlc-plugin pluginsdir)
elseif (APPLE AND NOT VLC_PLUGINS_FOUND)
message("-- Checking for 'VLC'")
# Check user defined VLC path first.
if (NOT "${VLC_INSTALL_PATH}" STREQUAL "" AND EXISTS "${VLC_INSTALL_PATH}")
set(VLCAPP_DIR "${VLCAPP_INSTALL_DIR}")
endif()
# Check VLC installed by homebrew.
if ("${VLCAPP_DIR}" STREQUAL "")
set(VLCAPPBIN "/usr/local/bin/vlc")
if (EXISTS ${VLCAPPBIN})
get_filename_component(VLCAPPBIN_PATH ${VLCAPPBIN} REALPATH)
get_filename_component(VLCAPP_INSTALL_DIR ${VLCAPPBIN_PATH} DIRECTORY)
set(VLCAPP_DIR "${VLCAPP_INSTALL_DIR}/VLC.app")
endif()
endif()
# Check VLC manually installed by the user.
if ("${VLCAPP_DIR}" STREQUAL "")
set(VLCAPPDIR "/Applications/VLC.app")
if (EXISTS "${VLCAPPDIR}")
set(VLCAPP_DIR "${VLCAPPDIR}")
endif()
endif()
if (NOT "${VLCAPP_DIR}" STREQUAL "")
set(VLCAPP_PLUGINS_DIR "${VLCAPP_DIR}/Contents/MacOS/plugins")
if (EXISTS ${VLCAPP_PLUGINS_DIR})
message("-- Found VLC in '${VLCAPP_DIR}'")
set(VLC_PLUGINS_DIR "${VLCAPP_PLUGINS_DIR}")
else ()
message("-- No 'VLC' found")
endif ()
else ()
message("-- No 'VLC' found")
endif ()
endif ()
# Try detecting GStreamer plugins install path.
pkg_check_modules(GST_PLUGINS gstreamer-1.0)
if (GST_PLUGINS_FOUND)
pkg_get_variable(GST_PLUGINS_DIR gstreamer-1.0 pluginsdir)
endif ()
# Try detecting PipeWire plugins install path.
pkg_check_modules(PIPEWIRE_MODULES libpipewire-0.3)
pkg_check_modules(PIPEWIRE_SPA_PLUGINS libspa-0.2)
if (PIPEWIRE_MODULES_FOUND)
pkg_get_variable(PIPEWIRE_MODULES_DIR libpipewire-0.3 moduledir)
endif ()
if (PIPEWIRE_SPA_PLUGINS_FOUND)
pkg_get_variable(PIPEWIRE_SPA_PLUGINS_DIR libspa-0.2 plugindir)
endif ()
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
set(PACKAGE_IS_DEBUG true)
endif()
set(DEB_INSTALL_ROOT_PREFIX "usr" CACHE STRING "Install prefix relative to the system")
set(DEB_INSTALL_PREFIX "usr/share/webcamoid" CACHE STRING "Install prefix for DEB packages data files")
set(RPM_INSTALL_PREFIX "${DEB_INSTALL_PREFIX}" CACHE STRING "Install prefix for RPM packages data files")
if (TARGET_ARCH STREQUAL "x64")
set(DEB_TARGET_ARCH_DEFAULT amd64)
set(RPM_TARGET_ARCH_DEFAULT x86_64)
elseif (TARGET_ARCH STREQUAL "x86")
set(DEB_TARGET_ARCH_DEFAULT i386)
set(RPM_TARGET_ARCH_DEFAULT i686)
elseif (TARGET_ARCH STREQUAL "arm64")
set(DEB_TARGET_ARCH_DEFAULT arm64)
set(RPM_TARGET_ARCH_DEFAULT aarch64)
elseif (TARGET_ARCH STREQUAL "arm32")
set(DEB_TARGET_ARCH_DEFAULT armhf)
set(RPM_TARGET_ARCH_DEFAULT armv7hl)
elseif (TARGET_ARCH STREQUAL "riscv")
set(DEB_TARGET_ARCH_DEFAULT riscv64)
set(RPM_TARGET_ARCH_DEFAULT riscv64)
else ()
set(DEB_TARGET_ARCH_DEFAULT any)
set(RPM_TARGET_ARCH_DEFAULT noarch)
endif ()
set(DEB_TARGET_ARCH "${DEB_TARGET_ARCH_DEFAULT}" CACHE STRING "Architecture of the DEB package")
set(RPM_TARGET_ARCH "${RPM_TARGET_ARCH_DEFAULT}" CACHE STRING "Architecture of the RPM package")
set(DEB_LINKS "")
if (UNIX AND NOT APPLE AND NOT ANDROID)
set(DEB_LINKS_PATHS
${BINDIR}/webcamoid
${DATAROOTDIR}/applications/webcamoid.desktop
${DATAROOTDIR}/metainfo/${APP_IDENTIFIER}.metainfo.xml
${CMAKE_INSTALL_MANDIR}/man1/webcamoid.1.gz
${LICENSEDIR}/COPYING)
set(ICONS_SIZE
"8x8"
"16x16"
"22x22"
"32x32"
"48x48"
"64x64"
"128x128"
"256x256"
"scalable")
foreach (SIZE IN LISTS ICONS_SIZE)
list(APPEND DEB_LINKS_PATHS ${DATAROOTDIR}/icons/hicolor/${SIZE}/apps/webcamoid.png)
endforeach ()
set(DEB_LINKS_PATHS_TEMP "dummy")
foreach (LINK IN LISTS DEB_LINKS_PATHS)
get_filename_component(ROOT_LINK_DIR "/${DEB_INSTALL_ROOT_PREFIX}/${LINK}" DIRECTORY)
file(RELATIVE_PATH REL_PATH "${ROOT_LINK_DIR}" "/${DEB_INSTALL_PREFIX}/${LINK}")
list(APPEND DEB_LINKS_PATHS_TEMP "${DEB_INSTALL_ROOT_PREFIX}/${LINK}:${REL_PATH}")
endforeach ()
list(POP_FRONT DEB_LINKS_PATHS_TEMP)
list(JOIN DEB_LINKS_PATHS_TEMP ", " DEB_LINKS)
endif ()
set(RPM_LINKS "${DEB_LINKS}")
set(DEB_COPYRIGHT_FILE "${LICENSEDIR}/COPYING" CACHE STRING "Copyright file install path relative to DEB_INSTALL_PREFIX")
configure_file(package_info.conf.in package_info.conf)
if (ANDROID)
configure_file(package_info_android.conf.in package_info_android.conf)
configure_file(COPYING
"${CMAKE_BINARY_DIR}/${BUILDDIR}/${LICENSEDIR}/COPYING"
COPYONLY)
else ()
if (WIN32 AND CMAKE_HOST_UNIX)
configure_file(package_info_windows.conf.in package_info_windows.conf)
endif ()
install(FILES COPYING DESTINATION ${LICENSEDIR})
endif ()
if (UNIX AND NOT ANDROID AND NOT APPLE)
install(FILES webcamoid.desktop DESTINATION ${DATAROOTDIR}/applications)
install(FILES ${APP_IDENTIFIER}.metainfo.xml DESTINATION ${DATAROOTDIR}/metainfo)
endif ()
# uninstall target
#
# taken from https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake
# usage: "cmake --build path/to/build/directory --target uninstall"
if (NOT TARGET uninstall)
set(REMOVE_ROOT OFF CACHE BOOL "Remove root install directory when uninstalling")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
# Remove folders owned by the project.
install(CODE "list(APPEND CMAKE_INSTALL_MANIFEST_FILES \"\${CMAKE_INSTALL_PREFIX}/${AKPLUGINSDIR}\")")
install(CODE "list(APPEND CMAKE_INSTALL_MANIFEST_FILES \"\${CMAKE_INSTALL_PREFIX}/${LICENSEDIR}\")")
install(CODE "list(APPEND CMAKE_INSTALL_MANIFEST_FILES \"\${CMAKE_INSTALL_PREFIX}/${DATAROOTDIR}/webcamoid\")")
endif ()
... ...
# Webcamoid Community Code of Conduct #
## Preamble ##
In the Webcamoid community, participants from all over the world come together to create Free Software for the desktop. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use Webcamoid software.
This document offers some guidance to ensure Webcamoid participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
This Code of Conduct is shared by all contributors and users who engage with the Webcamoid team and its community services.
## Overview ##
This Code of Conduct presents a summary of the shared values and "common sense" thinking in our community. The basic social ingredients that hold our project together include:
- Be considerate
- Be respectful
- Be collaborative
- Be pragmatic
- Support others in the community
- Get support from others in the community
Our community is made up of several groups of individuals and organizations which can roughly be divided into two groups:
- Contributors, or those who add value to the project through improving Webcamoid software and its services
- Users, or those who add value to the project through their support as consumers of Webcamoid software
This Code of Conduct reflects the agreed standards of behavior for members of the Webcamoid community, in any forum, mailing list, wiki, web site, IRC channel, public meeting or private correspondence within the context of the Webcamoid team and its services. The community acts according to the standards written down in this Code of Conduct and will defend these standards for the benefit of the community. Leaders of any group, such as moderators of mailing lists, IRC channels, forums, etc., will exercise the right to suspend access to any person who persistently breaks our shared Code of Conduct.
## Be considerate ##
Your actions and work will affect and be used by other people and you in turn will depend on the work and actions of others. Any decision you take will affect other community members, and we expect you to take those consequences into account when making decisions.
As a contributor, ensure that you give full credit for the work of others and bear in mind how your changes affect others. It is also expected that you try to follow the development schedule and guidelines.
As a user, remember that contributors work hard on their part of Webcamoid and take great pride in it. If you are frustrated your problems are more likely to be resolved if you can give accurate and well-mannered information to all concerned.
## Be respectful ##
In order for the Webcamoid community to stay healthy its members must feel comfortable and accepted. Treating one another with respect is absolutely necessary for this. In a disagreement, in the first instance assume that people mean well.
We do not tolerate personal attacks, racism, sexism or any other form of discrimination. Disagreement is inevitable, from time to time, but respect for the views of others will go a long way to winning respect for your own view. Respecting other people, their work, their contributions and assuming well-meaning motivation will make community members feel comfortable and safe and will result in motivation and productivity.
We expect members of our community to be respectful when dealing with other contributors, users and communities. Remember that Webcamoid is an international project and that you may be unaware of important aspects of other cultures.
## Be collaborative ##
The Free Software Movement depends on collaboration: it helps limit duplication of effort while improving the quality of the software produced. In order to avoid misunderstanding, try to be clear and concise when requesting help or giving it. Remember it is easy to misunderstand emails (especially when they are not written in your mother tongue). Ask for clarifications if unsure how something is meant; remember the first rule -- assume in the first instance that people mean well.
As a contributor, you should aim to collaborate with other community members, as well as with other communities that are interested in or depend on the work you do. Your work should be transparent and be fed back into the community when available, not just when Webcamoid releases. If you wish to work on something new in existing projects, keep those projects informed of your ideas and progress.
It may not always be possible to reach consensus on the implementation of an idea, so don't feel obliged to achieve this before you begin. However, always ensure that you keep the outside world informed of your work, and publish it in a way that allows outsiders to test, discuss and contribute to your efforts.
Contributors on every project come and go. When you leave or disengage from the project, in whole or in part, you should do so with pride about what you have achieved and by acting responsibly towards others who come after you to continue the project.
As a user, your feedback is important, as is its form. Poorly thought out comments can cause pain and the demotivation of other community members, but considerate discussion of problems can bring positive results. An encouraging word works wonders.
## Be pragmatic ##
Webcamoid is a pragmatic community. We value tangible results over having the last word in a discussion. We defend our core values like freedom and respectful collaboration, but we don't let arguments about minor issues get in the way of achieving more important results. We are open to suggestions and welcome solutions regardless of their origin. When in doubt support a solution which helps getting things done over one which has theoretical merits, but isn't being worked on. Use the tools and methods which help getting the job done. Let decisions be taken by those who do the work.
## Support others in the community ##
Our community is made strong by mutual respect, collaboration and pragmatic, responsible behavior. Sometimes there are situations where this has to be defended and other community members need help.
If you witness others being attacked, think first about how you can offer them personal support. If you feel that the situation is beyond your ability to help individually, go privately to the victim and ask if some form of official intervention is needed. Similarly you should support anyone who appears to be in danger of burning out, either through work-related stress or personal problems.
When problems do arise, consider respectfully reminding those involved of our shared Code of Conduct as a first action. Leaders are defined by their actions, and can help set a good example by working to resolve issues in the spirit of this Code of Conduct before they escalate.
## Get support from others in the community ##
Disagreements, both political and technical, happen all the time. Our community is no exception to the rule. The goal is not to avoid disagreements or differing views but to resolve them constructively. You should turn to the community to seek advice and to resolve disagreements and where possible consult the team most directly involved.
Think deeply before turning a disagreement into a public dispute. If necessary request mediation, trying to resolve differences in a less highly-emotional medium. If you do feel that you or your work is being attacked, take your time to breathe through before writing heated replies. Consider a 24-hour moratorium if emotional language is being used -- a cooling off period is sometimes all that is needed. If you really want to go a different way, then we encourage you to publish your ideas and your work, so that it can be tried and tested.
_This document is licensed under the Creative Commons Attribution - Share Alike 3.0 License._
_This document is an adaptation of [KDE Community Code of Conduct](https://www.kde.org/code-of-conduct/)._
... ...
# Webcamoid Individual Contributor License Agreement #
Thank you for your interest in contributing to Webcamoid ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us by email, following the instructions at CONTRIBUTING.md. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
You are accepting this agreement by making a pull request to the repository.
## 1. Definitions ##
"You" means the individual who Submits a Contribution to Us.
"Contribution" means any work of authorship that is Submitted by You to Us in which You own or assert ownership of the Copyright. If You do not own the Copyright in the entire work of authorship, please follow the instructions in CONTRIBUTING.md.
"Copyright" means all rights protecting works of authorship owned or controlled by You, including copyright, moral and neighboring rights, as appropriate, for the full term of their existence including any extensions by You.
"Material" means the work of authorship which is made available by Us to third parties. When this Agreement covers more than one software project, the Material means the work of authorship to which the Contribution was Submitted. After You Submit the Contribution, it may be included in the Material.
"Submit" means any form of electronic, verbal, or written communication sent to Us or our representatives, including but not limited to electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Us for the purpose of discussing and improving the Material, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
"Submission Date" means the date on which You Submit a Contribution to Us.
"Effective Date" means the date You execute this Agreement or the date You first Submit a Contribution to Us, whichever is earlier.
"Media" means any portion of a Contribution which is not software.
## 2. Grant of Rights ##
### 2.1 Copyright License ###
(a) You retain ownership of the Copyright in Your Contribution and have the same rights to use or license the Contribution which You would have had without entering into the Agreement.
(b) To the maximum extent permitted by the relevant law, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable license under the Copyright covering the Contribution, with the right to sublicense such rights through multiple tiers of sublicensees, to reproduce, modify, display, perform and distribute the Contribution as part of the Material; provided that this license is conditioned upon compliance with Section 2.3.
### 2.2 Patent License ###
For patent claims including, without limitation, method, process, and apparatus claims which You own, control or have the right to grant, now or in the future, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable patent license, with the right to sublicense these rights to multiple tiers of sublicensees, to make, have made, use, sell, offer for sale, import and otherwise transfer the Contribution and the Contribution in combination with the Material (and portions of such combination). This license is granted only to the extent that the exercise of the licensed rights infringes such patent claims; and provided that this license is conditioned upon compliance with Section 2.3.
### 2.3 Outbound License ###
As a condition on the grant of rights in Sections 2.1 and 2.2, We agree to license the Contribution only under the terms of the license or licenses which We are using on the Submission Date for the Material or any licenses on the Free Software Foundation's list of "Recommended copyleft licenses" on or after the Effective Date, whether or not such licenses are subsequently disapproved (including any right to adopt any future version of a license if permitted).
In addition, We may use the following licenses for Media in the Contribution: Creative Commons Attribution Share Alike 3.0 (including any right to adopt any future version of a license if permitted).
**2.4 Moral Rights.** If moral rights apply to the Contribution, to the maximum extent permitted by law, You waive and agree not to assert such moral rights against Us or our successors in interest, or any of our licensees, either direct or indirect.
**2.5 Our Rights.** You acknowledge that We are not obligated to use Your Contribution as part of the Material and may decide to include any Contribution We consider appropriate.
**2.6 Reservation of Rights.** Any rights not expressly licensed under this section are expressly reserved by You.
## 3. Agreement ##
You confirm that:
(a) You have the legal authority to enter into this Agreement.
(b) You own the Copyright and patent claims covering the Contribution which are required to grant the rights under Section 2.
(c) The grant of rights under Section 2 does not violate any grant of rights which You have made to third parties, including Your employer. If You are an employee, You have had Your employer approve this Agreement or sign the Entity version of this document. If You are less than eighteen years old, please have Your parents or guardian sign the Agreement.
(d) You have followed the instructions in CONTRIBUTING.md, if You do not own the Copyright in the entire work of authorship Submitted.
## 4. Disclaimer ##
EXCEPT FOR THE EXPRESS WARRANTIES IN SECTION 3, THE CONTRIBUTION IS PROVIDED "AS IS". MORE PARTICULARLY, ALL EXPRESS OR IMPLIED WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED BY YOU TO US. TO THE EXTENT THAT ANY SUCH WARRANTIES CANNOT BE DISCLAIMED, SUCH WARRANTY IS LIMITED IN DURATION TO THE MINIMUM PERIOD PERMITTED BY LAW.
## 5. Consequential Damage Waiver ##
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL YOU BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF ANTICIPATED SAVINGS, LOSS OF DATA, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL AND EXEMPLARY DAMAGES ARISING OUT OF THIS AGREEMENT REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED.
## 6. Miscellaneous ##
6.1 This Agreement will be governed by and construed in accordance with the laws of Argentina excluding its conflicts of law provisions. Under certain circumstances, the governing law in this section might be superseded by the United Nations Convention on Contracts for the International Sale of Goods ("UN Convention") and the parties intend to avoid the application of the UN Convention to this Agreement and, thus, exclude the application of the UN Convention in its entirety to this Agreement.
6.2 This Agreement sets out the entire agreement between You and Us for Your Contributions to Us and overrides all other agreements or understandings.
6.3 If You or We assign the rights or obligations received through this Agreement to a third party, as a condition of the assignment, that third party must agree in writing to abide by all the rights and obligations in the Agreement.
6.4 The failure of either party to require performance by the other party of any provision of this Agreement in one situation shall not affect the right of a party to require such performance at any time in the future. A waiver of performance under a provision in one situation shall not be considered a waiver of the performance of the provision in the future or a waiver of the provision in its entirety.
6.5 If any provision of this Agreement is found void and unenforceable, such provision will be replaced to the extent possible with a provision that comes closest to the meaning of the original provision and which is enforceable. The terms and conditions set forth in this Agreement shall apply notwithstanding any failure of essential purpose of this Agreement or any limited remedy to the maximum extent possible under law.
... ...
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
... ...
Webcamoid 9.2.4:
- Added checks with VirusTotal (it still can throw false positives).
- Added NOCHECKUPDATES option for disable updates check when compiling (issue #717).
- Enabled VLC support again.
Webcamoid 9.2.3:
- Only compress Android package with ads.
Webcamoid 9.2.2:
- Fixed Android packages upload.
Webcamoid 9.2.1:
- Disabled binary build with libVLC in Windows since some anti-malware software
detects its usage as malware even though is clean. You can still build
Webcamoid with VLC support from Cmake command options.
- Build GNU/Linux binaries from Debian, this give a bit wider range of
supported distros.
Webcamoid 9.2.0:
- Webcamoid ported to Qt6.
- Added PipeWire video capture support.
- Added Xlib screen capture plugin.
- Added desktop capture using FFmpeg.
- Added option to show or hide the mouse cursor on screen capture.
- Qt screen capture plugin is now using QScreenCapture.
- Added ColorKey plugin.
- Added support for extended controls in V4L2.
- Fixed crash in Windows when the camera returns an invalid frame rate.
- Add support for h264 in DirectShow and MediaFoundation.
- Removed x86 builds in in Windows.
- Attend to screen orientation (issue #661).
- Torch working in Android.
- Fixed font scaling in Android.
- Added AdMob support.
- Fixed ARM 64 packages.
- Build DEB and RPM packages.
- Fixed saving the selected camera format (issue #693).
- Added a debug log to the preferences dialog.
- Added options for enabling/disabling interprocess optimizations (issue #702).
- Fixed virtual camera support in FreeBSD.
- Do not show the video outputs if the virtual camera is not supported.
Webcamoid 9.1.1:
- Removed Qml import line that prevented UI to load.
- Using common AppID for all platforms.
- Fixed ARM packages upload on release.
Webcamoid 9.1.0:
- Redesigned UI to work in smaler screens.
- Now providing ARM packages for GNU/Linux.
- Webcamoid is mostly working fine in Android, with minimum bugs.
- Sustituting Mac native code with third-party libraries:
CoreAudio -> PortAudio and SDL
AVFoundation -> FFmpeg (Screen capture)
AVFoundation -> QCamera (Camera capture)
this way it will make much easier for me to maintain the code.
Also not providing anymore pre-compiled binary packages.
More information at https://github.com/webcamoid/webcamoid/issues/584.
- The flatpak package is now fully working.
- Allow using an image file as video source (issue #438).
- Full support for screen readers and keyboard navigation.
- Added image capture to clipboard (thanks to @iam-TJ!)
- Added PortAudio and SDL as alternative audio device plugins.
- Added QCamera as alternative camera capture plugin.
- Added FFmpeg screen capture support.
- The virtual camera from GNU/Linux can also be installed in non x86 platforms.
- video synchronization can be enebled/disabled on playback (thanks to @iam-TJ!)
- New video Effects: AnalogTV, Zoom, Crop, Opacity.
- Removed Scale and Scroll video effects.
- PrimariesColors plugin renamed to Saturated.
- Improved virtual camera detection. Webcamoid will only offer akvcam or
AkVirtualCamera in the only case no other virtual camera was installed,
or in the case it was manually selected.
- Allow positioning Webcamoid window on any screen (thanks to @iam-TJ!)
- Added uninstall target in cmake build to aid development cycles
(thanks to @iam-TJ!).
- Fixed virtual camera install in GNU/Linux.
- Translation files are not embeded in the binary, more translations can be
added and tested without recompiling.
- Fixed ALSA deices reading.
- Properly save enabled and disabled plugins.
Webcamoid 9.0.0:
- Now Qt 5.15 is the minimum required version.
- More modern UI redesign.
- Now the default theme can adapt to the current color scheme of the system.
- Switched build system to CMake.
- Redesigned plugins system to a more expandable one.
- Photos and videos are saved in their default folders, and its also user
customizable.
- You can now open the last photo taken and the last video recorded from
Webcamoid.
- Added support for screen capturing in PipeWire/Wayland.
- Added VLC as video playback backend.
- The virtual camera code for Mac and Windows has been splitted to its own
project fixing several install/uninstall problems, and allowing other
developers to use the virtual camera on their own projects.
- The virtual camera is now fully customizable (format, resolution, default
picture, etc.).
- Improved error messages for the virtual camera.
- Added CoreMediaIO capture support in Mac.
- Add face tracking plugin (thanks Chris Barth!).
- Removed support for MSVC (for now).
- Add appstream data (thanks Joel Barrios!).
- Fixed privilege escalation when creating the virtual camera in GNU/Linux
(issue #330)
- Added support for background image replacement in FaceDetect plugin (thanks
cont1nuity!).
- Fixed default masks rendering when selecting an image from file system (issue
#229, thanks cont1nuity!).
- Added more options to the FaceDetect plugin (thanks cont1nuity!).
- Switched from using QtIFW to NSIS in Windows, and pkg format in Mac, this
fixes several install/uninstall problems.
- Added support for FFmpeg 5.0.
- Fixed video recording with FFmpeg.
- Added Otsu threshold, and other video effects plugins.
- Improved FalseColor plugin UI.
- Optimized Charify plugin (issue #488).
- Added software based camera controls for brightness, contrast, saturation,
hue, and gamma, in Mac (issue #333).
- Added donations links for people who wants to support the project.
Webcamoid 8.8.0:
- Fixed bug when setting boolean type automatic controls in Windows
(issue #148)
- Added option for blurring outside detected face in FaceDetect plugin
(thanks Erich Schubert!).
- Added public method for detecting face rectangles in FaceDetect plugin
(thanks Chris Barth!).
- Fixed some minor bugs when capturing from camera.
Webcamoid 8.7.1:
- Fixed memory grow when using the virtual camera in Mac.
- Disabled camera controls in Mac.
- Request access permissions for capturing from webcam when necessary in Mac.
- Load virtual camera default frame from file instead of resources.
Webcamoid 8.7.0:
- Android port more or less working, but not usable yet, you can test it in the
daily builds. There in not an official release yet.
- Removed unnecessary Bin and Probe plugins.
- Added audio latency control.
- Removed OSS and QtAudio submodules.
- Fixed a bug that happened when changing the format, resolution or FPS of the
camera (commit 41448aa).
- Improved error messages for the virtual camera (issue #187).
- Fixed segfaults.
Webcamoid 8.6.1:
- AppImage now properly show the icon (issue #94).
- Fix install Qml paths for Mac bundle (issue #156).
- Use correct subdir for manpage (issue #170, thanks Luigi Baldoni!).
- Fixed Windows installer (issue #172).
- Now you can create an Android APK (yes, it works, but no, it does not
properly support Android yet).
Webcamoid 8.6.0:
- Now webcam settings are saved.
- Enabled secondary plugins, and fixed segfaults and memleaks in GStreamer.
- Fixed segfaults and memory leaks in MacOS.
- Fixed GIF playback in FFmpeg.
- Build now support MSYS2.
- Added FreeBSD CI support in Cirrus CI.
- Added static analysis with Codacy.
- Added daily builds with Bintray.
- Disabled hotplug support for FreeBSD.
- Fixed manpage install.
- Install paths now follow Qt install paths structure.
Webcamoid 8.5.0:
- UI ported to QtQuick Controls 2.
- Reworked virtual camera for GNU/Linux, Mac and Windows.
- Qt 5.9.0 as minimum requirement.
- Faster build and smaller binaries.
- Added build info.
- Fixed crash and many other bugs in FreeBSD.
- Added support for Microsoft Media Foundation capture.
- Fixed shadow build.
- Added support for FFmpeg 4.0.
- Fixed bug when reading/setting webcam controls.
- Added support for akvcam, default in-house virtual camera solution for
GNU/Linux.
- Fixed rendering problems in Mac.
- Added support for FreeBSD in deploy scripts.
- Fixed many bugs when recording audio and video.
- Default recording video bitrate is now 1.5Mbps.
- Fixed audio support in Windows.
- Removed 'su' and 'sudo' as root method when installing the virtual camera in
GNU/Linux.
- Removed Syphon support for Mac.
- Improved translations.
Webcamoid 8.1.0:
- Improved startup time.
- Deadlock when audio recording is enabled may be solved now. Audio recording
enabled by default again.
- Added Syphon support for Mac.
- Added AVFoundation support for desktop capture in Mac.
- Binary packages size shrinked.
- Hopefully, fixed many segfaults in many platforms.
Webcamoid 8.0.0:
- Added support for Mac and FreeBSD (virtual camera is not supported yet).
- Added new masks to the FaceDetect plugin.
- Now is possible to Switch between FFmpeg and GStreamer on runtime.
- Added support for ALSA, OSS, JACK and QAudio.
- Added support for libuvc.
- Now is possible to select the desired input and output device, and configure
playback and capture formats.
- More translations updates.
- Added options for configuring plugins search paths and blacklist in GUI.
- Added options for configuring the desired frameworks and libraries.
- Added formats and codecs config in recording options.
- FFmpeg >= 3.1 required.
- Added support for MSVC2013 and MSVC2015 build.
- Added option for configure FPS in DesktopCapture plugin.
- Added updates options.
- AppImage support.
Webcamoid 7.2.1:
- Added alternative root method (VirtualCamera). See ROOT_METHOD at project
Wiki.
- C++11 support enabled by default.
- Using new algorithm for Cartoon plugin.
Webcamoid 7.2.0:
- Fixed problems when recording.
- Added timer and flash when taking photos.
- Better virtual camera management.
- Added Virtual camera support for Windows.
- Added GIF recording support (FFmpeg only).
- Improved webcam format selection.
- UI improvements.
- Included QtQuick software renderer in installation (Windows).
- Added play on start option.
- Added C++11 support for Clang build.
Webcamoid 7.1.0:
- Reworked audio system.
- Added support for compressed formats in webcams.
- No more lags in the UI when capturing from webcam.
- Added Windows installer.
Webcamoid 7.0.0:
- Windows port finally working! EXPERIMENTAL!
- Reworked recording options. More user friendly.
- Removed unnecessary dependencies.
- Many effects reworked and bugfixed.
- Added GStreamer support, EXPERIMENTAL!
- Fixed SEGFAULT when switching the effects.
- Added virtual camera support (GNU/Linux only).
- Added command line options for controlling plugins search.
Webcamoid 6.2.0:
- Reworked Cartoonify plugin.
- Some improvements in FaceDetect plugin.
- Added Canny mode for Edge detection plugin.
- Improved Blur and Denoise plugins.
- Fixed QDataStream missing header.
Webcamoid 6.1.0:
- Removed OpenCV as dependency (yes, again).
- Fixed Denoise plugin SEGFAULT.
- Translations updated.
Webcamoid 6.0.0:
- New Qml UI, more user friendly.
- Now, the effects can be customized.
- A lot of bug fixes.
Webcamoid 5.1.0:
- From now on, Webcamoid will be developed using Qt5.
- Removed Frei0r from dependencies.
- Added OpenCV as dependency (Face detection).
- Removed plasmoid build since Qt5 plugins aren't compatible with Qt4/KDE4.
- Now, Webcamoid can be compiled using MinGW.
- Added webcam capture support through DirectShow.
- There are still some patches needed to make it fully work in Windows.
Webcamoid 5.0.0:
- Modified the effects preview for reducing resources usage.
- Fixed stream flush on recording stop.
- Enhanced webm video recording.
Webcamoid 5.0.0rc1:
- Release Candidate version.
- Ported to Qt5 (without the plasmoid).
- Removed KDElibs as dependency, but still required for Qt4 build.
- Removed QImageBlitz as dependency.
- Added more effects.
- Fixed video sync.
- Initial port to Windows (help needed).
Webcamoid 5.0.0b2:
- Beta version.
- Fix many bugs.
- Many internal changes.
- Updated Italian translations (thanks to Ascaf0).
- Updated to work with FFmpeg >= 2.0.
Webcamoid 5.0.0b1:
- Beta version.
- Fixed many memory leaks and bugs.
- Fixed video synchronization.
Webcamoid 5.0.0a1:
- Alpha version.
- Added live preview for effects.
- Added custom streams, including videos (local and remote) and IP cameras
(mms, rtsp, etc.).
- Added desktop recording.
- Ported to C++.
- Switched from GStreamer to FFmpeg.
- 100% Qt based software (GTK Free).
- Remember size of the plasmoid on close.
Webcamoid 4.0.0:
- Failed release.
Webcamoid 3.2.0:
- Stand alone installation mode improved (recommended).
- Fixed stylesheets.
- Fixed translations.
- Many internal changes.
Webcamoid 3.1.0:
- Added stand alone installation mode (Experimental).
- Fixed some bugs.
Webcamoid 3.0.0:
- Removed FFmpeg from dependencies, now it is based on GStreamer.
- Added video record.
- Added video effects.
- Added Catalan and Galician.
Webcamoid 2.2.0:
- Added new languages:
- Chinese (Simplified)
- Chinese (Traditional)
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Translations provided by Google translator, not me, except for Spanish (native)
and Japanese.
Webcamoid 2.1.3:
- Bug fix. Pipe file is no needed anymore.
Webcamoid 2.1.2:
- Removed stdin, stderr and stdout pipes. Added -loglevel quiet. Apparently,
suppress the output using pipes is a very bad idea.
Webcamoid 2.1.1:
- Fixed Popen pipe limit.
Webcamoid 2.1.0:
- New Github repository.
- GUI based on Qt Designer forms.
- Added Popup applet support, thanks to user nik3nt3.
Webcamoid 2.0.0:
- Removed OpenCV from dependencies, now it is based on FFmpeg + v4l2 Python
wrappers.
Webcamoid 1.x.x:
- Old version based on Python OpenCV.
... ...
# README
Before contributing, please read [the contributing document](https://github.com/webcamoid/webcamoid/blob/master/CONTRIBUTING.md), and the [coding style and conventions](https://github.com/webcamoid/webcamoid/wiki/Coding-style-and-conventions) guide.
Search the [pull request list](https://github.com/webcamoid/webcamoid/pulls) for similar pulls before opening a new one.
Check your code doesn't throw any warning or error message while compiling, and doesn't give any warning in Clang static analyzer. Make sure your code is GCC, Clang, MinGW and MSVC compliant (use Github Actions for that).
Check your code using GDB, Valgrind and similar tools to remove all possible memory leaks and segfaults.
# Pull request
## Type of change
Is your pull request a bug fix, new feature, code refactor, breaking change, etc.?
If your change is too big consider [discussing it](https://github.com/webcamoid/webcamoid/issues) before pulling.
## Summary
Describe your pull request the best as you can.
## Related Issue
Is this pull request related to some [issue](https://github.com/webcamoid/webcamoid/issues)? Cite the issue as #NNN, where NNN is the number of issue.
## More info
Provide screenshots, logs, etc. if required.
## Added dependencies
Does your pull request add more dependencies to the project? This may require some discussion. Minimal dependencies is a requirement.
## Target Environment
Is this pull request specific to a target operating system?
* Operating System information: (name) (numeric version and codename if applied) (architecture)
... ...
# Webcamoid, The ultimate webcam suite! #
[Webcamoid](https://webcamoid.github.io/) is a full featured and multiplatform webcam suite.
<a target="_blank" href="https://webcamoid.github.io/"><img src="https://webcamoid.github.io/theme/images/screenshots/Main.webp" style="height: 240px;" /></a>
## Features ##
* Cross-platform (GNU/Linux, Mac, Windows, Android, FreeBSD)
* Take pictures and record videos with the webcam.
* Manages multiple webcams.
* Written in C++ and Qt.
* Custom controls for each webcam.
* Add funny effects to the webcam.
* 60+ effects available.
* Translated to many languages.
* Use custom network and local files as capture devices.
* Capture from desktop.
* Many recording formats.
* Virtual webcam support for feeding other programs (GNU/Linux, Mac, Windows)
## Build and Install ##
Visit the [wiki](https://github.com/webcamoid/webcamoid/wiki) for a comprehensive compile and install instructions.
## Downloads ##
Download the pre-compiled packages for GNU/Linux, Windows, and Android.
If you are a Mac user, consider [making a donation](http://webcamoid.github.io/donations) for buying the needed development hardware and also supporting your platform.
[![Release buidls](http://webcamoid.github.io/theme/images/DownloadButtons/BinaryPackagesButton.png)](https://payhip.com/Webcamoid)
Become a [Webcamoid sponsor](https://github.com/sponsors/hipersayanX) and get early access to the latest features.
[![Daily Build](http://webcamoid.github.io/theme/images/DownloadButtons/DailyBuildButton.png)](https://github.com/sponsors/hipersayanX)
## Donations ##
If you are interested in donating to the project you can look at all available methods in the [donations page](https://webcamoid.github.io/donations).
## Pay and get your issue solved quick ##
Import an issue in Bountyhub, set a price and get your issue solved or a feature implemented quick.
[![Webcamoid on BountyHub](https://img.shields.io/badge/Webcamoid-on%20BountyHub-yellow)](https://bountyhub.dev/bounties?repo=webcamoid/webcamoid)
## Donations campaings ##
Do you want to use Webcamoid in MacOs X, you can colabore in the donations campaing for buying MacBook.
[![Go to GoGetFunding](https://img.shields.io/badge/campaign-GoGetFunding-blue?style=for-the-badge)](https://gogetfunding.com/buying-a-macbook-for-webcamoid-macos-development/)
## Status ##
[![Android](https://github.com/webcamoid/webcamoid/actions/workflows/android.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/android.yml)
[![Arch Linux](https://github.com/webcamoid/webcamoid/actions/workflows/linux-arch.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-arch.yml)
[![Debian](https://github.com/webcamoid/webcamoid/actions/workflows/linux-debian.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-debian.yml)
[![Fedora](https://github.com/webcamoid/webcamoid/actions/workflows/linux-fedora.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-fedora.yml)
[![Mageia](https://github.com/webcamoid/webcamoid/actions/workflows/linux-mageia.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-mageia.yml)
[![Linux MinGW](https://github.com/webcamoid/webcamoid/actions/workflows/linux-mingw.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-mingw.yml)
[![OpenSUSE](https://github.com/webcamoid/webcamoid/actions/workflows/linux-opensuse.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-opensuse.yml)
[![Ubuntu](https://github.com/webcamoid/webcamoid/actions/workflows/linux-ubuntu.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/linux-ubuntu.yml)
[![Flatpak](https://github.com/webcamoid/webcamoid/actions/workflows/flatpak.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/flatpak.yml)
[![Mac](https://github.com/webcamoid/webcamoid/actions/workflows/mac.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/mac.yml)
[![Windows MSYS](https://github.com/webcamoid/webcamoid/actions/workflows/windows-msys.yml/badge.svg)](https://github.com/webcamoid/webcamoid/actions/workflows/windows-msys.yml)
[![Build status](https://api.cirrus-ci.com/github/webcamoid/webcamoid.svg)](https://cirrus-ci.com/github/webcamoid/webcamoid)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/08a585dc07a14b8bad2bbb39d6628fdd)](https://www.codacy.com/gh/webcamoid/webcamoid/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=webcamoid/webcamoid&amp;utm_campaign=Badge_Grade)
[![Translation status](https://hosted.weblate.org/widgets/webcamoid/-/svg-badge.svg)](https://hosted.weblate.org/engage/webcamoid/?utm_source=widget)
[![Project Stats](https://www.openhub.net/p/Webcamoid/widgets/project_thin_badge.gif)](https://www.openhub.net/p/Webcamoid)
[![Gitlab mirror](https://img.shields.io/badge/mirror-Gitlab-007fff.svg)](https://gitlab.com/hipersayanX/webcamoid/)
[![SourceForge mirror](https://img.shields.io/badge/mirror-SourceForge-007fff.svg)](https://sourceforge.net/p/webcamoid/)
[![Packaging status](https://repology.org/badge/vertical-allrepos/webcamoid.svg)](https://repology.org/metapackage/webcamoid)
## License ##
```
Webcamoid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Webcamoid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
```
[![License](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://github.com/webcamoid/webcamoid/blob/master/COPYING)
## Reporting Bugs ##
Report all issues in the [issues tracker](https://github.com/webcamoid/webcamoid/issues).
## Subscribe ##
Stay tuned to new releases with the project [feeds](https://github.com/webcamoid/webcamoid/releases.atom).
... ...
# Security Policy
## Supported Versions
Only report vulnerabilities in the [latest stable](https://github.com/webcamoid/webcamoid/releases) version and the [master repository](https://github.com/webcamoid/webcamoid) (that includes [daily build](https://bintray.com/webcamoid/webcamoid/webcamoid/daily/link)).
## Reporting a Vulnerability
Report all vulnerabilities at the [issues section](https://github.com/webcamoid/webcamoid/issues).
... ...
# Webcamoid, webcam capture application.
# Copyright (C) 2021 Gonzalo Exequiel Pedone
#
# Webcamoid is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Webcamoid is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
#
# Web-Site: http://webcamoid.github.io/
cmake_minimum_required(VERSION 3.16)
project(StandAlone)
include(../libAvKys/cmake/ProjectCommons.cmake)
if (UNIX AND NOT APPLE AND NOT ANDROID)
add_subdirectory(ManPages)
endif ()
add_subdirectory(Translations)
add_subdirectory(java)
add_subdirectory(src)
... ...
<RCC>
<qresource prefix="/Webcamoid">
<file>share/themes/WebcamoidTheme/qmldir</file>
<file>share/themes/WebcamoidTheme/ApplicationWindow.qml</file>
<file>share/themes/WebcamoidTheme/BusyIndicator.qml</file>
<file>share/themes/WebcamoidTheme/Button.qml</file>
<file>share/themes/WebcamoidTheme/CheckBox.qml</file>
<file>share/themes/WebcamoidTheme/CheckDelegate.qml</file>
<file>share/themes/WebcamoidTheme/ComboBox.qml</file>
<file>share/themes/WebcamoidTheme/DelayButton.qml</file>
<file>share/themes/WebcamoidTheme/Dial.qml</file>
<file>share/themes/WebcamoidTheme/Dialog.qml</file>
<file>share/themes/WebcamoidTheme/DialogButtonBox.qml</file>
<file>share/themes/WebcamoidTheme/Drawer.qml</file>
<file>share/themes/WebcamoidTheme/Frame.qml</file>
<file>share/themes/WebcamoidTheme/GroupBox.qml</file>
<file>share/themes/WebcamoidTheme/HorizontalHeaderView.qml</file>
<file>share/themes/WebcamoidTheme/ItemDelegate.qml</file>
<file>share/themes/WebcamoidTheme/Label.qml</file>
<file>share/themes/WebcamoidTheme/Menu.qml</file>
<file>share/themes/WebcamoidTheme/MenuBar.qml</file>
<file>share/themes/WebcamoidTheme/MenuBarItem.qml</file>
<file>share/themes/WebcamoidTheme/MenuItem.qml</file>
<file>share/themes/WebcamoidTheme/MenuSeparator.qml</file>
<file>share/themes/WebcamoidTheme/Page.qml</file>
<file>share/themes/WebcamoidTheme/PageIndicator.qml</file>
<file>share/themes/WebcamoidTheme/Pane.qml</file>
<file>share/themes/WebcamoidTheme/Popup.qml</file>
<file>share/themes/WebcamoidTheme/ProgressBar.qml</file>
<file>share/themes/WebcamoidTheme/RadioButton.qml</file>
<file>share/themes/WebcamoidTheme/RadioDelegate.qml</file>
<file>share/themes/WebcamoidTheme/RangeSlider.qml</file>
<file>share/themes/WebcamoidTheme/RoundButton.qml</file>
<file>share/themes/WebcamoidTheme/ScrollBar.qml</file>
<file>share/themes/WebcamoidTheme/ScrollIndicator.qml</file>
<file>share/themes/WebcamoidTheme/ScrollView.qml</file>
<file>share/themes/WebcamoidTheme/SelectionRectangle.qml</file>
<file>share/themes/WebcamoidTheme/Slider.qml</file>
<file>share/themes/WebcamoidTheme/SpinBox.qml</file>
<file>share/themes/WebcamoidTheme/SplitView.qml</file>
<file>share/themes/WebcamoidTheme/StackView.qml</file>
<file>share/themes/WebcamoidTheme/SwipeDelegate.qml</file>
<file>share/themes/WebcamoidTheme/SwipeView.qml</file>
<file>share/themes/WebcamoidTheme/Switch.qml</file>
<file>share/themes/WebcamoidTheme/SwitchDelegate.qml</file>
<file>share/themes/WebcamoidTheme/TabBar.qml</file>
<file>share/themes/WebcamoidTheme/TabButton.qml</file>
<file>share/themes/WebcamoidTheme/TextArea.qml</file>
<file>share/themes/WebcamoidTheme/TextField.qml</file>
<file>share/themes/WebcamoidTheme/ToolBar.qml</file>
<file>share/themes/WebcamoidTheme/ToolButton.qml</file>
<file>share/themes/WebcamoidTheme/ToolSeparator.qml</file>
<file>share/themes/WebcamoidTheme/ToolTip.qml</file>
<file>share/themes/WebcamoidTheme/Tumbler.qml</file>
<file>share/themes/WebcamoidTheme/VerticalHeaderView.qml</file>
<file>share/themes/WebcamoidTheme/Private/qmldir</file>
<file>share/themes/WebcamoidTheme/Private/IconLabel.qml</file>
</qresource>
</RCC>
... ...
# Webcamoid, webcam capture application.
# Copyright (C) 2021 Gonzalo Exequiel Pedone
#
# Webcamoid is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Webcamoid is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
#
# Web-Site: http://webcamoid.github.io/
cmake_minimum_required(VERSION 3.16)
project(ManPages)
include(../../libAvKys/cmake/ProjectCommons.cmake)
set(MANPAGE StandAlone/share/man/webcamoid.1)
string(TIMESTAMP RELEASE_DATE "%d %b %Y")
configure_file(src/webcamoid.1.in src/webcamoid.1)
find_program(GZIP_TOOL gzip)
if (GZIP_TOOL)
add_custom_target(manpages ALL
${GZIP_TOOL} -n -c9 webcamoid.1 > webcamoid.1.gz
DEPENDS src/webcamoid.1
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
BYPRODUCTS src/webcamoid.1.gz
VERBATIM
SOURCES src/webcamoid.1.in)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/src/webcamoid.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
endif ()
... ...
.\" Manpage for Webcamoid.
.\"
.\" Contact https://github.com/webcamoid/webcamoid/issues to correct errors or
.\" typos.
.\"
.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
.\" Distributed under GPLv3+
.\" %%%LICENSE_END
.\"
.TH WEBCAMOID 1 "@RELEASE_DATE@" "Version @VERSION@" "Webcamoid Users's Manual"
.SH NAME
Webcamoid \- full featured webcam capture application
.SH SYNOPSIS
.B webcamoid [\fIoptions\fP]
.SH DESCRIPTION
.B Webcamoid
is a real time video processing suite targeting but not limited to
webcams, video and desktop. You can add a bunch of effects to your video and
take pictures, and record it to a video file.
.SH OPTIONS
.TP
.BR \-h ", " \-\-help
Displays this help.
.TP
.BR \-v ", " \-\-version
Displays version information.
.TP
.BR \-c\ <\fIPATH\fP> ", " \-\-config\ <\fIPATH\fP>
Load settings from \fIPATH\fP. If \fIPATH\fP is empty, load configs from application directory.
.TP
.BR \-r ", " \-\-recursive
Search in the specified plugins paths recursively.
.TP
.BR \-p\ <\fIPATH1\fP;\fIPATH2\fP;\fIPATH3\fP;\fI...\fP> ", " \-\-paths\ <\fIPATH1\fP;\fIPATH2\fP;\fIPATH3\fP;\fI...\fP>
Semi-colon separated list of paths to search for plugins.
.TP
.BR \-b\ <\fIPATH1\fP;\fIPATH2\fP;\fIPATH3\fP;\fI...\fP> ", " \-\-no\-load\ <\fIPATH1\fP;\fIPATH2\fP;\fIPATH3\fP;\fI...\fP>
Semi-colon separated list of paths to avoid loading.
.SH SEE ALSO
.BR ffmpeg (1),
.BR gst\-launch\-1.0 (1),
.BR v4l2loopback\-ctl (1)
.SH BUGS
Please, report all bugs at
.I https://github.com/webcamoid/webcamoid/issues
.SH AUTHOR
Gonzalo Exequiel Pedone (hipersayan.x@gmail.com)
... ...
# Webcamoid, webcam capture application.
# Copyright (C) 2021 Gonzalo Exequiel Pedone
#
# Webcamoid is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Webcamoid is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
#
# Web-Site: http://webcamoid.github.io/
cmake_minimum_required(VERSION 3.16)
project(Translations)
include(../../libAvKys/cmake/ProjectCommons.cmake)
set(LANGUAGES
ca
de
el
es
et
fr
gl
he
hu
it
ja
kab
ko
nb_NO
nl
oc
pl
pt_BR
pt
ru
si
sv
tr
uk
vi
zh_CN
zh_TW)
# Update translations.
set(UPDATE_TRANSLATIONS ON CACHE BOOL "Update translations when building")
if (UPDATE_TRANSLATIONS)
find_program(LUPDATE_TOOL lupdate)
if (LUPDATE_TOOL)
foreach (LANG IN LISTS LANGUAGES)
add_custom_target(translation_${LANG}_ts ALL
${LUPDATE_TOOL} -no-obsolete
${CMAKE_SOURCE_DIR}/libAvKys
${CMAKE_SOURCE_DIR}/StandAlone
-target-language ${LANG}
-ts ${CMAKE_SOURCE_DIR}/StandAlone/share/ts/${LANG}.ts
VERBATIM)
endforeach ()
endif ()
endif ()
# Compile translations files.
find_program(LRELEASE_TOOL lrelease)
if (LRELEASE_TOOL)
# target for all languages
add_custom_target(translations_qm)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${BUILDDIR}/${TRANSLATIONSDIR})
foreach (LANG IN LISTS LANGUAGES)
add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/${BUILDDIR}/${TRANSLATIONSDIR}/${LANG}.qm
COMMAND ${LRELEASE_TOOL} -removeidentical
-compress ${CMAKE_SOURCE_DIR}/StandAlone/share/ts/${LANG}.ts
-qm ${CMAKE_BINARY_DIR}/${BUILDDIR}/${TRANSLATIONSDIR}/${LANG}.qm
DEPENDS ${CMAKE_SOURCE_DIR}/StandAlone/share/ts/${LANG}.ts
VERBATIM
)
add_custom_target(translation_${LANG}_qm ALL
DEPENDS ${CMAKE_BINARY_DIR}/${BUILDDIR}/${TRANSLATIONSDIR}/${LANG}.qm
VERBATIM
)
add_dependencies(translations_qm translation_${LANG}_qm)
install(FILES ${CMAKE_BINARY_DIR}/${BUILDDIR}/${TRANSLATIONSDIR}/${LANG}.qm
DESTINATION ${TRANSLATIONSDIR})
endforeach ()
endif ()
... ...
<RCC>
<qresource prefix="/Webcamoid">
<file>../COPYING</file>
<file>share/contributors.txt</file>
<file>share/3rd-party/licenses/openclipart.txt</file>
<file>share/3rd-party/licenses/OpenCV.txt</file>
<file>share/3rd-party/licenses/TemperatureAlgorithm.txt</file>
<file>share/3rd-party/licenses/UsbIds.txt</file>
<file>share/qml/About.qml</file>
<file>share/qml/AboutDialog.qml</file>
<file>share/qml/AddVideoFormat.qml</file>
<file>share/qml/AudioCodecOptions.qml</file>
<file>share/qml/AudioDeviceItem.qml</file>
<file>share/qml/AudioDeviceOptions.qml</file>
<file>share/qml/AudioInputs.qml</file>
<file>share/qml/AudioOptions.qml</file>
<file>share/qml/AudioOutputs.qml</file>
<file>share/qml/ColorSchemeAddEdit.qml</file>
<file>share/qml/ColorSchemes.qml</file>
<file>share/qml/Commons.qml</file>
<file>share/qml/Contributors.qml</file>
<file>share/qml/DebugLog.qml</file>
<file>share/qml/DownloadDialog.qml</file>
<file>share/qml/DownloadFailedDialog.qml</file>
<file>share/qml/DownloadSucceededDialog.qml</file>
<file>share/qml/Flash.qml</file>
<file>share/qml/GeneralConfig.qml</file>
<file>share/qml/ImageCapture.qml</file>
<file>share/qml/CaptureSettingsDialog.qml</file>
<file>share/qml/License.qml</file>
<file>share/qml/LocalSettingsMenu.qml</file>
<file>share/qml/LogSavedDialog.qml</file>
<file>share/qml/MainPanel.qml</file>
<file>share/qml/OptionList.qml</file>
<file>share/qml/OptionsPanel.qml</file>
<file>share/qml/PluginConfig.qml</file>
<file>share/qml/PluginItem.qml</file>
<file>share/qml/PluginsPathItem.qml</file>
<file>share/qml/RecordingNotice.qml</file>
<file>share/qml/RunCommandDialog.qml</file>
<file>share/qml/SettingsDialog.qml</file>
<file>share/qml/SettingsMenu.qml</file>
<file>share/qml/ThirdPartyLicenses.qml</file>
<file>share/qml/UpdatesConfig.qml</file>
<file>share/qml/UpdatesDialog.qml</file>
<file>share/qml/VCamInstallFailedDialog.qml</file>
<file>share/qml/VCamInstallSucceededDialog.qml</file>
<file>share/qml/VCamManualDownloadDialog.qml</file>
<file>share/qml/VideoCodecOptions.qml</file>
<file>share/qml/VideoDeviceItem.qml</file>
<file>share/qml/VideoEffectItem.qml</file>
<file>share/qml/VideoEffectOptions.qml</file>
<file>share/qml/VideoEffectsDialog.qml</file>
<file>share/qml/VideoEffectsList.qml</file>
<file>share/qml/VideoFormatItem.qml</file>
<file>share/qml/VideoFormatOptions.qml</file>
<file>share/qml/VideoInputAddEdit.qml</file>
<file>share/qml/VideoInputOptions.qml</file>
<file>share/qml/VideoInputs.qml</file>
<file>share/qml/VideoOptions.qml</file>
<file>share/qml/VideoOutputAddEdit.qml</file>
<file>share/qml/VideoOutputError.qml</file>
<file>share/qml/VideoOutputOptions.qml</file>
<file>share/qml/VideoOutputPicture.qml</file>
<file>share/qml/VideoOutputs.qml</file>
<file>share/qml/VideoRecording.qml</file>
<file>share/qml/qmldir</file>
<file>share/qml/main.qml</file>
</qresource>
</RCC>
... ...
IDI_ICON1 ICON DISCARDABLE "share/themes/WebcamoidTheme/icons/hicolor/256x256/webcamoid.ico"
... ...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundleVersion</key>
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
<key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleShortVersionString</key>
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
<key>CFBundleExecutable</key>
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleIdentifier</key>
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSMinimumSystemVersion</key>
<string>${CMAKE_OSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>Give permissions to Webcamoid for camera capture</string>
<key>NSMicrophoneUsageDescription</key>
<string>Give permissions to Webcamoid for microphone recording</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Give permissions to Webcamoid for accessing your photo library</string>
</dict>
</plist>
... ...
<RCC>
<qresource prefix="/Webcamoid">
<file>share/themes/WebcamoidTheme/colors/Adwaita Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Adwaita Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Ambiance Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Ambiance Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Amethyst.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Aqua Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Aqua Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Breeze Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Breeze Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Breeze Red.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Chameleon.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Cinereus Green.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Eleven Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Eleven Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Endless.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Experience.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Flatery.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Ghost.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Jade.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Monochrome.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Obsidian Blue.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Old Plastic.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Oxygen Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Oxygen Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Pink.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Pink Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Red Gold Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Silver.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Silver Blue.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Story Buccaneer.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Story Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Story Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Story Royal.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Twilight.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Wonton Soup.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Yaru Dark.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Yaru Light.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Yaru Orange.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Year 98.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Year 2000.colors.conf</file>
<file>share/themes/WebcamoidTheme/colors/Yellow Black.colors.conf</file>
</qresource>
</RCC>
... ...
<RCC>
<qresource prefix="/Webcamoid">
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/128x128/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/16x16/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/22x22/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/256x256/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/32x32/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/48x48/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/64x64/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/about.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/add.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/bug.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/cancel.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/check.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/cursor.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/down.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/edit.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/fonts.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/headphones.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/heart.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/internet.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/menu.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/mic.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/minus.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/no.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/paperclip.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/photo.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/picture.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/play.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/record-start.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/record-stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/recording.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/reset.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/save.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/search.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/settings.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/sound.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/stop.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/swipe-left.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/swipe-right.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/up.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/video-effects.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/video.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/webcam.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/webcamoid.ico</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/8x8/webcamoid.png</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/index.theme</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/about.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/add.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/bug.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/cancel.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/check.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/cursor.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/down.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/edit.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/fonts.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/headphones.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/heart.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/internet.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/menu.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/mic.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/minus.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/no.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/paperclip.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/photo.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/picture.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/play.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/record-start.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/record-stop.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/recording.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/reset.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/right.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/save.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/search.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/settings.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/sound.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/stop.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/swipe-left.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/swipe-right.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/up.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/video-effects.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/video.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/webcam.svg</file>
<file>share/themes/WebcamoidTheme/icons/hicolor/scalable/webcamoid.svg</file>
<file>share/themes/WebcamoidTheme/icons/webcamoid.icns</file>
</qresource>
</RCC>
... ...
# Webcamoid, webcam capture application.
# Copyright (C) 2021 Gonzalo Exequiel Pedone
#
# Webcamoid is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Webcamoid is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
#
# Web-Site: http://webcamoid.github.io/
cmake_minimum_required(VERSION 3.16)
project(Webcamoid_jarutils)
include(../../libAvKys/cmake/ProjectCommons.cmake)
set(SOURCES_PREFIX src/org/webcamoid/webcamoidutils)
set(SOURCES ${SOURCES_PREFIX}/WebcamoidUtils.java)
set(DEPENDENCY_SOURCES ${SOURCES_PREFIX}/AdManager.java)
set(COMPILE_SOURCES ${SOURCES})
set(ALL_SOURCES ${SOURCES} ${DEPENDENCY_SOURCES})
set(INCLUDE_JARS ${ANDROID_JAR_DIRECTORY}/android.jar)
set(MAVEN_REPOSITORIES
"https://maven.google.com")
string(JOIN "," MAVEN_REPOSITORIES ${MAVEN_REPOSITORIES})
set(MAVEN_DEPENDENCIES
"com.google.android.gms:play-services-ads-lite:${GOOGLE_PLAY_SERVICES_ADS_VERSION}:aar")
if (ANDROID)
include(UseJava)
find_package(Java ${ANDROID_JAVA_VERSION})
if (Java_FOUND)
if (ENABLE_ANDROID_ADS AND MVN_BIN AND (ANDROID_TARGET_SDK_VERSION GREATER_EQUAL 31))
list(APPEND COMPILE_SOURCES ${DEPENDENCY_SOURCES})
add_custom_target(StandAlone_java_deps)
set(STANDALONE_JAVA_DEPS StandAlone_java_deps CACHE INTERNAL "")
foreach (DEPENDENCY IN LISTS MAVEN_DEPENDENCIES)
string(REPLACE ":" ";" DEPENDENCY_PARTS "${DEPENDENCY}")
list(GET DEPENDENCY_PARTS 0 DEPENDENCY_GROUPID)
list(GET DEPENDENCY_PARTS 1 DEPENDENCY_ARTIFACT)
list(GET DEPENDENCY_PARTS 2 DEPENDENCY_VERSION)
list(GET DEPENDENCY_PARTS 3 DEPENDENCY_EXT)
set(DEPENDENCY_TGNAME "${DEPENDENCY_GROUPID}_${DEPENDENCY_ARTIFACT}_${DEPENDENCY_EXT}")
string(REPLACE "." "_" DEPENDENCY_TGNAME "${DEPENDENCY_TGNAME}")
string(REPLACE "-" "_" DEPENDENCY_TGNAME "${DEPENDENCY_TGNAME}")
string(REPLACE "." "/" GROUPID_PATH "${DEPENDENCY_GROUPID}")
set(DEPFILE_PATH "${MAVEN_LOCAL_REPOSITORY}/${GROUPID_PATH}/${DEPENDENCY_ARTIFACT}/${DEPENDENCY_VERSION}/${DEPENDENCY_ARTIFACT}-${DEPENDENCY_VERSION}.${DEPENDENCY_EXT}")
get_filename_component(DEPFILE_DIR "${DEPFILE_PATH}" DIRECTORY)
add_custom_command(
OUTPUT "${DEPFILE_PATH}"
COMMAND ${MVN_BIN}
-Dmaven.repo.local=${MAVEN_LOCAL_REPOSITORY}
dependency:get
-Dartifact=${DEPENDENCY}
-DremoteRepositories=${MAVEN_REPOSITORIES}
-Dtransitive=false
VERBATIM
)
if ("${DEPENDENCY_EXT}" STREQUAL "aar")
add_custom_command(
OUTPUT "${DEPFILE_DIR}/classes.jar"
COMMAND ${CMAKE_COMMAND} -E tar xzf "${DEPFILE_PATH}"
WORKING_DIRECTORY "${DEPFILE_DIR}"
DEPENDS "${DEPFILE_PATH}"
VERBATIM
)
add_custom_target(StandAlone_java_deps_${DEPENDENCY_TGNAME} ALL
DEPENDS "${DEPFILE_DIR}/classes.jar"
VERBATIM
)
list(APPEND INCLUDE_JARS "${DEPFILE_DIR}/classes.jar")
add_dependencies(StandAlone_java_deps StandAlone_java_deps_${DEPENDENCY_TGNAME})
else ()
add_custom_target(StandAlone_java_deps_${DEPENDENCY_TGNAME} ALL
DEPENDS "${DEPFILE_DIR}/${DEPENDENCY_ARTIFACT}-${DEPENDENCY_VERSION}.${DEPENDENCY_EXT}"
VERBATIM
)
list(APPEND INCLUDE_JARS "${DEPFILE_DIR}/${DEPENDENCY_ARTIFACT}-${DEPENDENCY_VERSION}.${DEPENDENCY_EXT}")
add_dependencies(StandAlone_java_deps StandAlone_java_deps_${DEPENDENCY_TGNAME})
endif ()
endforeach ()
endif ()
set(CMAKE_JAVA_COMPILE_FLAGS "-source" "${ANDROID_JAVA_VERSION}" "-target" "${ANDROID_JAVA_VERSION}")
add_jar(Webcamoid_jarutils
SOURCES ${COMPILE_SOURCES}
INCLUDE_JARS ${INCLUDE_JARS}
OUTPUT_NAME Webcamoid_jarutils
OUTPUT_DIR ${CMAKE_BINARY_DIR}/${BUILDDIR}/${JARDIR}
DEPENDS ${STANDALONE_JAVA_DEPS})
install_jar(Webcamoid_jarutils DESTINATION ${JARDIR})
endif ()
endif ()
add_custom_target(Webcamoid_jarutils_sources SOURCES ${ALL_SOURCES})
... ...
IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
By downloading, copying, installing or using the software you agree to this license.
If you do not agree to this license, do not download, install,
copy or use the software.
Intel License Agreement
For Open Source Computer Vision Library
Copyright (C) 2000, Intel Corporation, all rights reserved.
Third party copyrights are property of their respective owners.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistribution's of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistribution's in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* The name of Intel Corporation may not be used to endorse or promote products
derived from this software without specific prior written permission.
This software is provided by the copyright holders and contributors "as is" and
any express or implied warranties, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose are disclaimed.
In no event shall the Intel Corporation or contributors be liable for any direct,
indirect, incidental, special, exemplary, or consequential damages
(including, but not limited to, procurement of substitute goods or services;
loss of use, data, or profits; or business interruption) however caused
and on any theory of liability, whether in contract, strict liability,
or tort (including negligence or otherwise) arising in any way out of
the use of this software, even if advised of the possibility of such damage.
... ...
This folder contains licences for 3rd-party work incorporated into Webcamoid.
These licences DOES NOT applies to Webcamoid itself.
... ...
Copyright (c) 2012, Tanner Helland
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
... ...
usb.ids file, and ONLY usb.ids file is licensed under the 3-Clause BSD License,
following is a copy of the license:
3-clause BSD License
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the <organization> nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
... ...
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
... ...
<?xml version='1.0' encoding='utf-8'?>
<manifest package="io.github.webcamoid.Webcamoid"
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionName="9.2.4"
android:versionCode="9002004"
android:installLocation="auto">
<application android:hardwareAccelerated="true"
android:name="org.qtproject.qt.android.bindings.QtApplication"
android:label="Webcamoid"
android:extractNativeLibs="true"
android:allowBackup="true"
android:fullBackupOnly="false"
android:icon="@drawable/icon"
android:largeHeap="true">
<activity android:configChanges="mcc|mnc|locale|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|layoutDirection|fontScale|density"
android:name="org.qtproject.qt.android.bindings.QtActivity"
android:label="Webcamoid"
android:screenOrientation="unspecified"
android:launchMode="standard"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="file"/>
</intent-filter>
<!-- Application arguments -->
<!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ -->
<!-- Application arguments -->
<meta-data android:name="android.app.lib_name" android:value="Webcamoid"/>
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
<meta-data android:name="android.app.repository" android:value="default"/>
<meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
<!-- Deploy Qt libs as part of package -->
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
<!-- Run with local libs -->
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
<!-- Used to specify custom system library path to run with local system libs -->
<!-- <meta-data android:name="android.app.system_libs_prefix" android:value="/system/lib/"/> -->
<!-- Messages maps -->
<meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
<meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
<meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
<!-- Messages maps -->
<!-- Splash screen -->
<!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
are done populating your window with content. -->
<!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
<!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
<!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
<!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
<!-- Splash screen -->
<!-- Background running -->
<!-- Warning: changing this value to true may cause unexpected crashes if the
application still try to draw after
"applicationStateChanged(Qt::ApplicationSuspended)"
signal is sent! -->
<meta-data android:name="android.app.background_running" android:value="false"/>
<!-- Background running -->
<!-- auto screen scale factor -->
<meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/>
<!-- auto screen scale factor -->
<!-- extract android style -->
<!-- available android:values :
* default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
* full - useful QWidget & Quick Controls 1 apps
* minimal - useful for Quick Controls 2 apps, it is much faster than "full"
* none - useful for apps that don't use any of the above Qt modules
-->
<meta-data android:name="android.app.extract_android_style" android:value="minimal"/>
<!-- extract android style -->
</activity>
<!--
<provider android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.qtprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/qtprovider_paths"/>
</provider>
-->
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="@string/admob_appid"/>
</application>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:anyDensity="true"
android:smallScreens="true"/>
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<!-- Permissions -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
Remove the comment if you do not require these default features. -->
<!-- Features -->
<uses-feature android:name="android.hardware.audio.low_latency"/>
<uses-feature android:name="android.hardware.audio.output"/>
<uses-feature android:name="android.hardware.audio.pro"/>
<uses-feature android:name="android.hardware.camera.any"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-feature android:name="android.hardware.camera.flash"/>
<uses-feature android:name="android.hardware.microphone"/>
<uses-feature android:name="android.hardware.opengles.aep"/>
<uses-feature android:name="android.software.webview"/>
</manifest>
... ...
a1346054 <36859588+a1346054@users.noreply.github.com>
Adam Magnier <adam@magnier.io>
Adolfo Jayme Barrientos <fitojb@ubuntu.com>
AHOHNMYC <lqwh2h2cwa@protonmail.com>
Ale-Ma <alemassimiani@gmail.com>
Alex <alexander.simm@posteo.de>
Alexey Napalkov <flynbit@gmail.com>
aliereny <aeren.myper@gmail.com>
Allan Nordhøy <epost@anotheragency.no>
Antonino Murabito <antoninomurabito@gmail.com>
Artem <KovalevArtem.ru@gmail.com>
Artem <Localizer_in_Russian@protonmail.com>
Ascaf0 <fa0sck@gmail.com>
Axel Lainerdo <z6postarwars88@free.fr>
Axus Wizix <axus.wizix@mail.ru>
Barak A. Pearlmutter <barak+git@pearlmutter.net>
CE4 <chregger@gmail.com>
Chris Barth <chrisjbarth@hotmail.com>
Continuity <continuity@gmx.net>
Daeun Jung <sarahkorea1@ajou.ac.kr>
Daniel Lerch <daniel.p.lerch@gmail.com>
David Jiménez Santonja <david.jimenez.santonja@gmail.com>
E-Akcaer <gurbetcii_@hotmail.com>
Edoardo Rosa <edoardo.rosa90@gmail.com>
Eduardo Rodrigues <edu.rodrigues2580@gmail.com>
Edwar Tikhonov <letih@vivaldi.net>
Elizabeth Sherrock <lizzyd710@gmail.com>
Elton Viana Gonçalves da Luz <eltongoncalves94@hotmail.com>
Erich Schubert <erich.schubert@tu-dortmund.de>
Ettore Atalan <atalanttore@googlemail.com>
ezjerry liao <ezjerry@gmail.com>
gallegonovato <fran-carro@hotmail.es>
gordonel <45173186+gordonel@users.noreply.github.com>
grover92000 <96498785+grover92000@users.noreply.github.com>
Gruni Lala <ro.gruni@hotmail.de>
Heimen Stoffels <vistausss@fastmail.com>
Heimen Stoffels <vistausss@outlook.com>
hpfn <hpfn@users.noreply.github.com>
J. Lavoie <j.lavoie@net-c.ca>
Jan Beich <jbeich@FreeBSD.org>
Jeannette L <j.lavoie@net-c.ca>
Joel Barrios <darkshram@gmail.com>
John Vandenberg <jayvdb@gmail.com>
josep constanti <jconstanti@yahoo.es>
Knusper <cherenz@aip.de>
Kozioł Marcin <koziol.martin@gmail.com>
Kristjan Räts <kristjanrats@gmail.com>
lefiston <live@blachet.com>
Livia Andriana Lohanda <chocolate.coffee@outlook.com>
LL <lu.lecocq@free.fr>
LNDDYL <lnddyl@outlook.com>
Luca De Falco <deffo89@gmail.com>
Luigi Baldoni <aloisio@gmx.com>
luigino <aloisio@gmx.com>
Luna Jernberg <droidbittin@gmail.com>
MananPyJava <67302570+MananPyJava@users.noreply.github.com>
Marc Delisle <marc@infomarc.info>
Michal Čihař <michal@cihar.com>
Minwoo 'Charlie' Choi <https://github.com/exxocism>
MS-PC <jhovanywalas@hotmail.com>
Nathan <bonnemainsnathan@gmail.com>
nautilusx <mail.ka@mailbox.org>
nautilusx <translate@disroot.org>
Normand <https://github.com/Normandstm>
ovari <ovari123@zoho.com>
Oğuz Ersen <oguzersen@protonmail.com>
paperspaceBen <benjamin@paperspace.io>
pCsOrI <pcsori@gmail.com>
Peppernrino <pepperandrino@gmail.com>
poi <erbaotao@outlook.com>
Priit Jõerüüt <hwlate@joeruut.com>
Quentin PAGÈS <quentinantonin@free.fr>
Raúl González García <rgonzalez5@ucam.edu>
Robin Kunze <robinkunze@outlook.com>
Rui Mendes <xz9@protonmail.com>
Sebastian Freiman <sebafreiman@gmail.com>
SiliconBrain <kaka012@users.noreply.github.com>
ssantos <ssantos@web.de>
Stepan <36489863+Stepan881@users.noreply.github.com>
Swann Martinet <swann.ranskassa@laposte.net>
Szylu <chipolade@gmail.com>
Takuya Ohe <hi@tohe.xyz>
TheSimplyOwl <thesimplyowl@gmail.com>
Till Riedel <riedel@teco.edu>
Tj <hacker@iam.tj>
trungnt2910 <trungnt282910@gmail.com>
Tymofij Lytvynenko <till.svit@gmail.com>
WaldiS <admin@sto.ugu.pl>
XiaoPanPanKevinPan <sn00151200@gmail.com>
Yaron Shahrabani <sh.yaron@gmail.com>
YFdyh000 <yfdyh000@gmail.com>
Yuqi Wang <claywang@live.com>
zhcjsjz <zhcj@yeah.net>
Étienne Gilli <etienne.gilli@gmail.com>
Володимир Бриняк <bardvv@gmail.com>
Максим Якимчук <xpinovo@gmail.com>
Марс Ямбар <mjambarmeta@gmail.com>
Роман Хрущ <hrushch.rr57@gmail.com>
吴绮 <rs2.free@qq.com>
이피시소리 <pcsori@gmail.com>
조현퇴 <hyuntoe@gmail.com>
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2015 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Ak
Page {
ScrollView {
id: scrollView
anchors.fill: parent
contentHeight: clyProgramInfo.height
clip: true
ColumnLayout {
id: clyProgramInfo
width: scrollView.width
Image {
fillMode: Image.PreserveAspectFit
Layout.minimumWidth:
AkUnit.create(96 * AkTheme.controlScale, "dp").pixels
Layout.minimumHeight:
AkUnit.create(96 * AkTheme.controlScale, "dp").pixels
Layout.maximumWidth:
AkUnit.create(96 * AkTheme.controlScale, "dp").pixels
Layout.maximumHeight:
AkUnit.create(96 * AkTheme.controlScale, "dp").pixels
source: "image://icons/webcamoid"
sourceSize: Qt.size(width, height)
}
Label {
text: mediaTools.applicationName
+ " "
+ mediaTools.applicationVersion
font: AkTheme.fontSettings.h6
}
RowLayout {
visible: mediaTools.projectGitShortCommit.length > 0
Label {
//: Built from "short commit hash"
text: qsTr("Built from")
}
Button {
text: mediaTools.projectGitShortCommit
flat: true
Accessible.name:
qsTr("Built from %1").arg(mediaTools.projectGitShortCommit)
Accessible.description:
qsTr("Open the commit in your web browser")
onClicked: Qt.openUrlExternally(mediaTools.projectGitCommitUrl)
}
}
Label {
text: qsTr("Using Qt %1")
.arg(mediaTools.qtVersion)
}
Label {
text: qsTr("Webcam capture application.")
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
Label {
text: qsTr("A simple webcam application for picture and video capture.")
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
Label {
text: mediaTools.copyrightNotice
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
Button {
text: qsTr("Website")
icon.source: "image://icons/internet"
Accessible.name: text
Accessible.description:
qsTr("Go to %1 website").arg(mediaTools.applicationName)
onClicked: Qt.openUrlExternally(mediaTools.projectUrl)
}
}
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2022 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Layouts
import Ak
import Webcamoid
Dialog {
id: aboutDialog
standardButtons: Dialog.Close
width: physicalWidth <= 100 || physicalHeight <= 100?
wdgMainWidget.width: wdgMainWidget.width * 0.75
height: physicalWidth <= 100 || physicalHeight <= 100?
wdgMainWidget.height: wdgMainWidget.height * 0.75
modal: true
title: qsTr("About %1").arg(mediaTools.applicationName)
leftPadding: 0
property real physicalWidth: wdgMainWidget.width / Screen.pixelDensity
property real physicalHeight: wdgMainWidget.height / Screen.pixelDensity
property int panelBorder: AkUnit.create(1 * AkTheme.controlScale, "dp").pixels
property int dragBorder: AkUnit.create(4 * AkTheme.controlScale, "dp").pixels
property int minimumWidth: AkUnit.create(100 * AkTheme.controlScale, "dp").pixels
property int maximumWidth:
width - AkUnit.create(64 * AkTheme.controlScale, "dp").pixels
onWidthChanged: {
if (aboutDialog.visible)
optionsItem.implicitWidth =
Math.min(Math.max(aboutDialog.minimumWidth,
optionsItem.implicitWidth),
aboutDialog.maximumWidth)
}
onVisibleChanged: options.forceActiveFocus()
RowLayout {
anchors.fill: parent
Item {
id: optionsItem
Layout.fillHeight: true
implicitWidth:
AkUnit.create(150 * AkTheme.controlScale, "dp").pixels
ScrollView {
id: optionsView
anchors.fill: parent
contentHeight: options.height
clip: true
OptionList {
id: options
width: optionsView.width
ItemDelegate {
/*: Information of the program, like name, description, version,
etc..
*/
text: qsTr("About")
}
ItemDelegate {
/*: List of people contributing to the project: software
developers, translators, designers, etc..
*/
text: qsTr("Contributors")
}
ItemDelegate {
//: Program license.
text: qsTr("License")
}
ItemDelegate {
/*: License for 3rd party components used in Webcamoid, like
libraries and code snippets.
*/
text: qsTr("3rd Party Licenses")
}
}
}
Rectangle {
id: rectangleRight
width: aboutDialog.panelBorder
color: aboutDialog.activeDark
anchors.leftMargin: -width / 2
anchors.left: optionsView.right
anchors.top: parent.top
anchors.bottom: parent.bottom
}
MouseArea {
cursorShape: Qt.SizeHorCursor
drag.axis: Drag.XAxis
width: aboutDialog.panelBorder + 2 * aboutDialog.dragBorder
anchors.leftMargin: -width / 2
anchors.left: optionsView.right
anchors.top: parent.top
anchors.bottom: parent.bottom
onPositionChanged: {
optionsItem.implicitWidth =
Math.min(Math.max(aboutDialog.minimumWidth,
optionsItem.implicitWidth
+ mouse.x),
aboutDialog.maximumWidth)
}
}
}
StackLayout {
id: stack
currentIndex: options.currentIndex
Layout.fillWidth: true
Layout.fillHeight: true
//clip: true
About { }
Contributors { }
License { }
ThirdPartyLicenses { }
}
}
header: Item {
id: rectangle
clip: true
visible: aboutDialog.title
height: AkUnit.create(64 * AkTheme.controlScale, "dp").pixels
Label {
text: aboutDialog.title
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin:
AkUnit.create(24 * AkTheme.controlScale, "dp").pixels
elide: Label.ElideRight
font: AkTheme.fontSettings.h6
enabled: aboutDialog.enabled
}
Rectangle {
color: aboutDialog.enabled?
aboutDialog.activeDark:
aboutDialog.disabledDark
height: AkUnit.create(1 * AkTheme.controlScale, "dp").pixels
anchors.left: rectangle.left
anchors.right: rectangle.right
anchors.bottom: rectangle.bottom
}
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Ak
Dialog {
id: addFormat
standardButtons: Dialog.Ok | Dialog.Cancel
width: AkUnit.create(450 * AkTheme.controlScale, "dp").pixels
height: AkUnit.create(350 * AkTheme.controlScale, "dp").pixels
modal: true
property int formatIndex: -1
signal addFormat(variant caps)
signal changeFormat(int index, variant caps)
signal removeFormat(int index)
onVisibleChanged: pixelFormats.forceActiveFocus()
function openOptions(formatIndex=-1, caps={})
{
addFormat.formatIndex = formatIndex
title = formatIndex < 0?
qsTr("Add Video Format"):
qsTr("Change Video Format")
pixelFormats.model.clear()
let pixFormats = videoLayer.supportedOutputPixelFormats
let index = -1
for (let i in pixFormats) {
if (pixFormats[i] == videoLayer.defaultOutputPixelFormat)
index = i
pixelFormats.model.append({
format: Number(pixFormats[i]),
description: AkVideoCaps.pixelFormatToString(pixFormats[i])
})
}
removeFormat.visible = formatIndex >= 0
if (formatIndex < 0) {
pixelFormats.currentIndex = index
frameWidth.value = 640
frameHeight.value = 480
frameRate.value = 30
} else {
index = -1
for (let i in pixFormats)
if (pixFormats[i] == caps.format)
index = i
let fps = AkFrac.create(caps.fps)
pixelFormats.currentIndex = index
frameWidth.value = caps.width
frameHeight.value = caps.height
frameRate.value = fps.value
}
open()
}
ScrollView {
id: formatView
anchors.fill: parent
contentHeight: formatControls.height
clip: true
GridLayout {
id: formatControls
columns: 2
width: formatView.width
Button {
id: removeFormat
text: qsTr("Remove format")
icon.source: "image://icons/no"
flat: true
Layout.columnSpan: 2
onClicked: {
addFormat.removeFormat(addFormat.formatIndex)
addFormat.reject()
}
}
Label {
id: txtFormat
text: qsTr("Format")
}
ComboBox {
id: pixelFormats
Accessible.description: txtFormat.text
textRole: "description"
model: ListModel {}
Layout.fillWidth: true
}
Label {
id: txtWidth
text: qsTr("Width")
}
SpinBox {
id: frameWidth
value: 640
from: 1
to: 4096
stepSize: 1
editable: true
Accessible.name: txtWidth.text
}
Label {
id: txtHeight
text: qsTr("Height")
}
SpinBox {
id: frameHeight
value: 480
from: 1
to: 4096
stepSize: 1
editable: true
Accessible.name: txtHeight.text
}
Label {
id: txtFrameRate
text: qsTr("Frame rate")
}
SpinBox {
id: frameRate
value: 30
from: 1
to: 250
stepSize: 1
editable: true
Accessible.name: txtFrameRate.text
}
}
}
onAccepted: {
let element = pixelFormats.model.get(pixelFormats.currentIndex)
let fps = AkFrac.create(frameRate.value, 1).toVariant()
let caps = AkVideoCaps.create(element.format,
frameWidth.value,
frameHeight.value,
fps)
if (addFormat.formatIndex < 0)
addFormat.addFormat(caps)
else
addFormat.changeFormat(addFormat.formatIndex, caps)
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Ak
Dialog {
id: audioCodecOptions
title: qsTr("Audio Codec Options")
standardButtons: Dialog.Ok | Dialog.Cancel | Dialog.Reset
width: AkUnit.create(420 * AkTheme.controlScale, "dp").pixels
height: AkUnit.create(320 * AkTheme.controlScale, "dp").pixels
modal: true
property variant controlValues: ({})
property int startChildren: 2
onVisibleChanged: bitrate.forceActiveFocus()
function updateOptions() {
for (let i = mainLayout.children.length - 1; i >= startChildren; i--)
mainLayout.children[i].destroy()
let codecOptions = recording.codecOptions(AkCaps.CapsAudio);
for (let i in codecOptions) {
let option = AkPropertyOption.create(codecOptions[i])
if (option.type != AkPropertyOption.OptionType_Flags) {
let cLabel = controlLabel.createObject(mainLayout);
cLabel.text = option.description
}
let value =
recording.codecOptionValue(AkCaps.CapsAudio, option.name)
switch (option.type) {
case AkPropertyOption.OptionType_String:
if (option.menu.length < 1) {
let cString = controlString.createObject(mainLayout)
cString.key = option.name
cString.defaultValue = option.defaultValue
cString.text = value
cString.onControlChanged.connect(updateValues)
} else {
let cMenu = controlMenu.createObject(mainLayout)
cMenu.key = option.name
cMenu.defaultValue = option.defaultValue
cMenu.update(option)
cMenu.onControlChanged.connect(updateValues)
}
break
case AkPropertyOption.OptionType_Number:
if (option.menu.length < 1) {
let minimumValue = option.min
let maximumValue = option.max
let stepSize = option.step
let maxSteps = 4096
if ((maximumValue - minimumValue) <= maxSteps * stepSize) {
let cRangeDiscrete = controlRangeDiscrete.createObject(mainLayout)
cRangeDiscrete.key = option.name
cRangeDiscrete.defaultValue = option.defaultValue
cRangeDiscrete.from = minimumValue
cRangeDiscrete.to = maximumValue
cRangeDiscrete.stepSize = stepSize
cRangeDiscrete.value = value
cRangeDiscrete.onControlChanged.connect(updateValues)
} else {
let cRange = controlRange.createObject(mainLayout)
cRange.key = option.name
cRange.defaultValue = option.defaultValue
cRange.text = value
cRange.onControlChanged.connect(updateValues)
}
} else {
let cMenu = controlMenu.createObject(mainLayout)
cMenu.key = option.name
cMenu.defaultValue = option.defaultValue
cMenu.update(option)
cMenu.onControlChanged.connect(updateValues)
}
break
case AkPropertyOption.OptionType_Boolean:
let cBoolean = controlBoolean.createObject(mainLayout)
cBoolean.key = option.name
cBoolean.defaultValue = option.defaultValue
cBoolean.checked = value
cBoolean.onControlChanged.connect(updateValues)
break
case AkPropertyOption.OptionType_Flags:
let cFlags = controlFlags.createObject(mainLayout)
cFlags.key = option.name
cFlags.defaultValue = option.defaultValue
cFlags.title = option.description
cFlags.update(option)
cFlags.onControlChanged.connect(updateValues)
break
case AkPropertyOption.OptionType_Frac:
let cFrac = controlFrac.createObject(mainLayout)
cFrac.key = option.name
cFrac.defaultValue = option.defaultValue
cFrac.text = value
cFrac.onControlChanged.connect(updateValues)
break
default:
break
}
}
}
function updateValues(key, value) {
controlValues[key] = value
}
Connections {
target: recording
function onBitrateChanged(type, bitrate)
{
if (type == AkCaps.CapsAudio)
bitrate.text = bitrate
}
function onCodecOptionsChanged(type, options)
{
audioCodecOptions.updateOptions()
}
}
ScrollView {
id: scrollView
anchors.fill: parent
contentHeight: mainLayout.height
clip: true
GridLayout {
id: mainLayout
columns: 2
width: scrollView.width
Label {
id: txtBitrate
text: qsTr("Bitrate")
}
TextField {
id: bitrate
placeholderText: qsTr("Bitrate (bits/secs)")
Accessible.name: txtBitrate.text
selectByMouse: true
validator: RegularExpressionValidator {
regularExpression: /\d+/
}
Layout.fillWidth: true
Component.onCompleted:
text = recording.bitrate(AkCaps.CapsAudio)
}
Component.onCompleted: audioCodecOptions.updateOptions()
}
}
onAccepted: {
recording.setBitrate(AkCaps.CapsAudio,
Number.fromLocaleString(locale, bitrate.text))
for (let key in controlValues)
recording.setCodecOptionValue(AkCaps.CapsAudio,
key,
controlValues[key]);
}
onRejected: {
bitrate.text = recording.bitrate(AkCaps.CapsAudio)
for (let i in mainLayout.children)
if (mainLayout.children[i].restore)
mainLayout.children[i].restore()
}
onReset: {
bitrate.text = recording.defaultBitrate(AkCaps.CapsAudio)
for (let i in mainLayout.children)
if (mainLayout.children[i].reset)
mainLayout.children[i].reset()
}
Component {
id: controlLabel
Label {
}
}
Component {
id: controlString
TextField {
selectByMouse: true
Layout.fillWidth: true
Accessible.name: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
function restore() {
text = recording.codecOptionValue(AkCaps.CapsAudio, key)
}
function reset() {
text = defaultValue
}
onTextChanged: controlChanged(key, text)
}
}
Component {
id: controlFrac
TextField {
selectByMouse: true
validator: RegularExpressionValidator {
regularExpression: /-?\d+\/\d+/
}
Layout.fillWidth: true
Accessible.name: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
function restore() {
text = recording.codecOptionValue(AkCaps.CapsAudio, key)
}
function reset() {
text = defaultValue
}
onTextChanged: controlChanged(key, text)
}
}
Component {
id: controlRangeDiscrete
GridLayout {
id: rangeLayout
columns: 2
property string key: ""
property variant defaultValue: null
property real value: 0
property real from: 0
property real to: 1
property real stepSize: 1
signal controlChanged(string key, variant value)
function restore() {
sldRange.value =
recording.codecOptionValue(AkCaps.CapsAudio, key)
}
function reset() {
sldRange.value = defaultValue
}
Slider {
id: sldRange
value: parent.value
from: parent.from
to: parent.to
stepSize: parent.stepSize
Layout.fillWidth: true
Accessible.name: rangeLayout.key
onValueChanged: {
spbRange.value = spbRange.multiplier * value
rangeLayout.controlChanged(rangeLayout.key, value)
}
}
SpinBox {
id: spbRange
value: multiplier * sldRange.value
from: multiplier * parent.from
to: multiplier * parent.to
stepSize: multiplier * parent.stepSize
editable: true
validator: DoubleValidator {
bottom: Math.min(spbRange.from, spbRange.to)
top: Math.max(spbRange.from, spbRange.to)
}
Accessible.name: rangeLayout.key
readonly property int decimals: parent.stepSize < 1? 2: 0
readonly property int multiplier: Math.pow(10, decimals)
textFromValue: function(value, locale) {
return Number(value / multiplier).toLocaleString(locale, 'f', decimals)
}
valueFromText: function(text, locale) {
return Number.fromLocaleString(locale, text) * multiplier
}
onValueModified: sldRange.value = value / multiplier
}
}
}
Component {
id: controlRange
TextField {
selectByMouse: true
validator: RegularExpressionValidator {
regularExpression: /[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?/
}
Layout.fillWidth: true
Accessible.name: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
function restore() {
text = recording.codecOptionValue(AkCaps.CapsAudio, key)
}
function reset() {
text = defaultValue
}
onTextChanged: controlChanged(key, Number(text))
}
}
Component {
id: controlBoolean
Switch {
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
Accessible.name: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
function restore() {
checked = recording.codecOptionValue(AkCaps.CapsAudio, key)
}
function reset() {
checked = defaultValue
}
onCheckedChanged: controlChanged(key, checked)
}
}
Component {
id: controlMenu
ComboBox {
model: ListModel {
}
textRole: "description"
Layout.fillWidth: true
Accessible.description: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
function restore() {
let value = recording.codecOptionValue(AkCaps.CapsAudio, key)
for (let i = 0; i < model.count; i++)
if (model.get(i).value == value) {
currentIndex = i
return
}
currentIndex = model.count > 0? 0: -1
}
function reset() {
for (let i = 0; i < model.count; i++)
if (model.get(i).value == defaultValue) {
currentIndex = i
return
}
currentIndex = model.count > 0? 0: -1
}
function update(option)
{
model.clear()
let menu = option.menu
for (let i in menu) {
let menuOption = AkMenuOption.create(menu[i])
model.append({
value: menuOption.value,
description: menuOption.description
})
}
currentIndex = currentMenuIndex(option)
}
function currentMenuIndex(option)
{
let value = recording.codecOptionValue(AkCaps.CapsAudio,
option.name)
let menu = option.menu
for (let i in menu) {
let menuOption = AkMenuOption.create(menu[i])
if (menuOption.value == value)
return i
}
return menu.length > 0? 0: -1
}
onCurrentIndexChanged: {
if (currentIndex >= 0)
controlChanged(key, model.get(currentIndex).value);
}
}
}
Component {
id: controlFlags
GroupBox {
Layout.columnSpan: 2
Layout.fillWidth: true
Accessible.name: key
property string key: ""
property variant defaultValue: null
signal controlChanged(string key, variant value)
ColumnLayout {
id: flagsLayout
anchors.fill: parent
}
Component {
id: classFlag
CheckBox {
Layout.fillWidth: true
property int flagValue: 0
}
}
function restore() {
let value = recording.codecOptionValue(AkCaps.CapsAudio, key)
for (let i in flagsLayout.children) {
flagsLayout.children[i].checked =
value & flagsLayout.children[i].flagValue
}
}
function reset() {
for (let i in flagsLayout.children) {
flagsLayout.children[i].checked =
defaultValue & flagsLayout.children[i].flagValue
}
}
function update(option)
{
// Remove old controls.
for (let i = flagsLayout.children.length - 1; i >= 0; i--)
flagsLayout.children[i].destroy()
let value = recording.codecOptionValue(AkCaps.CapsAudio,
option.name)
let menu = option.menu
// Create new ones.
for (let i in menu) {
let menuOption = AkMenuOption.create(menu[i])
let flag = classFlag.createObject(flagsLayout)
flag.text = menuOption.description
flag.flagValue = menuOption.value
flag.checked = value & menuOption.value
flag.onCheckedChanged.connect(function (checked)
{
let flags = 0
for (var i in flagsLayout.children) {
if (flagsLayout.children[i].checked)
flags |= flagsLayout.children[i].flagValue
}
controlChanged(key, flags)
})
}
}
}
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2022 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
ItemDelegate {
Accessible.name: text
Accessible.role: Accessible.MenuItem
property string device: ""
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Ak
Dialog {
id: deviceOptions
title: qsTr("Audio Device Options")
standardButtons: Dialog.Ok | Dialog.Cancel | Dialog.Reset
width: AkUnit.create(450 * AkTheme.controlScale, "dp").pixels
height: AkUnit.create(350 * AkTheme.controlScale, "dp").pixels
modal: true
property string device: ""
onVisibleChanged: cbxSampleFormats.forceActiveFocus()
function bound(min, value, max)
{
return Math.max(min, Math.min(value, max))
}
function openOptions(device)
{
deviceOptions.device = device
deviceInfo.text =
"<b>" + audioLayer.description(device) + "</b>"
+ "<br/><i>" + device + "</i>"
var audioCaps = AkAudioCaps.create()
var supportedFormats = audioLayer.supportedFormatsVariant(device)
cbxSampleFormats.model.clear()
for (let i in supportedFormats) {
let format = supportedFormats[i]
let description = audioCaps.sampleFormatToString(format)
cbxSampleFormats.model.append({format: format,
description: description})
}
var supportedChannelLayouts =
audioLayer.supportedChannelLayoutsVariant(device)
cbxChannelLayouts.model.clear()
for (let i in supportedChannelLayouts) {
let layout = supportedChannelLayouts[i]
let description = audioCaps.channelLayoutToString(layout)
cbxChannelLayouts.model.append({layout: layout,
description: description})
}
var supportedSampleRates = audioLayer.supportedSampleRates(device)
cbxSampleRates.model.clear()
for (let i in supportedSampleRates) {
let sampleRate = supportedSampleRates[i]
cbxSampleRates.model.append({sampleRate: sampleRate,
description: sampleRate})
}
let isInputDevice = audioLayer.outputs.indexOf(device) < 0
let caps = isInputDevice?
AkAudioCaps.create(audioLayer.inputDeviceCaps):
AkAudioCaps.create(audioLayer.outputDeviceCaps)
cbxSampleFormats.currentIndex =
bound(0,
supportedFormats.indexOf(caps.format),
cbxSampleFormats.model.count - 1)
cbxChannelLayouts.currentIndex =
bound(0,
supportedChannelLayouts.indexOf(caps.layout),
cbxChannelLayouts.model.count - 1)
cbxSampleRates.currentIndex =
bound(0,
supportedSampleRates.indexOf(caps.rate),
cbxSampleRates.model.count - 1)
sldLatency.value = isInputDevice?
audioLayer.inputLatency:
audioLayer.outputLatency
open()
}
ScrollView {
id: view
anchors.fill: parent
contentHeight: deviceControls.height
clip: true
GridLayout {
id: deviceControls
columns: 3
width: view.width
Label {
id: deviceInfo
elide: Label.ElideRight
Layout.columnSpan: 3
Layout.fillWidth: true
Layout.bottomMargin:
AkUnit.create(16 * AkTheme.controlScale, "dp").pixels
}
Label {
id: txtSampleFormat
/*: An sample represents the strength of the wave at a certain
time.
A sample can be expressed as the number of bits defining it
(more bits better sound), the type of data representing it
(signed integer, unsigned integer, floating point), and the
endianness of the data (big endian, little endian).
The sample format is the representation of that information.
For example, 's16le' means that each sample format is
represented by a 16 bits signed integer arranged as little
endian.
*/
text: qsTr("Sample Format")
}
ComboBox {
id: cbxSampleFormats
Accessible.description: txtSampleFormat.text
model: ListModel { }
textRole: "description"
Layout.columnSpan: 2
Layout.fillWidth: true
function reset()
{
var supportedFormats =
audioLayer.supportedFormatsVariant(deviceOptions.device)
let caps =
AkAudioCaps.create(audioLayer.preferredFormat(deviceOptions.device))
currentIndex =
bound(0,
supportedFormats.indexOf(caps.format),
model.count - 1)
}
}
Label {
id: txtChannelLayouts
text: qsTr("Channels")
}
ComboBox {
id: cbxChannelLayouts
Accessible.description: txtChannelLayouts.text
model: ListModel { }
textRole: "description"
Layout.columnSpan: 2
Layout.fillWidth: true
function reset()
{
var supportedChannelLayouts =
audioLayer.supportedChannelLayoutsVariant(deviceOptions.device)
let caps =
AkAudioCaps.create(audioLayer.preferredFormat(deviceOptions.device))
currentIndex =
bound(0,
supportedChannelLayouts.indexOf(caps.layout),
model.count - 1)
}
}
Label {
id: txtSampleRate
//: Number of audio samples per channel to be played per second.
text: qsTr("Sample Rate")
}
ComboBox {
id: cbxSampleRates
Accessible.description: txtSampleRate.text
model: ListModel { }
textRole: "description"
Layout.columnSpan: 2
Layout.fillWidth: true
function reset()
{
var supportedSampleRates =
audioLayer.supportedSampleRates(deviceOptions.device)
let caps =
AkAudioCaps.create(audioLayer.preferredFormat(deviceOptions.device))
currentIndex =
bound(0,
supportedSampleRates.indexOf(caps.rate),
model.count - 1)
}
}
Label {
id: txtLatency
/*: The latency is the amount of accumulated audio ready to
play, measured in time.
Higher latency == smoother audio playback, but more
desynchronization with the video.
Lowerer latency == audio synchronization near to the video,
but glitchy audio playback.
https://en.wikipedia.org/wiki/Latency_(audio)
*/
text: qsTr("Latency (ms)")
}
Slider {
id: sldLatency
stepSize: 1
from: 1
to: 2048
Layout.fillWidth: true
visible: true
Accessible.name: txtLatency.text
function reset()
{
value = 25
}
onValueChanged: spbLatency.value = value
}
SpinBox {
id: spbLatency
value: sldLatency.value
from: sldLatency.from
to: sldLatency.to
stepSize: sldLatency.stepSize
visible: true
editable: true
Accessible.name: txtLatency.text
onValueModified: sldLatency.value = value
}
}
}
onAccepted: {
let audioCaps = AkAudioCaps.create()
if (cbxSampleFormats.model.count > 0
&& cbxChannelLayouts.model.count > 0
&& cbxSampleRates.model.count > 0) {
let sampleFormatsCI =
bound(0,
cbxSampleFormats.currentIndex,
cbxSampleFormats.model.count - 1)
let channelLayoutsCI =
bound(0,
cbxChannelLayouts.currentIndex,
cbxChannelLayouts.model.count - 1)
let sampleRatesCI =
bound(0,
cbxSampleRates.currentIndex,
cbxSampleRates.model.count - 1)
audioCaps =
AkAudioCaps.create(cbxSampleFormats.model.get(sampleFormatsCI).format,
cbxChannelLayouts.model.get(channelLayoutsCI).layout,
false,
cbxSampleRates.model.get(sampleRatesCI).sampleRate)
}
if (audioLayer.outputs.indexOf(deviceOptions.device) < 0) {
let state = audioLayer.inputState
audioLayer.inputState = AkElement.ElementStateNull
audioLayer.inputDeviceCaps = audioCaps.toVariant()
audioLayer.inputLatency = sldLatency.value
audioLayer.inputState = state
} else {
let state = audioLayer.outputState
audioLayer.outputState = AkElement.ElementStateNull
audioLayer.outputDeviceCaps = audioCaps.toVariant()
audioLayer.outputLatency = sldLatency.value
audioLayer.outputState = state
}
}
onReset: {
cbxSampleFormats.reset()
cbxChannelLayouts.reset()
cbxSampleRates.reset()
sldLatency.reset()
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ScrollView {
id: view
Component.onCompleted: devicesList.update()
onVisibleChanged: devicesList.forceActiveFocus()
Connections {
target: audioLayer
function onInputsChanged()
{
devicesList.update()
}
}
ColumnLayout {
width: view.width
clip: true
Button {
text: qsTr("Configure input")
icon.source: "image://icons/settings"
flat: true
visible: devicesList.count > 0
onClicked: deviceOptions.openOptions(audioLayer.audioInput[0])
}
OptionList {
id: devicesList
Layout.fillWidth: true
Layout.minimumHeight: minHeight
property bool updating: false
property int minHeight: 0
function update() {
devicesList.minHeight = 0
let devices = audioLayer.inputs
for (let i = count - 1; i >= 0; i--)
removeItem(itemAt(i))
let input = audioLayer.audioInput.length < 1?
"":
audioLayer.audioInput[0]
let index = devices.indexOf(input)
if (index < 0) {
if (devices.length == 1)
index = 0
else if (devices.length >= 2)
index = 1
}
updating = true
for (let i in devices) {
let component = Qt.createComponent("AudioDeviceItem.qml")
if (component.status !== Component.Ready)
continue
let obj = component.createObject(devicesList)
obj.text = audioLayer.description(devices[i])
obj.device = devices[i]
obj.highlighted = i == index
devicesList.minHeight += obj.height
obj.Keys.onSpacePressed.connect(() => deviceOptions.openOptions(audioLayer.audioInput[0]))
}
updating = false
setCurrentIndex(index)
}
onCurrentIndexChanged:
if (!updating && itemAt(currentIndex))
audioLayer.audioInput = [itemAt(currentIndex).device]
}
}
AudioDeviceOptions {
id: deviceOptions
anchors.centerIn: Overlay.overlay
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ColumnLayout {
TabBar {
id: tabBar
Layout.fillWidth: true
TabButton {
text: qsTr("Outputs")
}
TabButton {
text: qsTr("Sources")
}
}
StackLayout {
id: stack
Layout.fillWidth: true
Layout.fillHeight: true
currentIndex: tabBar.currentIndex
clip: true
AudioOutputs {
}
AudioInputs {
}
}
}
... ...
/* Webcamoid, webcam capture application.
* Copyright (C) 2020 Gonzalo Exequiel Pedone
*
* Webcamoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Webcamoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
*
* Web-Site: http://webcamoid.github.io/
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ScrollView {
id: view
Component.onCompleted: devicesList.update()
onVisibleChanged: devicesList.forceActiveFocus()
Connections {
target: audioLayer
function onOutputsChanged()
{
devicesList.update()
}
}
ColumnLayout {
width: view.width
clip: true
Button {
text: qsTr("Configure output")
icon.source: "image://icons/settings"
flat: true
visible: devicesList.count > 0
onClicked: deviceOptions.openOptions(audioLayer.audioOutput)
}
OptionList {
id: devicesList
Layout.fillWidth: true
Layout.minimumHeight: minHeight
property bool updating: false
property int minHeight: 0
function update() {
devicesList.minHeight = 0
let devices = audioLayer.outputs
for (let i = count - 1; i >= 0; i--)
removeItem(itemAt(i))
let index = devices.indexOf(audioLayer.audioOutput)
if (index < 0) {
if (devices.length == 1)
index = 0
else if (devices.length >= 2)
index = 1
}
updating = true
for (let i in devices) {
let component = Qt.createComponent("AudioDeviceItem.qml")
if (component.status !== Component.Ready)
continue
let obj = component.createObject(devicesList)
obj.text = audioLayer.description(devices[i])
obj.device = devices[i]
obj.highlighted = i == index
devicesList.minHeight += obj.height
obj.Keys.onSpacePressed.connect(() => deviceOptions.openOptions(audioLayer.audioOutput))
}
updating = false
setCurrentIndex(index)
}
onCurrentIndexChanged:
if (!updating && itemAt(currentIndex))
audioLayer.audioOutput = itemAt(currentIndex).device
}
}
AudioDeviceOptions {
id: deviceOptions
anchors.centerIn: Overlay.overlay
}
}
... ...