I am trying to rotate a video clockwise with gplay command line.
But it got errors:
Set rotation between 0, 90, 180, 270: 90
fsl_player_rotate(): AutVideoSinko=videosink : ActualVideoSink=videosink-actual-sink-mfw_v4l
rotate_value = 90
rotate = 90update_mfw_v4lsink_parameter(): Update mfw_v4lsink successfully!
fsl_player_rotate(): After rotate_value == 90
mxc_v4l2_output mxc_v4l2_output.0: vout check task failed
full screen size:1920x1080
Failed to initalize the dispmxc_ipu mxc_ipu: ERR: no-0x0,ipu_queue_task err:-22
mxc_v4l2_output mxc_v4l2_output.0: display work fail ret = -22
But it's fine to rotate 180, but 90 and 270.
And I try the following to rotate by 90:
gst-launch filesrc location=/data/No5.mp4 typefind=true ! videoflip method=clockwise ! aiurdemux ! vpudec ! mfw_v4lsink
MFW_GST_V4LSINK_PLUGIN 3.0.7 build on Nov 11 2013 00:17:51.
WARNING: erroneous pipeline: could not link videoflip0 to aiurdemux0
What is the best way to rotate a video in i.mx6 and how?