关于imx6q fb旋转显示的问题

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

关于imx6q fb旋转显示的问题

2,588 次查看
jingyangxie
Contributor V

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

标签 (1)
0 项奖励
回复
4 回复数

1,825 次查看
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 项奖励
回复

1,825 次查看
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 项奖励
回复

1,825 次查看
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 项奖励
回复

1,825 次查看
jingyangxie
Contributor V

Hi,Joan

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

0 项奖励
回复