<?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のトピックIssue with GStreamer video rendering using appsrc/appsink</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-GStreamer-video-rendering-using-appsrc-appsink/m-p/678085#M104641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I’ve run into an issue I’m hoping someone can shed light on. It might be more of a question for the GStreamer dev mailing list but perhaps someone here can shed light on it.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I’m using two pipelines – one for decoding H.264 video with imxvpudec, and the other for rendering video with imxeglvivsink. The decoder pipeline terminates in an appsink and the rendering pipeline starts with an appsrc. I’m using gst_app_sink_pull_sample () to pull samples from the appsink and gst_app_src_push_sample () to push them to the appsrc.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;All works fine if the video being decoded is 30 fps. But if the video is 15 fps then it is rendered in slow motion.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;If I use a single GStreamer pipeline with the same stream of H.264 video then all is well at 30 and 15 fps.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have debugged extensively (and learned a lot more about GStreamer doing it) and have confirmed that when the video is 15 fps the GST_BUFFER_DURATION() and GST_BUFFER_PTS() show the correct values.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have also gotten the caps from the sample and from the imxeglvivsink sink pad and both show the correct frame rate.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have also verified that the decoded frames are delivered to the render pipeline at 15 fps (via time stamped log messages).&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;So clearly there is something happening under the hood with a single GStreamer pipeline that is still missing with this split pipeline scenario.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px;"&gt;Help would be greatly appreciated. I may have to use the single pipeline if I can’t solve it but it just doesn’t fit as nicely into our existing architecture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 23:10:31 GMT</pubDate>
    <dc:creator>brainmeltdown</dc:creator>
    <dc:date>2017-05-12T23:10:31Z</dc:date>
    <item>
      <title>Issue with GStreamer video rendering using appsrc/appsink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-GStreamer-video-rendering-using-appsrc-appsink/m-p/678085#M104641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I’ve run into an issue I’m hoping someone can shed light on. It might be more of a question for the GStreamer dev mailing list but perhaps someone here can shed light on it.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I’m using two pipelines – one for decoding H.264 video with imxvpudec, and the other for rendering video with imxeglvivsink. The decoder pipeline terminates in an appsink and the rendering pipeline starts with an appsrc. I’m using gst_app_sink_pull_sample () to pull samples from the appsink and gst_app_src_push_sample () to push them to the appsrc.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;All works fine if the video being decoded is 30 fps. But if the video is 15 fps then it is rendered in slow motion.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;If I use a single GStreamer pipeline with the same stream of H.264 video then all is well at 30 and 15 fps.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have debugged extensively (and learned a lot more about GStreamer doing it) and have confirmed that when the video is 15 fps the GST_BUFFER_DURATION() and GST_BUFFER_PTS() show the correct values.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have also gotten the caps from the sample and from the imxeglvivsink sink pad and both show the correct frame rate.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;I have also verified that the decoded frames are delivered to the render pipeline at 15 fps (via time stamped log messages).&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px; margin: 0px 0px 1.313em;"&gt;So clearly there is something happening under the hood with a single GStreamer pipeline that is still missing with this split pipeline scenario.&lt;/P&gt;&lt;P style="color: #555555; background-color: #ffffff; font-size: 16px;"&gt;Help would be greatly appreciated. I may have to use the single pipeline if I can’t solve it but it just doesn’t fit as nicely into our existing architecture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 23:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-GStreamer-video-rendering-using-appsrc-appsink/m-p/678085#M104641</guid>
      <dc:creator>brainmeltdown</dc:creator>
      <dc:date>2017-05-12T23:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GStreamer video rendering using appsrc/appsink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-GStreamer-video-rendering-using-appsrc-appsink/m-p/678086#M104642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share your command gst-launch to reproduce the issue? also does this happens on all your videos? I tested on demo gstreamer and this wroks as expected on &amp;nbsp;big buk movie for 15fps and 30fps. &amp;nbsp;Are you using i.Mx6Q Sabre board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:48:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-GStreamer-video-rendering-using-appsrc-appsink/m-p/678086#M104642</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-06-21T15:48:39Z</dc:date>
    </item>
  </channel>
</rss>

