<?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: Video Scrolling Issue with ADV7180 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Video-Scrolling-Issue-with-ADV7180/m-p/247332#M21799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is solved. I modified the mxc_v4l2_tvin application to switch video sources at startup before the video stream is opened which seems to help the sync. This is most certainly a hack and I believe using the EAV/SAV codes is the proper solution. Regardless, I've attached my modified mxc_v4l2_tvin.c for reference. The application now allows the user to set the alpha channel through the command line line as well as automatically switching between an1 and an2 every few seconds. It also allows for re-syncing if a video signal is lost and reconnected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached file is extremely hacky but hopefully it might help someone out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 14:59:22 GMT</pubDate>
    <dc:creator>patrickmccleary</dc:creator>
    <dc:date>2013-11-06T14:59:22Z</dc:date>
    <item>
      <title>Video Scrolling Issue with ADV7180</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-Scrolling-Issue-with-ADV7180/m-p/247331#M21798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to bring NTSC video into an IMX6Q development board using an ADV7180 video decoder through a BT.656 stream on CS0. I've got video displaying on the screen using the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;unit_test/mxc_v4l2_tvin program. Unfortunately it appears there is sync issue as the video rolls vertically across the screen. It also occasionally pauses/stutters. Here is the output from the tvin program when I run ./mxc_v4l2_tvin.out -ow 640 -oh 480:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TV decoder chip is adv7180_decoder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;VIDIOC_G_FMT failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;driver=mxc_vout, card=DISP3 FG, bus=, version=0x00000000, capabilities=0x04000002&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What is this VIDIOC_G_FMT error I'm seeing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Also I'm getting the following errors spuriously while the tvin program is running:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IPU_INT_STAT_5 = 0x00000001. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="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="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This i&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;nterrupt means there is new frame before end-of-frame error interrupt on IPU channel 0. Any ideas to why this would happen?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I've attached a short video showing the scrolling/stuttering problems I'm seeing.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Pat&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update - The issue has been partially solved. The hardware on the I2C bus wasn't working properly and must have caused some corruption during the initialization of the decoder chip. However, I'm still getting one or two scolls across the screen when the tvin program first starts. It looks to be very similar to the issue seen here: &lt;A href="https://community.nxp.com/message/288505"&gt;Re: screen rolling on a short video source interrupt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to resolve this since the ADV7180 is not loosing lock on the signal. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 16:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-Scrolling-Issue-with-ADV7180/m-p/247331#M21798</guid>
      <dc:creator>patrickmccleary</dc:creator>
      <dc:date>2013-10-30T16:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Video Scrolling Issue with ADV7180</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-Scrolling-Issue-with-ADV7180/m-p/247332#M21799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is solved. I modified the mxc_v4l2_tvin application to switch video sources at startup before the video stream is opened which seems to help the sync. This is most certainly a hack and I believe using the EAV/SAV codes is the proper solution. Regardless, I've attached my modified mxc_v4l2_tvin.c for reference. The application now allows the user to set the alpha channel through the command line line as well as automatically switching between an1 and an2 every few seconds. It also allows for re-syncing if a video signal is lost and reconnected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached file is extremely hacky but hopefully it might help someone out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-Scrolling-Issue-with-ADV7180/m-p/247332#M21799</guid>
      <dc:creator>patrickmccleary</dc:creator>
      <dc:date>2013-11-06T14:59:22Z</dc:date>
    </item>
  </channel>
</rss>

