Compare commits

...

No commits in common. "0.1.5.060615" and "main" have entirely different histories.

132 changed files with 16725 additions and 3913 deletions

12
.gitignore vendored
View file

@ -1,8 +1,4 @@
Makefile*
debug/*
object_script*
pipeviz_plugin_import.cpp
pipeviz
*.o
moc_*
src/version_info.h
/target
*.log
src/config.rs
subprojects/*/

296
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,296 @@
include:
- project: "freedesktop/ci-templates" # the project to include from
ref: "34f4ade99434043f88e164933f570301fd18b125" # git ref of that project
file: "/templates/fedora.yml" # the actual file to include
- local: "ci/images_template.yml"
stages:
- prepare
- lint
- test
- release
- deploy
variables:
FDO_UPSTREAM_REPO: "dabrain34/GstPipelineStudio"
GNOME_RUNTIME_IMAGE: "quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master"
WINDOWS_RUST_STABLE_IMAGE: "$CI_REGISTRY_IMAGE/windows:$GST_RS_WIN_IMG_TAG"
WINDOWS_RUST_STABLE_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows:$GST_RS_WIN_IMG_TAG"
# Version and tag for our current container
.fedora:
variables:
FDO_DISTRIBUTION_VERSION: "38"
# Update this to trigger a container rebuild
FDO_DISTRIBUTION_TAG: $GST_RS_FDO_IMG_TAG
before_script:
- source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
# If cargo exists assume we probably will want to update
# the lockfile
#- |
# if command -v cargo; then
# cargo generate-lockfile --color=always
# cargo update --color=always
# fi
build-fedora-container:
extends:
- .fedora # our template job above
- .fdo.container-build@fedora@x86_64 # the CI template
stage: prepare
variables:
# clang-devel: required by rust bindgen
FDO_DISTRIBUTION_PACKAGES: >-
gtk4-devel
clang-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
gstreamer1-plugins-bad-free-devel
ninja-build
pkg-config
python3-devel
python3-pip
python3-setuptools
util-linux
xorg-x11-server-Xvfb
wget
git
flex
bison
FDO_DISTRIBUTION_EXEC: >-
ci/install-rust.sh stable &&
pip3 install meson &&
pip3 install pre-commit
.windows rust docker build:
stage: prepare
variables:
# Unlike the buildah/linux jobs, this file
# needs to be relative to windows-docker/ subdir
# as it makes life easier in the powershell script
#
# We also don't need a CONTEXT_DIR var as its also
# hardcoded to be windows-docker/
DOCKERFILE: "ci/windows-docker/Dockerfile"
GST_UPSTREAM_BRANCH: "1.22"
tags:
- "windows"
- "shell"
- "2022"
script:
# We need to pass an array and to resolve the env vars, so we can't use a variable:
- $DOCKER_BUILD_ARGS = @("--build-arg", "DEFAULT_GST_BRANCH=$GST_UPSTREAM_BRANCH", "--build-arg", "RUST_VERSION=$RUST_VERSION")
- "& ci/windows-docker/container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $RUST_IMAGE $RUST_UPSTREAM_IMAGE $DOCKERFILE"
- |
if (!($?)) {
echo "Failed to build the image"
Exit 1
}
windows rust docker stable:
extends: ".windows rust docker build"
variables:
RUST_IMAGE: $WINDOWS_RUST_STABLE_IMAGE
RUST_UPSTREAM_IMAGE: $WINDOWS_RUST_STABLE_UPSTREAM_IMAGE"]
RUST_VERSION: $GST_RS_STABLE
.msvc2019 build:
stage: test
tags:
- "docker"
- "windows"
- "2022"
windows installer stable:
needs:
- job: "windows rust docker stable"
artifacts: false
image: "$WINDOWS_RUST_STABLE_IMAGE"
extends: ".msvc2019 build"
script:
- rustc --version
- git fetch --tags
- "& ./ci/build_gps.ps1"
- "& ./installer/wix/prepare_gstreamer.ps1"
- "& ./installer/wix/build_installer.ps1"
artifacts:
paths:
- installer/wix/*.msi
expire_in: 10 days
when: "manual"
pre-commit:
stage: "lint"
extends:
- .fedora
- .fdo.distribution-image@fedora
variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
cache:
paths:
- ${PRE_COMMIT_HOME}
script:
- meson setup build
- pre-commit run --all-files
clippy:
extends:
- .fedora
- .fdo.distribution-image@fedora
stage: lint
script:
- meson build
- cargo clippy --version
- cargo clippy --color=always --all-targets -- -D warnings
windows installer release:
extends: "windows installer stable"
stage: release
only:
- flatpak
- tags
artifacts:
paths:
- installer/wix/*.msi
when: "always"
linux release:
extends:
- .fedora
- .fdo.distribution-image@fedora
stage: release
only:
- flatpak
- tags
script:
- meson builddir -Dbuildtype=release
- ninja -C builddir/ dist
artifacts:
paths:
- builddir/meson-dist/*
when: "always"
test-stable:
extends:
- .fedora
- .fdo.distribution-image@fedora
stage: test
script:
- meson build
- rustc --version
- cargo build --color=always --all-targets
- >
xvfb-run -a -s "-screen 0 1024x768x24"
cargo test --color=always
rustdoc:
extends:
- .fedora
- .fdo.distribution-image@fedora
stage: release
only:
- flatpak
- tags
variables:
RUSTDOCFLAGS: "-Dwarnings"
script:
- meson build
- rustdoc --version
- cargo doc --no-deps
dist-package:
extends:
- .fedora
- .fdo.distribution-image@fedora
stage: release
only:
- flatpak
script:
- meson build
- ninja -C build dist
flatpak:
image: $GNOME_RUNTIME_IMAGE
stage: test
variables:
MANIFEST_PATH: "build-aux/org.freedesktop.dabrain34.GstPipelineStudio.Devel.json"
APP_ID: "org.freedesktop.dabrain34.GstPipelineStudio.Devel"
BUNDLE: "gst-pipeline-studio-nightly.flatpak"
script:
- flatpak-builder app ${MANIFEST_PATH}
- flatpak build-export repo app
- flatpak build-bundle repo ${BUNDLE} ${APP_ID}
artifacts:
name: "Flatpak artifacts"
expose_as: "Get Flatpak bundle here"
when: "always"
paths:
- "${BUNDLE}"
expire_in: 14 days
cache:
key: "flatpak"
paths:
- .flatpak-builder/downloads/
- .flatpak-builder/git/
- target/
- target_test/
when: "manual"
macos installer stable:
stage: test
tags:
- gst-macos-13
before_script:
- pip3 install --upgrade pip
# Make sure meson is up to date
- pip3 install -U meson
# Need to install certificates for python
- pip3 install --upgrade certifi
# Another way to install certificates
- open /Applications/Python\ 3.8/Install\ Certificates.command
# Get ninja
- pip3 install -U ninja
script:
# rust toolchain
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- source $HOME/.cargo/env
# brew install
- /bin/bash -c "./installer/macos/brew_setup.sh"
- /bin/bash -c "./installer/macos/deploy_macos.sh"
artifacts:
name: "MacOS installer"
paths:
- installer/**/GstPipelineStudio*.dmg
- installer/**/GstPipelineStudio*.tar.gz
expire_in: 14 days
when: "manual"
macos installer release:
extends: "macos installer stable"
stage: release
only:
- flatpak
- tags
artifacts:
name: "MacOS installer"
paths:
- installer/**/GstPipelineStudio*.dmg
- installer/**/GstPipelineStudio*.tar.gz
when: "always"
pages:
image: ruby:2.7
stage: deploy
script:
- gem install bundler -v 2.4.22
- bundle install
- bundle exec jekyll build -d public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH

View file

@ -0,0 +1,41 @@
### Describe your issue
<!-- a clear and concise summary of the bug. -->
<!-- For any GStreamer usage question, please contact the community using the #gstreamer channel on IRC https://www.oftc.net/ or the mailing list on https://gstreamer.freedesktop.org/lists/ -->
#### Expected Behavior
<!-- What did you expect to happen -->
#### Observed Behavior
<!-- What actually happened -->
#### Setup
- **Operating System:**
- **Device:** Computer / Tablet / Mobile / Virtual Machine <!-- Delete as appropriate !-->
- **Flatpak:** Yes/No
- **GstPipelineStudio version:**
- **GStreamer Version:**
### Steps to reproduce the bug
<!-- please fill in exact steps which reproduce the bug on your system, for example: -->
1. open terminal
2. type `command`
### How reproducible is the bug?
<!-- The reproducibility of the bug is Always/Intermittent/Only once after doing a very specific set of steps-->
### Screenshots if relevant
### Solutions you have tried
### Related non-duplicate issues
### Additional Information
<!-- Any other information such as logs. Make use of <details> for long output -->

View file

@ -0,0 +1,41 @@
### Describe your issue
<!-- a clear and concise summary of the bug. -->
<!-- For any GStreamer usage question, please contact the community using the #gstreamer channel on IRC https://www.oftc.net/ or the mailing list on https://gstreamer.freedesktop.org/lists/ -->
#### Expected Behavior
<!-- What did you expect to happen -->
#### Observed Behavior
<!-- What actually happened -->
#### Setup
- **Operating System:**
- **Device:** Computer / Tablet / Mobile / Virtual Machine <!-- Delete as appropriate !-->
- **Flatpak:** Yes/No
- **GstPipelineStudio version:**
- **GStreamer Version:**
### Steps to reproduce the bug
<!-- please fill in exact steps which reproduce the bug on your system, for example: -->
1. open terminal
2. type `command`
### How reproducible is the bug?
<!-- The reproducibility of the bug is Always/Intermittent/Only once after doing a very specific set of steps-->
### Screenshots if relevant
### Solutions you have tried
### Related non-duplicate issues
### Additional Information
<!-- Any other information such as logs. Make use of <details> for long output -->

View file

@ -0,0 +1,12 @@
### Describe your RFC
<!-- a clear and concise summary of the RFC. -->
<!-- For any GStreamer usage question, please contact the community using the #gstreamer channel on IRC https://www.oftc.net/ or the mailing list on https://gstreamer.freedesktop.org/lists/ -->
#### Expected Behavior
<!-- What did you expect to happen -->
### Related non-duplicate issues
### Additional Information

29
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,29 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.11
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/crate-ci/typos
rev: v1.17.0
hooks:
- id: typos
exclude: '^$|\.svg$'
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt

1798
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

35
Cargo.toml Normal file
View file

@ -0,0 +1,35 @@
[package]
name = "gst-pipeline-studio"
version = "0.3.5"
edition = "2018"
rust-version = "1.70.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gtk = { version = "0.8.2", package = "gtk4" }
gst = { package = "gstreamer", version = "0.22.2" }
gst-plugin-gtk4 = { version = "0.12.1", optional=true }
anyhow = "1"
log = "0.4.11"
once_cell = "1.7.2"
xml-rs = "0.8.4"
serde = "1.0"
serde_any = "0.5"
simplelog = "0.11.2"
futures-channel = "0.3"
lazy_static = "1.4"
chrono = "0.4"
structopt = "0.3"
async-channel = "2.0.0"
[dev-dependencies]
futures-executor = "0.3"
[features]
default = ["gtk4-plugin"]
gtk4-plugin = ["gst-plugin-gtk4"]
[profile.release]
strip = "debuginfo"

127
ChangeLog.md Normal file
View file

@ -0,0 +1,127 @@
## 0.1.0
- [x] Fix c.fill issue
- [x] Create Element structure with pads and connections
- [x] Get a list of GStreamer elements in dialog add plugin
- [x] Add plugin details in the element dialog
- [x] Draw element with its pad
- [x] Be able to move the element on Screen
- [x] Create connection between element
- [x] create contextual menu on pad or element
- [x] save/load pipeline
- [x] Run a pipeline with GStreamer
- [x] Run the pipeline with GStreamer
- [x] Control the pipeline with GStreamer
- [x] select nodes/links with a Trait Selectable
- [x] be able to remove a link by selecting it
- [x] Connect the logs to the window
- [x] Define the license
- [x] crash with x11 on contextual menu
- [x] open multiple times dialog (About) prevent to close it.
- [x] remove useless code from graphview
- [x] Move render to a specific module
- [x] Move GST render to a specific module
## 0.2.0
### Graphview
- [x] Remove a port from a node when its possible (Presence support)
- [x] Implement graphview unit test
- [x] Add a css class for pad (presence always or sometimes)
- [x] Add properties to Port to store some specific value (ie Caps)
- [x] Unable to connect a port which is already connected
- [x] Unable to connect port with same directions (in/in, out/out)
### GStreamer:
- [x] Add seek support
- [x] Use of gtk4paintablesink
### app
- [x] Check that a node accepts to create a port on request (input/output)
- [x] Render the parse launch line in a message box
- [x] Prevent to create a pad in an element without the template
- [x] Check the pipeline validity
- [x] Save node position in XML
- [x] Auto-save the graph
- [x] Logger in file/app all over the app
- [x] Property window in the main window
- [x] Connect the GPS status to GST status
- [x] Display position and duration
- [x] Seek to position with slider
- [x] One listbox with elements and one listbox with favorites in the app dashboard
- [x] See the link creation with a dashed line
- [x] Display pad properties with tooltip hover
- [x] Add preferences dialog
- [x] Create a window for the video output
### infra
- [x] Icon install
- [x] Flatpak infrastructure
## 0.2.1
### app
- [x] Can set pad properties to be used during the pipeline generation. See videomixer_alpha.xml
- [x] Support gtk4paintablesink with playbin
- [x] Display a pipeline properties dialog (list elements)
## 0.2.2
### app
- [x] Remove quit as it's unnecessary with close button
- [x] Remove the close button in dialogs (properties etc.)
- [x] Unable to use flags in playbin3
- [x] the desktop icon execs gps_pipeline_studio
- [x] move burger menu on the right
### Graphview
- [x] Update node description on property removal
## 0.3.0
### CI/Infra
- [x] Create a macos installer
- [x] Create a windows installer
### Graphview
- [x] set/get the file format version
### GStreamer
- [x] Display GStreamer version in the about dialog
## 0.3.1
### app
- [x] Add multiple graphviews with tabs.
- [x] handle the caps setter element
## 0.3.2
### app
- [x] check that element exists before creating it on file load.
## 0.3.3
### app
- [x] Fix MacOs GTK runtime dependencies
- [x] Fix the maximize call with MacOS
- [x] Fix the default size at GTK save/load state
## 0.3.4
### app
- [x] Fix first run when application folder has not been created, fixes #23
- [x] Fix windows installer to bring share folder and let filesrc work properly, fixes #24
## 0.3.5
### app
- [x] logs: receive multiple log sources such as GST logs and messages.
- [x] settings: add a log level selection
- [x] rename gst_pipeline_studio to gst-pipeline-studio
- [x] can open a pipeline from the command line

3
Gemfile Normal file
View file

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "jekyll"

856
LICENSE
View file

@ -1,301 +1,642 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
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 licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
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
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
this service 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.
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 make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
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 give the recipients all the rights that
you have. 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.
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.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
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.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
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.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
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.
The precise terms and conditions for copying, distribution and
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.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
TERMS AND CONDITIONS
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
0. Definitions.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
"This License" refers to version 3 of the GNU General Public License.
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
"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.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
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) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
A "covered work" means either the unmodified Program or a work based
on the Program.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
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.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
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.
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
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.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
1. Source Code.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
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.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
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.
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
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.
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
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.
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
The Corresponding Source for a work in source code form is that
same work.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
2. Basic Permissions.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
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.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
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.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
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.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
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
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
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.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
13. Use with the GNU Affero General Public License.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
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.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
14. Revised Versions of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
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 a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
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.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
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.
NO WARRANTY
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.
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
15. Disclaimer of Warranty.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE 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.
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
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 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
convey the exclusion of warranty; and each file should have at least
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.
{description}
Copyright (C) {year} {fullname}
<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
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 2 of the License, or
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,
@ -303,38 +644,31 @@ the "copyright" line and a pointer to where the full notice is found.
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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
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 is interactive, make it output a short notice like this
when it starts in an interactive mode:
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
<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, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
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 your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
{signature of Ty Coon}, 1 April 1989
Ty Coon, President of Vice
This 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.
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>.

84
README.md Normal file
View file

@ -0,0 +1,84 @@
# [GstPipelineStudio](https://dabrain34.pages.freedesktop.org/GstPipelineStudio): Draw your own GStreamer pipeline ...
## Important
Until version 1.0, this software should be considered as **unstable**.
The settings moreover the graph file format might change over the development phase.
## Description
GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. From a first step in the framework with a simple pipeline to a complex pipeline debugging, the tool provides a friendly interface to add elements to a pipeline and debug it.
![alt tag](data/screenshots/gps_screenshot.png)
## Setup
Install the Rust toolchain via `rustup`
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Check https://rustup.rs for alternative installation options.
### Ubuntu/Debian/etc
```sh
apt install python3-pip ninja-build pkg-config
pip3 install --user meson
apt install libgtk-4-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
```
### Fedora/RedHat/SuSE/etc
```sh
dnf install python3-pip ninja-build pkgconfig
pip3 install meson
dnf install gtk4-devel gstreamer1-devel gstreamer1-plugins-base-devel python3-pip ninja-build pkgconfig
```
### MacOS
```sh
brew install gtk4
brew install gstreamer gst-plugins-base gst-plugins-bad
```
## Getting started
```sh
$ meson builddir -Dbuildtype=release
$ ninja -C builddir
$ ./builddir/target/release/gst-pipeline-studio
```
## Flatpak
The application is also available on [Flathub](https://flathub.org/apps/details/org.freedesktop.dabrain34.GstPipelineStudio).
## License
GstPipelineStudio is distributed under the terms of the GPL3 license.
See LICENSE for more information.
## Credits
GstPipelineStudio wouldn't exist without free and open-source software such as
GLib, GStreamer, GTK and many more.
This project has been also possible thanks to amazing projects such as:
- [pipeviz](https://github.com/virinext/pipeviz)
- [helvum](https://gitlab.freedesktop.org/ryuukyu/helvum)
## Contributing
Every contribution is greatly appreciated! You will just need a [gitlib account](https://gitlab.freedesktop.org/users/sign_in?redirect_to_referer=yes). [Fork](https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html) this repo, [clone](http://git-scm.com/docs/git-clone) your fork, create a [feature branch](https://www.google.com/search?q=git+feature+branches), [commit](http://git-scm.com/docs/git-commit), [push](http://git-scm.com/docs/git-push) and submit a [merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html).
Submit any suggestions, questions or bugs to the [Issue Tracker](https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/issues/).
## Troubleshooting
Interface is not clean: rm ~/.config/org.freedesktop.dabrain34.GstPipelineStudio/settings.toml

34
TODO.md Normal file
View file

@ -0,0 +1,34 @@
## TODO
### Graphview
- [ ] create a crate for graphview/node/port
### GStreamer:
- [ ] Implement pipeline unit test
### app
- [ ] Control the connection between element
- [ ] unable to connect element with incompatible caps.
- [ ] Implement graph dot render/load
- [ ] Add probes on each pad to monitor the pipeline
- [ ] Render a media file
- [ ] Offer compatible element to a pad (autorender)
- [ ] Display tags/meta/message detected
- [ ] Change TreeView to ListView
- [ ] Implement zoom on the view (https://gitlab.gnome.org/World/obfuscate/-/blob/master/src/widgets/drawing_area.rs)
- [ ] reopen the last log on prematured exit (crash)
- [ ] Play/pause should be prevented until the pipeline is ready
- [ ] Filter the elements by class/rank etc.
- [ ] double click on node/pad open the properties
## bugs
- [ ] Combo box is not well selected if the value is not linear such as flags. See flags in playbin
- [ ] opening a graph file can lead a different behavior in the pipeline. See videomixer graph where the zorder
on pads is not correctly set to right one.

1
VERSION Normal file
View file

@ -0,0 +1 @@
0.3.5

45
build-aux/cargo.py Executable file
View file

@ -0,0 +1,45 @@
#!/usr/bin/env python3
import sys
import subprocess
import os
import shutil
env = os.environ
MESON_BUILD_ROOT = sys.argv[1]
MESON_SOURCE_ROOT = sys.argv[2]
CARGO_TARGET_DIR = os.path.join(MESON_BUILD_ROOT, "target")
env["CARGO_TARGET_DIR"] = CARGO_TARGET_DIR
env["CARGO_HOME"] = os.path.join(CARGO_TARGET_DIR, "cargo-home")
OUTPUT = sys.argv[3]
BUILDTYPE = sys.argv[4]
APP_BIN = sys.argv[5]
env["PKG_CONFIG_PATH"] = (
os.path.join(MESON_BUILD_ROOT, "meson-uninstalled")
+ os.pathsep
+ env.get("PKG_CONFIG_PATH", "")
)
if BUILDTYPE == "release":
print("RELEASE MODE")
CMD = [
"cargo",
"build",
"--manifest-path",
os.path.join(MESON_SOURCE_ROOT, "Cargo.toml"),
"--release",
]
subprocess.run(CMD, env=env)
shutil.copy2(os.path.join(CARGO_TARGET_DIR, "release", APP_BIN), OUTPUT)
else:
print("DEBUG MODE")
CMD = [
"cargo",
"build",
"--manifest-path",
os.path.join(MESON_SOURCE_ROOT, "Cargo.toml"),
]
subprocess.run(CMD, env=env)
shutil.copy2(os.path.join(CARGO_TARGET_DIR, "debug", APP_BIN), OUTPUT)

9
build-aux/dist-vendor.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
export SOURCE_ROOT="$1"
export DIST="$2"
cd "$SOURCE_ROOT"
mkdir "$DIST"/.cargo
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
# Move vendor into dist tarball directory
mv vendor "$DIST"

View file

@ -0,0 +1,19 @@
#!/usr/bin/env python3
from os import environ, path
from subprocess import call
prefix = environ.get("MESON_INSTALL_PREFIX", "/usr/local")
datadir = path.join(prefix, "share")
destdir = environ.get("DESTDIR", "")
# Package managers set this so we don't need to run
if not destdir:
print("Updating icon cache...")
call(["gtk-update-icon-cache", "-qtf", path.join(datadir, "icons", "hicolor")])
print("Updating desktop database...")
call(["update-desktop-database", "-q", path.join(datadir, "applications")])
print("Compiling GSettings schemas...")
call(["glib-compile-schemas", path.join(datadir, "glib-2.0", "schemas")])

View file

@ -0,0 +1,62 @@
{
"app-id": "org.freedesktop.dabrain34.GstPipelineStudio.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "gst-pipeline-studio",
"finish-args": [
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--share=ipc",
"--share=network",
"--filesystem=home",
"--env=G_MESSAGES_DEBUG=none",
"--env=RUST_BACKTRACE=1"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"build-args": [
"--share=network"
],
"test-args": [
"--socket=x11",
"--share=network"
]
},
"modules": [
{
"name": "gstreamer",
"buildsystem": "meson",
"builddir": true,
"config-opts": [
"-Ddoc=disabled"
],
"sources": [
{
"type": "git",
"tag": "1.22",
"url": "https://gitlab.freedesktop.org/gstreamer/gstreamer.git",
"disable-submodules": true
}
]
},
{
"name": "gst-pipeline-studio",
"buildsystem": "meson",
"run-tests": true,
"config-opts": [
"-Dprofile=development"
],
"sources": [
{
"type": "dir",
"path": "../"
}
]
}
]
}

6
ci/build_gps.ps1 Normal file
View file

@ -0,0 +1,6 @@
$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release"
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install"
if (!$?) {
Write-Host "Failed to build and install GstPipelineStudio"
Exit 1
}

3
ci/env.sh Normal file
View file

@ -0,0 +1,3 @@
export RUSTUP_HOME='/usr/local/rustup'
export PATH=$PATH:/usr/local/cargo/bin
export CARGO_HOME='/usr/local/cargo'

4
ci/images_template.yml Normal file
View file

@ -0,0 +1,4 @@
variables:
GST_RS_WIN_IMG_TAG: "2023-12-22.0"
GST_RS_FDO_IMG_TAG: "2024-01-05.0"
GST_RS_STABLE: "1.70.0"

25
ci/install-rust.sh Executable file
View file

@ -0,0 +1,25 @@
source ./ci/env.sh
RUSTUP_VERSION=1.26.0
RUST_VERSION=$1
RUST_ARCH="x86_64-unknown-linux-gnu"
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
wget $RUSTUP_URL
chmod +x rustup-init;
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION;
rm rustup-init;
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
rustup --version
cargo --version
rustc --version
rustup component add clippy-preview
rustup component add rustfmt
cargo install --force cargo-audit
cargo install --force cargo-outdated
# fetch project deps
cargo fetch

View file

@ -0,0 +1,27 @@
# escape=`
FROM "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2023-08-24.0-main"
# Make sure any failure in PowerShell is fatal
ENV ErrorActionPreference='Stop'
SHELL ["powershell","-NoLogo", "-NonInteractive", "-Command"]
ARG DEFAULT_GST_BRANCH="1.22"
ARG DEFAULT_GTK_BRANCH="4.8.2"
ARG RUST_VERSION="invalid"
RUN choco install -y pkgconfiglite nasm llvm
# https://stackoverflow.com/a/50716450
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin;c:\Program Files\gettext-iconv\bin'
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
COPY install_gst.ps1 install_gtk.ps1 C:\
RUN C:\install_gst.ps1
RUN C:\install_gtk.ps1
RUN Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile C:\rustup-init.exe
RUN C:\rustup-init.exe -y --profile minimal --default-toolchain $env:RUST_VERSION
RUN Invoke-WebRequest -Uri https://github.com/mlocati/gettext-iconv-windows/releases/download/v0.21-v1.16/gettext0.21-iconv1.16-shared-64.exe -OutFile C:\gettext0.21.exe
RUN C:\gettext0.21.exe /SILENT

View file

@ -0,0 +1,60 @@
# Copied from mesa, big kudos
#
# https://gitlab.freedesktop.org/mesa/mesa/-/blob/master/.gitlab-ci/windows/mesa_container.ps1
# https://gitlab.freedesktop.org/mesa/mesa/-/blob/34e3e164936d1d3cef267da7780e87f062fedf39/.gitlab-ci/windows/mesa_container.ps1
# Implements the equivalent of ci-templates container-ifnot-exists, using
# Docker directly as we don't have buildah/podman/skopeo available under
# Windows, nor can we execute Docker-in-Docker
$registry_uri = $args[0]
$registry_username = $args[1]
$registry_password = $args[2]
$registry_user_image = $args[3]
$registry_central_image = $args[4]
$dockerfile = $args[5]
docker --config "windows-docker.conf" login -u "$registry_username" -p "$registry_password" "$registry_uri"
if (!$?) {
Write-Host "docker login failed to $registry_uri"
Exit 1
}
# if the image already exists, don't rebuild it
docker --config "windows-docker.conf" pull "$registry_user_image"
if ($?) {
Write-Host "User image $registry_user_image already exists; not rebuilding"
docker --config "windows-docker.conf" logout "$registry_uri"
Exit 0
}
# if the image already exists upstream, copy it
docker --config "windows-docker.conf" pull "$registry_central_image"
if ($?) {
Write-Host "Copying central image $registry_central_image to user image $registry_user_image"
docker --config "windows-docker.conf" tag "$registry_central_image" "$registry_user_image"
docker --config "windows-docker.conf" push "$registry_user_image"
$pushstatus = $?
docker --config "windows-docker.conf" logout "$registry_uri"
if (!$pushstatus) {
Write-Host "Pushing image to $registry_user_image failed"
Exit 1
}
Exit 0
}
Write-Host "No image found at $registry_user_image or $registry_central_image; rebuilding"
docker --config "windows-docker.conf" build $DOCKER_BUILD_ARGS --no-cache -t "$registry_user_image" -f "$dockerfile" "./ci/windows-docker"
if (!$?) {
Write-Host "Container build failed"
docker --config "windows-docker.conf" logout "$registry_uri"
Exit 1
}
Get-Date
docker --config "windows-docker.conf" push "$registry_user_image"
$pushstatus = $?
docker --config "windows-docker.conf" logout "$registry_uri"
if (!$pushstatus) {
Write-Host "Pushing image to $registry_user_image failed"
Exit 1
}

View file

@ -0,0 +1,62 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
# Download gstreamer and all its subprojects
git clone -b $env:DEFAULT_GST_BRANCH --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git C:\gstreamer
if (!$?) {
Write-Host "Failed to clone gstreamer"
Exit 1
}
Set-Location C:\gstreamer
# Copy the cache we already have in the image to avoid massive redownloads
Move-Item C:/subprojects/* C:\gstreamer\subprojects
if (!$?) {
Write-Host "Failed to copy subprojects cache"
Exit 1
}
# Update the subprojects cache
Write-Output "Running meson subproject reset"
meson subprojects update --reset
if (!$?) {
Write-Host "Failed to reset subprojects state"
Exit 1
}
$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release " +
"-Dglib:installed_tests=false " +
"-Dlibnice:tests=disabled " +
"-Dlibnice:examples=disabled " +
"-Dffmpeg:tests=disabled " +
"-Dopenh264:tests=disabled " +
"-Dpygobject:tests=false " +
"-Dugly=enabled " +
"-Dbad=enabled " +
"-Dges=enabled " +
"-Drtsp_server=enabled " +
"-Ddevtools=enabled " +
"-Dsharp=disabled " +
"-Dpython=disabled " +
"-Dlibav=disabled " +
"-Dvaapi=disabled " +
"-Dgst-plugins-base:pango=enabled " +
"-Dgst-plugins-good:cairo=enabled " +
"-Dgpl=enabled "
Write-Output "Building gst"
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install"
if (!$?) {
Write-Host "Failed to build and install gst"
Exit 1
}
cd C:\
cmd /c rmdir /s /q C:\gstreamer
if (!$?) {
Write-Host "Failed to remove gst checkout"
Exit 1
}

View file

@ -0,0 +1,27 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
$env:MESON_ARGS = "--prefix=C:\gst-install\ -Dbuildtype=release"
# Download gtk and all its subprojects
git clone -b $env:DEFAULT_GTK_BRANCH --depth 1 https://gitlab.gnome.org/gnome/gtk.git C:\gtk
if (!$?) {
Write-Host "Failed to clone gtk"
Exit 1
}
Set-Location C:\gtk
Write-Output "Building gtk"
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install"
if (!$?) {
Write-Host "Failed to build and install gtk"
Exit 1
}
cd C:\
cmd /c rmdir /s /q C:\gtk
if (!$?) {
Write-Host "Failed to remove gtk checkout"
Exit 1
}

View file

@ -0,0 +1,27 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
$env:MESON_ARGS = "--prefix=C:\gst-install\ --wrap-mode=forcefallback"
# Download pango all its subprojects
git clone -b $env:DEFAULT_PANGO_BRANCH --depth 1 https://gitlab.gnome.org/gnome/pango.git C:\pango
if (!$?) {
Write-Host "Failed to clone pango"
Exit 1
}
Set-Location C:\pango
Write-Output "Building pango"
cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson _build $env:MESON_ARGS && meson compile -C _build && ninja -C _build install"
if (!$?) {
Write-Host "Failed to build and install pango"
Exit 1
}
cd C:\
cmd /c rmdir /s /q C:\pango
if (!$?) {
Write-Host "Failed to remove gtk checkout"
Exit 1
}

573
data/css/style.css Normal file
View file

@ -0,0 +1,573 @@
/*
GstPipelineStudio Website
====================
shamelessly stolen CSS from Pipewire
*/
/* GNOME Color Palette */
:root {
--rounded-corner: 12px;
--blue1: rgb(153, 193, 241);
--blue2: rgb(98, 160, 234);
--blue3: rgb(53, 132, 228);
--blue4: rgb(28, 113, 216);
--blue5: rgb(26, 95, 180);
--green1: rgb(143, 240, 164);
--green2: rgb(87, 227, 137);
--green3: rgb(51, 209, 122);
--green4: rgb(46, 194, 126);
--green5: rgb(38, 162, 105);
--yellow1: rgb(249, 240, 107);
--yellow2: rgb(248, 228, 92);
--yellow3: rgb(246, 211, 45);
--yellow4: rgb(245, 194, 17);
--yellow5: rgb(229, 165, 10);
--orange1: rgb(255, 190, 111);
--orange2: rgb(255, 163, 72);
--orange3: rgb(255, 120, 0);
--orange4: rgb(230, 97, 0);
--orange5: rgb(198, 70, 0);
--red1: rgb(246, 97, 81);
--red2: rgb(237, 51, 59);
--red3: rgb(224, 27, 36);
--red4: rgb(192, 28, 40);
--red5: rgb(165, 29, 45);
--purple1: rgb(220, 138, 221);
--purple2: rgb(192, 97, 203);
--purple3: rgb(145, 65, 172);
--purple4: rgb(129, 61, 156);
--purple5: rgb(97, 53, 131);
--brown1: rgb(205, 171, 143);
--brown2: rgb(181, 131, 90);
--brown3: rgb(152, 106, 68);
--brown4: rgb(134, 94, 60);
--brown5: rgb(99, 69, 44);
--light1: rgb(255, 255, 255);
--light2: rgb(246, 245, 244);
--light3: rgb(222, 221, 218);
--light4: rgb(192, 191, 188);
--light5: rgb(154, 153, 150);
--dark1: rgb(119, 118, 123);
--dark2: rgb(94, 92, 100);
--dark3: rgb(61, 56, 70);
--dark4: rgb(36, 31, 49);
--dark5: rgb(0, 0, 0);
--primary-color: var(--blue5);
/* Set your project color */
--borders: var(--light3);
}
/* Typography */
@font-face {
font-family: 'Inter Var';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("fonts/Inter.var.woff2?v=3.19") format("woff2");
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
font-size: 16px;
font-family: "Inter Var", sans-serif;
font-weight: 400;
line-height: 1.6;
}
body {
color: #241f31;
background-color: #f6f5f4;
min-height: 100vh;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 2rem 0 -6px;
font-weight: 600;
line-height: 1.25;
font-variation-settings: "wght" 600;
/* needed for webkit */
}
h1 {
font-size: 30px;
font-weight: 100;
font-style: normal;
margin: 3rem 0 2rem;
}
@media screen and (min-width: 650px) {
h1 {
font-size: 38px;
}
}
h2 {
font-size: 1.2rem;
}
@media (prefers-color-scheme: dark) {
body {
filter: invert(100%) hue-rotate(180deg);
}
html {
background-color: var(--dark5);
}
img,
video,
iframe {
filter: invert(100%) hue-rotate(180deg);
}
}
a {
font-weight: 600;
text-decoration: none;
color: var(--primary-color);
cursor: pointer;
font-variation-settings: "wght" 600;
/* needed for webkit */
}
a:hover {
text-decoration: underline;
}
b {
font-weight: 600;
}
small {
color: #777;
}
hr {
margin: 3rem auto 4rem;
width: 40%;
opacity: 40%;
}
img {
display: block;
margin: 2rem auto;
max-width: 100%;
}
img.full {
width: 100%;
}
img.pixels {
image-rendering: crisp-edges;
/* older firefox browsers */
image-rendering: pixelated;
}
/* Layout */
.container {
width: 80%;
margin-left: auto;
margin-right: auto;
max-width: 720px;
}
/* Singletons */
#logo {
display: block;
width: 35%;
height: 35%;
color: rgba(0, 0, 0, 0);
/* make text transparent */
background: url('../icons/org.freedesktop.dabrain34.GstPipelineStudio.ico') no-repeat center;
padding: 5rem 0 3rem;
margin: 0 auto;
}
.page-logo>img {
margin: 0 auto;
}
@media (prefers-color-scheme: dark) {
a.page-logo {
filter: invert(100%) hue-rotate(180deg);
/* uninvert */
background-image: url('assets/page-logo-i.svg');
}
}
.brand-white {
background-color: #fff;
}
.brand-green {
background-color: #30D475;
}
.brand-black {
background-color: #201A26;
color: white;
}
.page-link::after {
content: " ➜";
}
/* Footer */
footer {
text-align: center;
padding: 3em 0 3em;
font-size: 1em;
margin-top: 4rem;
}
/* Make tables vertically aligned to the top */
tbody td {
vertical-align: top;
}
/* Github Code Highlighting */
.highlight table td {
padding: 5px;
}
.highlight table pre {
margin: 0;
}
.highlight .cm {
color: #999988;
font-style: italic;
}
.highlight .cp {
color: #999999;
font-weight: bold;
}
.highlight .c1 {
color: #999988;
font-style: italic;
}
.highlight .cs {
color: #999999;
font-weight: bold;
font-style: italic;
}
.highlight .c,
.highlight .ch,
.highlight .cd,
.highlight .cpf {
color: #999988;
font-style: italic;
}
.highlight .err {
color: #a61717;
background-color: #e3d2d2;
}
.highlight .gd {
color: #000000;
background-color: #ffdddd;
}
.highlight .ge {
color: #000000;
font-style: italic;
}
.highlight .gr {
color: #aa0000;
}
.highlight .gh {
color: #999999;
}
.highlight .gi {
color: #000000;
background-color: #ddffdd;
}
.highlight .go {
color: #888888;
}
.highlight .gp {
color: #555555;
}
.highlight .gs {
font-weight: bold;
}
.highlight .gu {
color: #aaaaaa;
}
.highlight .gt {
color: #aa0000;
}
.highlight .kc {
color: #000000;
font-weight: bold;
}
.highlight .kd {
color: #000000;
font-weight: bold;
}
.highlight .kn {
color: #000000;
font-weight: bold;
}
.highlight .kp {
color: #000000;
font-weight: bold;
}
.highlight .kr {
color: #000000;
font-weight: bold;
}
.highlight .kt {
color: #445588;
font-weight: bold;
}
.highlight .k,
.highlight .kv {
color: #000000;
font-weight: bold;
}
.highlight .mf {
color: #009999;
}
.highlight .mh {
color: #009999;
}
.highlight .il {
color: #009999;
}
.highlight .mi {
color: #009999;
}
.highlight .mo {
color: #009999;
}
.highlight .m,
.highlight .mb,
.highlight .mx {
color: #009999;
}
.highlight .sb {
color: #d14;
}
.highlight .sc {
color: #d14;
}
.highlight .sd {
color: #d14;
}
.highlight .s2 {
color: #d14;
}
.highlight .se {
color: #d14;
}
.highlight .sh {
color: #d14;
}
.highlight .si {
color: #d14;
}
.highlight .sx {
color: #d14;
}
.highlight .sr {
color: #009926;
}
.highlight .s1 {
color: #d14;
}
.highlight .ss {
color: #990073;
}
.highlight .s,
.highlight .sa,
.highlight .dl {
color: #d14;
}
.highlight .na {
color: #008080;
}
.highlight .bp {
color: #999999;
}
.highlight .nb {
color: #0086B3;
}
.highlight .nc {
color: #445588;
font-weight: bold;
}
.highlight .no {
color: #008080;
}
.highlight .nd {
color: #3c5d5d;
font-weight: bold;
}
.highlight .ni {
color: #800080;
}
.highlight .ne {
color: #990000;
font-weight: bold;
}
.highlight .nf,
.highlight .fm {
color: #990000;
font-weight: bold;
}
.highlight .nl {
color: #990000;
font-weight: bold;
}
.highlight .nn {
color: #555555;
}
.highlight .nt {
color: #000080;
}
.highlight .vc {
color: #008080;
}
.highlight .vg {
color: #008080;
}
.highlight .vi {
color: #008080;
}
.highlight .nv,
.highlight .vm {
color: #008080;
}
.highlight .ow {
color: #000000;
font-weight: bold;
}
.highlight .o {
color: #000000;
font-weight: bold;
}
.highlight .w {
color: #bbbbbb;
}
.highlight {
background-color: #f8f8f8;
}
/* Code Blocks */
.highlighter-rouge {
padding: 2px 1rem;
border-radius: 5px;
background-color: white;
overflow: auto;
}
.highlighter-rouge * {
background-color: white;
}
/* Inline Code */
code.highlighter-rouge {
padding: 2px 6px;
background-color: rgba(0, 0, 0, 0.07);
}
/* Buttons */
.dialog-buttons {
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: space-between;
margin-top: 6rem;
}
.inline-button {
display: inline-block;
font-weight: 900;
font-size: 90%;
padding: .4rem 1rem;
border-radius: var(--rounded-corner);
background-color: rgba(0, 0, 0, 0.05);
color: var(--dark5);
}

3
data/icons/AUTHORS Normal file
View file

@ -0,0 +1,3 @@
Designed by Freepik from Flaticon.
https://www.flaticon.com/premium-icon/pipeline_1191012
https://www.flaticon.com/premium-icon/pipeline_1190961

9
data/icons/meson.build Normal file
View file

@ -0,0 +1,9 @@
install_data(
'@0@.svg'.format(application_id),
install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps'
)
install_data(
'@0@-symbolic.svg'.format(base_id),
install_dir: iconsdir / 'hicolor' / 'symbolic' / 'apps',
)

View file

@ -0,0 +1,826 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg53"
width="682.66669"
height="682.66669"
viewBox="0 0 682.66669 682.66669"
sodipodi:docname="pipeline-symbolic.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs57" />
<sodipodi:namedview
id="namedview55"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.133789"
inkscape:cx="341.77434"
inkscape:cy="341.33334"
inkscape:window-width="1920"
inkscape:window-height="983"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="g59" />
<g
inkscape:groupmode="layer"
inkscape:label="Image"
id="g59">
<image
width="682.66669"
height="682.66669"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AABBCXpUWHRSYXcgcHJvZmlsZSB0eXBl
IGV4aWYAAHjarZ1rltw2l2X/cxQ1BBLEczgAAa7VM+jh996ITEm2ZfurqrZsSY6MIEHgPs65rzjW
//0/7/Ff//VfV0opHDGVmlvOJ//EFlvo/KWen3/a/v064/79+5/w9eofXj9+/CDw0s2f9+cHpX/+
vDqvp58f+L7HNf74+lG/fhLq14W+7/x1wds7e6v56yJ5PXxev+LXhdr6/CW3Wn5d6vis83y+3riX
8vXfXT5P8X0R///49YVY2KWZeNcdwrqv+9y/188Kbv8Ld+fPi9+vOwb/5ivpDsd+qXythA35w+P9
3OBfN+jPm399Nvv6/Q/+vPmhf71+/2kv8/ep5d//4Eq/3/y9xb/c+P6xovDHH9R+j788ztd/7zvr
+67P0/WY2dH8JVFbjq7vy/BGLhLv/bHMr8J/ib+X/avxq579fDiceT7n4NdztStwKu9xxWte/Xqv
tf98roclxrBC4c8QnnDv1+pdQgvPPrHor+sN5W73vCvn9oR13Dcvhx9rufZ9277fc1XuPC/eGi4u
du3j/5tfxz/98L/z63jfxy26zvpjr1hXUHJZhifn77yLA7ner3NLe4O/f/1Q2vOXg705wbS3ufKA
/RyfS4x0/ZSte5/zzfsSf3604jrK/LoAW8S9E4u5bk7gzNedrnydJYRyXexj5YA6Kw/oxuAEMENh
ssgQ7zuHo4QavDefKdd+b0ghB1/GNnEQ6c534Wza3TmsGBPyU2JFhnq6U8So5VRSPVJLPd855pRz
Llkj18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ACJfMbCAcHXsEjNbl5AA5SDyyxsuJAIagXPc/ZiKjfX7KtTcm8zsXcrlqCnQEUAji4EX
3P206I08gJB34E1ZRnyGCGi244CLq7b4V3Q++gXwO1lCAkDUf/BNcfcRwNrA3oTc6C/KMmIFOgHN
lo3t73rtsnWzoiOA5hICHxKybd0EYGbrEwIM7Rj/XFNWalqeBHZ09zdkCiEkAETjC4KngaeBi6Ig
2Gg5MTCQ6jgZiTSL/+syhRASAKI5BcF0YDrwezMzYJPlBMF2QFdZSYu/EEICQDS2GHBgavycZWZt
gS3ipy/QL/65DrpuqMVfCCEBIBpWECwhxJCfvPz/N7OOwAYriIJln86ynBZ/IYQEgGhMYbAIeCJ+
WEEc9FxBEKwPrAZ0WeHTXpasK9O0+AshJABEnuJgLjAXmPhp/87M2sfdgi6f8elMc11d3QHYUou/
EEICQDSqUPgQ+Ff8iCCKBgM/yWnxf00WFkIoEJAQ5Vz8ryNtUB4t/kIICQAhSrz476XFXwghASBE
cy3+ewPXJl78p2vxF0JIAAhR3sV/H2B8Dov/Dlr8hRASAEKUc/EfosVfCCEBIERzLf77AteQ9kaO
Fn8hhASAECWnC9A28eKvM38hhASAEGXG3ccBPwQ84eL/qiwrhPgsFAhIiOJFwNiQfJEx1J5YaYYW
/5oYZ2bjZAahHQAhRGEiIMNOwAzCmb8WfyGEBIAQTSICtPgLISQAhGgyEaDFXwghASBEk4kALf5C
CAkAIZpMBMjhTwghASBEk4mAmXHxnycLCSEkAIRoDhEwk7Dtr8VfCJEZxQEQogIiwMwWAPdr8RdC
SAAI0Vwi4DpZQQiREh0BCCGEEBIAQgghhJAAEEIIIYQEgBBCCCEkAIQQQghRUf4Xl/CIaCOxndwA
AAAASUVORK5CYII=
"
id="image61" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 60 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View file

@ -0,0 +1,665 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg55"
width="682.66669"
height="682.66669"
viewBox="0 0 682.66669 682.66669"
sodipodi:docname="pipeline.png.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs59" />
<sodipodi:namedview
id="namedview57"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.1733398"
inkscape:cx="341.33334"
inkscape:cy="341.33334"
inkscape:window-width="1920"
inkscape:window-height="1010"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g61" />
<g
inkscape:groupmode="layer"
inkscape:label="Image"
id="g61">
<image
width="682.66669"
height="682.66669"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz
AAALEwAACxMBAJqcGAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURB
VHic7N13nF1VtcDx35qZO30y6b33BoEkkAChhZLQkY4KoliQJj4r5YmgNEERUVHEp4AKKghSg3QC
QSChE5JAeu8kM8n0We+Pc0MS0s49e9977p1Z38/nfhLgnLV3hsycdXZZW1QVEw8R+SFwQ9z9MGk1
W1WHxt0JY4z5rLy4O2CMMcaYzLMEwBhjjGmFLAEwxhhjWiFLAIwxxphWyBIAY4wxphWyBMAYY4xp
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CyCOqWgEMSrwQke4EBwz1T/xpvw3z
17dAf1VdHncixpj0sAIgj6nqDGAG8C8AEdmTTcVAX6BFbMmZdNrY+S+LOxFjTPpYAWC+p6qTgEnA
3xI3/O3LpoLgKKBJjOmZaFjnb0yesgLAbJeqKjA+8XpARAqBHyRePYFeiT93wbYbZivr/I3JY1YA
mKSoajUwOvH6nog0BHZny6Jg46txmtM0ybPO35g8ZwWAcaKqZcCExGsLItKRLQuC7kBzoHirV710
5WsAmIh1/sbkPSsATGRUdQGwABiys/eJSD2C0YKtC4OtX43Jr62r/YCDPce0zt8YA1gBYDJAYnvi
ysTLACIyALjWc9iNnf9Sz3GNMVkonz5NGZMVEp3/K/g9lMc6f2PMFqwAMCaDiMhArPM3xqSBFQDG
ZAgROR34L347/0lY52+M2Q4rAIzJACJyBvAy/jv/ftb5G2O2xwoAY2ImImdinb8xJs2sADAmRiJy
FvASfnfkWOdvjKmVFQDGxKsYKPQYz+b8jTFJsQLAmBip6lPAZYB6CLex81/iIZYxJsdJcOeLMSZO
IvJT4AnCX6w0mWDYP+86fxF5Grg47jxMpAar6sC4k8g1NgJgTAZQ1ScJPxKQt52/MSY8KwCMyRAh
iwDr/I0xoVgBYEwGSbEIsM7fGBOaFQDGZJgkiwDr/I0xTqwAMCYD1VIETMZW+xtjHFkBYEyG2kER
MIWg818cT1bGmFxhBYAxGWyrImAKwbC/df7GGGc+jx81xkRAVZ8UkVLgU+v8jTG+WAFgTBZQ1Vfi
zsEYk1tsCsAYY4zJQ1YAGGOMMXnICgBjjDEmD1kBYIwxxuQhKwCMMcaYPPT/YeEiGGFzUnsAAAAA
SUVORK5CYII=
"
id="image63" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 48 KiB

52
data/meson.build Normal file
View file

@ -0,0 +1,52 @@
subdir('icons')
desktop_conf = configuration_data()
desktop_conf.set('icon', base_id)
desktop_file = configure_file(
input: '@0@.desktop.in'.format(base_id),
output: '@BASENAME@',
configuration: desktop_conf
)
if desktop_file_validate.found()
test(
'validate-desktop',
desktop_file_validate,
args: [
desktop_file
],
)
endif
install_data(
desktop_file,
install_dir: datadir / 'applications'
)
# Appdata
appdata_conf = configuration_data()
appdata_conf.set('app-id', application_id)
appdata_conf.set('gettext-package', gettext_package)
appdata_conf.set('version', version)
appdata_conf.set('current_date', current_date)
appdata_file = i18n.merge_file (
input: configure_file(
input: '@0@.appdata.xml.in.in'.format(base_id),
output: '@BASENAME@',
configuration: appdata_conf
),
output: '@0@.appdata.xml'.format(application_id),
po_dir: podir,
install: true,
install_dir: datadir / 'metainfo'
)
# Validate Appdata
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
'validate-relax', '--nonet', appdata_file.full_path()
]
)
endif

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Stephane Cerveau 2022 <scerveau@collabora.com -->
<component type="desktop-application">
<id>@app-id@</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>GstPipelineStudio</name>
<summary>Draw your own GStreamer pipeline...</summary>
<description>
<p>GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. From a first step in the framework with a simple pipeline to a complex pipeline debugging, the tool provides a friendly interface to add elements to a pipeline and debug it.</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/raw/main/data/screenshots/gps_screenshot.png</image>
<caption>Composition</caption>
</screenshot>
</screenshots>
<url type="homepage">https://dabrain34.pages.freedesktop.org/GstPipelineStudio</url>
<url type="bugtracker">https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/issues</url>
<categories>
<category>Audio</category>
<category>Video</category>
<category>Development</category>
</categories>
<developer_name>Stéphane Cerveau</developer_name>
<update_contact>scerveau@collabora.com</update_contact>
<translation type="gettext">@gettext-package@</translation>
<launchable type="desktop-id">@app-id@.desktop</launchable>
<releases>
<release version="@version@" date="@current_date@">
<description>
<p>Welcome to GstPipelineStudio</p>
<ul>
<li>logs: receive multiple log sources such as GST logs and messages.</li>
<li>settings: add a log level selection</li>
<li>rename gst_pipeline_studio to gst-pipeline-studio</li>
<li>can open a pipeline from the command line</li>
</ul>
</description>
</release>
</releases>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
</component>

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=GstPipelineStudio
GenericName=GPS
Comment=A GUI for GStreamer
Type=Application
Exec=gst-pipeline-studio
Terminal=false
Categories=AudioVideo;Audio;Video;Midi;Settings;GNOME;GTK;
Icon=@icon@

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

50
graphs/compositor_tee.xml Normal file
View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<Graph id="0">
<Node name="timeoverlay" id="9" type="Transform" pos_x="1023.9133" pos_y="320.11438">
<Port name="out" id="17" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
<Port name="in" id="16" direction="Input" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
</Node>
<Node name="queue" id="7" type="Transform" pos_x="914.41705" pos_y="30.562256">
<Port name="in" id="12" direction="Input" presence="Always" />
<Port name="out" id="13" direction="Output" presence="Always" />
</Node>
<Node name="autovideosink" id="6" type="Sink" pos_x="1285.3186" pos_y="319.52695">
<Port name="in" id="11" direction="Input" presence="Always" />
</Node>
<Node name="tee" id="5" type="Transform" pos_x="608.34827" pos_y="154.6546">
<Port name="in" id="7" direction="Input" presence="Sometimes" />
<Port name="out" id="10" direction="Output" presence="Sometimes" />
<Port name="in" id="9" direction="Input" presence="Sometimes" />
<Port name="out" id="8" direction="Output" presence="Sometimes" />
</Node>
<Node name="autovideosink" id="4" type="Sink" pos_x="1280.4825" pos_y="49.803894">
<Port name="in" id="6" direction="Input" presence="Always" />
</Node>
<Node name="videotestsrc" id="2" type="Source" pos_x="24.348145" pos_y="316.96716">
<Port name="out" id="2" direction="Output" presence="Always" />
</Node>
<Node name="videotestsrc" id="1" type="Source" pos_x="-13.714172" pos_y="38.73665">
<Port name="out" id="1" direction="Output" presence="Always" />
</Node>
<Node name="compositor" id="3" type="Transform" pos_x="374.61694" pos_y="158.55254">
<Port name="in" id="5" direction="Input" presence="Sometimes" />
<Port name="out" id="3" direction="Output" presence="Sometimes" />
<Port name="in" id="4" direction="Input" presence="Sometimes" />
</Node>
<Node name="queue" id="8" type="Transform" pos_x="808.4496" pos_y="307.0086">
<Port name="in" id="14" direction="Input" presence="Always" />
<Port name="out" id="15" direction="Output" presence="Always" />
</Node>
<Link id="4" node_from="3" node_to="5" port_from="3" port_to="7" active="true" />
<Link id="10" node_from="5" node_to="8" port_from="10" port_to="14" active="true" />
<Link id="2" node_from="2" node_to="3" port_from="2" port_to="5" active="true" />
<Link id="8" node_from="7" node_to="4" port_from="13" port_to="6" active="true" />
<Link id="12" node_from="8" node_to="9" port_from="15" port_to="16" active="true" />
<Link id="1" node_from="1" node_to="3" port_from="1" port_to="4" active="true" />
<Link id="7" node_from="5" node_to="7" port_from="8" port_to="12" active="true" />
<Link id="13" node_from="9" node_to="6" port_from="17" port_to="11" active="true" />
</Graph>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Graph id="0">
<Node name="playbin3" id="1" type="Source" pos_x="330.09708" pos_y="140.2776">
<Property name="uri" value="https://download.blender.org/peach/trailer/trailer_400p.ogg" />
</Node>
</Graph>

10
graphs/video.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Graph id="0">
<Node name="videotestsrc" id="1" type="Source" pos_x="0" pos_y="0">
<Port name="out" id="1" direction="Output" presence="Always" />
</Node>
<Node name="autovideosink" id="2" type="Sink" pos_x="545.5998" pos_y="20.14066">
<Port name="in" id="2" direction="Input" presence="Always" />
</Node>
<Link id="1" node_from="1" node_to="2" port_from="1" port_to="2" active="true" />
</Graph>

View file

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Graph id="0">
<Node name="videomixer" id="3" type="Transform" pos_x="658.78845" pos_y="194.22154">
<Port name="sink_1" id="10" direction="Input" presence="Sometimes">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV, BGRA, ARGB, RGBA, ABGR, Y444, Y42B, YUY2, UYVY, YVYU, I420, YV12, NV12, NV21, Y41B, RGB, BGR, xRGB, xBGR, RGBx, BGRx }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
<Property name="zorder" value="0" />
</Port>
<Port name="src_0" id="3" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV, BGRA, ARGB, RGBA, ABGR, Y444, Y42B, YUY2, UYVY, YVYU, I420, YV12, NV12, NV21, Y41B, RGB, BGR, xRGB, xBGR, RGBx, BGRx }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
<Port name="sink_0" id="9" direction="Input" presence="Sometimes">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV, BGRA, ARGB, RGBA, ABGR, Y444, Y42B, YUY2, UYVY, YVYU, I420, YV12, NV12, NV21, Y41B, RGB, BGR, xRGB, xBGR, RGBx, BGRx }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
<Property name="zorder" value="1" />
</Port>
</Node>
<Node name="autovideosink" id="5" type="Sink" pos_x="1393.3219" pos_y="200.00417">
<Port name="sink_0" id="6" direction="Input" presence="Always">
<Property name="_caps" value="ANY" />
</Port>
</Node>
<Node name="videotestsrc" id="1" type="Source" pos_x="-54.65982" pos_y="58.382446">
<Port name="src_0" id="1" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }; video/x-bayer, format=(string){ bggr, rggb, grbg, gbrg }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }" />
</Port>
<Property name="pattern" value="13" />
</Node>
<Node name="videotestsrc" id="2" type="Source" pos_x="-27.72644" pos_y="379.1207">
<Port name="src_0" id="2" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }; video/x-bayer, format=(string){ bggr, rggb, grbg, gbrg }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], multiview-mode=(string){ mono, left, right }" />
</Port>
<Property name="pattern" value="1" />
</Node>
<Node name="alpha" id="4" type="Transform" pos_x="290.85873" pos_y="58.17296">
<Port name="sink_0" id="4" direction="Input" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, BGRx, xBGR, RGBx, RGB, BGR, Y42B, YUY2, YVYU, UYVY, I420, YV12, Y41B }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
<Port name="src_0" id="5" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, BGRx, xBGR, RGBx, RGB, BGR, Y42B, YUY2, YVYU, UYVY, I420, YV12, Y41B }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
<Property name="method" value="1" />
</Node>
<Node name="videoconvert" id="6" type="Transform" pos_x="1016.99066" pos_y="196.31989">
<Port name="sink_0" id="7" direction="Input" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
<Port name="src_0" id="8" direction="Output" presence="Always">
<Property name="_caps" value="video/x-raw, format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(ANY), format=(string){ AYUV64, ARGB64, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]" />
</Port>
</Node>
<Link id="2" node_from="4" node_to="3" port_from="5" port_to="9" active="true" />
<Link id="3" node_from="2" node_to="3" port_from="2" port_to="10" active="true" />
<Link id="4" node_from="3" node_to="6" port_from="3" port_to="7" active="true" />
<Link id="1" node_from="1" node_to="4" port_from="1" port_to="4" active="true" />
<Link id="5" node_from="6" node_to="5" port_from="8" port_to="6" active="true" />
</Graph>

53
index.html Normal file
View file

@ -0,0 +1,53 @@
<html>
< <head>
<title>GstPipelineStudio</title>
<link rel="stylesheet" href="data/css/style.css">
<link rel="icon" href="data/icons/org.freedesktop.dabrain34.GstPipelineStudio.ico">
</head>
<body>
<div class="container">
<h1 id="logo"></h1>
<h1>GstPipelineStudio: Draw your own pipeline ...</h1>
<p><img src="data/screenshots/gps_screenshot.png" alt=""></p>
<p>GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. From a first
step in the framework with a simple pipeline to a complex pipeline debugging, the tool provides a
friendly interface to add elements to a pipeline and debug it.</p>
<h2>GstPipelineStudio 0.3.5 is out, checkout the <a
href="https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/blob/main/ChangeLog.md?ref_type=heads#anchor-033">
Release Notes</a> !
<br>
<br>
<p>Download:</p>
<ul>
<li><a href="https://flathub.org/apps/org.freedesktop.dabrain34.GstPipelineStudio">Flathub</a></li>
<li><a
href="https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/uploads/0ab4098a9385f21d72881d27530e6e27/GstPipelineStudio-0.3.5.msi">Windows
MSI</a>
</li>
<li><a
href="https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/uploads/d6d703809e3023de04e7ad1449fcb4aa/GstPipelineStudio-0.3.5.dmg">MacOS</a>
</li>
</ul>
<h2 id="getting-gps">Contributing to GstPipelineStudio</h2>
<p>If you want to get the the code from Gitlab, you can visit this <a
href="https://flathub.org/apps/org.freedesktop.dabrain34.GstPipelineStudio">webpage</a>
and follow the <a
href="https://flathub.org/apps/org.freedesktop.dabrain34.GstPipelineStudio/README.md">README</a>
to build your own version of GstPipelineStudio.
</p>
</h2>
</body>
<footer class="site-footer">
<p>&copy; GstPipelineStudio, 2023</p>
<p><a href="https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio">Website source</a></p>
</footer>
</html>

17
installer/macos/brew_setup.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
HOMEBREW_NO_INSTALL_CLEANUP=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install pkg-config
# GTK4 support
brew install gtk4
# brew install cairo libxrandr libxi libxcursor libxdamage libxinerama
brew install npm
npm install -g appdmg
exit 0

186
installer/macos/deploy_macos.sh Executable file
View file

@ -0,0 +1,186 @@
#!/bin/bash
test_ok() {
$*
if [ $? != 0 ]; then
exit 1
fi
}
# dependency library:
# Make a .app file: https://gist.github.com/oubiwann/453744744da1141ccc542ff75b47e0cf
# Make a .dmg file: https://github.com/LinusU/node-appdmg
# Can't find library: https://www.jianshu.com/p/441a7553700f
BUILD_DIR=builddir
PROJECTDIR="$( cd "$(dirname "$0")/../" ; pwd -P )"
TARGETDIR="${PROJECTDIR}/${BUILD_DIR}/INSTALL_GPS"
VERSION="$(cat VERSION)"
export VERSION
echo "VERSION=$VERSION"
GSTREAMER_OPTS="
-Dforce_fallback_for=gstreamer-1.0,libffi,pcre2 \
-Dgstreamer-1.0:libav=disabled \
-Dgstreamer-1.0:examples=disabled \
-Dgstreamer-1.0:introspection=disabled \
-Dgstreamer-1.0:rtsp_server=disabled \
-Dgstreamer-1.0:devtools=disabled \
-Dgst-plugins-base:tests=disabled \
-Dgstreamer-1.0:tests=disabled \
-Dgst-plugins-bad:openexr=disabled -Dgstreamer-1.0:gst-examples=disabled \
-Dorc:gtk_doc=disabled \
-Dgstreamer-1.0:ges=disabled \
-Dgstreamer-1.0:python=disabled"
# rebuild app release version
rm -rf "${TARGETDIR}"
test_ok meson --prefix=$TARGETDIR --buildtype=release ${BUILD_DIR} ${GSTREAMER_OPTS}
test_ok ninja -C ${BUILD_DIR} install
# copy app data files to target dir
echo -n "Copy app data files......"
test_ok mkdir -p "${TARGETDIR}/etc/"
mkdir -p "${TARGETDIR}/lib/gstreamer-1.0"
mkdir -p "${TARGETDIR}/share/doc"
mkdir -p "${TARGETDIR}/share/themes"
mkdir -p "${TARGETDIR}/share/glib-2.0/schemas"
mkdir -p "${TARGETDIR}/share/licenses/GstPipelineStudio"
mkdir -p "${TARGETDIR}/share/icons/hicolor/scalable/apps"
echo "[done]"
function lib_dependency_copy
{
local target=$1
local folder=$2
lib_dir="$( cd "$( dirname "$1" )" >/dev/null 2>&1 && pwd )"
libraries="$(otool -L $target | grep "/*.*dylib" -o | xargs)"
for lib in $libraries; do
if [[ '/usr/lib/' != ${lib:0:9} && '/System/Library/' != ${lib:0:16} ]]; then
if [[ '@' == ${lib:0:1} ]]; then
if [[ '@loader_path' == ${lib:0:12} ]]; then
cp -n "${lib/@loader_path/$lib_dir}" $folder
else
echo "Unsupported path: $lib"
fi
else
if [[ $lib != $target ]]; then
cp -n $lib $folder
fi
fi
fi
done
}
function lib_dependency_analyze
{
# This function use otool to analyze library dependency.
# then copy the dependency libraries to destination path
local library_dir=$1
local targets_dir=$2
libraries="$(find $library_dir -name \*.dylib -o -name \*.so -type f)"
for lib in $libraries; do
lib_dependency_copy $lib $targets_dir
# otool -L $lib | grep "/usr/local/*.*dylib" -o | xargs -I{} cp -n "{}" "$targets_dir"
done
}
# copy app dependency library to target dir
echo -n "Copy app dependency library......"
lib_dependency_copy ${TARGETDIR}/bin/gst-pipeline-studio "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libgobject-2.0.0.dylib "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libsoup-2.4.1.dylib "${TARGETDIR}/bin"
lib_dependency_copy "${TARGETDIR}/bin/libgtk-4.1.dylib" "${TARGETDIR}/bin"
for file in ${TARGETDIR}/lib/gstreamer-1.0/*.dylib
do
echo "${file}"
lib_dependency_copy ${file} "${TARGETDIR}/lib/"
done
test_ok cp -f "${PROJECTDIR}/macos/mac_launcher.sh" "${TARGETDIR}/bin/launcher.sh"
# FIXME should build and install gtk4 instead of using homebrew
# copy GTK runtime dependencies resource
# echo -n "Copy GTK runtime resource......"
# cp -rf /usr/local/lib/gio "${TARGETDIR}/lib/"
# cp -rf /usr/local/lib/gtk-3.0 "${TARGETDIR}/lib/"
# cp -rf /usr/local/lib/gdk-pixbuf-2.0 "${TARGETDIR}/lib/"
# cp -rf /usr/local/lib/girepository-1.0 "${TARGETDIR}/lib/"
# cp -rf /usr/local/lib/libgda-5.0 "${TARGETDIR}/lib/"
# # Avoid override the latest locale file
cp -r /opt/homebrew/share/locale "${TARGETDIR}/share/"
cp -rf /opt/homebrew/share/icons "${TARGETDIR}/share/"
cp -rf /opt/homebrew/share/gtk4-0 "${TARGETDIR}/share/"
# cp -rf /usr/local/share/fontconfig "${TARGETDIR}/share/"
# cp -rf /usr/local/share/themes/Mac "${TARGETDIR}/share/themes/"
# cp -rf /usr/local/share/themes/Default "${TARGETDIR}/share/themes/"
# cp -rf /usr/local/share/gtksourceview-4 "${TARGETDIR}/share/"
# glib-compile-schemas /usr/local/share/glib-2.0/schemas
# cp -f /usr/local/share/glib-2.0/schemas/gschema* "${TARGETDIR}/share/glib-2.0/schemas"
# # find "${TARGETDIR}/bin" -type f -path '*.dll.a' -exec rm '{}' \;
lib_dependency_analyze ${TARGETDIR}/lib ${TARGETDIR}/bin
lib_dependency_analyze ${TARGETDIR}/bin ${TARGETDIR}/bin
echo "[done]"
# copy app icons and license files to target dir
echo -n "Copy app icon(svg) files......"
cp -f "${PROJECTDIR}/../data/icons/org.freedesktop.dabrain34.GstPipelineStudio.ico" "${TARGETDIR}/bin"
cp -f "${PROJECTDIR}/../data/icons/org.freedesktop.dabrain34.GstPipelineStudio.svg" "${TARGETDIR}/share/icons/hicolor/scalable/apps"
echo "[done]"
# download license file: LGPL-3.0
echo -n "Downloading the remote license file......"
cp -f "${PROJECTDIR}/../LICENSE" "${TARGETDIR}/share/licenses/GstPipelineStudio"
if [ ! -f "${TARGETDIR}/share/licenses/GstPipelineStudio/gpl-3.0.txt" ]; then
curl "https://www.gnu.org/licenses/gpl-3.0.txt" -o "${TARGETDIR}/share/licenses/GstPipelineStudio/gpl-3.0.txt"
if [ $? -eq 0 ]; then
echo "[done]"
else
echo "[failed]"
fi
else
echo "[done]"
fi
echo "make macos executable file(.app)......"
cd "${PROJECTDIR}/${BUILD_DIR}"
cp "${PROJECTDIR}/macos/installers/Info.plist" "${PROJECTDIR}/${BUILD_DIR}"
cp "${PROJECTDIR}/macos/installers/mac.icns" "${PROJECTDIR}/${BUILD_DIR}/GstPipelineStudio.icns"
../macos/mac_app_pack.sh --path "${TARGETDIR}" --name "GstPipelineStudio" --info "Info.plist" --icons "GstPipelineStudio.icns"
if [ $? -eq 0 ]; then
echo "[done]"
else
echo "[failed]"
fi
# make installer package
echo "make macos installer(.dmg)......"
cp "${PROJECTDIR}/macos/installers/dmg.json" gps_dmg.json
cp "${PROJECTDIR}/macos/installers/background.png" "${PROJECTDIR}/${BUILD_DIR}/gps_dmg_background.png"
rm -f ${PROJECTDIR}/GstPipelineStudio-${VERSION}.dmg
appdmg gps_dmg.json "${PROJECTDIR}/GstPipelineStudio-${VERSION}.dmg"
if [ $? -eq 0 ]; then
echo "[done]"
else
echo "[failed]"
fi
# make portable package
echo -n "make macos portable......"
tar czf "${PROJECTDIR}/GstPipelineStudio-${VERSION}.tar.gz" -C "${PROJECTDIR}" ${BUILD_DIR}/GstPipelineStudio.app
if [ $? -eq 0 ]; then
echo "[done]"
else
echo "[failed]"
fi

View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- Reference: https://github.com/geany/geany-osx/blob/master/Info.plist -->
<dict>
<key>CFBundleShortVersionString</key>
<string>1.36</string>
<key>CFBundleVersion</key>
<string>1.36</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright (C)2022 Stephane Cerveau</string>
<key>CFBundleGetInfoString</key>
<string>Copyright (C)2022 Stephane Cerveau</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleName</key>
<string>GstPipelineStudio</string>
<key>GtkOSXLaunchScriptFile</key>
<string>launcher.sh</string>
<key>CFBundleExecutable</key>
<string>gst-pipeline-studio</string>
<key>CFBundleIconFile</key>
<string>GstPipelineStudio.icns</string>
<key>CFBundleIdentifier</key>
<string>org.freedesktop.dabrain34.GstPipelineStudio</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

View file

@ -0,0 +1,9 @@
{
"title": "GstPipelineStudio installer",
"icon": "GstPipelineStudio.icns",
"background": "gps_dmg_background.png",
"contents": [
{ "x": 948, "y": 270, "type": "link", "path": "/Applications" },
{ "x": 692, "y": 270, "type": "file", "path": "GstPipelineStudio.app" }
]
}

Binary file not shown.

131
installer/macos/mac_app_pack.sh Executable file
View file

@ -0,0 +1,131 @@
#!/usr/bin/env bash
VERSION=4.0.1
SCRIPT=`basename "$0"`
APP_NAME="GstPipelineStudio"
APP_ICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns"
OSX_VERSION=`sw_vers -productVersion`
PWD=`pwd`
function usage {
cat <<EOF
$SCRIPT v${VERSION} for for Mac OS X
Usage:
$SCRIPT [options]
Options:
-h, --help Prints this help message, then exits
-p, --path Name of the path to 'appify' (required)
-n, --name Name of the application (default "$APP_NAME")
-o, --info Name of the Info.plist
-i, --icons Name of the icons file to use when creating the app
(defaults to $APP_ICONS)
-v, --version Prints the version of this script, then exits
Description:
Creates the GTK Mac app from a GTK install path.
Appify has one required parameter, the path to appify:
$SCRIPT --path gtk-app-install-path
Note that you cannot rename appified apps. If you want to give your app
a custom name, use the '--name' option
$SCRIPT --path gtk-app-install-path --name "Sweet"
Copyright:
Copyright (c) Thomas Aylott <http://subtlegradient.com/>
Modified by Mathias Bynens <http://mathiasbynens.be/>
Modified by Andrew Dvorak <http://OhReally.net/>
Rewritten by Duncan McGreggor <http://github.com/oubiwann/>
Modified by Zuhong Tao <https://github.com/taozuhong>
EOF
exit 1
}
function version {
echo "v${VERSION}"
exit 1
}
function error {
echo
echo "ERROR: $1"
echo
usage
}
while :; do
case $1 in
-h | --help ) usage;;
-p | --path ) APP_BUILD="$2"; shift ;;
-n | --name ) APP_NAME="$2"; shift ;;
-o | --info ) APP_INFO="$2"; shift ;;
-i | --icons ) APP_ICONS="$2"; shift ;;
-v | --version ) version;;
-- ) shift; break ;;
* ) break ;;
esac
shift
done
if [ -z ${APP_BUILD+nil} ]; then
error "The GTK app path to appify must be provided!"
fi
if [ ! -d "$APP_BUILD" ]; then
error "Can't find the target path '$APP_BUILD'"
fi
if [ -a "$APP_NAME.app" ]; then
rm -rf "$APP_NAME.app"
fi
SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
APP_OUT_DIR="$( cd "$(dirname "$APP_BUILD")" >/dev/null 2>&1 ; pwd -P )"
APP_TOP_DIR=$APP_OUT_DIR/$APP_NAME.app
APP_CON_DIR=$APP_TOP_DIR/Contents
APP_RES_DIR=$APP_CON_DIR/Resources
APP_EXE_DIR=$APP_CON_DIR/MacOS
APP_ETC_DIR=$APP_RES_DIR/etc
APP_LIB_DIR=$APP_RES_DIR/lib
# Copy GstPipelineStudio.app resource
mkdir -vp "$APP_CON_DIR"/{MacOS,Resources}
cp -f "$APP_INFO" "$APP_CON_DIR/Info.plist"
cp -f "$APP_ICONS" "$APP_RES_DIR/$APP_NAME.icns"
cp -rf "$APP_BUILD/etc" "$APP_RES_DIR"
cp -rf "$APP_BUILD/lib" "$APP_RES_DIR"
cp -rf "$APP_BUILD/share" "$APP_RES_DIR"
cp -rf "$APP_BUILD/libexec" "$APP_RES_DIR"
cp $APP_BUILD/bin/gst-pipeline-studio $APP_EXE_DIR/gst-pipeline-studio-real
cp $APP_BUILD/bin/launcher.sh $APP_EXE_DIR/gst-pipeline-studio
chmod 766 "$APP_EXE_DIR/gst-pipeline-studio"
chmod 766 "$APP_EXE_DIR/gst-pipeline-studio-real"
chmod -R 766 "$APP_RES_DIR"/libexec/gstreamer-1.0
# Copy dependency libraries and update their search path
source $SCRIPT_PATH/mac_app_path.sh
if ls $APP_BUILD/bin/*.so 1> /dev/null 2>&1; then
for sofile in $APP_BUILD/bin/*.so; do
cp $sofile $APP_LIB_DIR
done
fi
cp $APP_BUILD/bin/*.dylib $APP_LIB_DIR
chmod -R 766 $APP_LIB_DIR
echo -n "relocate the gstreamer plugins......"
for file in $APP_LIB_DIR/gstreamer-1.0/*.dylib
do
echo "relocating ${file}"
lib_change_paths \
@executable_path/../Resources/lib \
$APP_LIB_DIR \
${file}
done
lib_change_paths \
@executable_path/../Resources/lib \
$APP_LIB_DIR \
$APP_EXE_DIR/gst-pipeline-studio-real
lib_change_siblings $APP_LIB_DIR @loader_path
echo "Mac app bundled at '$APP_TOP_DIR'"

119
installer/macos/mac_app_path.sh Executable file
View file

@ -0,0 +1,119 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# https://gitlab.com/inkscape/inkscape/-/blob/master/packaging/macos/bash_d/lib_.sh
# examples:
# lib_change_path \
# @executable_path/../Resources/lib/lib2geom.1.0.0.dylib \
# $APP_LIB_DIR/inkscape/libinkscape_base.dylib \
# $APP_EXE_DIR/inkscape
#
#lib_change_paths \
# @executable_path/../lib \
# $APP_LIB_DIR \
# $APP_BIN_DIR/gs
#
# lib_change_siblings $APP_LIB_DIR dylib
# lib_change_siblings $APP_LIB_DIR so
# include_guard
### includes ###################################################################
# Nothing here.
### variables ##################################################################
# Nothing here.
### functions ##################################################################
function lib_change_path
{
# This is a simple wrapper around install_name_tool to reduce the
# number of arguments (like $source does not have to be provided
# here as it can be deducted from $target).
# Also, the requested change can be applied to multiple binaries
# at once since 2-n arguments can be supplied.
local target=$1 # new path to dynamically linked library
local binaries=${*:2} # binaries to modify
local source_lib=${target##*/} # get library filename from target location
for binary in $binaries; do # won't work with spaces in paths
if [[ $binary == *.so ]] || [[ $binary == *.dylib ]]; then
lib_reset_id $binary
fi
local source=$(otool -L $binary | grep $source_lib | awk '{ print $1 }')
install_name_tool -change $source $target $binary
done
}
function lib_change_paths
{
# This is a slightly more advanced wrapper around install_name_tool.
# Given a directory $lib_dir that contains the libraries, all libraries
# linked in $binary can be changed at once to a specified $target path.
local target=$1 # new path to dynamically linked library
local lib_dir=$2
local binaries=${*:3}
for binary in $binaries; do
if [[ $binary == *.so ]] || [[ $binary == *.dylib ]]; then
lib_reset_id $binary
fi
for linked_lib in $(otool -L $binary | tail -n +2 | awk '{ print $1 }'); do
if [ "$(basename $binary)" != "$(basename $linked_lib)" ] &&
[ -f $lib_dir/$(basename $linked_lib) ]; then
lib_change_path $target/$(basename $linked_lib) $binary
fi
done
done
}
function lib_change_siblings
{
# This is a slightly more advanced wrapper around install_name_tool.
# All libraries inside a given $dir that are linked to libraries present
# in that $dir can be automatically adjusted.
local dir=$1
local target=$2
for lib in $dir/*.dylib; do
lib_reset_id $lib
for linked_lib in $(otool -L $lib | tail -n +2 | awk '{ print $1 }'); do
if [ "$(basename $lib)" != "$(basename $linked_lib)" ] &&
[ -f $dir/$(basename $linked_lib) ]; then
lib_change_path $target/$(basename $linked_lib) $lib
fi
done
done
if ls $dir/*.so 1> /dev/null 2>&1; then
for lib in $dir/*.so; do
lib_reset_id $lib
for linked_lib in $(otool -L $lib | tail -n +2 | awk '{ print $1 }'); do
if [ "$(basename $lib)" != "$(basename $linked_lib)" ] &&
[ -f $dir/$(basename $linked_lib) ]; then
lib_change_path $target/$(basename $linked_lib) $lib
fi
done
done
fi
}
function lib_reset_id
{
local lib=$1
install_name_tool -id $(basename $lib) $lib
}
### aliases ####################################################################
# Nothing here.
### main #######################################################################
# Nothing here.

170
installer/macos/mac_launcher.sh Executable file
View file

@ -0,0 +1,170 @@
#!/bin/sh
if test "x$GTK_DEBUG_LAUNCHER" != x; then
set -x
fi
if test "x$GTK_DEBUG_GDB" != x; then
EXEC="gdb --args"
else
EXEC=exec
fi
name=`basename "$0"`
bundle_app="$( cd "$( dirname "$0" )/../.." >/dev/null 2>&1 && pwd )"
bundle_contents="$bundle_app"/Contents
bundle_res="$bundle_contents"/Resources
bundle_lib="$bundle_res"/lib
bundle_libexec="$bundle_res"/libexec
bundle_bin="$bundle_res"/bin
bundle_data="$bundle_res"/share
bundle_etc="$bundle_res"/etc
export DYLD_LIBRARY_PATH="$bundle_lib"
export XDG_CONFIG_DIRS="$bundle_etc"/xdg
export XDG_DATA_DIRS="$bundle_data"
export GTK_DATA_PREFIX="$bundle_res"
export GTK_EXE_PREFIX="$bundle_res"
export GTK_PATH="$bundle_res"
export GST_PLUGIN_SCANNER="$bundle_libexec/gstreamer-1.0/gst-plugin-scanner"
export GIO_EXTRA_MODULES="$bundle_lib/gio/modules"
# GIO modules
export GIO_MODULE_DIR="$bundle_lib/gio/modules"
#GStreamer plugins
export GST_PLUGIN_PATH="$bundle_lib/gstreamer-1.0"
APP=$name
I18NDIR="$bundle_data/locale"
# Set the locale-related variables appropriately:
unset LANG LC_MESSAGES LC_MONETARY LC_COLLATE
# Has a language ordering been set?
# If so, set LC_MESSAGES and LANG accordingly; otherwise skip it.
# First step uses sed to clean off the quotes and commas, to change - to _, and change the names for the chinese scripts from "Hans" to CN and "Hant" to TW.
APPLELANGUAGES=`defaults read .GlobalPreferences AppleLanguages | sed -En -e 's/\-/_/' -e 's/Hant/TW/' -e 's/Hans/CN/' -e 's/[[:space:]]*\"?([[:alnum:]_]+)\"?,?/\1/p' `
if test "$APPLELANGUAGES"; then
# A language ordering exists.
# Test, item per item, to see whether there is an corresponding locale.
for L in $APPLELANGUAGES; do
#test for exact matches:
if test -f "$I18NDIR/${L}/LC_MESSAGES/$APP.mo"; then
export LANG=$L
break
fi
#This is a special case, because often the original strings are in US
#English and there is no translation file.
if test "x$L" == "xen_US"; then
export LANG=$L
break
fi
#OK, now test for just the first two letters:
if test -f "$I18NDIR/${L:0:2}/LC_MESSAGES/$APP.mo"; then
export LANG=${L:0:2}
break
fi
#Same thing, but checking for any english variant.
if test "x${L:0:2}" == "xen"; then
export LANG=$L
break
fi;
done
fi
unset APPLELANGUAGES L
# If we didn't get a language from the language list, try the Collation preference, in case it's the only setting that exists.
APPLECOLLATION=`defaults read .GlobalPreferences AppleCollationOrder`
if test -z ${LANG} -a -n $APPLECOLLATION; then
if test -f "$I18NDIR/${APPLECOLLATION:0:2}/LC_MESSAGES/$APP.mo"; then
export LANG=${APPLECOLLATION:0:2}
fi
fi
if test ! -z $APPLECOLLATION; then
export LC_COLLATE=$APPLECOLLATION
fi
unset APPLECOLLATION
# Continue by attempting to find the Locale preference.
APPLELOCALE=`defaults read .GlobalPreferences AppleLocale`
if test -f "$I18NDIR/${APPLELOCALE:0:5}/LC_MESSAGES/$APP.mo"; then
if test -z $LANG; then
export LANG="${APPLELOCALE:0:5}"
fi
elif test -z $LANG -a -f "$I18NDIR/${APPLELOCALE:0:2}/LC_MESSAGES/$APP.mo"; then
export LANG="${APPLELOCALE:0:2}"
fi
#Next we need to set LC_MESSAGES. If at all possible, we want a full
#5-character locale to avoid the "Locale not supported by C library"
#warning from Gtk -- even though Gtk will translate with a
#two-character code.
if test -n $LANG; then
#If the language code matches the applelocale, then that's the message
#locale; otherwise, if it's longer than two characters, then it's
#probably a good message locale and we'll go with it.
if test $LANG == ${APPLELOCALE:0:5} -o $LANG != ${LANG:0:2}; then
export LC_MESSAGES=$LANG
#Next try if the Applelocale is longer than 2 chars and the language
#bit matches $LANG
elif test $LANG == ${APPLELOCALE:0:2} -a $APPLELOCALE > ${APPLELOCALE:0:2}; then
export LC_MESSAGES=${APPLELOCALE:0:5}
#Fail. Get a list of the locales in $PREFIX/share/locale that match
#our two letter language code and pick the first one, special casing
#english to set en_US
elif test $LANG == "en"; then
export LC_MESSAGES="en_US"
else
LOC=`find $PREFIX/share/locale -name $LANG???`
for L in $LOC; do
export LC_MESSAGES=$L
done
fi
else
#All efforts have failed, so default to US english
export LANG="en_US"
export LC_MESSAGES="en_US"
fi
CURRENCY=`echo $APPLELOCALE | sed -En 's/.*currency=([[:alpha:]]+).*/\1/p'`
if test "x$CURRENCY" != "x"; then
#The user has set a special currency. Gtk doesn't install LC_MONETARY files, but Apple does in /usr/share/locale, so we're going to look there for a locale to set LC_CURRENCY to.
if test -f /usr/local/share/$LC_MESSAGES/LC_MONETARY; then
if test -a `cat /usr/local/share/$LC_MESSAGES/LC_MONETARY` == $CURRENCY; then
export LC_MONETARY=$LC_MESSAGES
fi
fi
if test -z "$LC_MONETARY"; then
FILES=`find /usr/share/locale -name LC_MONETARY -exec grep -H $CURRENCY {} \;`
if test -n "$FILES"; then
export LC_MONETARY=`echo $FILES | sed -En 's%/usr/share/locale/([[:alpha:]_]+)/LC_MONETARY.*%\1%p'`
fi
fi
fi
#No currency value means that the AppleLocale governs:
if test -z "$LC_MONETARY"; then
LC_MONETARY=${APPLELOCALE:0:5}
fi
#For Gtk, which only looks at LC_ALL:
export LC_ALL=$LC_MESSAGES
unset APPLELOCALE FILES LOC
if test -f "$bundle_lib/charset.alias"; then
export CHARSETALIASDIR="$bundle_lib"
fi
# Extra arguments can be added in environment.sh.
EXTRA_ARGS=
if test -f "$bundle_res/environment.sh"; then
source "$bundle_res/environment.sh"
fi
# Strip out the argument added by the OS.
if /bin/expr "x$1" : '^x-psn_' > /dev/null; then
shift 1
fi
$EXEC "$bundle_contents/MacOS/gst-pipeline-studio-real" "$@" $EXTRA_ARGS

94
installer/wix/LICENSE.rtf Normal file
View file

@ -0,0 +1,94 @@
{\rtf1\ansi\deff3\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset128 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset128 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset128 Times New Roman;}{\f6\froman\fprq0\fcharset128 Times New Roman;}{\f7\fnil\fprq2\fcharset128 Droid Sans;}{\f8\fnil\fprq2\fcharset128 FreeSans;}{\f9\fswiss\fprq0\fcharset128 FreeSans;}}
{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
{\stylesheet{\s0\snext0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031 Normal;}
{\s15\sbasedon0\snext16\sb240\sa120\keepn\hich\af7\dbch\af8\afs28\loch\f4\fs28 Heading;}
{\s16\sbasedon0\snext16\sb0\sa120 Text body;}
{\s17\sbasedon16\snext17\sb0\sa120\dbch\af9 List;}
{\s18\sbasedon0\snext18\sb120\sa120\noline\i\dbch\af9\afs24\ai\fs24 Caption;}
{\s19\sbasedon0\snext19\noline\dbch\af9 Index;}
}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr0\mo0\dy0\hr0\min0}{\printim\yr0\mo0\dy0\hr0\min0}{\comment LibreOffice}{\vern3500}}\deftab720
{\*\pgdsctbl
{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Default;}}
\formshade{\*\pgdscno0}\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pgndec\pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\fs44\lang255\loch\f6
}{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Installer, default installation}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
The installer (Microsoft Windows and MacOSX) and the default installation (GNU/Linux) contain and install the minimal default installation. At install time or later, the downloading of optional components is also possible, but read on for certain legal cautions you might want to take. All downloads are from the freedesktop.org website.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Licensing GStreamer}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Gstreamer minimal default installation only contains packages which are licensed under the GNU LGPL license v2.1. This license gives you the Freedom to use, modify, make copies of the software either in the original or in a modified form, provided that the software you redistribute is licensed under the same licensing terms. This only extends to the software itself and modified versions of it, but you are free to link the LGPL software as a library used by other software under whichever license. In other words, it is a weak copyleft license.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Therefore, it is possible to use GStreamer to build applications that are then distributed under a different license, including a proprietary one, provided that reverse engineering is not prohibited for debugging modifications purposes. Only the pieces of GStreamer that are under the LGPL need to be kept under the LGPL, and the corresponding source code must be distributed along with the application (or an irrevocable offer to do so for at least three years from distribution). Please consult section 6 of the LGPL for further details as to what the corresponding source code must contain.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Some portions of the minimal default installation may be under different licenses, which are both more liberal than the LGPL (they are less strict conditions for granting the license) and compatible with the LGPL. This is advised locally.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Optional packages}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
There are two types of optional packages, which are under a different license or have other issues concerning patentability (or both).}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
GPL code}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Part of the optional packages are under the GNU GPL v2 or v3. This means that you cannot link the GPL software in a program unless the same program is also under the GPL, but you are invited to seek competent advice on how this works in your precise case and design choices. GPL is called \uc3 \u8220\'e2\'80\'9cstrong copyleft\u8221\'e2\'80\'9d because the condition to distributed under the same license has the largest possible scope and extends to all derivative works.\uc1 }
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
Patents}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Certain software, and in particular software that implements multimedia standard formats such as Mp3, MPEG 2 video and audio, h.264, MPEG 4 audio and video, AC3, etc, can have patent issues. In certain countries patents are granted on software and even software-only solution are by and large considered patentable and are patented (such as in the United States). In certain others, patents on pure software solutions are formally prohibited, but granted (this is the case of Europe), and in others again are neither allowed nor granted.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
It is up to you to make sure that in the countries where GStreamer is used, products are made using it and product are distributed, a license from the applicable patent holders is required or not. Receiving GStreamer \uc3 \u8211\'e2\'80\'93 or links to other downloadable software \u8211\'e2\'80\'93 does not provide any license expressed or implied over these patents, except in very limited conditions where the license so provides. No representation is made.\uc1 }
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
In certain cases, the optional packages are distributed only as source code. It is up the receiver to make sure that in the applicable circumstances compiling the same code for a given platform or distributing the object code is an act that infringes one or more patents.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Software is as-is}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
All software and GStreamer is provided as-is, without any warranty whatsoever. The individual licenses have particular language disclaiming liability: we invite you to read all of them. Should you need a warranty on the fact that software works as intended or have any kind of indemnification, you have the option to subscribe a software maintenance agreement with a company or entity that is in that business. Fluendo and Collabora, as well as some other companies, provide software maintenance agreements under certain conditions, you are invited to contact them in order to receive further details and discuss of the commercial terms.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Data protection}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
This website might use cookies and HTTP logs for statistical analysis and on an aggregate basis only.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6
Frequently Asked Questions}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
What licenses are there?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
GStreamer containst software under various licenses. See above.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
How does this relate to the packaging system?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
The packaging is only a more convenient way to install software and decide what's good for you. GStreamer is meant to be modular, making use of different modules, or plugins, that perform different activities.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
We provide some of them by default. Others are provided as an additional download, should you elect to do so. You could do the same by finding and downloading the same packages for your own platform. So it is entirely up to you to decide what to do.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Also, we note that GStreamer elements are divided into different packages, roughly following the licensing conditions attached to the same. For instance, the codecs-gpl package contains GPL licensed codecs. All the packages installed by default, conversely, are licensed under the LGPL or a more liberal license. This division is provided only for ease of reference, but we cannot guarantee that our selection is 100% correct, so it is up to the user to verify the actual licensing conditions before distributing works that utilize GStreamer.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
Can I / must I distribute GStreamer along with my application?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
You surely can. All software is Free/Open Source software, and can be distributed freely. You are not required to distribute it. Only, be reminded that one of the conditions for you to use software under certain licenses to make a work containing such software, is that you also distribute the complete source code of the original code (or of the modified code, if you have modified it). There are alternative ways to comply with this obligation, some of them do not require any actual distribution of source code, but since GStreamer contains the entire source code, you might want to include it (or the directories containing the source code) with your application as a safe way to comply with this requirement of the license.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
What happens when I modify the GStreamer's source code?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
You are invited to do so, as the licenses (unless you are dealing with proprietary bits, but in that case you will not find the corresponding source code) so permit. Be reminded though that in that case you need to also provide the complete corresponding source code (and to preserve the same license, of course). You might also consider to push your modifications upstream, so that they are merged into the main branch of development if they are worth it and will be maintained by the GStreamer project and not by you individually. We invite you not to fork the code, if at all possible.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
How does licensing relate to software patents? What about software patents in general?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
This is a tricky question. We believe software patents should not exist, so that by distributing and using software on a general purpose machine you would not violate any of them. But the inconvenient truth is that they do exist.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Software patents are widely available in the USA. Despite they are formally prohibited in the European Union, they indeed are granted by the thousand by the European Patent Office, and also some national patent offices follow the same path. In other countries they are not available.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Since patent protection is a national state-granted monopoly, distributing software that violates patents in a given country could be entirely safe if done in another country. Fair use exceptions also exist. So we cannot advice you whether the software we provide would be considered violating patents in your country or in any other country, but that can be said for virtually all kinds of software. Only, since we deal with audio-video standards, and these standards are by and large designed to use certain patented technologies, it is common wisdom that the pieces of software that implement these standards are sensitive in this respect.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
This is why GStreamer has taken a modular approach, so that you can use a Free plugins or a proprietary, patent royalty bearing, plugin for a given standard.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6
What about static vs. dynamic linking and copyleft?}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
We cannot provide one single answer to that question. Since copyright in software works as copyright in literature, static linking means basically that the programmer includes bits of code of the original library in the bytecode at compile time. This amounts to make derivative code of the library without conceivable exceptions, so you need a permission from the copyright holders of the library to do this.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
A widespread line of thinking says that dynamic linking is conversely not relevant to the copyleft effect, since the mingling of code in a larger work is done at runtime. However, another equally authoritative line of thought says that only certain type of dynamic linking is not copyright relevant. Therefore, using a library that is specifically designed to be loaded into a particular kind of software, even through API, requires permission by the copyright holder of the library when the two pieces are distributed together.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
In all cases, since most of the software we include in GStreamer is under the LGPL, this permission is granted once for all, subject to compliance with the conditions set out by it. Therefore, the problem only arises when you want to use GPL libraries to make non-GPL applications, and you need to audit your software in that case to make sure that what you do is not an infringement. This is why we have put the GPL libraries in a separate set of optional components, so you have a clearer view of what is safely clear for use, and what might need better investigation on a case-by-case basis.}
\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6
Please be reminded that even for LGPL, the recipient of the software must be in a position to replace the current library with a modified one, and to that effect some conditions apply, among which that for static linking you must also provide the complete toolchain required to relink the library (\uc3 \u8220\'e2\'80\'9cany data and utility programs needed for reproducing the executable from it\u8221\'e2\'80\'9d, except the \u8220\'e2\'80\'9cmajor components\u8221\'e2\'80\'9d) and that the license of the conditions of the resulting program must allow decompilation to debug modifications to the library.\uc1 }
\par }

View file

@ -0,0 +1,79 @@
# Check wix installation
$wixInstalledFolder = "C:\Program Files (x86)\WiX Toolset v3.11\bin"
if(Test-Path $wixInstalledFolder)
{
$wixFolder = $wixInstalledFolder
}
else
{
$prepareWix = Join-Path $PSScriptRoot -ChildPath prepare_wix.ps1
& "$prepareWix"
$wixFolder = Join-Path $PSScriptRoot -ChildPath 'wix/'
}
$candleToolPath = Join-Path $wixFolder -ChildPath candle.exe
$lightToolPath = Join-Path $wixFolder -ChildPath light.exe
$heatToolPath = Join-Path $wixFolder -ChildPath heat.exe
$GPSUpgradeCode = "9B87C8FF-599C-4F20-914E-AF5E68CB3DC0"
$GPSVersion = Get-Content $PSScriptRoot\..\..\VERSION -Raw
Write-Output $GPSVersion
try
{
Push-Location $PSScriptRoot
if(-not (Test-Path $wixFolder))
{
throw "Folder $wixFolder does not exist. Start DownloadAndExtractWix.ps1 script to create it."
}
if((-not (Test-Path $candleToolPath)) -or (-not (Test-Path $lightToolPath)))
{
throw "Tools required to build installer (candle.exe and light.exe) do not exist in wix folder."
}
# GST and GTK are installed in this folder by prepare_gstreamer.ps1.
# GST and GTK are built by the docker image.
$gstreamerInstallDir="c:\gst-install-clean"
$gstreamerBinInstallDir= Join-Path $gstreamerInstallDir -ChildPath "bin"
$gstreamerPluginInstallDir= Join-Path $gstreamerInstallDir -ChildPath "lib"
$gstreamerShareInstallDir= Join-Path $gstreamerInstallDir -ChildPath "share"
& "$heatToolPath" dir "$gstreamerBinInstallDir" -gg -sfrag -template:fragment -out gstreamer-1.0.wxs -cg "_gstreamer" -var var.gstreamerBinInstallDir -dr INSTALLFOLDER
& "$heatToolPath" dir "$gstreamerPluginInstallDir" -gg -sfrag -template:fragment -out gstreamer-plugins-1.0.wxs -cg "_gstreamer_plugins" -var var.gstreamerPluginInstallDir -dr INSTALLFOLDER
& "$heatToolPath" dir "$gstreamerShareInstallDir" -v -ke -gg -sfrag -template:fragment -out gstreamer-share-1.0.wxs -cg "_gstreamer_share" -var var.gstreamerShareInstallDir -dr INSTALLFOLDER
$files = "gps gstreamer-1.0 gstreamer-plugins-1.0 gstreamer-share-1.0"
$wxs_files = @()
$obj_files = @()
foreach ($f in $files.split(" ")){
$wxs_files += "$f.wxs"
$obj_files += "$f.wixobj"
}
Write-Output $wxs_files
Write-Output $obj_files
# compiling wxs file into wixobj
$msiFileName = "GstPipelineStudio-$GPSVersion.msi"
foreach ($f in $wxs_files){
& "$candleToolPath" "$f" -dPlatform=x64 -dGPSUpgradeCode="$GPSUpgradeCode" -dGPSVersion="$GPSVersion" -dgstreamerBinInstallDir="$gstreamerBinInstallDir" -dgstreamerPluginInstallDir="$gstreamerPluginInstallDir" -dgstreamerShareInstallDir="$gstreamerShareInstallDir"
if($LASTEXITCODE -ne 0)
{
throw "Compilation of $wxsFileName failed with exit code $LASTEXITCODE"
}
}
$AllArgs = $obj_files + @('-out', $msiFileName)
& $lightToolPath $AllArgs -ext WixUIExtension
if($LASTEXITCODE -ne 0)
{
throw "Linking of $wixobjFileName failed with exit code $LASTEXITCODE"
}
}
catch
{
Write-Error $_
exit 1
}
finally
{
Pop-Location
}

8
installer/wix/gps.bat Normal file
View file

@ -0,0 +1,8 @@
@echo off
set MYDIR=%~dp0
setlocal
set PATH=%MYDIR%bin;%PATH%
echo %PATH%
set GST_PLUGIN_PATH=%MYDIR%\lib\gstreamer-1.0
echo %GST_PLUGIN_PATH%
gst-pipeline-studio.exe

69
installer/wix/gps.wxs Normal file
View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*"
Language="1033"
Manufacturer="dabrain34"
Name="GstPipelineStudio"
UpgradeCode="$(var.GPSUpgradeCode)"
Version="$(var.GPSVersion)">
<Package InstallScope="perMachine" Compressed="yes" />
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
<WixVariable Id="WixUIBannerBmp" Value="wixbanner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="wixdialog.bmp" />
<MediaTemplate EmbedCab="yes" />
<UIRef Id="WixUI_InstallDir" />
<WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramMenuFolder">
<Directory Id="GPSAppShortcuts" Name="GStreamer Pipeline Studio" />
</Directory>
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="GstPipelineStudio">
<Component Id="ProductComponent">
<File KeyPath="yes" Source="gps.bat">
<Shortcut Id="GPSAppShortcut"
Directory="GPSAppShortcuts"
Name="GPSApp"
WorkingDirectory="INSTALLFOLDER"
Advertise="yes"
Icon="icon.ico"
IconIndex="0"
>
</Shortcut>
</File>
<RemoveFolder Id="DeleteTheGPSAppShortcut"
Directory="GPSAppShortcuts"
On="uninstall" />
</Component>
</Directory>
</Directory>
</Directory>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
<Icon Id="icon.ico" SourceFile="icon.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Component Id="UninstallShortcut" Guid="*" Directory="GPSAppShortcuts">
<Shortcut Id="UninstallGPS"
Name="Uninstall GPS App"
Description="Uninstalls GPS App"
Target="[System64Folder]msiexec.exe"
Arguments="/x [ProductCode]" />
<RegistryValue Root="HKCU" Key="Software\GPS\GPSApp" Name="installed" Type="integer" Value="1" KeyPath="yes" />
</Component>
<Feature Id="GPSFeature">
<ComponentRef Id="ProductComponent" />
<ComponentGroupRef Id="_gstreamer" />
<ComponentGroupRef Id="_gstreamer_plugins" />
<ComponentGroupRef Id="_gstreamer_share" />
<ComponentRef Id="UninstallShortcut" />
</Feature>
</Product>
</Wix>

BIN
installer/wix/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,12 @@
# install gtk, gstreamer built within the docker image to a clean folder used by wix to generate the package.
Remove-Item -Recurse -Force c:\gst-install-clean
New-Item c:\gst-install-clean -ItemType Directory
New-Item c:\gst-install-clean\bin -ItemType Directory
Copy-Item -Path C:\gst-install\bin\*.dll -Destination c:\gst-install-clean\bin\
Copy-Item -Path C:\gst-install\bin\*.exe -Destination c:\gst-install-clean\bin\
New-Item c:\gst-install-clean\lib\gstreamer-1.0 -ItemType Directory
Copy-Item -Path C:\gst-install\lib\gstreamer-1.0\*.dll -Destination c:\gst-install-clean\lib\gstreamer-1.0
Copy-Item -Path C:\gst-install\share -Destination c:\gst-install-clean\ -Recurse

View file

@ -0,0 +1,40 @@
#FIXME: The latest gstreamer windows image contains wix.
$source = "https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip"
$destination = Join-Path $PSScriptRoot -ChildPath 'wix.zip'
$wixFolder = Join-Path $PSScriptRoot -ChildPath 'wix/'
try
{
Push-Location $PSScriptRoot
if(Test-Path $destination)
{
Write-Host "WiX already download at: $destination"
}
else
{
Write-Host "Downloading $source ..."
Invoke-WebRequest -Uri $source -OutFile $destination
Write-Host "Download finished" -ForegroundColor Green
}
if(Test-Path $wixFolder)
{
Write-Host "WiX already extracted at: $wixFolder"
}
else
{
Write-Host "Extracting $destination ..."
Expand-Archive -LiteralPath $destination -DestinationPath $wixFolder
Write-Host "Extraction finished" -ForegroundColor Green
}
}
catch
{
Write-Error $_
exit 1
}
finally
{
Pop-Location
}

BIN
installer/wix/wixbanner.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
installer/wix/wixdialog.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 KiB

78
meson.build Normal file
View file

@ -0,0 +1,78 @@
project('gst-pipeline-studio',
version: '0.3.5',
meson_version: '>= 0.63.0',
default_options: [ 'warning_level=2',
],
license: 'GPL-3.0-or-later',
)
host_system = host_machine.system()
python_mod = import('python')
python3 = python_mod.find_installation()
current_date = run_command(python3, '-c', 'import datetime; print(datetime.datetime.now().strftime("%Y-%m-%d"), end ="")').stdout()
i18n = import('i18n')
host_system = host_machine.system()
dependency('gstreamer-1.0', version: '>= 1.20', fallback: ['gstreamer-1.0'])
dependency('gstreamer-base-1.0', version: '>= 1.20', fallback: ['gstreamer-1.0'])
dependency('gstreamer-video-1.0', version: '>= 1.20', fallback: ['gstreamer-1.0'])
dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')
dependency('gtk4', version: '>= 4.0.0', fallback: ['gtk'])
find_program('cargo', required: true)
find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true)
desktop_file_validate = find_program('desktop-file-validate', required: false)
appstream_util = find_program('appstream-util', required: false)
version = meson.project_version()
prefix = get_option('prefix')
bindir = prefix / get_option('bindir')
localedir = prefix / get_option('localedir')
datadir = prefix / get_option('datadir')
pkgdatadir = datadir / meson.project_name()
iconsdir = datadir / 'icons'
podir = meson.project_source_root () / 'po'
gettext_package = meson.project_name()
base_id = 'org.freedesktop.dabrain34.GstPipelineStudio'
if get_option('profile') == 'development'
application_id = base_id + '.Devel'
profile = 'Devel'
name_prefix = '(Development) '
vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
if vcs_tag == ''
version_suffix = '-devel'
else
version_suffix = '-@0@'.format (vcs_tag)
endif
else
profile = ''
version_suffix = ''
name_prefix = ''
application_id = base_id
endif
cargo_sources = files(
'Cargo.toml',
'Cargo.lock',
)
if host_system == 'linux'
subdir('data')
endif
subdir('src')
subdir('po')
meson.add_dist_script(
'build-aux/dist-vendor.sh',
meson.project_source_root(),
join_paths(meson.project_build_root(), 'meson-dist', meson.project_name() + '-' + version)
)
if host_system == 'linux'
meson.add_install_script('build-aux/meson/postinstall.py')
endif

12
meson_options.txt Normal file
View file

@ -0,0 +1,12 @@
option (
'profile',
type: 'combo',
choices: [
'default',
'development'
],
value: 'default',
description: 'The build profile for Authenticator. One of "default" or "development".'
)

View file

@ -1,42 +0,0 @@
######################################################################
# Automatically generated by qmake (3.0) ?? ???. 22 21:50:14 2014
######################################################################
CONFIG += qt debug
TEMPLATE = app
TARGET = pipeviz
QT += widgets
QT += xml
QT += core
INCLUDEPATH += . src
CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-1.0
gitinfo.commands = src/verinfo/verinfo.sh src/version src/version_info.h
gitinfo.target = gitinfo
QMAKE_EXTRA_TARGETS += gitinfo
# Input
HEADERS += src/PluginsList.h \
src/MainWindow.h \
src/GraphManager.h \
src/GraphDisplay.h \
src/ElementProperties.h \
src/PadProperties.h \
src/PipelineIE.h \
src/CustomSettings.h \
src/SeekSlider.h
SOURCES += src/main.cpp \
src/PluginsList.cpp \
src/MainWindow.cpp \
src/GraphManager.cpp \
src/GraphDisplay.cpp \
src/ElementProperties.cpp \
src/PadProperties.cpp \
src/PipelineIE.cpp \
src/CustomSettings.cpp \
src/SeekSlider.cpp

2
po/LINGUAS Normal file
View file

@ -0,0 +1,2 @@
fr
it

5
po/POTFILES.in Normal file
View file

@ -0,0 +1,5 @@
data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in
data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in.in
data/org.freedesktop.dabrain34.GstPipelineStudio.gschema.xml.in
src/app.rs

44
po/fr.po Normal file
View file

@ -0,0 +1,44 @@
# French translations for gps package.
# Copyright (C) 2019 THE gps'S COPYRIGHT HOLDER
# This file is distributed under the same license as the GstPipelineStudio package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: gps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-29 22:56+0200\n"
"PO-Revision-Date: 2019-09-29 22:46+0200\n"
"Last-Translator: Stéphane Cerveau <scerveau@gmail.com>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:7
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in:4
msgid "GstPipelineStudio"
msgstr "GstPipelineStudio"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:8
msgid "Draw your own GStreamer pipeline..."
msgstr "Dessine ton propre GStreamer pipeline..."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:10
msgid ""
"GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. "
"From a first step in the framework with a simple pipeline to a complex pipeline debugging, "
"the tool provides a friendly interface to add elements to a pipeline and debug it."
msgstr "GstPipelineStudio a pour but de fournir une interface utilisateur au logiciel GStreamer. "
"Du premier pas dans GStreamer avec un simple pipeline à une version plus complexe avec debogage, l'outil offre "
"une interface intuitive pour ajouter des elements à un pipeline pour l'examiner."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in.in:4
msgid "A GUI for GStreamer"
msgstr "Une interface utilisateur pour GStreamer"
#: src/app.rs:344
msgid "GPS is ready"
msgstr "GPS est prêt"

44
po/gps.pot Normal file
View file

@ -0,0 +1,44 @@
# French translations for GstPipelineStudio package.
# Copyright (C) 2019 THE GstPipelineStudio'S COPYRIGHT HOLDER
# This file is distributed under the same license as the GstPipelineStudio package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: gps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-29 22:56+0200\n"
"PO-Revision-Date: 2019-09-29 22:46+0200\n"
"Last-Translator: Stéphane Cerveau <scerveau@gmail.com>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:7
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in:4
msgid "GstPipelineStudio"
msgstr "GstPipelineStudio"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:8
msgid "Draw your own GStreamer pipeline..."
msgstr "Dessine ton propre GStreamer pipeline..."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:10
msgid ""
"GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. "
From a first step in the framework with a simple pipeline to a complex pipeline debugging, "
the tool provides a friendly interface to add elements to a pipeline and debug it."
msgstr "GstPipelineStudio a pour but de fournir une interface utilisateur au logiciel GStreamer. "
Du premier pas dans GStreamer avec un simple pipeline à une version plus complexe avec debogage, l'outil offre "
une interface intuitive pour ajouter des elements à un pipeline pour l'examiner."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in.in:4
msgid "A GUI for GStreamer"
msgstr "Une interface utilisateur pour GStreamer"
#: src/app.rs:344
msgid "GPS is ready"
msgstr "GPS est prêt"

45
po/it.po Normal file
View file

@ -0,0 +1,45 @@
# Italian translations for gps package.
# Copyright (C) 2022 THE gps'S COPYRIGHT HOLDER
# This file is distributed under the same license as the GstPipelineStudio package.
# Automatically generated, 2022.
# Albano Battistella <albano_battistella>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: gps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-29 22:56+0200\n"
"PO-Revision-Date: 2022-02-08 20:46+0100\n"
"Last-Translator: Albano Battistella <albano_battistella@hotmail.com>\n"
"Language-Team: Italian\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:7
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in:4
msgid "GstPipelineStudio"
msgstr "GstPipelineStudio"
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:8
msgid "Draw your own GStreamer pipeline..."
msgstr "Disegna la tua pipeline GStreamer..."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in:10
msgid ""
"GstPipelineStudio aims to provide a graphical user interface to the GStreamer framework. "
"From a first step in the framework with a simple pipeline to a complex pipeline debugging, "
"the tool provides a friendly interface to add elements to a pipeline and debug it."
msgstr "GstPipelineStudio mira a fornire un'interfaccia utente grafica al framework GStreamer. "
"Da un primo passaggio nel framework con una pipeline semplice a un debug di una pipeline complessa,"
"lo strumento fornisce un'interfaccia intuitiva per aggiungere elementi a una pipeline ed eseguirne il debug."
#: data/org.freedesktop.dabrain34.GstPipelineStudio.desktop.in.in:4
msgid "A GUI for GStreamer"
msgstr "Una interfaccia grafica per GStreamer"
#: src/app.rs:344
msgid "GPS is ready"
msgstr "GPS è pronto"

1
po/meson.build Normal file
View file

@ -0,0 +1 @@
i18n.gettext(gettext_package, preset: 'glib')

View file

@ -1,54 +0,0 @@
pipeviz
==========
Pipeviz is a graphedit for gstreamer-1.0. This is a gui tool for constructing and testing gstreamer pipelines.
It allows you:
* to construct the pipelines via the gui interface
* to test different types of pipes easy
* save and open your graphs
Who might be interested in it?
* quality assurance
* technical support
* software engineers
![alt tag](https://cloud.githubusercontent.com/assets/10683398/6396608/94f89e3a-be09-11e4-982c-5bf3a57bc6f4.png)
Pre-requirements:
-----
* qt (4.0 5.0)
* gstreamer-1.0
* pkgconfig
Building:
-----
cd pipeviz
qmake pipeviz.pro
make gitinfo
make
Prebuilt binaries
-----
Prebuilt binaries for windows are available.
[Latest Release](https://github.com/virinext/pipeviz/releases/latest)

24
release.md Normal file
View file

@ -0,0 +1,24 @@
# Create a release
- Update to the given version:
- meson.build
- cargo.toml
- VERSION
- index.html
- And rebuild to regenerate the cargo.lock
- update the changelog in org.freedesktop.dabrain34.GstPipelineStudio.appdata.xml.in.in within release/description
- create a tag on gitlab
- Fetch the package from the `linux release` job or you can make it manually with:
- meson builddir -Dbuildtype=release
- ninja -C builddir dist
- Upload the package .xz file and the sha256 to gitlab release page in the release notes
see https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/releases/0.3.2
# flathub
https://github.com/flathub/org.freedesktop.dabrain34.GstPipelineStudio
- Need to update the package and the sha256 from the release page, ie https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/releases/0.3.2
- Create a pull request with the package update
- Wait at lest 2-3 hours after merging to get the update available.

View file

@ -1,38 +0,0 @@
#include "CustomSettings.h"
#include <QSettings>
#define COMPANY_NAME "virinext"
#define APPLICATION_NAME "pipeviz"
void CustomSettings::saveLastIODirectory(const QString &name)
{
QSettings settings(COMPANY_NAME, APPLICATION_NAME);
settings.setValue("last_directory", name);
}
QString CustomSettings::lastIODirectory()
{
QSettings settings(COMPANY_NAME, APPLICATION_NAME);
QString res = settings.value("last_directory").toString();
if(res.isEmpty())
res = "./";
return res;
}
void CustomSettings::saveMainWindowGeometry(const QByteArray &geometry)
{
QSettings settings(COMPANY_NAME, APPLICATION_NAME);
settings.setValue("geometry", geometry);
}
QByteArray CustomSettings::mainWindowGeometry()
{
QSettings settings(COMPANY_NAME, APPLICATION_NAME);
return settings.value("geometry").toByteArray();
}

View file

@ -1,19 +0,0 @@
#ifndef CUSTOM_SETTINGS_H_
#define CUSTOM_SETTINGS_H_
#include <QString>
#include <QByteArray>
namespace CustomSettings
{
void saveLastIODirectory(const QString &name);
QString lastIODirectory();
void saveMainWindowGeometry(const QByteArray &geometry);
QByteArray mainWindowGeometry();
}
#endif

View file

@ -1,438 +0,0 @@
#include "ElementProperties.h"
#include <QDebug>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QString>
#include <QLabel>
#include <QScrollArea>
#include <QPushButton>
#include <QComboBox>
#include <gst/gst.h>
ElementProperties::ElementProperties(QSharedPointer<GraphManager> pGraph, const char *name,
QWidget *parent, Qt::WindowFlags flags):
QWidget(parent, flags),
m_pGraphManager(pGraph),
m_name(name)
{
setWindowTitle(QString(name) + " properties");
create();
}
void ElementProperties::addParamEnum(GParamSpec *param, GstElement *element, QGridLayout *play)
{
GValue value = { 0 };
g_value_init (&value, param -> value_type);
if(param -> flags & G_PARAM_READABLE)
g_object_get_property (G_OBJECT(element), param -> name, &value);
else
{
const GValue *valueDef = g_param_spec_get_default_value(param);
g_value_copy(valueDef, &value);
}
QString propertyName = g_param_spec_get_name (param);
int propertyValue;
propertyValue = g_value_get_enum(&value);
GParamSpecEnum *penumSpec = G_PARAM_SPEC_ENUM(param);
if(!penumSpec)
return;
QComboBox *pcomBox = new QComboBox;
for(std::size_t i=0; i<penumSpec -> enum_class -> n_values; i++)
{
QVariant var(penumSpec -> enum_class -> values[i].value);
QString valueName = penumSpec -> enum_class -> values[i].value_name;
pcomBox -> addItem(valueName, var);
if(penumSpec -> enum_class -> values[i].value == propertyValue)
pcomBox -> setCurrentIndex(i);
}
int row = play -> rowCount();
play -> addWidget(new QLabel(propertyName), row, 0);
play -> addWidget(pcomBox, row, 1);
m_values.insert(propertyName, pcomBox);
}
void ElementProperties::addParamFlags(GParamSpec *param, GstElement *element, QGridLayout *play)
{
GValue value = { 0 };
g_value_init (&value, param -> value_type);
if(param -> flags & G_PARAM_READABLE)
g_object_get_property (G_OBJECT(element), param -> name, &value);
else
{
const GValue *valueDef = g_param_spec_get_default_value(param);
g_value_copy(valueDef, &value);
}
QString propertyName = g_param_spec_get_name (param);
int propertyValue;
propertyValue = g_value_get_flags(&value);
GParamSpecFlags *pflagsSpec = G_PARAM_SPEC_FLAGS(param);
if(!pflagsSpec)
return;
QComboBox *pcomBox = new QComboBox;
for(std::size_t i=0; i<pflagsSpec -> flags_class -> n_values; i++)
{
QVariant var(pflagsSpec -> flags_class -> values[i].value);
QString valueName = pflagsSpec -> flags_class -> values[i].value_name;
pcomBox -> addItem(valueName, var);
if(pflagsSpec -> flags_class -> values[i].value == propertyValue)
pcomBox -> setCurrentIndex(i);
}
int row = play -> rowCount();
play -> addWidget(new QLabel(propertyName), row, 0);
play -> addWidget(pcomBox, row, 1);
m_values.insert(propertyName, pcomBox);
}
void ElementProperties::addParamSimple(GParamSpec *param, GstElement *element, QGridLayout *play)
{
bool readOnly = true;
if(param->flags & G_PARAM_WRITABLE)
readOnly = false;
GValue value = { 0 };
g_value_init (&value, param -> value_type);
if(param -> flags & G_PARAM_READABLE)
g_object_get_property (G_OBJECT(element), param -> name, &value);
else
{
const GValue *valueDef = g_param_spec_get_default_value(param);
g_value_copy(valueDef, &value);
}
QString propertyName = g_param_spec_get_name (param);
QString propertyValue;
bool skip = false;
switch (G_VALUE_TYPE (&value))
{
case G_TYPE_STRING:
{
const char *string_val = g_value_get_string (&value);
propertyValue = string_val;
break;
}
case G_TYPE_BOOLEAN:
{
gboolean bool_val = g_value_get_boolean (&value);
propertyValue = QString::number(bool_val);
break;
}
case G_TYPE_ULONG:
{
propertyValue = QString::number(g_value_get_ulong(&value));
break;
}
case G_TYPE_LONG:
{
propertyValue = QString::number(g_value_get_long(&value));
break;
}
case G_TYPE_UINT:
{
propertyValue = QString::number(g_value_get_uint(&value));
break;
}
case G_TYPE_INT:
{
propertyValue = QString::number(g_value_get_int(&value));
break;
}
case G_TYPE_UINT64:
{
propertyValue = QString::number(g_value_get_uint64(&value));
break;
}
case G_TYPE_INT64:
{
propertyValue = QString::number(g_value_get_int64(&value));
break;
}
case G_TYPE_FLOAT:
{
propertyValue = QString::number(g_value_get_float(&value));
break;
}
case G_TYPE_DOUBLE:
{
propertyValue = QString::number(g_value_get_double(&value));
break;
}
case G_TYPE_CHAR:
{
propertyValue = QString::number(g_value_get_char(&value));
break;
}
case G_TYPE_UCHAR:
{
propertyValue = QString::number(g_value_get_uchar(&value));
break;
}
default:
{
skip = true;
qDebug() << "property " << propertyName << " not supported";
break;
}
};
int row = play -> rowCount();
play -> addWidget(new QLabel(propertyName), row, 0);
QLineEdit *ple = new QLineEdit(propertyValue);
ple -> setReadOnly(readOnly);
play -> addWidget(ple, row, 1);
if(!skip)
m_values.insert(propertyName, ple);
else
ple -> setReadOnly(true);
}
void ElementProperties::create()
{
GstElement *element = gst_bin_get_by_name (GST_BIN(m_pGraphManager -> m_pGraph), m_name.toStdString().c_str());
if(!element)
return;
QGridLayout *play = new QGridLayout;
GParamSpec **prop_specs;
guint num_props;
prop_specs = g_object_class_list_properties(G_OBJECT_GET_CLASS (element),
&num_props);
for(std::size_t i = 0; i<num_props; i++)
{
GParamSpec *param = prop_specs[i];
if(G_IS_PARAM_SPEC_ENUM(param))
addParamEnum(param, element, play);
else if(G_IS_PARAM_SPEC_FLAGS(param))
addParamFlags(param, element, play);
else
addParamSimple(param, element, play);
}
QVBoxLayout *pvblay = new QVBoxLayout;
QWidget *pwgt = new QWidget(this);
pwgt -> setLayout(play);
QScrollArea *pscroll = new QScrollArea(this);
pscroll -> setWidget(pwgt);
pvblay -> addWidget(pscroll);
QHBoxLayout *phblay = new QHBoxLayout;
QPushButton *pcmdApply = new QPushButton("Apply");
QPushButton *pcmdOk = new QPushButton("OK");
QPushButton *pcmdCancel = new QPushButton("Cancel");
phblay -> addStretch(1);
phblay -> addWidget(pcmdApply);
phblay -> addWidget(pcmdCancel);
phblay -> addWidget(pcmdOk);
pvblay -> addLayout(phblay);
QObject::connect(pcmdApply, SIGNAL(clicked()), this, SLOT(applyClicked()));
QObject::connect(pcmdCancel, SIGNAL(clicked()), this, SLOT(close()));
QObject::connect(pcmdOk, SIGNAL(clicked()), this, SLOT(okClicked()));
setLayout(pvblay);
g_free(prop_specs);
gst_object_unref(element);
}
void ElementProperties::applyClicked()
{
GstElement *element = gst_bin_get_by_name (GST_BIN(m_pGraphManager -> m_pGraph),
m_name.toStdString().c_str());
if(!element)
return;
QMap<QString, QWidget *>::iterator itr = m_values.begin();
for(;itr != m_values.end(); itr++)
{
GParamSpec *param = g_object_class_find_property(G_OBJECT_GET_CLASS (element),
itr.key().toStdString().c_str());
if(!param)
{
qDebug() << "problem with setting " << itr.key() << " property";
continue;
}
if(!(param -> flags & G_PARAM_WRITABLE))
continue;
QString valStr;
if(dynamic_cast<QLineEdit *>(itr.value()))
valStr = ((QLineEdit *) itr.value()) -> text();
else if(dynamic_cast<QComboBox *>(itr.value()))
{
QComboBox *pcomBox = (QComboBox *) itr.value();
int val = pcomBox -> itemData(pcomBox -> currentIndex()).toInt();
valStr = QString::number(val);
}
std::string tmpStr = itr.key().toStdString();
const char *propName = tmpStr.c_str();
if(G_IS_PARAM_SPEC_ENUM(param) || G_IS_PARAM_SPEC_FLAGS(param))
{
if(dynamic_cast<QComboBox *>(itr.value()))
{
QComboBox *pcomBox = (QComboBox *) itr.value();
int val = pcomBox -> itemData(pcomBox -> currentIndex()).toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
}
}
else
{
switch (param -> value_type)
{
case G_TYPE_STRING:
{
g_object_set(G_OBJECT(element), propName, valStr.toStdString().c_str(), NULL);
break;
}
case G_TYPE_BOOLEAN:
{
gboolean val = valStr.toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_ULONG:
{
gulong val = valStr.toULong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_LONG:
{
glong val = valStr.toLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_UINT:
{
guint val = valStr.toUInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_INT:
{
gint val = valStr.toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_UINT64:
{
guint64 val = valStr.toULongLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_INT64:
{
gint64 val = valStr.toLongLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_FLOAT:
{
gfloat val = valStr.toFloat();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_DOUBLE:
{
gdouble val = valStr.toDouble();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_CHAR:
{
gchar val = valStr.toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_UCHAR:
{
guchar val = valStr.toUInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
default:
{
qDebug() << "property " << itr.key() << " not supported";
break;
}
};
}
}
gst_object_unref(element);
delete layout();
qDeleteAll(children());
create();
}
void ElementProperties::okClicked()
{
applyClicked();
close();
}

View file

@ -1,37 +0,0 @@
#ifndef ELEMENT_PROPERTIES_H_
#define ELEMENT_PROPERTIES_H_
#include <QWidget>
#include <QSharedPointer>
#include <QMap>
#include <QString>
#include <QLineEdit>
#include <QGridLayout>
#include "GraphManager.h"
class ElementProperties: public QWidget
{
Q_OBJECT
public:
ElementProperties(QSharedPointer<GraphManager> pGraphManager, const char *name,
QWidget *parent = 0, Qt::WindowFlags flags = 0);
private slots:
void applyClicked();
void okClicked();
private:
QSharedPointer<GraphManager> m_pGraphManager;
QMap<QString, QWidget *> m_values;
QString m_name;
void create();
void addParamSimple(GParamSpec *value, GstElement *element, QGridLayout *play);
void addParamEnum(GParamSpec *value, GstElement *element, QGridLayout *play);
void addParamFlags(GParamSpec *value, GstElement *element, QGridLayout *play);
};
#endif

View file

@ -1,960 +0,0 @@
#include "GraphDisplay.h"
#include <cassert>
#include <math.h>
#include <QPainter>
#include <QMouseEvent>
#include <QKeyEvent>
#include <QMenu>
#include <QMessageBox>
#include <QTableWidget>
#include <QVariant>
#include <QDebug>
#include "ElementProperties.h"
#include "PadProperties.h"
#define PAD_SIZE 8
#define PAD_SIZE_ACTION 16
GraphDisplay::GraphDisplay(QWidget *parent, Qt::WindowFlags f):
QWidget(parent, f)
{
setFocusPolicy(Qt::WheelFocus);
}
void GraphDisplay::updateDisplayInfoIds()
{
for(std::size_t i=0; i<m_info.size(); i++)
{
for(std::size_t j=0; j<m_displayInfo.size(); j++)
{
if(m_info[i].m_name == m_displayInfo[j].m_name)
{
m_displayInfo[j].m_id = m_info[i].m_id;
for(std::size_t k=0; k<m_displayInfo.size(); k++)
{
if(k != j && m_displayInfo[j].m_id == m_displayInfo[k].m_id)
m_displayInfo[k].m_id = (size_t)-1;
}
}
}
}
}
void GraphDisplay::update(const std::vector <ElementInfo> &info)
{
bool needUpdate = false;
if(m_info.size() != info.size())
needUpdate = true;
if(!needUpdate)
{
for(std::size_t i=0; i<info.size(); i++)
{
std::size_t j=0;
for(; j<m_info.size(); j++)
{
if(info[i].m_name == m_info[j].m_name)
break;
}
if(j == m_info.size())
{
needUpdate = true;
break;
}
if(info[i].m_pads != m_info[j].m_pads)
{
needUpdate = true;
break;
}
if(info[i].m_connections != m_info[j].m_connections)
{
needUpdate = true;
break;
}
}
}
if(needUpdate)
{
m_info = info;
updateDisplayInfoIds();
calculatePositions();
repaint();
}
}
void GraphDisplay::paintEvent(QPaintEvent *event)
{
QPainter painter(this);
QPen defaultPen = painter.pen();
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(m_displayInfo[i].m_isSelected)
painter.setPen(QPen(Qt::blue));
painter.drawRect(m_displayInfo[i].m_rect);
painter.setPen(defaultPen);
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
QPoint point = getPadPosition(m_info[i].m_id, m_info[i].m_pads[j].m_id);
int xPos, yPos;
xPos = point.x();
yPos = point.y();
xPos -= PAD_SIZE / 2;
yPos -= PAD_SIZE / 2;
painter.fillRect(xPos, yPos, PAD_SIZE, PAD_SIZE, Qt::black);
QPoint textPos;
QRect rect = painter.boundingRect(0, 0, width(), height(), Qt::AlignLeft | Qt::AlignTop, QString(m_info[i].m_pads[j].m_name.c_str()));
if(m_info[i].m_pads[j].m_type == PadInfo::Out)
textPos = QPoint(point.x() - PAD_SIZE - rect.width(), point.y() + PAD_SIZE / 2);
else if(m_info[i].m_pads[j].m_type == PadInfo::In)
textPos = QPoint(point.x() + PAD_SIZE, point.y() + PAD_SIZE / 2);
painter.drawText(textPos, QString(m_info[i].m_pads[j].m_name.c_str()));
if(m_info[i].m_connections[j].m_elementId != ((size_t)-1) && m_info[i].m_connections[j].m_padId != ((size_t)-1))
{
xPos = point.x();
yPos = point.y();
point = getPadPosition(m_info[i].m_connections[j].m_elementId, m_info[i].m_connections[j].m_padId);
int xPosPeer, yPosPeer;
xPosPeer = point.x();
yPosPeer = point.y();
painter.drawLine(xPos, yPos, xPosPeer, yPosPeer);
}
}
painter.drawText(m_displayInfo[i].m_rect.topLeft() + QPoint(10, 15), QString(m_displayInfo[i].m_name.c_str()));
}
if(m_moveInfo.m_action == MakeConnect)
{
painter.drawLine(m_moveInfo.m_position, m_moveInfo.m_startPosition);
}
else if(m_moveInfo.m_action == Select)
{
if(!m_moveInfo.m_position.isNull())
{
painter.setPen(Qt::DashLine);
painter.drawRect(QRect(m_moveInfo.m_startPosition, m_moveInfo.m_position));
}
}
}
GraphDisplay::ElementDisplayInfo GraphDisplay::calculateOnePosition(const ElementInfo &info)
{
ElementDisplayInfo displayInfo;
displayInfo.m_id = info.m_id;
displayInfo.m_name = info.m_name;
displayInfo.m_isSelected = false;
int width = 150;
int height = 50;
int numInPads, numOutPads;
numInPads = numOutPads = 0;
for(std::size_t j=0; j<info.m_pads.size(); j++)
{
if(info.m_pads[j].m_type == PadInfo::Out)
numOutPads++;
else if(info.m_pads[j].m_type == PadInfo::In)
numInPads++;
}
if(std::max(numInPads, numOutPads) >= 1)
height += (std::max(numInPads, numOutPads) - 1) * 25;
int curX, curY;
curX = curY = 10;
QRect rect(curX, curY, width, height);
while(true)
{
rect = QRect(curX, curY, width, height);
QRect rectTest(curX, curY - 15, width + 15, height + 15);
bool noIntersects = true;
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(rectTest.intersects(m_displayInfo[i].m_rect))
{
noIntersects = false;
break;
}
}
if(noIntersects)
break;
curY += 25;
}
displayInfo.m_rect = rect;
return displayInfo;
}
void GraphDisplay::calculatePositions()
{
while(true)
{
std::size_t i=0;
for(; i<m_displayInfo.size(); i++)
{
std::size_t j=0;
for(; j<m_info.size(); j++)
{
if(m_displayInfo[i].m_id == m_info[j].m_id)
break;
}
if(j == m_info.size())
{
m_displayInfo.erase(m_displayInfo.begin() + i);
break;
}
}
if(i >= m_displayInfo.size())
break;
}
std::size_t i=0;
for(; i<m_info.size(); i++)
{
std::size_t j=0;
for(; j<m_displayInfo.size(); j++)
{
if(m_displayInfo[j].m_id == m_info[i].m_id)
break;
}
if(j == m_displayInfo.size())
m_displayInfo.push_back(calculateOnePosition(m_info[i]));
}
std::vector <ElementDisplayInfo> reorderedDisplayInfo(m_info.size());
for(std::size_t i=0; i<m_info.size(); i++)
{
for(std::size_t j=0; j<m_displayInfo.size(); j++)
{
if(m_displayInfo[j].m_id == m_info[i].m_id)
{
reorderedDisplayInfo[i] = m_displayInfo[j];
break;
}
}
}
m_displayInfo = reorderedDisplayInfo;
}
void GraphDisplay::mousePressEvent(QMouseEvent *event)
{
std::size_t elementId, padId;
getIdByPosition(event -> pos(), elementId, padId);
if(event -> buttons() & Qt::RightButton)
{
showContextMenu(event);
}
else
{
if(padId != ((size_t)-1))
{
m_moveInfo.m_padId = padId;
m_moveInfo.m_elementId = elementId;
m_moveInfo.m_position = event -> pos();
m_moveInfo.m_action = MakeConnect;
m_moveInfo.m_startPosition = event -> pos();
}
else if(elementId != ((size_t)-1))
{
m_moveInfo.m_elementId = elementId;
m_moveInfo.m_padId = -1;
m_moveInfo.m_position = event -> pos();
m_moveInfo.m_action = MoveComponent;
m_moveInfo.m_startPosition = event -> pos();
}
else
{
m_moveInfo.m_startPosition = event -> pos();
m_moveInfo.m_action = Select;
m_moveInfo.m_position = QPoint();
}
}
for(std::size_t i=0; i<m_displayInfo.size(); i++)
m_displayInfo[i].m_isSelected = false;
}
void GraphDisplay::mouseReleaseEvent (QMouseEvent *event)
{
if(m_moveInfo.m_action == MakeConnect)
{
std::size_t elementId, padId;
getIdByPosition(event -> pos(), elementId, padId);
if(elementId != ((size_t)-1) && padId != ((size_t)-1))
{
ElementInfo infoSrc, infoDst;
const char *srcPad, *dstPad;
srcPad = NULL;
dstPad = NULL;
for(std::size_t i=0; i<m_info.size(); i++)
{
if(m_info[i].m_id == m_moveInfo.m_elementId)
{
infoSrc = m_info[i];
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
if(m_info[i].m_pads[j].m_id == m_moveInfo.m_padId)
{
srcPad = m_info[i].m_pads[j].m_name.c_str();
break;
}
}
}
if(m_info[i].m_id == elementId)
{
infoDst = m_info[i];
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
if(m_info[i].m_pads[j].m_id == padId)
{
dstPad = m_info[i].m_pads[j].m_name.c_str();
break;
}
}
}
if(srcPad != NULL && dstPad != NULL)
break;
}
assert(srcPad != NULL && dstPad != NULL);
qDebug() << "Connection from " << infoSrc.m_name.c_str() << ":" << srcPad
<< " to " << infoDst.m_name.c_str() << ":" << dstPad;
if(!m_pGraph -> Connect(infoSrc.m_name.c_str(), srcPad, infoDst.m_name.c_str(), dstPad))
{
QString msg;
msg = "Connection ";
msg += QString(infoSrc.m_name.c_str()) + ":" + srcPad;
msg += " => ";
msg += QString(infoDst.m_name.c_str()) + ":" + dstPad;
msg += " was FAILED";
QMessageBox::warning(this, "Coonection failed", msg);
}
m_info = m_pGraph -> GetInfo();
updateDisplayInfoIds();
}
}
else if(m_moveInfo.m_action == Select)
{
std::size_t width = std::abs(m_moveInfo.m_position.x() - m_moveInfo.m_startPosition.x());
std::size_t height = std::abs(m_moveInfo.m_position.y() - m_moveInfo.m_startPosition.y());
if(!m_moveInfo.m_position.isNull() && width * height > 5)
{
QRect selectionRect(m_moveInfo.m_startPosition, m_moveInfo.m_position);
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(selectionRect.intersects(m_displayInfo[i].m_rect))
m_displayInfo[i].m_isSelected = true;
}
}
repaint();
}
else if(m_moveInfo.m_action == MoveComponent)
{
int dx = event -> x() - m_moveInfo.m_startPosition.x();
int dy = event -> y() - m_moveInfo.m_startPosition.y();
if(dx == dy && dy == 0)
{
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(m_displayInfo[i].m_id == m_moveInfo.m_elementId)
{
m_displayInfo[i].m_isSelected = true;
repaint();
break;
}
}
}
}
m_moveInfo.m_action = None;
m_moveInfo.m_elementId = -1;
m_moveInfo.m_padId = -1;
m_moveInfo.m_startPosition = QPoint();
m_moveInfo.m_position = QPoint();
repaint();
}
void GraphDisplay::mouseMoveEvent(QMouseEvent *event)
{
if(m_moveInfo.m_action == MoveComponent)
{
int dx = event -> x() - m_moveInfo.m_position.x();
int dy = event -> y() - m_moveInfo.m_position.y();
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(m_displayInfo[i].m_id == m_moveInfo.m_elementId)
{
QRect newRect = m_displayInfo[i].m_rect;
newRect.adjust(dx, dy, dx, dy);
if(contentsRect().contains(newRect))
m_displayInfo[i].m_rect = newRect;
break;
}
}
}
if(m_moveInfo.m_action != None)
{
m_moveInfo.m_position = event -> pos();
repaint();
}
}
void GraphDisplay::keyPressEvent(QKeyEvent* event)
{
if(event -> key() == Qt::Key_Delete)
removeSelected();
return QWidget::keyPressEvent(event);
}
void GraphDisplay::showContextMenu(QMouseEvent *event)
{
QMenu menu;
std::size_t elementId, padId;
getIdByPosition(event -> pos(), elementId, padId);
GstState state;
GstStateChangeReturn res = gst_element_get_state (m_pGraph -> m_pGraph, &state, NULL, GST_MSECOND);
bool isActive = false;
if(res != GST_STATE_CHANGE_SUCCESS || state == GST_STATE_PAUSED || state == GST_STATE_PLAYING)
isActive = true;
int selectedCount = 0;
for(std::size_t i=0; i<m_displayInfo.size(); i++)
if(m_displayInfo[i].m_isSelected)
selectedCount++;
if(selectedCount > 1)
{
QAction *pact = menu.addAction("Remove selected");
if(isActive)
pact -> setDisabled(true);
}
else if(padId != ((size_t)-1))
menu.addAction("Pad properties");
else if(elementId != ((size_t)-1))
{
menu.addAction("Element properties");
QAction *pact = menu.addAction("Remove");
if(isActive)
pact -> setDisabled(true);
pact = menu.addAction("Request pad...");
}
else
{
for(std::size_t i=0; i<m_info.size(); i++)
{
for(std::size_t j=0; j<m_info[i].m_connections.size(); j++)
{
QPoint point = getPadPosition(m_info[i].m_id, m_info[i].m_pads[j].m_id);
double x1, y1;
x1 = point.x();
y1 = point.y();
if(m_info[i].m_connections[j].m_elementId != ((size_t)-1) && m_info[i].m_connections[j].m_padId != ((size_t)-1))
{
point = getPadPosition(m_info[i].m_connections[j].m_elementId, m_info[i].m_connections[j].m_padId);
double x2, y2;
x2 = point.x();
y2 = point.y();
double dy = y2 - y1;
double dx = x2 - x1;
double x0 = event -> pos().x();
double y0 = event -> pos().y();
double distance = std::abs((int)(dy * x0 - dx * y0 + x2 * y1 - y2 * x1));
distance = distance / sqrt(dy * dy + dx * dx);
if(distance < 5)
{
elementId = m_info[i].m_id;
padId = m_info[i].m_pads[j].m_id;
QAction *pact = menu.addAction("Disconnect");
if(isActive)
pact -> setDisabled(true);
break;
}
}
}
if(!menu.isEmpty())
break;
}
}
if(!menu.isEmpty())
{
QAction *pact = menu.exec(event -> globalPos());
if(pact)
{
if(pact -> text() == "Remove")
removePlugin(elementId);
else if(pact -> text() == "Element properties")
showElementProperties(elementId);
else if(pact -> text() == "Pad properties")
showPadProperties(elementId, padId);
else if(pact -> text() == "Disconnect")
disconnect(elementId, padId);
else if(pact -> text() == "Request pad...")
requestPad(elementId);
else if(pact -> text() == "Remove selected")
removeSelected();
}
}
}
void GraphDisplay::removeSelected()
{
GstState state;
GstStateChangeReturn res = gst_element_get_state (m_pGraph -> m_pGraph, &state, NULL, GST_MSECOND);
if(res != GST_STATE_CHANGE_SUCCESS || state == GST_STATE_PAUSED || state == GST_STATE_PLAYING)
return;
while(true)
{
std::size_t i=0;
for(; i<m_displayInfo.size(); i++)
{
if(m_displayInfo[i].m_isSelected)
break;
}
if(i != m_displayInfo.size())
removePlugin(m_displayInfo[i].m_id);
else
break;
}
}
void GraphDisplay::removePlugin(std::size_t id)
{
std::size_t i=0;
for(; i<m_info.size(); i++)
{
if(m_info[i].m_id == id)
break;
}
if(i < m_info.size())
{
if(m_pGraph -> RemovePlugin(m_info[i].m_name.c_str()))
{
std::vector<ElementInfo> info = m_pGraph -> GetInfo();
update(info);
}
else
QMessageBox::warning(this, "Element removing problem", "Element `" + QString(m_info[i].m_name.c_str()) + "` remowing was FAILED");
}
}
void GraphDisplay::showElementProperties(std::size_t id)
{
std::size_t i=0;
for(; i<m_info.size(); i++)
{
if(m_info[i].m_id == id)
break;
}
if(i < m_info.size())
{
ElementProperties *pprops = new ElementProperties(m_pGraph, m_info[i].m_name.c_str());
pprops -> setAttribute(Qt::WA_QuitOnClose, false);
pprops -> show();
}
}
void GraphDisplay::showPadProperties(std::size_t elementId, std::size_t padId)
{
std::size_t i=0;
for(; i<m_info.size(); i++)
{
if(m_info[i].m_id == elementId)
break;
}
if(i < m_info.size())
{
std::size_t j=0;
for(; j<m_info[i].m_pads.size(); j++)
if(m_info[i].m_pads[j].m_id == padId)
break;
if(j < m_info[i].m_pads.size())
{
PadProperties *pprops = new PadProperties(m_pGraph, m_info[i].m_name.c_str(), m_info[i].m_pads[j].m_name.c_str());
pprops -> setAttribute(Qt::WA_QuitOnClose, false);
pprops -> show();
}
}
}
void GraphDisplay::disconnect(size_t elementId, size_t padId)
{
std::string src, dst, srcPad, dstPad;
for(std::size_t i=0; i<m_info.size(); i++)
{
if(m_info[i].m_id == elementId)
{
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
if(m_info[i].m_pads[j].m_id == padId)
{
if(m_info[i].m_pads[j].m_type == PadInfo::Out)
{
src = m_info[i].m_name;
srcPad = m_info[i].m_pads[j].m_name.c_str();
elementId = m_info[i].m_connections[j].m_elementId;
padId = m_info[i].m_connections[j].m_padId;
}
else
{
dst = m_info[i].m_name;
dstPad = m_info[i].m_pads[j].m_name.c_str();
elementId = m_info[i].m_connections[j].m_elementId;
padId = m_info[i].m_connections[j].m_padId;
}
break;
}
}
break;
}
}
for(std::size_t i=0; i<m_info.size(); i++)
{
if(m_info[i].m_id == elementId)
{
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
if(m_info[i].m_pads[j].m_id == padId)
{
if(m_info[i].m_pads[j].m_type == PadInfo::Out)
{
src = m_info[i].m_name;
srcPad = m_info[i].m_pads[j].m_name.c_str();
}
else
{
dst = m_info[i].m_name;
dstPad = m_info[i].m_pads[j].m_name.c_str();
}
break;
}
}
break;
}
}
qDebug() << "Disconnect " << src.c_str() << ":" << srcPad.c_str()
<< " <-> " << dst.c_str() << ":" << dstPad.c_str();
if(src.empty() || dst.empty() || srcPad.empty() || dstPad.empty())
return;
m_pGraph -> Disconnect(src.c_str(), srcPad.c_str(), dst.c_str(), dstPad.c_str());
m_info = m_pGraph -> GetInfo();
updateDisplayInfoIds();
repaint();
}
void GraphDisplay::requestPad(std::size_t elementId)
{
QStringList labels;
labels.push_back("Template name");
labels.push_back("Caps");
labels.push_back("Direction");
QTableWidget *ptwgt = new QTableWidget();
ptwgt -> setColumnCount(3);
ptwgt -> setHorizontalHeaderLabels(labels);
ptwgt -> setSelectionBehavior(QAbstractItemView::SelectRows);
ptwgt -> setEditTriggers(QAbstractItemView::NoEditTriggers);
GstElement *element = NULL;
for(std::size_t i=0; i<m_info.size(); i++)
{
if(m_info[i].m_id == elementId)
{
element = gst_bin_get_by_name(GST_BIN(m_pGraph -> m_pGraph), m_info[i].m_name.c_str());
break;
}
}
if(!element)
{
QMessageBox::warning(this, "Request pad failed", "Request pad list obtaining was failed");
return;
}
GstElementClass *klass;
klass = GST_ELEMENT_GET_CLASS(element);
GList *lst = gst_element_class_get_pad_template_list(klass);
std::size_t k = 0;
while (lst != NULL)
{
GstPadTemplate *templ;
templ = (GstPadTemplate *) lst -> data;
if(GST_PAD_TEMPLATE_PRESENCE(templ) == GST_PAD_REQUEST)
{
ptwgt -> setRowCount(k + 1);
ptwgt -> setItem(k, 0, new QTableWidgetItem(GST_PAD_TEMPLATE_NAME_TEMPLATE(templ)));
GstCaps *caps = gst_pad_template_get_caps(templ);
gchar *capsStr = gst_caps_to_string(caps);
ptwgt -> setItem(k, 1, new QTableWidgetItem(capsStr));
g_free(capsStr);
gst_caps_unref(caps);
const char *directionSrc = "SRC";
const char *directionSink = "SINK";
const char *directionUnknown = "UNKNOWN";
QString direction;
switch(GST_PAD_TEMPLATE_DIRECTION(templ))
{
case GST_PAD_UNKNOWN:
direction = directionUnknown;
break;
case GST_PAD_SRC:
direction = directionSrc;
break;
case GST_PAD_SINK:
direction = directionSink;
break;
};
ptwgt -> setItem(k, 2, new QTableWidgetItem(direction));
k++;
}
lst = g_list_next(lst);
}
qulonglong v((qulonglong)element);
ptwgt -> setProperty("element", v);
connect(ptwgt, SIGNAL(cellActivated(int, int)), SLOT(addRequestPad(int, int)));
ptwgt -> setAttribute(Qt::WA_QuitOnClose, false);
ptwgt -> show();
}
void GraphDisplay::addRequestPad(int row, int collumn)
{
QTableWidget *ptwgt = dynamic_cast<QTableWidget *> (QObject::sender());
qulonglong v = ptwgt -> property("element").toULongLong();
GstElement *element = (GstElement *) v;
GstElementClass *klass = GST_ELEMENT_GET_CLASS(element);
GstPadTemplate *templ = gst_element_class_get_pad_template(klass, ptwgt -> itemAt(row, 0) -> text().toStdString().c_str());
gst_element_request_pad(element, templ, NULL, NULL);
gst_object_unref(element);
ptwgt -> close();
std::vector<ElementInfo> info = m_pGraph -> GetInfo();
update(info);
}
void GraphDisplay::getIdByPosition(const QPoint &pos, std::size_t &elementId, std::size_t &padId)
{
std::size_t i=0;
elementId = padId = -1;
for(; i<m_displayInfo.size(); i++)
{
if(elementId != ((size_t)-1))
break;
QRect rect(
m_displayInfo[i].m_rect.x() - 8,
m_displayInfo[i].m_rect.y() - 6,
m_displayInfo[i].m_rect.width() + 16,
m_displayInfo[i].m_rect.height() + 12
);
if(rect.contains(pos))
{
std::size_t j=0;
for(; j<m_info[i].m_pads.size(); j++)
{
QPoint point = getPadPosition(m_displayInfo[i].m_id, m_info[i].m_pads[j].m_id);
int xPos, yPos;
xPos = point.x();
yPos = point.y();
xPos -= PAD_SIZE_ACTION / 2;
yPos -= PAD_SIZE_ACTION / 2;
QRect rect(xPos, yPos, PAD_SIZE_ACTION, PAD_SIZE_ACTION);
if(rect.contains(pos))
{
padId = m_info[i].m_pads[j].m_id;
elementId = m_displayInfo[i].m_id;
break;
}
}
if(j == m_info[i].m_pads.size())
{
if(m_displayInfo[i].m_rect.contains(pos))
elementId = m_displayInfo[i].m_id;
}
}
}
}
QPoint GraphDisplay::getPadPosition(std::size_t elementId, std::size_t padId)
{
QPoint res;
if(elementId == ((size_t)-1) || padId == ((size_t)-1))
return res;
for(std::size_t i=0; i<m_displayInfo.size(); i++)
{
if(m_displayInfo[i].m_id == elementId)
{
int numInPads, numOutPads;
numInPads = numOutPads = 0;
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
if(m_info[i].m_pads[j].m_type == PadInfo::Out)
numOutPads++;
else if(m_info[i].m_pads[j].m_type == PadInfo::In)
numInPads++;
}
int inDelta, outDelta, inPos, outPos;
inDelta = m_displayInfo[i].m_rect.height() / (numInPads + 1);
outDelta = m_displayInfo[i].m_rect.height() / (numOutPads + 1);
inPos = inDelta;
outPos = outDelta;
for(std::size_t j=0; j<m_info[i].m_pads.size(); j++)
{
int xPos, yPos;
yPos = m_displayInfo[i].m_rect.topRight().y();
if(m_info[i].m_pads[j].m_type == PadInfo::Out)
{
xPos = m_displayInfo[i].m_rect.topRight().x();
yPos += outPos;
outPos += outDelta;
}
else if(m_info[i].m_pads[j].m_type == PadInfo::In)
{
xPos = m_displayInfo[i].m_rect.topLeft().x();
yPos += inPos;
inPos += inDelta;
}
if(m_info[i].m_pads[j].m_id == padId)
{
res = QPoint(xPos, yPos);
break;
}
}
break;
}
}
return res;
}

View file

@ -1,89 +0,0 @@
#ifndef GRAPH_DISPLAY_H_
#define GRAPH_DISPLAY_H_
#include <vector>
#include <QWidget>
#include <QSharedPointer>
#include <QPoint>
#include "GraphManager.h"
#include <vector>
class GraphDisplay: public QWidget
{
Q_OBJECT
public:
GraphDisplay(QWidget *parent=0, Qt::WindowFlags f=0);
void update(const std::vector <ElementInfo> &info);
void paintEvent(QPaintEvent *event);
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void keyPressEvent(QKeyEvent* event);
QSharedPointer<GraphManager> m_pGraph;
private slots:
void addRequestPad(int row, int collumn);
private:
enum MoveAction
{
None = 0,
MoveComponent,
MakeConnect,
Select
};
struct MoveInfo
{
MoveInfo(): m_action(None)
{
}
MoveAction m_action;
size_t m_elementId;
size_t m_padId;
QPoint m_position;
QPoint m_startPosition;
};
struct ElementDisplayInfo
{
QRect m_rect;
size_t m_id;
std::string m_name;
bool m_isSelected;
};
void calculatePositions();
void updateDisplayInfoIds();
ElementDisplayInfo calculateOnePosition(const ElementInfo &info);
void showContextMenu(QMouseEvent *event);
void showElementProperties(std::size_t id);
void showPadProperties(std::size_t elementId, std::size_t padId);
void removePlugin(std::size_t id);
void removeSelected();
void getIdByPosition(const QPoint &pos, std::size_t &elementId, std::size_t &padId);
QPoint getPadPosition(std::size_t elementId, std::size_t padId);
void disconnect(std::size_t elementId, std::size_t padId);
void requestPad(std::size_t elementId);
std::vector <ElementInfo> m_info;
std::vector <ElementDisplayInfo> m_displayInfo;
MoveInfo m_moveInfo;
};
#endif

View file

@ -1,384 +0,0 @@
#include "GraphManager.h"
#include <QDebug>
#include <QString>
#include <QFileDialog>
#include <QInputDialog>
#include <QFileInfo>
#include "CustomSettings.h"
GraphManager::GraphManager()
{
m_pGraph = gst_pipeline_new ("pipeline");
}
GraphManager::~GraphManager()
{
}
bool GraphManager::AddPlugin(const char *plugin, const char *name)
{
GstElement *pel = gst_element_factory_make(plugin, name);
if(!pel)
return false;
if(GST_IS_URI_HANDLER(pel))
{
static const gchar *const *protocols;
protocols = gst_uri_handler_get_protocols(GST_URI_HANDLER(pel));
bool isFile = false;
for(std::size_t i=0; protocols[i] != NULL; i++)
{
if(strcmp("file", protocols[i]) == 0)
{
isFile = true;
break;
}
}
if(isFile)
{
QString path;
QString dir = CustomSettings::lastIODirectory();
if(gst_uri_handler_get_uri_type(GST_URI_HANDLER(pel)) == GST_URI_SRC)
path = QFileDialog::getOpenFileName(NULL, "Open Source File...", dir);
else
path = QFileDialog::getSaveFileName(NULL, "Open Sink File...", dir);
if(!path.isEmpty())
{
gchar *uri = gst_filename_to_uri(path.toStdString().c_str(), NULL);
if(uri)
{
qDebug() << "Set uri: " << uri;
gst_uri_handler_set_uri(GST_URI_HANDLER(pel), uri, NULL);
g_free(uri);
QString dir = QFileInfo(path).absoluteDir().absolutePath();
CustomSettings::saveLastIODirectory(dir);
}
}
}
else
{
QString uri = QInputDialog::getText(NULL, "Uri...", "Uri:");
if(!uri.isEmpty())
{
qDebug() << "Set uri: " << uri;
gst_uri_handler_set_uri(GST_URI_HANDLER(pel), uri.toStdString().c_str(), NULL);
}
}
}
bool res = gst_bin_add(GST_BIN(m_pGraph), pel);
if(res)
gst_element_sync_state_with_parent(pel);
return res;
}
bool GraphManager::RemovePlugin(const char *name)
{
GstElement *element = gst_bin_get_by_name (GST_BIN(m_pGraph), name);
if(!element)
return false;
bool res = gst_bin_remove (GST_BIN(m_pGraph), element);
gst_object_unref(element);
return res;
}
bool GraphManager::OpenUri(const char *uri, const char *name)
{
GstElement *element = gst_element_make_from_uri(GST_URI_SRC, uri, name, NULL);
if(!element)
return false;
bool res = gst_bin_add(GST_BIN(m_pGraph), element);
if(res)
gst_element_sync_state_with_parent(element);
return res;
}
bool GraphManager::Connect(const char *srcElement, const char *srcPad,
const char *dstElement, const char *dstPad)
{
GstElement *src = gst_bin_get_by_name (GST_BIN(m_pGraph), srcElement);
GstElement *dst = gst_bin_get_by_name (GST_BIN(m_pGraph), dstElement);
bool res = gst_element_link_pads(src, srcPad, dst, dstPad);
gboolean seekRes = gst_element_seek_simple(m_pGraph, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH, 0);
gst_object_unref(src);
gst_object_unref(dst);
return res;
}
bool GraphManager::Disconnect(const char *srcElement, const char *srcPad,
const char *dstElement, const char *dstPad)
{
GstElement *src = gst_bin_get_by_name (GST_BIN(m_pGraph), srcElement);
GstElement *dst = gst_bin_get_by_name (GST_BIN(m_pGraph), dstElement);
gst_element_unlink_pads(src, srcPad, dst, dstPad);
gst_object_unref(src);
gst_object_unref(dst);
return true;
}
std::vector <ElementInfo> GraphManager::GetInfo()
{
std::vector <ElementInfo> res;
GstIterator *iter;
iter = gst_bin_iterate_elements (GST_BIN (m_pGraph));
bool done = false;
size_t id = 0;
while (!done)
{
GValue value = { 0 };
switch (gst_iterator_next (iter, &value))
{
case GST_ITERATOR_OK:
{
ElementInfo elementInfo;
elementInfo.m_id = id;
id++;
GstElement *element = GST_ELEMENT(g_value_get_object(&value));
gchar *name = gst_element_get_name(element);
elementInfo.m_name = name;
g_free(name);
GstElementFactory *pfactory =
gst_element_get_factory(element);
elementInfo.m_pluginName =
gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(pfactory));
GstIterator *padItr = gst_element_iterate_pads (element);
bool padDone = FALSE;
std::size_t padId = 0;
while (!padDone)
{
GValue padVal = { 0 };
switch (gst_iterator_next (padItr, &padVal))
{
case GST_ITERATOR_OK:
{
GstPad *pad = GST_PAD(g_value_get_object(&padVal));
PadInfo padInfo;
padInfo.m_id = padId;
gchar *pad_name = gst_pad_get_name(pad);
padInfo.m_name = pad_name;
g_free(pad_name);
GstPadDirection direction = gst_pad_get_direction(pad);
if(direction == GST_PAD_SRC)
padInfo.m_type = PadInfo::Out;
else if(direction == GST_PAD_SINK)
padInfo.m_type = PadInfo::In;
else
padInfo.m_type = PadInfo::None;
elementInfo.m_pads.push_back(padInfo);
g_value_reset (&padVal);
break;
}
case GST_ITERATOR_RESYNC:
case GST_ITERATOR_ERROR:
case GST_ITERATOR_DONE:
padDone = TRUE;
break;
};
padId++;
}
g_value_reset (&value);
res.push_back(elementInfo);
break;
}
case GST_ITERATOR_DONE:
case GST_ITERATOR_RESYNC:
case GST_ITERATOR_ERROR:
{
done = true;
break;
}
};
}
gst_iterator_free (iter);
for(std::size_t i=0; i<res.size(); i++)
{
res[i].m_connections.resize(res[i].m_pads.size());
GstElement *element = gst_bin_get_by_name (GST_BIN(m_pGraph), res[i].m_name.c_str());
for(std::size_t j=0; j<res[i].m_pads.size(); j++)
{
res[i].m_connections[j].m_elementId = -1;
res[i].m_connections[j].m_padId = -1;
GstPad *pad = gst_element_get_static_pad (element, res[i].m_pads[j].m_name.c_str());
GstPad *peerPad = gst_pad_get_peer(pad);
if(peerPad)
{
GstElement *peerElement = GST_ELEMENT(gst_pad_get_parent(peerPad));
gchar *peerName = gst_element_get_name(peerElement);
gchar *peerPadName = gst_pad_get_name(peerPad);
for(std::size_t k=0; k<res.size(); k++)
{
if(res[k].m_name == peerName)
{
for(std::size_t l=0; l<res[k].m_pads.size(); l++)
{
if(res[k].m_pads[l].m_name == peerPadName)
{
res[i].m_connections[j].m_elementId = res[k].m_id;
res[i].m_connections[j].m_padId = res[k].m_pads[l].m_id;
break;
}
}
}
}
g_free(peerName);
g_free(peerPadName);
gst_object_unref(peerPad);
gst_object_unref(peerElement);
}
gst_object_unref(pad);
}
gst_object_unref(element);
}
return res;
}
bool GraphManager::Play()
{
GstStateChangeReturn res;
gst_element_set_state(m_pGraph, GST_STATE_PLAYING);
GstState state;
res = gst_element_get_state (m_pGraph, &state, NULL, GST_SECOND);
if(res != GST_STATE_CHANGE_SUCCESS)
{
gst_element_abort_state(m_pGraph);
qDebug() << "state changing to Play was FAILED";
}
return res == GST_STATE_PLAYING;
}
bool GraphManager::Pause()
{
GstStateChangeReturn res;
GstState state;
gst_element_set_state(m_pGraph, GST_STATE_PAUSED);
res = gst_element_get_state (m_pGraph, &state, NULL, GST_SECOND);
if(res != GST_STATE_CHANGE_SUCCESS)
{
gst_element_abort_state(m_pGraph);
qDebug() << "state changing to Pause was FAILED";
}
return res == GST_STATE_PAUSED;
}
bool GraphManager::Stop()
{
GstStateChangeReturn res = gst_element_set_state(m_pGraph, GST_STATE_READY);
return res == GST_STATE_CHANGE_SUCCESS;
}
double GraphManager::GetPosition()
{
gint64 current, duration;
if(!gst_element_query_position(m_pGraph, GST_FORMAT_TIME, &current))
return 0;
if(!gst_element_query_duration(m_pGraph, GST_FORMAT_TIME, &duration))
return 0;
if(duration < 0 || current < 0)
return 0;
return (double) current / duration;
}
bool GraphManager::SetPosition(double pos)
{
GstQuery *query = gst_query_new_seeking(GST_FORMAT_TIME);
if(!query)
return false;
if(!gst_element_query(m_pGraph, query))
return false;
gboolean seekable;
gst_query_parse_seeking(query, NULL, &seekable, NULL, NULL);
gst_query_unref(query);
if(!seekable)
return false;
gint64 duration;
if(!gst_element_query_duration(m_pGraph, GST_FORMAT_TIME, &duration))
return 0;
if(duration < 0)
return 0;
gboolean seekRes = gst_element_seek_simple(m_pGraph, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH, duration * pos);
return seekRes;
}

View file

@ -1,101 +0,0 @@
#ifndef GRAPH_MANAGER_H_
#define GRAPH_MANAGER_H_
#include <gst/gst.h>
#include <string>
#include <vector>
struct PadInfo
{
public:
enum PadType
{
None,
Out,
In
};
size_t m_id;
PadType m_type;
std::string m_name;
bool operator == (const PadInfo &obj) const
{
if(this == &obj)
return true;
if(m_id != obj.m_id)
return false;
if(m_type != obj.m_type)
return false;
if(m_name != obj.m_name)
return false;
return true;
}
};
struct ElementInfo
{
struct Connection
{
size_t m_padId;
size_t m_elementId;
bool operator == (const Connection &obj) const
{
if(this == &obj)
return true;
if(m_padId != obj.m_padId)
return false;
if(m_elementId != obj.m_elementId)
return false;
return true;
}
};
size_t m_id;
std::string m_name;
std::string m_pluginName;
std::vector<PadInfo> m_pads;
std::vector<Connection> m_connections;
};
class GraphManager
{
public:
GraphManager();
~GraphManager();
bool AddPlugin(const char *plugin, const char *name);
bool RemovePlugin(const char *name);
bool Connect(const char *srcElement, const char *srcPad,
const char *dstElement, const char *dstPad);
bool Disconnect(const char *srcElement, const char *srcPad,
const char *dstElement, const char *dstPad);
std::vector <ElementInfo> GetInfo();
bool OpenUri(const char *uri, const char *name);
double GetPosition();
bool SetPosition(double);
bool Play();
bool Pause();
bool Stop();
GstElement *m_pGraph;
};
#endif

View file

@ -1,366 +0,0 @@
#include "MainWindow.h"
#include "PluginsList.h"
#include <QToolBar>
#include <QAction>
#include <QIcon>
#include <QFileDialog>
#include <QMessageBox>
#include <QScopedArrayPointer>
#include <QDebug>
#include <QScrollArea>
#include <QLabel>
#include <QScrollArea>
#include <QPainter>
#include <QPixmap>
#include <QPolygon>
#include <QColor>
#include <QMenuBar>
#include <QMenu>
#include <QFileDialog>
#include <QInputDialog>
#include <QSettings>
#include <QDebug>
#include "GraphDisplay.h"
#include "PipelineIE.h"
#include "CustomSettings.h"
#include "SeekSlider.h"
#include "version_info.h"
#include <gst/gst.h>
MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags flags):
QMainWindow(parent, flags)
,m_pGraph(new GraphManager)
{
QToolBar *ptb = addToolBar("Menu");
QAction *pactAdd = ptb -> addAction("Add...");
pactAdd -> setShortcut(QKeySequence("Ctrl+F"));
connect(pactAdd, SIGNAL(triggered()), SLOT(AddPlugin()));
QAction *pactOpenFile = ptb -> addAction("Open File...");
connect(pactOpenFile, SIGNAL(triggered()), SLOT(OpenFile()));
ptb -> addSeparator();
QPixmap pxPlay(24, 24);
pxPlay.fill(QColor(0, 0, 0, 0));
QPainter pntrPlay(&pxPlay);
pntrPlay.setPen(Qt::darkGreen);
pntrPlay.setBrush(QBrush(Qt::darkGreen));
QPolygon polygon(3);
polygon.setPoint(0, 4, 4);
polygon.setPoint(1, 4, 20);
polygon.setPoint(2, 20, 12);
pntrPlay.drawPolygon(polygon, Qt::WindingFill);
QAction *pactPlay = ptb -> addAction(QIcon(pxPlay), "Play");
connect(pactPlay, SIGNAL(triggered()), SLOT(Play()));
QPixmap pxPause(24, 24);
pxPause.fill(QColor(0, 0, 0, 0));
QPainter pntrPause(&pxPause);
pntrPause.setPen(Qt::darkGray);
pntrPause.setBrush(QBrush(Qt::darkGray));
pntrPause.drawRect(8, 4, 3, 16);
pntrPause.drawRect(13, 4, 3, 16);
QAction *pactPause = ptb -> addAction(QIcon(pxPause), "Pause");
connect(pactPause, SIGNAL(triggered()), SLOT(Pause()));
QPixmap pxStop(24, 24);
pxStop.fill(QColor(0, 0, 0, 0));
QPainter pntrStop(&pxStop);
pntrStop.setPen(Qt::darkRed);
pntrStop.setBrush(QBrush(Qt::darkRed));
pntrStop.drawRect(6, 6, 12, 12);
QAction *pactStop = ptb -> addAction(QIcon(pxStop), "Stop");
connect(pactStop, SIGNAL(triggered()), SLOT(Stop()));
QPixmap pxFulsh(24, 24);
pxFulsh.fill(QColor(0, 0, 0, 0));
QPainter pntrFlush(&pxFulsh);
pntrFlush.setPen(Qt::darkGreen);
pntrFlush.setBrush(QBrush(Qt::darkGreen));
pntrFlush.drawRect(3, 4, 3, 16);
polygon = QPolygon(3);
polygon.setPoint(0, 9, 4);
polygon.setPoint(1, 9, 20);
polygon.setPoint(2, 21, 12);
pntrFlush.drawPolygon(polygon, Qt::WindingFill);
QAction *pactFlush = ptb -> addAction(QIcon(pxFulsh), "Flush");
connect(pactFlush, SIGNAL(triggered()), SLOT(Flush()));
ptb -> addSeparator();
m_pslider = new SeekSlider();
m_pslider -> setOrientation(Qt::Horizontal);
m_pslider -> setRange(0, 10000);
m_pslider -> setTracking(false);
connect(m_pslider, SIGNAL(valueChanged(int)), SLOT(Seek(int)));
ptb -> addWidget(m_pslider);
QMenu *pmenu = menuBar() -> addMenu("&File");
QAction *pactOpen = pmenu -> addAction ("Open...", this, SLOT(Open()), QKeySequence::Open);
addAction (pactOpen);
QAction *pactSave = pmenu -> addAction ("Save", this, SLOT(Save()), QKeySequence::Save);
addAction (pactSave);
QAction *pactSaveAs = pmenu -> addAction ("Save As...", this, SLOT(SaveAs()), QKeySequence::SaveAs);
addAction (pactSaveAs);
pmenu -> addSeparator();
pmenu -> addAction("Exit", this, SLOT(close()));
pmenu = menuBar() -> addMenu("&Graph");
pmenu -> addAction(pactAdd);
pmenu -> addAction(pactOpenFile);
pmenu -> addAction ("Open Uri...", this, SLOT(OpenUri()));
pmenu -> addSeparator();
pmenu -> addAction(pactPlay);
pmenu -> addAction(pactPause);
pmenu -> addAction(pactStop);
pmenu -> addAction(pactFlush);
pmenu = menuBar() -> addMenu("&Help");
pmenu -> addAction ("About pipeviz...", this, SLOT(About()));
m_pGraphDisplay = new GraphDisplay;
QScrollArea *pscroll = new QScrollArea;
pscroll -> setWidget(m_pGraphDisplay);
pscroll -> setWidgetResizable(false);
m_pGraphDisplay -> resize(10000, 10000);
m_pGraphDisplay -> m_pGraph = m_pGraph;
setCentralWidget(pscroll);
m_pstatusBar = new QStatusBar;
setStatusBar(m_pstatusBar);
restoreGeometry(CustomSettings::mainWindowGeometry());
startTimer(100);
}
MainWindow::~MainWindow()
{
CustomSettings::saveMainWindowGeometry(saveGeometry());
}
void MainWindow::AddPlugin()
{
PluginsList lst(this);
lst.m_pGraph = m_pGraph.data();
lst.exec();
std::vector<ElementInfo> info = m_pGraph -> GetInfo();
m_pGraphDisplay -> update(info);
}
void MainWindow::OpenFile()
{
QString dir = CustomSettings::lastIODirectory();
QString path = QFileDialog::getOpenFileName(this, "Open File...", dir );
if(!path.isEmpty())
{
gchar *uri = gst_filename_to_uri(path.toStdString().c_str(), NULL);
if(uri)
{
qDebug() << "Open Source file: " << path;
m_pGraph -> OpenUri(uri, NULL);
g_free(uri);
std::vector<ElementInfo> info = m_pGraph -> GetInfo();
m_pGraphDisplay -> update(info);
QString dir = QFileInfo(path).absoluteDir().absolutePath();
CustomSettings::saveLastIODirectory(dir);
}
}
}
void MainWindow::OpenUri()
{
QString uri = QInputDialog::getText(this, "Open Uri...", "Uri:");
if(!uri.isEmpty())
{
qDebug() << "Open uri: " << uri;
m_pGraph -> OpenUri(uri.toStdString().c_str(), NULL);
std::vector<ElementInfo> info = m_pGraph -> GetInfo();
m_pGraphDisplay -> update(info);
}
}
void MainWindow::Play()
{
qDebug() << "Play";
m_pGraph -> Play();
}
void MainWindow::Pause()
{
qDebug() << "Pause";
m_pGraph -> Pause();
}
void MainWindow::Stop()
{
qDebug() << "Stop";
m_pGraph -> Stop();
}
void MainWindow::Flush()
{
qDebug() << "Flush";
if(m_pGraph -> m_pGraph)
{
gst_element_send_event(GST_ELEMENT(m_pGraph -> m_pGraph), gst_event_new_flush_start());
gst_element_send_event(GST_ELEMENT(m_pGraph -> m_pGraph), gst_event_new_flush_stop(true));
}
}
void MainWindow::Seek(int val)
{
if(m_pGraph -> SetPosition((double)(val) / m_pslider -> maximum()))
qDebug() << "Seek to" << val;
else
qDebug() << "Seek to" << val << "was FAILED";
}
void MainWindow::timerEvent(QTimerEvent *)
{
GstState state;
GstStateChangeReturn res = gst_element_get_state (m_pGraph -> m_pGraph, &state, NULL, GST_MSECOND);
if(res == GST_STATE_CHANGE_SUCCESS)
{
QString str;
switch(state)
{
case GST_STATE_VOID_PENDING:
str = "Pending";
break;
case GST_STATE_NULL:
str = "Null";
break;
case GST_STATE_READY:
str = "Ready";
break;
case GST_STATE_PAUSED:
str = "Paused";
break;
case GST_STATE_PLAYING:
str = "Playing";
break;
};
m_pstatusBar -> showMessage(str);
}
else
{
m_pstatusBar -> showMessage(QString(gst_element_state_change_return_get_name(res)));
}
double pos = m_pGraph -> GetPosition();
if(m_pslider -> value() != (int)(m_pslider -> maximum() * pos))
m_pslider -> setSliderPosition(m_pslider -> maximum() * pos);
m_pGraphDisplay -> update(m_pGraph -> GetInfo());
}
void MainWindow::Save()
{
if(m_fileName.isEmpty())
SaveAs();
else
PipelineIE::Export(m_pGraph, m_fileName);
}
void MainWindow::SaveAs()
{
QString dir = CustomSettings::lastIODirectory();
QString path = QFileDialog::getSaveFileName(this, "Save As...", dir);
if(!path.isEmpty())
{
m_fileName = path;
Save();
QString dir = QFileInfo(path).absoluteDir().absolutePath();
CustomSettings::saveLastIODirectory(dir);
}
}
void MainWindow::Open()
{
QString dir = CustomSettings::lastIODirectory();
QString path = QFileDialog::getOpenFileName(this, "Open...", dir);
if(!path.isEmpty())
{
if(PipelineIE::Import(m_pGraph, path))
m_fileName = path;
QString dir = QFileInfo(path).absoluteDir().absolutePath();
CustomSettings::saveLastIODirectory(dir);
}
}
void MainWindow::About()
{
QString message;
message = "<center><b>pipeviz</b></center><br>";
message = "<center>virinext@gmail.com</center><br>";
message += QString("<center>Version: ") + VERSION_STR + "</center><br>";
message += "<center>GUI Based on Qt</center>";
QMessageBox::about(this, "About", message);
}

View file

@ -1,56 +0,0 @@
#ifndef MAIN_WINDOW_H_
#define MAIN_WINDOW_H_
#include <QMainWindow>
#include <QVBoxLayout>
#include <QSharedPointer>
#include <QStatusBar>
#include <QAction>
#include <QSlider>
#include <gst/gstbuffer.h>
#include <gst/gstevent.h>
#include <gst/gstcaps.h>
#include "GraphManager.h"
class GraphDisplay;
class MainWindow: public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0);
~MainWindow();
protected:
void timerEvent(QTimerEvent *);
private slots:
void AddPlugin();
void OpenFile();
void OpenUri();
void Play();
void Pause();
void Stop();
void Flush();
void Seek(int);
void Save();
void SaveAs();
void Open();
void About();
private:
QSharedPointer<GraphManager> m_pGraph;
GraphDisplay *m_pGraphDisplay;
QStatusBar *m_pstatusBar;
QSlider *m_pslider;
QString m_fileName;
};
#endif

View file

@ -1,95 +0,0 @@
#include "PadProperties.h"
#include <QGridLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QDebug>
#include <QScrollArea>
#include <gst/gst.h>
PadProperties::PadProperties(QSharedPointer<GraphManager> pGraphManager, const char *elementName, const char *padName,
QWidget *parent, Qt::WindowFlags flags):
QWidget(parent, flags)
{
setWindowTitle(QString(elementName) + "::" + padName + " properties");
GstElement *element = gst_bin_get_by_name (GST_BIN(pGraphManager -> m_pGraph), elementName);
if(!element)
return;
GstPad *pad = gst_element_get_static_pad(GST_ELEMENT(element), padName);
QGridLayout *play = new QGridLayout;
play -> addWidget(new QLabel("Name"), 0, 0);
QLabel *plbl = new QLabel(padName);
plbl -> setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard);
play -> addWidget(plbl, 0, 1);
play -> addWidget(new QLabel("All caps:"), 1, 0);
GstCaps *caps = gst_pad_query_caps(pad, NULL);
gchar *str;
gchar *noSpecified = (gchar *)"not specified";
if(caps)
str = gst_caps_to_string(caps);
else
str = noSpecified;
plbl = new QLabel(QString(str));
plbl -> setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard);
play -> addWidget(plbl, 1, 1);
if(caps)
{
g_free(str);
gst_caps_unref(caps);
}
play -> addWidget(new QLabel("Allowed caps:"), 2, 0);
caps = gst_pad_get_allowed_caps(pad);
str = NULL;
if(caps)
str = gst_caps_to_string(caps);
else
str = noSpecified;
plbl = new QLabel(QString(str));
plbl -> setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard);
play -> addWidget(plbl, 2, 1);
if(caps)
{
g_free(str);
gst_caps_unref(caps);
}
play -> addWidget(new QLabel("Current caps"), 3, 0);
caps = gst_pad_get_current_caps(pad);
str = NULL;
if(caps)
str = gst_caps_to_string(caps);
else
str = noSpecified;
plbl = new QLabel(QString(str));
plbl -> setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard);
play -> addWidget(plbl, 3, 1);
if(caps)
{
g_free(str);
gst_caps_unref(caps);
}
gst_object_unref(element);
gst_object_unref (pad);
QVBoxLayout *pvblay = new QVBoxLayout;
QWidget *pwgt = new QWidget(this);
pwgt -> setLayout(play);
QScrollArea *pscroll = new QScrollArea(this);
pscroll -> setWidget(pwgt);
pvblay -> addWidget(pscroll);
setLayout(pvblay);
}

View file

@ -1,17 +0,0 @@
#ifndef PAD_PROPERTIES_H_
#define PAD_PROPERTIES_H_
#include <QWidget>
#include <QSharedPointer>
#include "GraphManager.h"
class PadProperties: public QWidget
{
public:
PadProperties(QSharedPointer<GraphManager> pGraphManager, const char *element, const char *pad
, QWidget *parent = 0, Qt::WindowFlags flags = 0);
};
#endif

View file

@ -1,610 +0,0 @@
#include "PipelineIE.h"
#include <QFile>
#include <QXmlStreamWriter>
#include <QMessageBox>
#include <QDomDocument>
#include <vector>
#include <QDebug>
static void clearPipeline(GstElement *pipeline)
{
if(!pipeline)
return;
GstIterator *iter;
iter = gst_bin_iterate_elements (GST_BIN (pipeline));
bool done = false;
while (!done)
{
GValue value = { 0 };
switch (gst_iterator_next (iter, &value))
{
case GST_ITERATOR_OK:
{
GstElement *element = GST_ELEMENT(g_value_get_object(&value));
gst_bin_remove(GST_BIN(pipeline), element);
g_value_reset (&value);
iter = gst_bin_iterate_elements (GST_BIN (pipeline));
if(!iter)
done = true;
break;
}
case GST_ITERATOR_DONE:
case GST_ITERATOR_RESYNC:
case GST_ITERATOR_ERROR:
{
done = true;
break;
}
};
}
gst_iterator_free (iter);
}
namespace
{
struct Connection
{
std::string element1;
std::string pad1;
std::string element2;
std::string pad2;
};
}
static void writeProperties(QXmlStreamWriter &xmlWriter, const GstElement *element)
{
GParamSpec **prop_specs;
guint num_props;
prop_specs = g_object_class_list_properties(G_OBJECT_GET_CLASS (element),
&num_props);
if(!num_props)
return;
xmlWriter.writeStartElement("properties");
for(std::size_t i = 0; i<num_props; i++)
{
GParamSpec *param = prop_specs[i];
if((param -> flags & G_PARAM_READABLE) && (param -> flags & G_PARAM_WRITABLE))
{
GValue value = { 0 };
g_value_init (&value, param -> value_type);
g_object_get_property (G_OBJECT(element), param -> name, &value);
if(!g_param_value_defaults(param, &value))
{
bool skip = false;
QString propertyName = g_param_spec_get_name (param);
QString propertyValue;
switch (G_VALUE_TYPE (&value))
{
case G_TYPE_STRING:
{
const char *string_val = g_value_get_string (&value);
if(string_val)
propertyValue = string_val;
else
skip = true;
break;
}
case G_TYPE_BOOLEAN:
{
gboolean bool_val = g_value_get_boolean (&value);
propertyValue = QString::number(bool_val);
break;
}
case G_TYPE_ULONG:
{
propertyValue = QString::number(g_value_get_ulong(&value));
break;
}
case G_TYPE_LONG:
{
propertyValue = QString::number(g_value_get_long(&value));
break;
}
case G_TYPE_UINT:
{
propertyValue = QString::number(g_value_get_uint(&value));
break;
}
case G_TYPE_INT:
{
propertyValue = QString::number(g_value_get_int(&value));
break;
}
case G_TYPE_UINT64:
{
propertyValue = QString::number(g_value_get_uint64(&value));
break;
}
case G_TYPE_INT64:
{
propertyValue = QString::number(g_value_get_int64(&value));
break;
}
case G_TYPE_FLOAT:
{
propertyValue = QString::number(g_value_get_float(&value));
break;
}
case G_TYPE_DOUBLE:
{
propertyValue = QString::number(g_value_get_double(&value));
break;
}
default:
{
gchar *elementName = gst_element_get_name(element);
qDebug() << "property `" << propertyName << "` for `"
<< elementName << "` not supported";
g_free(elementName);
skip = true;
break;
}
};
if(!skip)
{
xmlWriter.writeStartElement("property");
xmlWriter.writeAttribute("name", propertyName);
xmlWriter.writeAttribute("value", propertyValue);
xmlWriter.writeEndElement();
}
g_value_reset(&value);
}
}
}
xmlWriter.writeEndElement();
g_free(prop_specs);
}
static void loadProperties(QDomElement node, GstElement *element)
{
QDomNode child = node.firstChild();
while(!child.isNull())
{
if(child.toElement().tagName() == "property")
{
QString name = child.toElement().attribute("name");
QString value = child.toElement().attribute("value");
GParamSpec *param = g_object_class_find_property(G_OBJECT_GET_CLASS (element),
name.toStdString().c_str());
if(!param)
{
gchar *elementName = gst_element_get_name(element);
qDebug() << "problem with setting property `" << name << "` for `" << elementName << "`";
g_free(elementName);
continue;
}
if(!(param -> flags & G_PARAM_WRITABLE))
continue;
std::string tmpStr = name.toStdString();
const char *propName = tmpStr.c_str();
switch (param -> value_type)
{
case G_TYPE_STRING:
{
g_object_set(G_OBJECT(element), propName, value.toStdString().c_str(), NULL);
break;
}
case G_TYPE_BOOLEAN:
{
gboolean val = value.toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_ULONG:
{
gulong val = value.toULong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_LONG:
{
glong val = value.toLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_UINT:
{
guint val = value.toUInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_INT:
{
gint val = value.toInt();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_UINT64:
{
guint64 val = value.toULongLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_INT64:
{
gint64 val = value.toLongLong();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_FLOAT:
{
gfloat val = value.toFloat();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
case G_TYPE_DOUBLE:
{
gdouble val = value.toDouble();
g_object_set(G_OBJECT(element), propName, val, NULL);
break;
}
default:
{
gchar *elementName = gst_element_get_name(element);
qDebug() << "property `" << name << "` for `" << QString(elementName) << "` not supported";
g_free(elementName);
break;
}
};
}
child = child.nextSibling();
}
}
static void create_requst_pad(GstElement *element, const QString &templateName, const QString &padName)
{
GstElementClass *klass = GST_ELEMENT_GET_CLASS(element);
GstPadTemplate *templ = gst_element_class_get_pad_template(klass, templateName.toStdString().c_str());
gst_element_request_pad(element, templ, padName.toStdString().c_str(), NULL);
}
bool PipelineIE::Export(QSharedPointer<GraphManager> pgraph, const QString &fileName)
{
QFile file(fileName);
if (!file.open(QIODevice::WriteOnly))
{
QMessageBox::warning(0, "Read only", "The file is in read only mode");
return false;
}
std::vector <ElementInfo> info = pgraph -> GetInfo();
QXmlStreamWriter xmlWriter;
xmlWriter.setDevice(&file);
xmlWriter.writeStartDocument();
xmlWriter.writeStartElement("pipeline");
for(std::size_t i=0; i<info.size(); i++)
{
xmlWriter.writeStartElement("element");
xmlWriter.writeAttribute("name", info[i].m_name.c_str());
xmlWriter.writeAttribute("plugin-name", info[i].m_pluginName.c_str());
GstElement *element = gst_bin_get_by_name (GST_BIN(pgraph -> m_pGraph), info[i].m_name.c_str());
for(std::size_t j=0; j<info[i].m_pads.size(); j++)
{
xmlWriter.writeStartElement("pad");
xmlWriter.writeAttribute("name", info[i].m_pads[j].m_name.c_str());
GstPad *pad = gst_element_get_static_pad(element, info[i].m_pads[j].m_name.c_str());
GstPadTemplate *templ = gst_pad_get_pad_template(pad);
QString presence;
switch(GST_PAD_TEMPLATE_PRESENCE(templ))
{
case GST_PAD_ALWAYS:
presence = "always";
break;
case GST_PAD_SOMETIMES:
presence = "sometimes";
break;
case GST_PAD_REQUEST:
presence = "request";
break;
};
xmlWriter.writeAttribute("presence", presence);
xmlWriter.writeAttribute("template-name", GST_PAD_TEMPLATE_NAME_TEMPLATE(templ));
gst_object_unref(pad);
if(info[i].m_connections[j].m_elementId != (size_t)-1 &&
info[i].m_connections[j].m_padId != (size_t)-1)
{
std::size_t elementPos, padPos;
for(elementPos = 0; elementPos < info.size(); elementPos++)
{
if(info[elementPos].m_id == info[i].m_connections[j].m_elementId)
{
for(padPos = 0; padPos < info[elementPos].m_pads.size(); padPos++)
if(info[elementPos].m_pads[padPos].m_id == info[i].m_connections[j].m_padId)
break;
if(padPos < info[elementPos].m_pads.size())
break;
}
}
if(elementPos < info.size() && padPos < info[elementPos].m_pads.size())
{
xmlWriter.writeStartElement("connected-to");
xmlWriter.writeAttribute("element-name", info[elementPos].m_name.c_str());
xmlWriter.writeAttribute("pad-name", info[elementPos].m_pads[padPos].m_name.c_str());
xmlWriter.writeEndElement();
}
}
xmlWriter.writeEndElement();
}
writeProperties(xmlWriter, element);
gst_object_unref(element);
xmlWriter.writeEndElement();
}
xmlWriter.writeEndElement();
xmlWriter.writeEndDocument();
return true;
}
bool PipelineIE::Import(QSharedPointer<GraphManager> pgraph, const QString &fileName)
{
GstElement *pipeline = pgraph -> m_pGraph;
QFile file(fileName);
if(!file.open(QFile::ReadOnly | QFile::Text))
{
QMessageBox::warning(0, "Open failed",
QString("Cannot read file ") + fileName +
": " + file.errorString());
return false;
}
QString errorStr;
int errorLine;
int errorColumn;
QDomDocument doc;
if(!doc.setContent(&file, false, &errorStr, &errorLine, &errorColumn))
{
QMessageBox::warning(0, "Xml parsing failed",
QString("Parse error at line ") + QString::number(errorLine) + ", "
"column " + QString::number(errorColumn) + ": " + errorStr);
return false;
}
clearPipeline(pipeline);
QDomElement root = doc.documentElement();
if(root.tagName() != "pipeline")
{
QMessageBox::warning(0, "Parsing failed", "Is invalid pipeline file");
return false;
}
QDomNode child = root.firstChild();
std::vector<Connection> connections;
while(!child.isNull())
{
if(child.toElement().tagName() == "element")
{
QDomElement elNode = child.toElement();
GstElement *pel = gst_element_factory_make(elNode.attribute("plugin-name").toStdString().c_str(),
elNode.attribute("name").toStdString().c_str());
if(!pel)
{
QMessageBox::warning(0, "Element creation failed",
QString("Could not create element of `") +
elNode.attribute("plugin-name") + "` with name `" +
elNode.attribute("name") + "`");
child = child.nextSibling();
continue;
}
bool res = gst_bin_add(GST_BIN(pipeline), pel);
if(!res)
{
QMessageBox::warning(0, "Element insertion failed",
QString("Could not insert element `") +
elNode.attribute("name") + "` to pipeline");
child = child.nextSibling();
continue;
}
gst_element_sync_state_with_parent(pel);
QDomNode elementChild = elNode.firstChild();
while(!elementChild.isNull())
{
if(elementChild.toElement().tagName() == "pad")
{
QDomNode padChild = elementChild.firstChild();
QDomElement elPad = elementChild.toElement();
// GstPadPresence presence = GST_PAD_ALWAYS;
QString templaneName;
if(elPad.attribute("presence") == "request")
create_requst_pad(pel, elPad.attribute("template-name"), elPad.attribute("name"));
while(!padChild.isNull())
{
if(padChild.toElement().tagName() == "connected-to")
{
bool isExists = false;
QDomElement elCoonnectedTo = padChild.toElement();
for(std::size_t i=0; i<connections.size(); i++)
{
if((connections[i].element1 == elNode.attribute("name").toStdString() &&
connections[i].element2 == elCoonnectedTo.attribute("element-name").toStdString() &&
connections[i].pad1 == elPad.attribute("name").toStdString() &&
connections[i].pad2 == elCoonnectedTo.attribute("pad-name").toStdString())
||
(connections[i].element2 == elNode.attribute("name").toStdString() &&
connections[i].element1 == elCoonnectedTo.attribute("element-name").toStdString() &&
connections[i].pad2 == elPad.attribute("name").toStdString() &&
connections[i].pad1 ==elCoonnectedTo.attribute("pad-name").toStdString())
)
{
isExists = true;
}
}
if(!isExists)
{
Connection newConnetion;
newConnetion.element1 = elNode.attribute("name").toStdString();
newConnetion.element2 = padChild.toElement().attribute("element-name").toStdString();
newConnetion.pad1 = elementChild.toElement().attribute("name").toStdString();
newConnetion.pad2 = padChild.toElement().attribute("pad-name").toStdString();
connections.push_back(newConnetion);
}
}
padChild = padChild.nextSibling();
}
}
else if(elementChild.toElement().tagName() == "properties")
{
loadProperties(elementChild.toElement(), pel);
}
elementChild = elementChild.nextSibling();
}
}
child = child.nextSibling();
}
std::size_t maxStarts = 5;
bool setReady = true;
for(std::size_t k=0; k<maxStarts; k++)
{
if(connections.empty())
break;
if(k > 0)
setReady = false;
while(true)
{
std::size_t i=0;
for(; i<connections.size(); i++)
{
GstElement *el1 = gst_bin_get_by_name (GST_BIN(pipeline), connections[i].element1.c_str());
GstElement *el2 = gst_bin_get_by_name (GST_BIN(pipeline), connections[i].element2.c_str());
if(!el1 || !el2)
{
QMessageBox::warning(0, "Internal error",
QString("Could not find one of elements `") +
QString(connections[i].element1.c_str()) + "`, `" +
QString(connections[i].element2.c_str()) + "`");
gst_object_unref(el1);
gst_object_unref(el2);
return false;
}
GstPad *pad1 = gst_element_get_static_pad(el1, connections[i].pad1.c_str());
GstPad *pad2 = gst_element_get_static_pad(el2, connections[i].pad2.c_str());
if(pad1 && pad2)
{
if(GST_PAD_IS_SRC(pad1))
gst_element_link_pads(el1, connections[i].pad1.c_str(), el2, connections[i].pad2.c_str());
else
gst_element_link_pads(el2, connections[i].pad2.c_str(), el1, connections[i].pad1.c_str());
gst_object_unref(pad1);
gst_object_unref(pad2);
connections.erase(connections.begin() + i);
gst_object_unref(el1);
gst_object_unref(el2);
break;
}
if(pad1)
gst_object_unref(pad1);
if(pad2)
gst_object_unref(pad2);
gst_object_unref(el1);
gst_object_unref(el2);
}
if(i == connections.size())
break;
}
if(!connections.empty())
{
gst_element_set_state(pipeline, GST_STATE_PAUSED);
GstState state;
gst_element_get_state (pipeline, &state, NULL, GST_MSECOND * 2500);
}
}
if(setReady)
gst_element_set_state(pipeline, GST_STATE_READY);
return true;
}

View file

@ -1,15 +0,0 @@
#ifndef PIPELINE_IMPORT_EXPORT_H_
#define PIPELINE_IMPORT_EXPORT_H_
#include <QString>
#include <QSharedPointer>
#include "GraphManager.h"
namespace PipelineIE
{
bool Export(QSharedPointer<GraphManager> pgraph, const QString &fileName);
bool Import(QSharedPointer<GraphManager> pgraph, const QString &fileName);
};
#endif

View file

@ -1,209 +0,0 @@
#include "PluginsList.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QListWidget>
#include <QScrollArea>
#include <QMessageBox>
#include <QEvent>
#include <QKeyEvent>
#include <gst/gst.h>
#include <QDebug>
namespace
{
void InitPluginsList(QListWidget *plwgt)
{
std::size_t num = 0;
GList *plugins;
plugins = gst_registry_get_plugin_list(gst_registry_get());
while(plugins)
{
GstPlugin *plugin;
plugin = (GstPlugin *) (plugins->data);
plugins = g_list_next (plugins);
GList *features = gst_registry_get_feature_list_by_plugin (gst_registry_get (),
gst_plugin_get_name (plugin));
while(features)
{
GstPluginFeature *feature;
feature = GST_PLUGIN_FEATURE (features->data);
if(GST_IS_ELEMENT_FACTORY (feature))
{
GstElementFactory *factory;
factory = GST_ELEMENT_FACTORY (feature);
plwgt -> addItem(GST_OBJECT_NAME (factory));
num++;
}
features = g_list_next (features);
}
}
}
}
PluginsList::PluginsList(QWidget *pwgt, Qt::WindowFlags f):
QDialog(pwgt, f)
,m_pGraph(NULL)
{
m_pPlugins = new QListWidget;
m_plblInfo = new QLabel;
m_plblInfo -> setTextInteractionFlags(Qt::TextSelectableByMouse);
m_plblInfo -> setAlignment(Qt::AlignLeft | Qt::AlignTop);
QScrollArea *pscroll = new QScrollArea;
pscroll -> setWidget(m_plblInfo);
m_plblInfo -> resize(pscroll -> size());
QHBoxLayout *phblay = new QHBoxLayout;
phblay -> addWidget(m_pPlugins, 1);
phblay -> addWidget(pscroll, 2);
InitPluginsList(m_pPlugins);
QHBoxLayout *phblayFind = new QHBoxLayout;
QLineEdit *ple = new QLineEdit;
phblayFind -> addWidget(ple);
phblayFind -> addStretch(1);
ple -> setPlaceholderText("Search...");
QVBoxLayout *pvblay = new QVBoxLayout;
pvblay -> addLayout(phblayFind);
pvblay -> addLayout(phblay);
setLayout(pvblay);
setWindowTitle("Add plugin");
QObject::connect(m_pPlugins, SIGNAL(currentItemChanged (QListWidgetItem *, QListWidgetItem *)),
this, SLOT(showInfo(QListWidgetItem *, QListWidgetItem *)));
QObject::connect(m_pPlugins, SIGNAL(itemDoubleClicked (QListWidgetItem *)),
this, SLOT(insert(QListWidgetItem *)));
QObject::connect(ple, SIGNAL(textChanged(const QString &)), this, SLOT(filterPlagins(const QString &)));
installEventFilter(this);
}
void PluginsList::showInfo(QListWidgetItem *pitem, QListWidgetItem *previous)
{
qDebug() << "Show Info: " << pitem -> text();
m_plblInfo -> clear();
QString descr;
descr += "<b>Plugin details</b><hr>";
GstElementFactory *factory = gst_element_factory_find(pitem -> text().toStdString().c_str());
if(!factory)
{
qDebug() << "warning: " << pitem -> text() << " Not Found";
return;
}
factory = GST_ELEMENT_FACTORY (gst_plugin_feature_load (GST_PLUGIN_FEATURE(factory)));
if(!factory)
{
qDebug() << "warning: " << pitem -> text() << " Not Found";
return;
}
GstPlugin *plugin = gst_plugin_feature_get_plugin (GST_PLUGIN_FEATURE (factory));
if(!plugin)
{
qDebug() << "warning: " << pitem -> text() << " Not Found";
return;
}
const gchar *release_date = gst_plugin_get_release_date_string (plugin);
const gchar *filename = gst_plugin_get_filename(plugin);
descr += "<b>Name</b>: " + QString(gst_plugin_get_name(plugin)) + "<br>";
descr += "<b>Description</b>: " + QString(gst_plugin_get_description(plugin)) + "<br>";
descr += "<b>Filename</b>: " + QString((filename != NULL) ? filename : "(null)") + "<br>";
descr += "<b>Version</b>: " + QString(gst_plugin_get_version (plugin)) + "<br>";
descr += "<b>License</b>: " + QString(gst_plugin_get_license (plugin)) + "<br>";
descr += "<b>Source module</b>: " + QString(gst_plugin_get_source (plugin)) + "<br>";
if (release_date != NULL)
{
const gchar *tz = "(UTC)";
gchar *str, *sep;
str = g_strdup (release_date);
sep = strstr (str, "T");
if (sep != NULL)
{
*sep = ' ';
sep = strstr (sep + 1, "Z");
if (sep != NULL)
*sep = ' ';
}
else
{
tz = "";
}
descr += "<b>Source release date</b>: " + QString(str) + " " + QString(tz) + "<br>";
g_free (str);
}
descr += "<b>Binary package</b>: " + QString(gst_plugin_get_package (plugin)) + "<br>";
descr += "<b>Origin URL</b>: " + QString(gst_plugin_get_origin (plugin)) + "<br>";
m_plblInfo -> setText(descr);
}
void PluginsList::insert(QListWidgetItem *pitem)
{
qDebug() << "Insert: " << pitem -> text();
if(!m_pGraph || !m_pGraph -> AddPlugin(pitem -> text().toStdString().c_str(), NULL))
{
QMessageBox::warning(this, "Plugin addition problem", "Plugin `" + pitem -> text() + "` insertion was FAILED");
qDebug() << "Plugin `" << pitem -> text() << "` insertion FAILED";
return;
}
}
bool PluginsList::eventFilter(QObject *obj, QEvent *event)
{
if (event -> type() == QEvent::KeyPress)
{
QKeyEvent *key = static_cast<QKeyEvent*>(event);
if((key -> key() == Qt::Key_Enter) || (key -> key() == Qt::Key_Return))
{
insert(m_pPlugins -> currentItem());
return true;
}
}
return QDialog::eventFilter(obj, event);
}
void PluginsList::filterPlagins(const QString &text)
{
for(std::size_t i=0; i<m_pPlugins -> count(); i++)
{
QListWidgetItem *pitem = m_pPlugins -> item(i);
if(pitem -> text().contains(text))
pitem -> setHidden(false);
else
pitem -> setHidden(true);
}
}

View file

@ -1,41 +0,0 @@
#ifndef PLUGINS_LIST_H_
#define PLUGINS_LIST_H_
#include <QDialog>
#include <QLabel>
#include <QListWidgetItem>
#include "GraphManager.h"
class PluginsList: public QDialog
{
Q_OBJECT
public:
PluginsList(QWidget *pwgt = NULL, Qt::WindowFlags f = 0);
GraphManager *m_pGraph;
protected:
bool eventFilter(QObject *obj, QEvent *ev);
public slots:
void showInfo(QListWidgetItem *current, QListWidgetItem *previous);
void insert(QListWidgetItem *);
private slots:
void filterPlagins(const QString &text);
private:
QLabel *m_plblInfo;
QListWidget *m_pPlugins;
};
#endif

View file

@ -1,16 +0,0 @@
#include "SeekSlider.h"
void SeekSlider::mousePressEvent(QMouseEvent *event)
{
if(event->button() == Qt::LeftButton)
{
if(orientation() == Qt::Vertical)
setValue(minimum() + ((maximum()-minimum()) * (height()-event->y())) / height() ) ;
else
setValue(minimum() + ((maximum()-minimum()) * event->x()) / width() ) ;
event->accept();
}
QSlider::mousePressEvent(event);
};

View file

@ -1,16 +0,0 @@
#ifndef SEEK_SLIDER_H_
#define SEEK_SLIDER_H_
#include <QSlider>
#include <QMouseEvent>
class SeekSlider: public QSlider
{
protected:
void mousePressEvent(QMouseEvent *);
};
#endif

790
src/app.rs Normal file
View file

@ -0,0 +1,790 @@
// app.rs
//
// Copyright 2021 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GstPipelineStudio
//
// SPDX-License-Identifier: GPL-3.0-only
use glib::SignalHandlerId;
use gtk::gdk;
use gtk::prelude::*;
use gtk::{gio, gio::SimpleAction, glib, graphene};
use gtk::{
Application, ApplicationWindow, Builder, Button, FileChooserAction, FileChooserDialog, Paned,
PopoverMenu, ResponseType, Statusbar, Widget,
};
use log::error;
use once_cell::unsync::OnceCell;
use std::cell::{Cell, RefCell};
use std::collections::HashMap;
use std::fs::File;
use std::io::{Read, Write};
use std::ops;
use std::rc::{Rc, Weak};
use crate::gps as GPS;
use crate::graphbook;
use crate::logger;
use crate::settings::Settings;
use crate::ui as GPSUI;
use crate::{GPS_DEBUG, GPS_ERROR, GPS_TRACE, GPS_WARN};
use crate::graphmanager as GM;
use crate::graphmanager::PropertyExt;
use std::fmt;
#[derive(Debug)]
pub struct GPSAppInner {
pub window: gtk::ApplicationWindow,
pub current_graphtab: Cell<u32>,
pub graphbook: RefCell<HashMap<u32, graphbook::GraphTab>>,
pub builder: Builder,
pub plugin_list_initialized: OnceCell<bool>,
pub signal_handlers: RefCell<HashMap<String, SignalHandlerId>>,
}
#[derive(Debug)]
pub enum AppState {
Ready,
Playing,
Paused,
Stopped,
Error,
}
impl fmt::Display for AppState {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{self:?}",)
}
}
// This represents our main application window.
#[derive(Debug, Clone)]
pub struct GPSApp(Rc<GPSAppInner>);
// Deref into the contained struct to make usage a bit more ergonomic
impl ops::Deref for GPSApp {
type Target = GPSAppInner;
fn deref(&self) -> &GPSAppInner {
&self.0
}
}
// Weak reference to our application struct
//
// Weak references are important to prevent reference cycles. Reference cycles are cases where
// struct A references directly or indirectly struct B, and struct B references struct A again
// while both are using reference counting.
pub struct GPSAppWeak(Weak<GPSAppInner>);
impl GPSAppWeak {
// Upgrade to a strong reference if it still exists
pub fn upgrade(&self) -> Option<GPSApp> {
self.0.upgrade().map(GPSApp)
}
}
impl GPSApp {
fn new(application: &gtk::Application) -> anyhow::Result<GPSApp> {
let glade_src = include_str!("ui/gps.ui");
let builder = Builder::from_string(glade_src);
let window: ApplicationWindow = builder
.object("mainwindow")
.expect("Couldn't get the main window");
window.set_application(Some(application));
window.set_title(Some("GStreamer Pipeline Studio"));
let app = GPSApp(Rc::new(GPSAppInner {
window,
current_graphtab: Cell::new(0),
graphbook: RefCell::new(HashMap::new()),
builder,
plugin_list_initialized: OnceCell::new(),
signal_handlers: RefCell::new(HashMap::new()),
}));
let settings = Settings::load_settings();
app.window
.set_default_size(settings.app_width, settings.app_height);
#[cfg(not(target_os = "macos"))]
if settings.app_maximized {
app.window.maximize();
}
app.set_paned_position(&settings, "graph_dashboard-paned", 100);
app.set_paned_position(&settings, "graph_logs-paned", 100);
app.set_paned_position(&settings, "elements_preview-paned", 100);
app.set_paned_position(&settings, "elements_properties-paned", 100);
app.set_paned_position(&settings, "playcontrols_position-paned", 100);
Ok(app)
}
fn set_paned_position(
&self,
settings: &Settings,
paned_name: &str,
paned_default_position: i32,
) {
let paned: Paned = self
.builder
.object(paned_name)
.unwrap_or_else(|| panic!("Couldn't get {}", paned_name));
paned.set_position(
*settings
.paned_positions
.get(paned_name)
.unwrap_or(&paned_default_position),
);
}
fn save_paned_position(&self, settings: &mut Settings, paned_name: &str) {
let paned: Paned = self
.builder
.object(paned_name)
.unwrap_or_else(|| panic!("Couldn't get {}", paned_name));
settings
.paned_positions
.insert(paned_name.to_string(), paned.position());
}
pub fn on_startup(application: &gtk::Application, pipeline_desc: &String) {
// Create application and error out if that fails for whatever reason
let app = match GPSApp::new(application) {
Ok(app) => app,
Err(err) => {
error!("Error creating application: {}", err);
return;
}
};
app.build_ui(application, pipeline_desc);
let app_weak = app.downgrade();
let slider: gtk::Scale = app
.builder
.object("scale-position")
.expect("Couldn't get status_bar");
let slider_update_signal_id = slider.connect_value_changed(move |slider| {
let app = upgrade_weak!(app_weak);
let value = slider.value() as u64;
GPS_TRACE!("Seeking to {} s", value);
if graphbook::current_graphtab(&app)
.player()
.set_position(value)
.is_err()
{
GPS_ERROR!("Seeking to {} failed", value);
}
});
let app_weak = app.downgrade();
let timeout_id =
glib::timeout_add_local(std::time::Duration::from_millis(500), move || {
let app = upgrade_weak!(app_weak, glib::ControlFlow::Break);
let label: gtk::Label = app
.builder
.object("label-position")
.expect("Couldn't get status_bar");
let slider: gtk::Scale = app
.builder
.object("scale-position")
.expect("Couldn't get status_bar");
let position = graphbook::current_graphtab(&app).player().position();
let duration = graphbook::current_graphtab(&app).player().duration();
slider.set_range(0.0, duration as f64 / 1000_f64);
slider.block_signal(&slider_update_signal_id);
slider.set_value(position as f64 / 1000_f64);
slider.unblock_signal(&slider_update_signal_id);
// Query the current playing position from the underlying player.
let position_desc = graphbook::current_graphtab(&app)
.player()
.position_description();
// Display the playing position in the gui.
label.set_text(&position_desc);
// Tell the callback to continue calling this closure.
glib::ControlFlow::Continue
});
let timeout_id = RefCell::new(Some(timeout_id));
let app_container = RefCell::new(Some(app));
application.connect_shutdown(move |_| {
let app = app_container
.borrow_mut()
.take()
.expect("Shutdown called multiple times");
let window: ApplicationWindow = app
.builder
.object("mainwindow")
.expect("Couldn't get the main window");
let mut settings = Settings::load_settings();
settings.app_maximized = window.is_maximized();
settings.app_width = window.default_width();
settings.app_height = window.default_height();
app.save_paned_position(&mut settings, "graph_dashboard-paned");
app.save_paned_position(&mut settings, "graph_logs-paned");
app.save_paned_position(&mut settings, "elements_preview-paned");
app.save_paned_position(&mut settings, "elements_properties-paned");
app.save_paned_position(&mut settings, "playcontrols_position-paned");
Settings::save_settings(&settings);
let pop_menu: PopoverMenu = app
.builder
.object("app_pop_menu")
.expect("Couldn't get app_pop_menu");
pop_menu.unparent();
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
timeout_id.remove();
}
app.drop();
});
}
fn setup_app_actions(&self, application: &gtk::Application) {
application.add_action(&gio::SimpleAction::new("new-window", None));
application.set_accels_for_action("app.new-window", &["<primary>n"]);
application.add_action(&gio::SimpleAction::new("open", None));
application.set_accels_for_action("app.open", &["<primary>o"]);
application.add_action(&gio::SimpleAction::new("open_pipeline", None));
application.set_accels_for_action("app.open_pipeline", &["<primary>p"]);
application.add_action(&gio::SimpleAction::new("save_as", None));
application.add_action(&gio::SimpleAction::new("save", None));
application.set_accels_for_action("app.save", &["<primary>s"]);
application.add_action(&gio::SimpleAction::new("save_as", None));
application.add_action(&gio::SimpleAction::new("delete", None));
application.set_accels_for_action("app.delete", &["<primary>d", "Delete"]);
application.add_action(&gio::SimpleAction::new("preferences", None));
application.set_accels_for_action("app.preferences", &["<primary>p"]);
application.add_action(&gio::SimpleAction::new("about", None));
application.set_accels_for_action("app.about", &["<primary>a"]);
application.add_action(&gio::SimpleAction::new("favorite.remove", None));
application.add_action(&gio::SimpleAction::new("logger.clear", None));
application.add_action(&gio::SimpleAction::new("graph.check", None));
application.add_action(&gio::SimpleAction::new("graph.clear", None));
application.add_action(&gio::SimpleAction::new("graph.pipeline_details", None));
application.add_action(&gio::SimpleAction::new("port.delete", None));
application.add_action(&gio::SimpleAction::new("port.properties", None));
application.add_action(&gio::SimpleAction::new("node.add-to-favorite", None));
application.add_action(&gio::SimpleAction::new("node.delete", None));
application.add_action(&gio::SimpleAction::new("node.request-pad-input", None));
application.add_action(&gio::SimpleAction::new("node.request-pad-output", None));
application.add_action(&gio::SimpleAction::new("node.properties", None));
}
pub fn app_pop_menu_at_position(
&self,
widget: &impl IsA<Widget>,
x: f64,
y: f64,
) -> PopoverMenu {
let mainwindow: ApplicationWindow = self
.builder
.object("mainwindow")
.expect("Couldn't get the main window");
let pop_menu: PopoverMenu = self
.builder
.object("app_pop_menu")
.expect("Couldn't get app_pop_menu");
if let Some((x, y)) = widget.translate_coordinates(&mainwindow, x, y) {
let point = graphene::Point::new(x as f32, y as f32);
pop_menu.set_pointing_to(Some(&gdk::Rectangle::new(
point.to_vec2().x() as i32,
point.to_vec2().y() as i32,
0,
0,
)));
}
pop_menu
}
fn app_menu_action(&self, action_name: &str) -> SimpleAction {
let application = gio::Application::default()
.expect("No default application")
.downcast::<gtk::Application>()
.expect("Unable to downcast default application");
application
.lookup_action(action_name)
.unwrap_or_else(|| panic!("Unable to find action {}", action_name))
.dynamic_cast::<SimpleAction>()
.expect("Unable to dynamic cast to SimpleAction")
}
pub fn disconnect_app_menu_action(&self, action_name: &str) {
let action = self.app_menu_action(action_name);
if let Some(signal_handler_id) = self.signal_handlers.borrow_mut().remove(action_name) {
action.disconnect(signal_handler_id);
}
}
pub fn connect_app_menu_action<
F: Fn(&SimpleAction, std::option::Option<&glib::Variant>) + 'static,
>(
&self,
action_name: &str,
f: F,
) {
let action = self.app_menu_action(action_name);
self.disconnect_app_menu_action(action_name);
let signal_handler_id = action.connect_activate(f);
self.signal_handlers
.borrow_mut()
.insert(String::from(action_name), signal_handler_id);
}
fn connect_button_action<F: Fn(&Button) + 'static>(&self, button_name: &str, f: F) {
let button: Button = self
.builder
.object(button_name)
.unwrap_or_else(|| panic!("Couldn't get app_button {}", button_name));
button.connect_clicked(f);
}
fn get_file_from_dialog<F: Fn(GPSApp, String) + 'static>(app: &GPSApp, save: bool, f: F) {
let mut message = "Open file";
let mut ok_button = "Open";
let cancel_button = "Cancel";
let mut action = FileChooserAction::Open;
if save {
message = "Save file";
ok_button = "Save";
action = FileChooserAction::Save;
}
let window: ApplicationWindow = app
.builder
.object("mainwindow")
.expect("Couldn't get main window");
let file_chooser: FileChooserDialog = FileChooserDialog::new(
Some(message),
Some(&window),
action,
&[
(ok_button, ResponseType::Ok),
(cancel_button, ResponseType::Cancel),
],
);
let app_weak = app.downgrade();
file_chooser.connect_response(move |d: &FileChooserDialog, response: ResponseType| {
let app = upgrade_weak!(app_weak);
if response == ResponseType::Ok {
let file = d.file().expect("Couldn't get file");
let filename = String::from(
file.path()
.expect("Couldn't get file path")
.to_str()
.expect("Unable to convert to string"),
);
f(app, filename);
}
d.close();
});
file_chooser.show();
}
pub fn set_app_state(&self, state: AppState) {
let status_bar: Statusbar = self
.builder
.object("status_bar")
.expect("Couldn't get status_bar");
status_bar.push(status_bar.context_id("Description"), &state.to_string());
}
pub fn set_app_preview(&self, paintable: &gdk::Paintable, n_sink: usize) {
let picture = gtk::Picture::new();
picture.set_paintable(Some(paintable));
let notebook_preview: gtk::Notebook = self
.builder
.object("notebook-preview")
.expect("Couldn't get box_preview");
let mut n_video_sink = n_sink;
for tab in self.graphbook.borrow().values() {
n_video_sink += tab.player().n_video_sink();
}
if n_video_sink == 0 {
loop {
let i = notebook_preview.n_pages();
if i == 0 {
break;
}
notebook_preview.remove_page(Some(i - 1));
}
}
let box_preview = gtk::Box::builder()
.orientation(gtk::Orientation::Vertical)
.halign(gtk::Align::Center)
.valign(gtk::Align::Center)
.build();
box_preview.append(&picture);
let label = gtk::Label::new(Some(&format!("Preview{n_video_sink}")));
notebook_preview.insert_page(&box_preview, Some(&label), None);
notebook_preview.set_current_page(Some(n_video_sink as u32));
}
pub fn build_ui(&self, application: &Application, pipeline_desc: &String) {
graphbook::setup_graphbook(self);
graphbook::create_graphtab(self, 0, None);
let (ready_tx, ready_rx) = async_channel::unbounded::<(logger::LogType, String)>();
// Setup the logger to get messages into the TreeView
logger::init_logger(
ready_tx.clone(),
Settings::log_file_path()
.to_str()
.expect("Unable to convert log file path to a string"),
);
logger::init_msg_logger(ready_tx);
GPSUI::logger::setup_logger_list(self, "treeview-app-logger", logger::LogType::App);
GPSUI::logger::setup_logger_list(self, "treeview-msg-logger", logger::LogType::Message);
GPSUI::logger::setup_logger_list(self, "treeview-gst-logger", logger::LogType::Gst);
let app_weak = self.downgrade();
glib::spawn_future_local(async move {
while let Ok(msg) = ready_rx.recv().await {
let app = upgrade_weak!(app_weak, glib::ControlFlow::Break);
GPSUI::logger::add_to_logger_list(&app, msg.0, &msg.1);
}
glib::ControlFlow::Continue
});
let window = &self.window;
window.show();
self.set_app_state(AppState::Ready);
self.setup_app_actions(application);
let pop_menu: PopoverMenu = self
.builder
.object("app_pop_menu")
.expect("Couldn't get app_pop_menu");
pop_menu.set_parent(window);
let app_weak = self.downgrade();
self.connect_app_menu_action("new-window", move |_, _| {
let app = upgrade_weak!(app_weak);
let id = graphbook::graphbook_get_new_graphtab_id(&app);
graphbook::create_graphtab(&app, id, None);
let graphbook: gtk::Notebook = app
.builder
.object("graphbook")
.expect("Couldn't get graphbook");
graphbook.set_current_page(Some(id));
});
let app_weak = self.downgrade();
self.connect_app_menu_action("open", move |_, _| {
let app = upgrade_weak!(app_weak);
GPSApp::get_file_from_dialog(&app, false, move |app, filename| {
app.load_graph(&filename, false)
.unwrap_or_else(|_| GPS_ERROR!("Unable to open file {}", filename));
});
});
let app_weak = self.downgrade();
self.connect_app_menu_action("open_pipeline", move |_, _| {
let app = upgrade_weak!(app_weak);
GPSUI::dialog::create_input_dialog(
"Enter pipeline description with gst-launch format",
"description",
&Settings::recent_pipeline_description(),
&app,
move |app, pipeline_desc| {
app.load_pipeline(&pipeline_desc).unwrap_or_else(|_| {
GPS_ERROR!("Unable to open pipeline description {}", pipeline_desc)
});
Settings::set_recent_pipeline_description(&pipeline_desc);
},
);
});
let app_weak = self.downgrade();
self.connect_app_menu_action("save", move |_, _| {
let app = upgrade_weak!(app_weak);
let gt = graphbook::current_graphtab(&app);
if gt.undefined() {
GPSApp::get_file_from_dialog(&app, true, move |app, filename| {
GPS_DEBUG!("Save file {}", filename);
app.save_graph(&filename)
.unwrap_or_else(|_| GPS_ERROR!("Unable to save file to {}", filename));
graphbook::current_graphtab_set_filename(&app, filename.as_str());
});
} else if gt.modified() {
let filename = gt.filename();
app.save_graph(&filename)
.unwrap_or_else(|_| GPS_ERROR!("Unable to save file to {}", filename));
graphbook::current_graphtab_set_filename(&app, filename.as_str());
}
});
let app_weak = self.downgrade();
self.connect_app_menu_action("save_as", move |_, _| {
let app = upgrade_weak!(app_weak);
GPSApp::get_file_from_dialog(&app, true, move |app, filename| {
GPS_DEBUG!("Save file {}", filename);
app.save_graph(&filename)
.unwrap_or_else(|_| GPS_ERROR!("Unable to save file to {}", filename));
graphbook::current_graphtab_set_filename(&app, filename.as_str());
});
});
let app_weak = self.downgrade();
self.connect_app_menu_action("preferences", move |_, _| {
let app = upgrade_weak!(app_weak);
GPSUI::preferences::display_settings(&app);
});
let app_weak = self.downgrade();
self.connect_app_menu_action("delete", move |_, _| {
let app = upgrade_weak!(app_weak);
graphbook::current_graphtab(&app)
.graphview()
.delete_selected();
});
let app_weak = self.downgrade();
self.connect_app_menu_action("about", move |_, _| {
let app = upgrade_weak!(app_weak);
GPSUI::about::display_about_dialog(&app);
});
let app_weak = self.downgrade();
self.connect_button_action("button-play", move |_| {
let app = upgrade_weak!(app_weak);
let _ = graphbook::current_graphtab(&app).player().start_pipeline(
&graphbook::current_graphtab(&app).graphview(),
GPS::PipelineState::Playing,
);
});
let app_weak = self.downgrade();
self.connect_button_action("button-pause", move |_| {
let app = upgrade_weak!(app_weak);
let _ = graphbook::current_graphtab(&app).player().start_pipeline(
&graphbook::current_graphtab(&app).graphview(),
GPS::PipelineState::Paused,
);
});
let app_weak = self.downgrade();
self.connect_button_action("button-stop", move |_| {
let app = upgrade_weak!(app_weak);
let _ = graphbook::current_graphtab(&app)
.player()
.set_state(GPS::PipelineState::Stopped);
});
let app_weak = self.downgrade();
self.connect_button_action("button-clear", move |_| {
let app = upgrade_weak!(app_weak);
app.clear_graph();
});
// Setup the favorite list
GPSUI::elements::setup_favorite_list(self);
// Setup the favorite list
GPSUI::elements::setup_elements_list(self);
if pipeline_desc.is_empty() {
let _ = self
.load_graph(
Settings::graph_file_path()
.to_str()
.expect("Unable to convert to string"),
true,
)
.map_err(|_e| {
GPS_WARN!("Unable to load default graph");
});
} else {
self.load_pipeline(pipeline_desc).unwrap_or_else(|_| {
GPS_ERROR!("Unable to open pipeline description {}", pipeline_desc)
});
}
}
// Downgrade to a weak reference
pub fn downgrade(&self) -> GPSAppWeak {
GPSAppWeak(Rc::downgrade(&self.0))
}
// Called when the application shuts down. We drop our app struct here
fn drop(self) {}
pub fn add_new_element(&self, element_name: &str) {
let (inputs, outputs) = GPS::PadInfo::pads(element_name, false);
let node = graphbook::current_graphtab(self)
.graphview()
.create_node(element_name, GPS::ElementInfo::element_type(element_name));
let node_id = node.id();
if GPS::ElementInfo::element_is_uri_src_handler(element_name) {
GPSApp::get_file_from_dialog(self, false, move |app, filename| {
GPS_DEBUG!("Open file {}", filename);
let mut properties: HashMap<String, String> = HashMap::new();
properties.insert(String::from("location"), filename);
if let Some(node) = graphbook::current_graphtab(&app).graphview().node(node_id) {
node.update_properties(&properties);
}
});
}
graphbook::current_graphtab(self).graphview().add_node(node);
for input in inputs {
self.create_port_with_caps(
node_id,
GM::PortDirection::Input,
GM::PortPresence::Always,
input.caps().to_string(),
);
}
for output in outputs {
self.create_port_with_caps(
node_id,
GM::PortDirection::Output,
GM::PortPresence::Always,
output.caps().to_string(),
);
}
}
pub fn node(&self, node_id: u32) -> GM::Node {
let node = graphbook::current_graphtab(self)
.graphview()
.node(node_id)
.unwrap_or_else(|| panic!("Unable to retrieve node with id {}", node_id));
node
}
pub fn port(&self, node_id: u32, port_id: u32) -> GM::Port {
let node = self.node(node_id);
node.port(port_id)
.unwrap_or_else(|| panic!("Unable to retrieve port with id {}", port_id))
}
pub fn update_element_properties(&self, node_id: u32, properties: &HashMap<String, String>) {
let node = self.node(node_id);
node.update_properties(properties);
}
pub fn update_pad_properties(
&self,
node_id: u32,
port_id: u32,
properties: &HashMap<String, String>,
) {
let port = self.port(node_id, port_id);
port.update_properties(properties);
}
pub fn element_property(&self, node_id: u32, property_name: &str) -> Option<String> {
let node = self.node(node_id);
PropertyExt::property(&node, property_name)
}
pub fn pad_properties(&self, node_id: u32, port_id: u32) -> HashMap<String, String> {
let port = self.port(node_id, port_id);
let mut properties: HashMap<String, String> = HashMap::new();
for (name, value) in port.properties().iter() {
if !port.hidden_property(name) {
properties.insert(name.to_string(), value.to_string());
}
}
properties
}
pub fn create_port_with_caps(
&self,
node_id: u32,
direction: GM::PortDirection,
presence: GM::PortPresence,
caps: String,
) -> u32 {
let node = self.node(node_id);
let ports = node.all_ports(direction);
let port_name = match direction {
GM::PortDirection::Input => String::from("sink_"),
GM::PortDirection::Output => String::from("src_"),
_ => String::from("?"),
};
let port_name = format!("{}{}", port_name, ports.len());
let port = graphbook::current_graphtab(self)
.graphview()
.create_port(&port_name, direction, presence);
let id = port.id();
let properties: HashMap<String, String> = HashMap::from([("_caps".to_string(), caps)]);
port.update_properties(&properties);
if let Some(mut node) = graphbook::current_graphtab(self).graphview().node(node_id) {
graphbook::current_graphtab(self)
.graphview()
.add_port_to_node(&mut node, port);
}
id
}
pub fn create_link(
&self,
node_from_id: u32,
node_to_id: u32,
port_from_id: u32,
port_to_id: u32,
) {
let graphtab = graphbook::current_graphtab(self);
let link =
graphtab
.graphview()
.create_link(node_from_id, node_to_id, port_from_id, port_to_id);
graphtab.graphview().add_link(link);
}
fn clear_graph(&self) {
graphbook::current_graphtab(self).graphview().clear();
}
pub fn save_graph(&self, filename: &str) -> anyhow::Result<()> {
let mut file = File::create(filename)?;
let buffer = graphbook::current_graphtab(self).graphview().render_xml()?;
file.write_all(&buffer)?;
Ok(())
}
fn load_graph(&self, filename: &str, untitled: bool) -> anyhow::Result<()> {
let mut file = File::open(filename)?;
let mut buffer = Vec::new();
file.read_to_end(&mut buffer).expect("buffer overflow");
let graphtab = graphbook::current_graphtab(self);
graphtab.graphview().load_from_xml(buffer)?;
if !untitled {
graphbook::current_graphtab_set_filename(self, filename);
}
Ok(())
}
fn load_pipeline(&self, pipeline_desc: &str) -> anyhow::Result<()> {
let graphtab = graphbook::current_graphtab(self);
let pd_parsed = pipeline_desc.replace('\\', "");
graphtab
.player()
.graphview_from_pipeline_description(&graphtab.graphview(), &pd_parsed);
Ok(())
}
}

37
src/common.rs Normal file
View file

@ -0,0 +1,37 @@
// common.rs
//
// Copyright 2021 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GstPipelineStudio
//
// SPDX-License-Identifier: GPL-3.0-only
use anyhow::Result;
use gtk::glib;
pub fn init() -> Result<()> {
std::env::set_var("GST_XINITTHREADS", "1");
gst::init()?;
#[cfg(feature = "gtk4-plugin")]
{
gstgtk4::plugin_register_static().expect("Failed to register gstgtk4 plugin");
}
gtk::init()?;
Ok(())
}
pub fn value_as_str(v: &glib::Value) -> Option<String> {
match v.type_() {
glib::Type::I8 => Some(str_some_value!(v, i8).to_string()),
glib::Type::U8 => Some(str_some_value!(v, u8).to_string()),
glib::Type::BOOL => Some(str_some_value!(v, bool).to_string()),
glib::Type::I32 => Some(str_some_value!(v, i32).to_string()),
glib::Type::U32 => Some(str_some_value!(v, u32).to_string()),
glib::Type::I64 => Some(str_some_value!(v, i64).to_string()),
glib::Type::U64 => Some(str_some_value!(v, u64).to_string()),
glib::Type::F32 => Some(str_some_value!(v, f32).to_string()),
glib::Type::F64 => Some(str_some_value!(v, f64).to_string()),
glib::Type::STRING => str_opt_value!(v, String),
_ => None,
}
}

3
src/config.rs.in Normal file
View file

@ -0,0 +1,3 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pub static APP_ID: &str = @APP_ID@;
pub static VERSION: &str = env!("CARGO_PKG_VERSION");

305
src/gps/element.rs Normal file
View file

@ -0,0 +1,305 @@
// element.rs
//
// Copyright 2022 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GstPipelineStudio
//
// SPDX-License-Identifier: GPL-3.0-only
use crate::gps::PadInfo;
use crate::graphmanager::{NodeType, PortDirection, PortPresence};
use crate::logger;
use crate::GPS_INFO;
use gst::glib;
use gst::prelude::*;
use std::collections::HashMap;
use std::fmt::Write as _;
#[derive(Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
pub struct ElementInfo {
pub name: String,
plugin_name: String,
rank: i32,
}
impl ElementInfo {
pub fn elements_list() -> anyhow::Result<Vec<ElementInfo>> {
let registry = gst::Registry::get();
let mut elements: Vec<ElementInfo> = Vec::new();
let plugins = gst::Registry::plugins(&registry);
for plugin in plugins {
let plugin_name = gst::Plugin::plugin_name(&plugin);
let features = gst::Registry::features_by_plugin(&registry, &plugin_name);
for feature in features {
let mut element = ElementInfo::default();
if let Ok(factory) = feature.downcast::<gst::ElementFactory>() {
let feature = factory.upcast::<gst::PluginFeature>();
element.name = gst::PluginFeature::name(&feature).as_str().to_owned();
element.plugin_name = gst::Plugin::plugin_name(&plugin).as_str().to_owned();
elements.push(element);
}
}
}
elements.sort();
Ok(elements)
}
pub fn element_factory_exists(element_name: &str) -> bool {
match ElementInfo::element_feature(element_name) {
Some(_feature) => {
GPS_DEBUG!("Found element factory name {}", element_name);
true
}
None => {
GPS_ERROR!("Unable to find element factory name {}", element_name);
false
}
}
}
pub fn element_feature(element_name: &str) -> Option<gst::PluginFeature> {
let registry = gst::Registry::get();
gst::Registry::find_feature(&registry, element_name, gst::ElementFactory::static_type())
}
pub fn element_update_rank(element_name: &str, rank: gst::Rank) {
let feature: Option<gst::PluginFeature> = ElementInfo::element_feature(element_name);
if let Some(feature) = feature {
feature.set_rank(rank);
}
}
pub fn element_description(element_name: &str) -> anyhow::Result<String> {
let mut desc = String::from("");
if !ElementInfo::element_factory_exists(element_name) {
desc.push_str("<b>Factory details:</b>\n");
desc.push_str("<b>Name:</b>");
desc.push_str(element_name);
desc.push('\n');
desc.push('\n');
desc.push_str("Factory unavailable.");
} else {
let feature = ElementInfo::element_feature(element_name)
.ok_or_else(|| glib::bool_error!("Failed get element feature"))?;
let rank = feature.rank();
if let Ok(factory) = feature.downcast::<gst::ElementFactory>() {
desc.push_str("<b>Factory details:</b>\n");
desc.push_str("<b>Rank:</b>");
let _ = write!(desc, "{rank:?}",);
desc.push('\n');
desc.push_str("<b>Name:</b>");
desc.push_str(&factory.name());
desc.push('\n');
let element_keys = factory.metadata_keys();
for key in element_keys {
let val = factory.metadata(&key);
if let Some(val) = val {
desc.push_str("<b>");
desc.push_str(&key);
desc.push_str("</b>:");
desc.push_str(&gtk::glib::markup_escape_text(val));
desc.push('\n');
}
}
let feature = factory.upcast::<gst::PluginFeature>();
let plugin = gst::PluginFeature::plugin(&feature);
if let Some(plugin) = plugin {
desc.push('\n');
desc.push_str("<b>Plugin details:</b>");
desc.push('\n');
desc.push_str("<b>Name:");
desc.push_str("</b>");
desc.push_str(gst::Plugin::plugin_name(&plugin).as_str());
desc.push('\n');
desc.push_str("<b>Description:");
desc.push_str("</b>");
desc.push_str(&gtk::glib::markup_escape_text(&plugin.description()));
desc.push('\n');
desc.push_str("<b>Filename:");
desc.push_str("</b>");
desc.push_str(&gtk::glib::markup_escape_text(
&plugin
.filename()
.unwrap_or_default()
.as_path()
.display()
.to_string(),
));
desc.push('\n');
desc.push_str("<b>Version:");
desc.push_str("</b>");
desc.push_str(&gtk::glib::markup_escape_text(&plugin.version()));
desc.push('\n');
}
}
}
Ok(desc)
}
pub fn element_type(element_name: &str) -> NodeType {
let (inputs, outputs) = PadInfo::pads(element_name, true);
let mut element_type = NodeType::Source;
if !inputs.is_empty() {
if !outputs.is_empty() {
element_type = NodeType::Transform;
} else {
element_type = NodeType::Sink;
}
} else if !outputs.is_empty() {
element_type = NodeType::Source;
}
element_type
}
pub fn element_property(element: &gst::Element, property_name: &str) -> anyhow::Result<String> {
let value = element.property_value(property_name);
if value.type_().is_a(glib::Type::ENUM) {
let value = value.get::<&glib::EnumValue>().unwrap().nick().to_string();
Ok(value)
} else if value.type_().is_a(glib::Type::FLAGS) {
let value = value.get::<Vec<&glib::FlagsValue>>().unwrap();
let flags = value.iter().copied().fold(0, |acc, val| acc | val.value());
Ok(flags.to_string())
} else if value.type_().is_a(glib::Type::F64) || value.type_().is_a(glib::Type::F32) {
let value = value
.transform::<String>()
.expect("Unable to transform to string")
.get::<String>()
.unwrap()
.replace(',', ".");
Ok(value)
} else {
let value = value
.transform::<String>()
.expect("Unable to transform to string")
.get::<String>()
.unwrap_or_default()
.to_lowercase();
Ok(value)
}
}
pub fn element_property_by_feature_name(
element_name: &str,
property_name: &str,
) -> anyhow::Result<String> {
let feature = ElementInfo::element_feature(element_name).expect("Unable to get feature");
let factory = feature
.downcast::<gst::ElementFactory>()
.expect("Unable to get the factory from the feature");
let element = factory.create().build()?;
ElementInfo::element_property(&element, property_name)
}
pub fn element_properties(
element: &gst::Element,
) -> anyhow::Result<HashMap<String, glib::ParamSpec>> {
let mut properties_list = HashMap::new();
let params = element.list_properties();
for param in params.iter() {
GPS_INFO!("Property_name {}", param.name());
if param.flags().contains(glib::ParamFlags::READABLE) {
match element.property_value(param.name()).transform::<String>() {
Ok(value) => {
GPS_INFO!(
"Property_name {}={} type={:?}",
param.name(),
value.get::<String>().unwrap_or_default(),
param.type_()
);
properties_list.insert(String::from(param.name()), param.clone());
}
Err(_e) => {
GPS_ERROR!("Unable to convert the param {} to string ", param.name())
}
}
} else {
GPS_ERROR!("The param {} is not readable", param.name())
}
}
Ok(properties_list)
}
pub fn element_properties_by_feature_name(
element_name: &str,
) -> anyhow::Result<HashMap<String, glib::ParamSpec>> {
let feature = ElementInfo::element_feature(element_name).expect("Unable to get feature");
let factory = feature
.downcast::<gst::ElementFactory>()
.expect("Unable to get the factory from the feature");
let element = factory.create().build()?;
ElementInfo::element_properties(&element)
}
pub fn element_is_uri_src_handler(element_name: &str) -> bool {
let feature = ElementInfo::element_feature(element_name).expect("Unable to get feature");
let factory = feature
.downcast::<gst::ElementFactory>()
.expect("Unable to get the factory from the feature");
let element = factory
.create()
.build()
.expect("Unable to create an element from the feature");
match element.dynamic_cast::<gst::URIHandler>() {
Ok(uri_handler) => uri_handler.uri_type() == gst::URIType::Src,
Err(_e) => false,
}
}
pub fn element_supports_new_pad_request(
element_name: &str,
direction: PortDirection,
) -> Option<PadInfo> {
let (inputs, outputs) = PadInfo::pads(element_name, true);
if direction == PortDirection::Input {
for input in inputs {
if input.presence() == PortPresence::Sometimes {
return Some(input);
}
}
} else if direction == PortDirection::Output {
for output in outputs {
if output.presence() == PortPresence::Sometimes {
return Some(output);
}
}
} else {
GPS_ERROR!("Port direction unknown");
}
None
}
pub fn search_for_element(bin: &gst::Bin, element_name: &str) -> Vec<gst::Element> {
let mut iter = bin.iterate_elements();
let mut elements: Vec<gst::Element> = Vec::new();
elements = loop {
match iter.next() {
Ok(Some(element)) => {
if element.is::<gst::Bin>() {
let bin = element.dynamic_cast::<gst::Bin>().unwrap();
let mut bin_elements = ElementInfo::search_for_element(&bin, element_name);
elements.append(&mut bin_elements);
} else {
GPS_INFO!("Found factory: {}", element.factory().unwrap().name());
if element.factory().unwrap().name() == element_name
|| element_name.is_empty()
{
GPS_INFO!("Found {}", element_name);
elements.push(element);
}
}
}
Err(gst::IteratorError::Resync) => iter.resync(),
_ => break elements,
}
};
elements
}
}

7
src/gps/mod.rs Normal file
View file

@ -0,0 +1,7 @@
mod element;
mod pad;
mod player;
pub use element::ElementInfo;
pub use pad::PadInfo;
pub use player::{PipelineState, Player};

93
src/gps/pad.rs Normal file
View file

@ -0,0 +1,93 @@
// pad.rs
//
// Copyright 2022 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GstPipelineStudio
//
// SPDX-License-Identifier: GPL-3.0-only
use crate::logger;
use crate::gps::ElementInfo;
use crate::graphmanager::{PortDirection, PortPresence};
use gst::prelude::*;
#[derive(Debug, PartialOrd, PartialEq, Eq)]
pub struct PadInfo {
name: Option<String>,
element_name: Option<String>,
direction: PortDirection,
presence: PortPresence,
caps: Option<String>,
}
impl Default for PadInfo {
fn default() -> PadInfo {
PadInfo {
name: None,
element_name: None,
direction: PortDirection::Unknown,
presence: PortPresence::Unknown,
caps: None,
}
}
}
impl PadInfo {
pub fn presence(&self) -> PortPresence {
self.presence
}
fn pad_to_port_presence(presence: gst::PadPresence) -> PortPresence {
match presence {
gst::PadPresence::Always => PortPresence::Always,
gst::PadPresence::Sometimes => PortPresence::Sometimes,
gst::PadPresence::Request => PortPresence::Sometimes,
}
}
pub fn caps(&self) -> &str {
self.caps.as_ref().unwrap()
}
pub fn pads(element_name: &str, include_on_request: bool) -> (Vec<PadInfo>, Vec<PadInfo>) {
let mut input = vec![];
let mut output = vec![];
if let Some(feature) = ElementInfo::element_feature(element_name) {
if let Ok(factory) = feature.downcast::<gst::ElementFactory>() {
if factory.num_pad_templates() > 0 {
let pads = factory.static_pad_templates();
for pad in pads {
GPS_TRACE!("Found a pad name {}", pad.name_template());
if pad.presence() == gst::PadPresence::Always
|| (include_on_request
&& (pad.presence() == gst::PadPresence::Request
|| pad.presence() == gst::PadPresence::Sometimes))
{
if pad.direction() == gst::PadDirection::Src {
output.push(PadInfo {
name: Some(pad.name_template().to_string()),
element_name: Some(element_name.to_string()),
direction: PortDirection::Output,
presence: PadInfo::pad_to_port_presence(pad.presence()),
caps: Some(pad.caps().to_string()),
});
} else if pad.direction() == gst::PadDirection::Sink {
input.push(PadInfo {
name: Some(pad.name_template().to_string()),
element_name: Some(element_name.to_string()),
direction: PortDirection::Input,
presence: PadInfo::pad_to_port_presence(pad.presence()),
caps: Some(pad.caps().to_string()),
});
}
}
}
}
}
(input, output)
} else {
(input, output)
}
}
}

568
src/gps/player.rs Normal file
View file

@ -0,0 +1,568 @@
// player.rs
//
// Copyright 2021 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GstPipelineStudio
//
// SPDX-License-Identifier: GPL-3.0-only
use crate::app::{AppState, GPSApp, GPSAppWeak};
use crate::graphmanager as GM;
use crate::graphmanager::PropertyExt;
use crate::common;
use crate::gps::ElementInfo;
use crate::logger;
use crate::settings;
use crate::GPS_INFO;
use gst::glib;
use gst::prelude::*;
use gtk::gdk;
use std::cell::{Cell, RefCell};
use std::collections::HashMap;
use std::fmt;
use std::fmt::Write as _;
use std::ops;
use std::rc::{Rc, Weak};
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq)]
pub enum PipelineState {
Playing,
Paused,
#[default]
Stopped,
Error,
}
impl fmt::Display for PipelineState {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{self:?}")
}
}
#[derive(Debug, Clone, Default)]
pub struct Player(Rc<PlayerInner>);
// Deref into the contained struct to make usage a bit more ergonomic
impl ops::Deref for Player {
type Target = PlayerInner;
fn deref(&self) -> &PlayerInner {
&self.0
}
}
#[derive(Debug, Clone)]
pub struct PlayerWeak(Weak<PlayerInner>);
impl PlayerWeak {
pub fn upgrade(&self) -> Option<Player> {
self.0.upgrade().map(Player)
}
}
fn gst_log_handler(
category: gst::DebugCategory,
level: gst::DebugLevel,
file: &glib::GStr,
function: &glib::GStr,
line: u32,
_obj: Option<&gst::LoggedObject>,
message: &gst::DebugMessage,
) {
let log_message = format!(
"{}\t{}\t{}:{}:{}\t{}",
level,
category.name(),
line,
file.as_str(),
function.as_str(),
message.get().unwrap().as_str()
);
GPS_GST_LOG!("{}", log_message);
}
#[derive(Debug, Default)]
pub struct PlayerInner {
app: RefCell<Option<GPSApp>>,
pipeline: RefCell<Option<gst::Pipeline>>,
current_state: Cell<PipelineState>,
n_video_sink: Cell<usize>,
bus_watch_guard: RefCell<Option<gst::bus::BusWatchGuard>>,
}
impl Player {
pub fn new() -> anyhow::Result<Self> {
let pipeline = Player(Rc::new(PlayerInner {
app: RefCell::new(None),
pipeline: RefCell::new(None),
current_state: Cell::new(PipelineState::Stopped),
n_video_sink: Cell::new(0),
bus_watch_guard: RefCell::new(None),
}));
gst::log::add_log_function(gst_log_handler);
Ok(pipeline)
}
pub fn get_version() -> String {
gst::version_string().to_string()
}
pub fn set_app(&self, app: GPSAppWeak) {
*self.app.borrow_mut() = Some(app.upgrade().unwrap());
}
pub fn create_pipeline(&self, description: &str) -> anyhow::Result<gst::Pipeline> {
GPS_INFO!("Creating pipeline {}", description);
self.n_video_sink.set(0);
if settings::Settings::load_settings()
.preferences
.get("use_gtk4_sink")
.unwrap_or(&"true".to_string())
.parse::<bool>()
.expect("Should a boolean value")
{
ElementInfo::element_update_rank("gtk4paintablesink", gst::Rank::PRIMARY);
} else {
ElementInfo::element_update_rank("gtk4paintablesink", gst::Rank::MARGINAL);
}
gst::log::set_threshold_from_string(settings::Settings::gst_log_level().as_str(), true);
// Create pipeline from the description
let pipeline = gst::parse::launch(description)?;
let pipeline = pipeline.downcast::<gst::Pipeline>();
/* start playing */
if pipeline.is_err() {
GPS_ERROR!("Can not create a proper pipeline from gstreamer parse_launch");
return Err(anyhow::anyhow!(
"Unable to create a pipeline from the given parse launch"
));
}
self.check_for_gtk4sink(pipeline.as_ref().unwrap());
// GPSApp is not Send(trait) ready , so we use a channel to exchange the given data with the main thread and use
// GPSApp.
let (ready_tx, ready_rx) = async_channel::unbounded::<gst::Element>();
let player_weak = self.downgrade();
glib::spawn_future_local(async move {
while let Ok(element) = ready_rx.recv().await {
let player = upgrade_weak!(player_weak, glib::ControlFlow::Break);
let paintable = element.property::<gdk::Paintable>("paintable");
let n_sink = player.n_video_sink.get();
player
.app
.borrow()
.as_ref()
.expect("App should be available")
.set_app_preview(&paintable, n_sink);
player.n_video_sink.set(n_sink + 1);
}
glib::ControlFlow::Continue
});
let bin = pipeline.unwrap().dynamic_cast::<gst::Bin>();
if let Ok(bin) = bin.as_ref() {
bin.connect_deep_element_added(move |_, _, element| {
if let Some(factory) = element.factory() {
GPS_INFO!("Received the signal deep element added {}", factory.name());
if factory.name() == "gtk4paintablesink" {
let _ = ready_tx.try_send(element.clone());
}
}
});
}
let pipeline = bin.unwrap().dynamic_cast::<gst::Pipeline>();
Ok(pipeline.unwrap())
}
pub fn check_for_gtk4sink(&self, pipeline: &gst::Pipeline) {
let bin = pipeline.clone().dynamic_cast::<gst::Bin>().unwrap();
let gtksinks = ElementInfo::search_for_element(&bin, "gtk4paintablesink");
for (first_sink, gtksink) in gtksinks.into_iter().enumerate() {
let paintable = gtksink.property::<gdk::Paintable>("paintable");
self.app
.borrow()
.as_ref()
.expect("App should be available")
.set_app_preview(&paintable, first_sink);
}
}
pub fn start_pipeline(
&self,
graphview: &GM::GraphView,
new_state: PipelineState,
) -> anyhow::Result<PipelineState> {
if self.state() == PipelineState::Stopped || self.state() == PipelineState::Error {
let pipeline = self
.create_pipeline(&self.pipeline_description_from_graphview(graphview))
.map_err(|err| {
GPS_ERROR!("Unable to create a pipeline: {}", err);
err
})?;
let bus = pipeline.bus().expect("Pipeline had no bus");
let pipeline_weak = self.downgrade();
let bus_watch_guard = bus.add_watch_local(move |_bus, msg| {
let pipeline = upgrade_weak!(pipeline_weak, glib::ControlFlow::Break);
pipeline.on_pipeline_message(msg);
glib::ControlFlow::Continue
})?;
*self.pipeline.borrow_mut() = Some(pipeline);
*self.bus_watch_guard.borrow_mut() = Some(bus_watch_guard);
}
self.set_state(new_state).map_err(|error| {
GPS_ERROR!("Unable to change state {}", error);
error
})?;
Ok(self.state())
}
pub fn set_state(&self, new_state: PipelineState) -> anyhow::Result<PipelineState> {
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
match new_state {
PipelineState::Playing => pipeline.set_state(gst::State::Playing)?,
PipelineState::Paused => pipeline.set_state(gst::State::Paused)?,
PipelineState::Stopped | PipelineState::Error => {
pipeline.set_state(gst::State::Null)?;
self.n_video_sink.set(0);
gst::StateChangeSuccess::Success
}
};
self.current_state.set(new_state);
self.app
.borrow()
.as_ref()
.expect("App should be available")
.set_app_state(Player::state_to_app_state(new_state));
}
Ok(new_state)
}
pub fn state(&self) -> PipelineState {
self.current_state.get()
}
pub fn set_position(&self, position: u64) -> anyhow::Result<()> {
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
pipeline.seek_simple(
gst::SeekFlags::FLUSH | gst::SeekFlags::KEY_UNIT,
position * gst::ClockTime::SECOND,
)?;
}
Ok(())
}
pub fn position(&self) -> u64 {
let mut position = gst::ClockTime::NONE;
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
position = pipeline.query_position::<gst::ClockTime>();
}
position.unwrap_or_default().mseconds()
}
pub fn duration(&self) -> u64 {
let mut duration = gst::ClockTime::NONE;
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
duration = pipeline.query_duration::<gst::ClockTime>();
}
duration.unwrap_or_default().mseconds()
}
pub fn position_description(&self) -> String {
let mut position = gst::ClockTime::NONE;
let mut duration = gst::ClockTime::NONE;
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
position = pipeline.query_position::<gst::ClockTime>();
duration = pipeline.query_duration::<gst::ClockTime>();
}
format!(
"{:.0}/{:.0}",
position.unwrap_or_default().display(),
duration.unwrap_or_default().display(),
)
}
fn state_to_app_state(state: PipelineState) -> AppState {
match state {
PipelineState::Playing => AppState::Playing,
PipelineState::Paused => AppState::Paused,
PipelineState::Stopped => AppState::Stopped,
PipelineState::Error => AppState::Error,
}
}
pub fn playing(&self) -> bool {
self.state() == PipelineState::Playing || self.state() == PipelineState::Paused
}
pub fn n_video_sink(&self) -> usize {
self.n_video_sink.get()
}
pub fn downgrade(&self) -> PlayerWeak {
PlayerWeak(Rc::downgrade(&self.0))
}
fn on_pipeline_message(&self, msg: &gst::MessageRef) {
use gst::MessageView;
if let Some(message) = msg.structure() {
GPS_MSG_LOG!("{:?}", message);
}
match msg.view() {
MessageView::Eos(_) => {
GPS_INFO!("EOS received");
self.set_state(PipelineState::Stopped)
.expect("Unable to set state to stopped");
}
MessageView::Error(err) => {
GPS_ERROR!(
"Error from {:?}: {} ({:?})",
err.src().map(|s| s.path_string()),
err.error(),
err.debug()
);
self.set_state(PipelineState::Error)
.expect("Unable to set state to Error");
}
MessageView::Application(msg) => match msg.structure() {
// Here we can send ourselves messages from any thread and show them to the user in
// the UI in case something goes wrong
Some(s) if s.name() == "warning" => {
let text = s.get::<&str>("text").expect("Warning message without text");
GPS_WARN!("{}", text);
}
_ => (),
},
_ => (),
};
}
pub fn pipeline_elements(&self) -> Option<Vec<String>> {
if self.playing() {
let bin = self
.pipeline
.borrow()
.clone()
.unwrap()
.dynamic_cast::<gst::Bin>()
.unwrap();
let elements_name: Vec<String> = ElementInfo::search_for_element(&bin, "")
.iter()
.map(|e| e.factory().unwrap().name().to_string())
.collect();
return Some(elements_name);
}
None
}
// Render graph methods
#[allow(clippy::only_used_in_recursion)]
fn process_gst_node(
&self,
graphview: &GM::GraphView,
node: &GM::Node,
elements: &mut HashMap<String, String>,
mut description: String,
) -> String {
let unique_name = node.unique_name();
let _ = write!(description, "{} name={} ", node.name(), unique_name);
elements.insert(unique_name.clone(), unique_name.clone());
// Node properties
for (name, value) in node.properties().iter() {
//This allow to have an index in front of a property such as an enum.
if !node.hidden_property(name) {
let _ = write!(description, "{name}={value} ");
}
}
//Port properties
let ports = node.all_ports(GM::PortDirection::All);
for port in ports {
for (name, value) in port.properties().iter() {
if !port.hidden_property(name) {
let _ = write!(description, "{}::{}={} ", port.name(), name, value);
}
}
}
let ports = node.all_ports(GM::PortDirection::Output);
let n_ports = ports.len();
for port in ports {
if let Some((_port_to, node_to)) = graphview.port_connected_to(port.id()) {
if n_ports > 1 {
let _ = write!(description, "{unique_name}. ! ");
} else {
if let Some(link) = graphview.port_link(port.id()) {
if !link.name().is_empty() {
let _ = write!(description, "! {} ", link.name());
}
}
description.push_str("! ");
}
if let Some(node) = graphview.node(node_to) {
if elements.contains_key(&node.unique_name()) {
let _ = write!(description, "{}. ", node.unique_name());
} else {
description =
self.process_gst_node(graphview, &node, elements, description.clone());
}
}
}
}
description
}
pub fn pipeline_description_from_graphview(&self, graphview: &GM::GraphView) -> String {
let source_nodes = graphview.all_nodes(GM::NodeType::Source);
let mut elements: HashMap<String, String> = HashMap::new();
let mut description = String::from("");
for source_node in source_nodes {
description =
self.process_gst_node(graphview, &source_node, &mut elements, description.clone());
}
description
}
pub fn create_links_for_element(&self, element: &gst::Element, graphview: &GM::GraphView) {
let mut iter = element.iterate_pads();
let node = graphview
.node_by_unique_name(&element.name())
.expect("node should exists");
loop {
match iter.next() {
Ok(Some(pad)) => {
GPS_INFO!("Found pad: {}", pad.name());
if pad.direction() == gst::PadDirection::Src {
let port = node
.port_by_name(&pad.name())
.expect("The port should exist here");
if let Some(peer_pad) = pad.peer() {
if let Some(peer_element) = peer_pad.parent_element() {
let peer_node = graphview
.node_by_unique_name(&peer_element.name())
.expect("The node should exists here");
let peer_port = peer_node
.port_by_name(&peer_pad.name())
.expect("The port should exists here");
self.app.borrow().as_ref().unwrap().create_link(
node.id(),
peer_node.id(),
port.id(),
peer_port.id(),
);
}
}
}
}
Err(gst::IteratorError::Resync) => iter.resync(),
_ => break,
}
}
}
pub fn create_pads_for_element(&self, element: &gst::Element, node: &GM::Node) {
let mut iter = element.iterate_pads();
loop {
match iter.next() {
Ok(Some(pad)) => {
let pad_name = pad.name().to_string();
GPS_INFO!("Found pad: {}", pad_name);
let mut port_direction = GM::PortDirection::Input;
if pad.direction() == gst::PadDirection::Src {
port_direction = GM::PortDirection::Output;
}
let port_id = self.app.borrow().as_ref().unwrap().create_port_with_caps(
node.id(),
port_direction,
GM::PortPresence::Always,
pad.current_caps()
.unwrap_or_else(|| pad.query_caps(None))
.to_string(),
);
if let Some(port) = node.port(port_id) {
port.set_name(&pad_name);
}
}
Err(gst::IteratorError::Resync) => iter.resync(),
_ => break,
}
}
}
pub fn create_properties_for_element(&self, element: &gst::Element, node: &GM::Node) {
let properties = ElementInfo::element_properties(element)
.unwrap_or_else(|_| panic!("Couldn't get properties for {}", node.name()));
for (property_name, property_value) in properties {
if property_name == "name"
|| property_name == "parent"
|| (property_value.flags() & glib::ParamFlags::READABLE)
!= glib::ParamFlags::READABLE
{
continue;
}
if let Ok(value_str) = ElementInfo::element_property(element, &property_name) {
let default_value_str =
common::value_as_str(property_value.default_value()).unwrap_or_default();
GPS_DEBUG!(
"property name {} value_str '{}' default '{}'",
property_name,
value_str,
default_value_str
);
if !value_str.is_empty() && value_str != default_value_str {
node.add_property(&property_name, &value_str);
}
}
}
}
pub fn graphview_from_pipeline_description(
&self,
graphview: &GM::GraphView,
pipeline_desc: &str,
) {
graphview.clear();
if let Ok(pipeline) = self.create_pipeline(pipeline_desc) {
let mut iter = pipeline.iterate_elements();
let mut elements: Vec<gst::Element> = Vec::new();
let elements = loop {
match iter.next() {
Ok(Some(element)) => {
GPS_INFO!("Found element: {}", element.name());
let element_factory_name = element.factory().unwrap().name().to_string();
let node = graphview.create_node(
&element_factory_name,
ElementInfo::element_type(&element_factory_name),
);
node.set_unique_name(&element.name());
graphview.add_node(node.clone());
self.create_pads_for_element(&element, &node);
self.create_properties_for_element(&element, &node);
elements.push(element);
}
Err(gst::IteratorError::Resync) => iter.resync(),
_ => break elements,
}
};
for element in elements {
self.create_links_for_element(&element, graphview);
}
} else {
GPS_ERROR!("Unable to create a pipeline: {}", pipeline_desc);
}
}
}
impl Drop for PlayerInner {
fn drop(&mut self) {
if let Some(pipeline) = self.pipeline.borrow().to_owned() {
// We ignore any errors here
let _ = pipeline.set_state(gst::State::Null);
}
}
}

58
src/gps/test.rs Normal file
View file

@ -0,0 +1,58 @@
use crate::gps::player::Player;
use crate::graphmanager as GM;
#[cfg(test)]
fn test_synced<F, R>(function: F) -> R
where
F: FnOnce() -> R + Send + std::panic::UnwindSafe + 'static,
R: Send + 'static,
{
/// No-op.
macro_rules! skip_assert_initialized {
() => {};
}
skip_assert_initialized!();
use futures_channel::oneshot;
use std::panic;
let (tx, rx) = oneshot::channel();
TEST_THREAD_WORKER
.push(move || {
tx.send(panic::catch_unwind(function))
.unwrap_or_else(|_| panic!("Failed to return result from thread pool"));
})
.expect("Failed to schedule a test call");
futures_executor::block_on(rx)
.expect("Failed to receive result from thread pool")
.unwrap_or_else(|e| std::panic::resume_unwind(e))
}
#[cfg(test)]
static TEST_THREAD_WORKER: once_cell::sync::Lazy<gtk::glib::ThreadPool> =
once_cell::sync::Lazy::new(|| {
let pool = gtk::glib::ThreadPool::exclusive(1).unwrap();
pool.push(move || {
gtk::init().expect("Tests failed to initialize gtk");
})
.expect("Failed to schedule a test call");
pool
});
#[cfg(test)]
mod player_test {
use super::*;
fn check_pipeline(pipeline_desc: &str) {
let player = Player::new().expect("Not able to create the player");
let graphview = GM::GraphView::new();
player.graphview_from_pipeline_description(&graphview, pipeline_desc);
}
#[test]
fn pipeline_creation() {
test_synced(|| {
println!("coucou");
//check_pipeline("videotestsrc ! autovideosink");
});
}
}

Some files were not shown because too many files have changed in this diff Show more