<?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>i.MX ProcessorsのトピックRe: Getting capture fps as 30</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Getting-capture-fps-as-30/m-p/229264#M16902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NTSC 480i can only be captured at 30fps. 480p should be captured at 60fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can enable echo 1 &amp;gt; /sys/…/vdi_rate_double and generate a frame per each odd and pair in the interlaced format making it look like 60fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 21:43:39 GMT</pubDate>
    <dc:creator>ChucoChe</dc:creator>
    <dc:date>2013-05-03T21:43:39Z</dc:date>
    <item>
      <title>Getting capture fps as 30</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-capture-fps-as-30/m-p/229263#M16901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using IMX6QUAD SABRE board for Auto infotainment.&lt;/P&gt;&lt;P&gt;I am using the freescale&amp;nbsp; sample application "mxc_v4l2_tvin.c" to capture and display.This is provided along with the BSP.&lt;/P&gt;&lt;P&gt;I am capturing using a composite cable through the CVBS port and displaying it on the LVDS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I profile the code I am getting a performance of 30fps for capture.&lt;/P&gt;&lt;P&gt;However I feel that capture should hapen at 60 fps.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I checked the file "mxc_v4l2_tvin.c" I see that we are sending frame rate to the driver through an ioctl.Please find below the part of the code&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;parm.parm.capture.timeperframe.numerator = 1;&lt;/P&gt;&lt;P&gt;parm.parm.capture.timeperframe.denominator = 0;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt; if (ioctl(fd_capture_v4l, VIDIOC_S_PARM, &amp;amp;parm) &amp;lt; 0)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However even I change the denominator in the above code to 60 ,30 or to 15,there is no change in the frame rate.It still remains at 30&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Query:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1)Does capture always happen at 30fps?Is there any way to make it 60fps?&lt;/P&gt;&lt;P&gt;2)I also tried&amp;nbsp; changing some parts of the driver code inside drivers/media/video/mxc/capture/mxc_v4l2_capture.c and adv7180.c files.&lt;/P&gt;&lt;P&gt;However these changes does not get affected.Please let me know which files should i have a look at.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the file for refrence.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;ARUN KRISHNA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335989"&gt;mxc_v4l2_tvin.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 11:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-capture-fps-as-30/m-p/229263#M16901</guid>
      <dc:creator>arunkrishna</dc:creator>
      <dc:date>2013-03-18T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting capture fps as 30</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-capture-fps-as-30/m-p/229264#M16902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NTSC 480i can only be captured at 30fps. 480p should be captured at 60fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can enable echo 1 &amp;gt; /sys/…/vdi_rate_double and generate a frame per each odd and pair in the interlaced format making it look like 60fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 21:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-capture-fps-as-30/m-p/229264#M16902</guid>
      <dc:creator>ChucoChe</dc:creator>
      <dc:date>2013-05-03T21:43:39Z</dc:date>
    </item>
  </channel>
</rss>

