How do I rotate an image using videoflip

How can we use videoflip to rotate 60 degrees clockwise, and how can we specify the number of degrees with custom parameter

videoflip only rotates in 90° increments. Use the rotate element if you want to rotate by non 90° rotations/flips.

But rotate only seems to work with images,The following command is a pipe connection that indicates an error

gst-launch-1.0 v4l2src device=/dev/video12 ! 
rotate angle=1.05 ! video/x-raw,format=NV12,width=1920,height=1080 ! 
videoscale ! video/x-raw,width=640,height=480 ! rotate angle=1.05 ! 

Simplify your pipeline :).

If you look at the rotate pad templates, you will not see the NV12 video format there.

gst-launch-1.0 videotestsrc ! rotate angle=0.2 ! glimagesink works just fine for me.

So rotate can’t handle video streams, right?

It can handle video streams just fine. You just need to ensure that the video formats are compatible with the surrounding elements. e.g. adding videoconvert elements before and after rotate will probably make your v4l2src pipeline work.

Thank you, I can work with your method, but the latency is very high. now I am curious how videoflip custom parameter is used