关于imx6q fb旋转显示的问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

关于imx6q fb旋转显示的问题

2,369 Views
jingyangxie
Contributor V

目前使用官方的imx6qsabresd开发板,使用中发现官方BSP(Linux3.14.52)只支持echo 1 > /sys/class/graphics/fb0/rotate,垂直翻转,如果想实现180度水平旋转应该怎么做?

Labels (1)
0 Kudos
4 Replies

1,606 Views
joanxie
NXP TechSupport
NXP TechSupport

one can find the diff code in the link as below for reference, but this code is based on the 3.14.28, for your kenel maybe you need to change something, and if you want to rotate video, one can use gstreamer too

https://community.nxp.com/thread/309622 

0 Kudos

1,606 Views
jingyangxie
Contributor V

Hi,Joan

   thanks for answering me,how can I use gstreamer to achieve the rotation,can you give me a example?

0 Kudos

1,606 Views
joanxie
NXP TechSupport
NXP TechSupport

add the roation parameter in the command, for example:

gst-launch playbin2 uri=file:///video_file video-sink="mfw_isink disp-width=640 disp-height=480 rotation=3"

0 Kudos

1,606 Views
jingyangxie
Contributor V

Hi,Joan

      I used the command as you said above , it still didn't work.thanks for your patience.

0 Kudos