<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 17 déc. 2017 1:59 AM, "Sean DuBois" <<a href="mailto:sean@siobud.com">sean@siobud.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to rotate a video by degrees that are not divisible by 90.<br>
Like this [0] pipeline . However I am not able to find any solutions<br>
that don't involve losing pixels and/or support alpha.<br>
<br>
So far the best thing I have found is videoflip, and it works well for<br>
90/180/270<br>
<br>
Does anyone know a solution, and if not would an element be welcome for<br>
this? Or maybe I can add a patch to rotate (but for my use case I would<br>
want the sink to always have alpha) and the height/width would be<br>
re-calculated every time the angle changed.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Improving rotate seems a good way. The only other solution I know is gltransformation, note that it depends on graphene, which is not always included in distribution yet (gtk4 will depend on it).</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
thanks<br>
<br>
---<br>
[0] gst-launch-1.0 videotestsrc ! rotate angle=5 ! compositor sink_0::xpos=200 sink_0::ypos=200 ! video/x-raw,width=1280,height=<wbr>720 ! autovideosink<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>