<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: i.MX23 CPU - Display Rotate function not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214348#M13399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a regular video in MP4 format with 320x240 Resolution. It is stored in NAND flash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 14:11:04 GMT</pubDate>
    <dc:creator>GopiNagaBharath</dc:creator>
    <dc:date>2012-12-21T14:11:04Z</dc:date>
    <item>
      <title>i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214343#M13394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to rotate the 4.3" LCD Display on i.MX23 Development kit by 90 degree to play the videos in portrait mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using “echo "1" &amp;gt; /sys/class/graphics/fb0/rotate” before playing the video with the “gplay” command. This command is not working and the display is not rotating. &lt;/P&gt;&lt;P&gt;Independent of the rotation setting with “echo”, the video is always playing in landscape mode.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried by rotating the video while playing with “qplay” command by pressing “t” and entering the required rotation, but it didn’t help. I am getting the error "&lt;STRONG&gt;GLib-GObject-WARNING **: IA__g_object_set_valist: object class `MFW_GST_V4LSINK_INFO_T' has no property named `rotate' &lt;/STRONG&gt;" when i entered the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone face this issue previously? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214343#M13394</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2012-12-20T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214344#M13395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;echo "1" &amp;gt; /sys/class/graphics/fbcon/rotate or &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;echo "1" &amp;gt; /sys/class/graphics/fbcon/rotate_all generally works if you have framebuffer console enabled (which you likely have). Then the text on the console will be rotated, but that's about it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Beware that the playback software might have it's own (likely different) idea of video output to the framebuffer. What the playback SW basically does is it prepares the buffer with the image that's to be displayed on the LCD and passes it to the kernel so the kernel can in turn direct the LCDIF controller to pick this data with it's FIFO and display them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thus you need to convince the playback software (gplay, qplay) to actually display the data rotated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Why do you get V4L warning at all?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 19:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214344#M13395</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2012-12-20T19:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214345#M13396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already tried rotating while the video is being played with the use of "gplay" Command.&lt;/P&gt;&lt;P&gt;But it didn't help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214345#M13396</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2012-12-21T06:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214346#M13397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I am not sure why it is giving V4L warning.&lt;/P&gt;&lt;P&gt;Can you please help me resolving the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:47:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214346#M13397</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2012-12-21T06:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214347#M13398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the video source you're using? Regular file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 14:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214347#M13398</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2012-12-21T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214348#M13399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a regular video in MP4 format with 320x240 Resolution. It is stored in NAND flash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 14:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214348#M13399</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2012-12-21T14:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214349#M13400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the V4L stuff seems to be generated by PXP, nothing to worry about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured the "gplay" is freescale's home-made thing, which in turn is based on gstreamer. Therefore, go, rip it open and try to insert&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;videoflip method=clockwise&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;somewhere into the &lt;STRONG&gt;gst-launch&lt;/STRONG&gt; pipeline. That should help you do exactly what you need. Otherwise, you can also use &lt;STRONG&gt;gsl-launch&lt;/STRONG&gt; directly, see here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videoflip.html" title="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videoflip.html"&gt;videoflip&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 14:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214349#M13400</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2012-12-21T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214350#M13401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to use gst-launch for flipping the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below are the commands which I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"gst-launch filesrc location=MPEGSolution_stuart.avi ! mfw_avidemuxer name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! mfw_h264decoder ! videoflip method=clockwise ! mfw_v4lsink demux. ! queue max-size-buffers=0 max-size-time=0 ! mfw_mp3decoder ! audioconvert ! 'audio/x-raw-int,channels=1' ! alsasink"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work, just stops with the below response.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"AVI_PARSER_02.04.06&amp;nbsp; build on Dec 24 2009 09:29:31.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MFW_GST_AVI_PARSER_PLUGIN 1.8.0 build on May 30 2010 00:25:38.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;H264D_ARM9_02.06.01&amp;nbsp; build on Jul 22 2009 14:59:15.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MFW_GST_H264_DECODER_PLUGIN 1.8.0 build on May 30 2010 00:25:32.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MFW_GST_V4LSINK_PLUGIN 1.8.0 build on May 30 2010 00:25:51.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BLN_MAD-MMCODECS_MP3D_ARM_02.05.00_ARM9&amp;nbsp; build on Aug 27 2009 11:25:56.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MFW_GST_MP3_DECODER_PLUGIN 1.8.0 build on May 30 2010 00:25:11.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Setting pipeline to PAUSED ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IRQ 4/MXS DAC/ADC HP SHORT: IRQF_DISABLED is not guaranteed on shared IRQs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File is seekable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;find audio track: 1 to decode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;find video track: 0 to decode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;successfully seek audio the track 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;successfully seek video the track 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pipeline is PREROLLING ..."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything which I am missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 14:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214350#M13401</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2013-01-09T14:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214351#M13402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The current i.MX23 BSP release (and i.MX28 as well) does not support video rotation. The g-stream video sink element &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;"mfw_v4lsink"&lt;/SPAN&gt; does not allow its rotation property can be changed and thus video rotation is not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enclosed an experimental patch to support video rotation on i.MX233. To test video playback with rotation, after applying the patches to gst-fsl-plugin and kernel, please use command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;gst-launch playbin2 uri=file:///video_file video-sink="mfw_v4lsink rotate=90"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The patch changes the rotation behavior of "mxs_pxp" such that when "PXP_ROTATE_VIDEO" is defined, the video will be rotated relative to the display framebuffer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 10:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214351#M13402</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2013-06-21T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214352#M13403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an element called &lt;EM&gt;videoflip&lt;/EM&gt; which I believe do the same, but this is of course SW rotation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 14:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214352#M13403</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-06-21T14:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214353#M13404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the &lt;EM&gt;videoflip&lt;/EM&gt; element do the same job. However, the video playback is not smooth because it is software rotation. This motivates me to use hardware PXP to rotate the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a software bug in the previous patch when supplying a video display offset to the playback. Here is the fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 06:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214353#M13404</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2013-07-09T06:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214354#M13405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this Patch and found that it doesn't work for AVI format files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 06:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214354#M13405</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2013-07-09T06:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX23 CPU - Display Rotate function not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214355#M13406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gopi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PXP rotation does not have any dependence with the video format. Actually, I only have AVI format video to test and I had validated that video rotation and display offset works. Since the patch does not do any cropping, you have to ensure that the rotated video with display offset still fit into your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 03:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX23-CPU-Display-Rotate-function-not-working/m-p/214355#M13406</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2013-07-10T03:40:39Z</dc:date>
    </item>
  </channel>
</rss>

