AnsweredAssumed Answered

i.MX.6Q video playback with GStreamer using mfw_v4lsink

Question asked by Allen Wang on Jul 23, 2013
Latest reply on Jul 29, 2013 by Leonardo Sandoval Gonzalez

I am trying to play video using GStreamer, the video-sink I use is mfw_v4lsink, the goal is to play video in the portrait orientation (which is rotating video playback in 90degree).

 

When I set the "rotate" property of mfw_v4lsink to 180 and it works (~$ gst-launch uri=file://SOME_VIDEO video-sink="mfw_v4lsink rotate=180"), the video playback turns out upside down, but when the rotate=90 or rotate=270, the video is disappeared.

 

I also tried to play with gplay, the rotate function of gplay work well with 180 degree and it worked, but the error message came out below when rotate=90 and 270 :

mxc_ipu mxc_ipu: ERR: no-0x0,ipu_queue_task err:-22

mxc_v4l2_output mxc_v4l2_output.0: display work fail ret = -22

 

I also found that the framebuffer can only be rotate in 180 degree using "echo 1 > /sys/class/graphic/fb0/rotate", 1 is the only valid number to be set to the/sys/class/graphic/fb0/rotate, according to this link, the value 1 should be rotate in 90 degree, is there any connection between /sys/class/graphic/fb0/rotate" and the video playback orientation.

 

Can someone help me out please?

Outcomes