Skip to content
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

Support camera rotation in the demo Gstreamer pipeline #116

Open
rmader opened this issue Feb 1, 2023 · 1 comment
Open

Support camera rotation in the demo Gstreamer pipeline #116

rmader opened this issue Feb 1, 2023 · 1 comment
Labels
demo enhancement New feature or request
Milestone

Comments

@rmader
Copy link

rmader commented Feb 1, 2023

The ashpd-demo is an awesome example for how to use the camera portal, however it currently lacks rotation support which is needed on many mobile devices as their cameras are often mounted rotated and the drivers don't support transparently per-rotating the image. Here's an example from the Pinephone Pro:
many-camera-apps

On the right side you see the output from https://gitlab.gnome.org/-/snippets/4781, providing a simple example for how to enable it with a Gstreamer element that supports rotate-method=auto. That property doesn't have to be supported by the sink though - other possible elements that could do the job include glvideoflip and videoflip.


Related:

@bilelmoussaoui bilelmoussaoui added demo enhancement New feature or request labels Feb 10, 2023
@bilelmoussaoui bilelmoussaoui added this to the 0.7 milestone Aug 29, 2023
@bilelmoussaoui
Copy link
Owner

So what else is needed here other than updating the demo to include the latest paintable sink?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants