Skip to content

Ability to show GStreamer pipeline #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 27, 2025
Merged

Conversation

Rafostar
Copy link
Owner

@Rafostar Rafostar commented Feb 18, 2025

Allow users to preview GStreamer pipeline running underneath. It contains more data to help determine what exactly elements are used, what caps negotiated and where. Also helpful with debugging.

This implementation uses GtkFileLauncher, so users can open image with some app of their choice (usually image viewer). Implementing whole image viewer as part of video player would be an overkill.

This adds Graphviz as application dependency, but I made it in a way that app can be compiled without this functionality if this dependency gonna be inconvenient for some reason.

Allow to preview GStreamer pipeline while playing content.
This makes it easier to check what is used underneath.
Pipeline preview creates temp files, so delete whole directory
recursively on app exit. Since these files are used through
launcher/portal with another app, we do not know when user finished
using them, thus we cannot detect and remove them earlier.
@Rafostar Rafostar force-pushed the pipeline-preview-launcher branch 3 times, most recently from 68ace17 to 63513f7 Compare February 23, 2025 16:29
Needed for pipeline preview app functionality
System tmp directory does not work within containers such as Flatpak
for our usage with file launcher, so make our own temp in app data dir
@Rafostar Rafostar force-pushed the pipeline-preview-launcher branch from 63513f7 to 3663150 Compare April 26, 2025 16:33
@Rafostar Rafostar merged commit 2e3c98d into master Apr 27, 2025
4 checks passed
@Rafostar Rafostar deleted the pipeline-preview-launcher branch April 27, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant