Hello,
I have a hardware platform with an LCD that is rotated 90 degrees. I had no problems rotating the frame buffer, but I also need to rotate video playback on the LCD.
I've seen some contradictory information related to whether the v4l2 output supports rotation. For example, the VPSS guide suggests that rotation is supported:
http://processors.wiki.ti.com/index.php/TI81XX_PSP_VPSS_Video_Driver_User_Guide#Supported_Standard_IOCTLs_2
However if you look at the sources to the drivers/media/video/ti81xx/ti81xxvid_main.c for the S_CTRL ioctl, it's pretty clear that support isn't present.
As for omx_videosink, there is skeleton code related to rotation, but it's not actually implemented. I found a couple of posts that made vague references suggesting to "use the tiler" but nothing concrete.
The one example I did find was related to capturing video from a camera, and it was actually the camera that had it's input rotated rather than rotating the LCD output. Using the gstomx_camera.c as a reference I tried setting the same parameters in the gstomx_videosink, but not surprisingly they didn't work.
So can anybody point me to a gstreamer pipeline that demonstrates video rotation, or some code which makes use of this functionality? Certainly I cannot be the first one to try to deploy a ti81xx based product that needs to play video and has a rotated LCD.
Thanks in advance,
Devin