You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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:
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 includeglvideoflip
andvideoflip
.Related:
The text was updated successfully, but these errors were encountered: