<?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: IMX6 Gstreamer Trick Modes and Playback Rate Problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744363#M115859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what image version do you use? as I known, the latest version fixed this issue already, and did you try to use gplay to test trick modes? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 08:50:42 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2018-03-14T08:50:42Z</dc:date>
    <item>
      <title>IMX6 Gstreamer Trick Modes and Playback Rate Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744362#M115858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: medium; font-family: cantarell, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="font-size: medium; font-family: cantarell, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;We are using imx6q with gstreamer (1.83) to playback prerecorded avi files (avi files are splitted into multiple files using “splitmuxsink”, video is encoded using “imxvpuenc_h264” and audio is encoded using “mulawenc”). We are using pipeline given below to playback the video on imx6q without problem;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;“&lt;SPAN style="font-size: medium; font-family: cantarell, sans-serif;"&gt;gst-launch-1.0 splitmuxsrc name=splitmuxsrc_1 location=/tmp/*.avi splitmuxsrc_1.audio_0 ! queue ! mulawdec ! audioconvert ! alsasink splitmuxsrc_1. ! queue ! h264parse ! imxvpudec ! imxg2dvideosink force-aspect-ratio=false”&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="font-size: medium; font-family: cantarell, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In our code we are using “&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;gst_parse_launch” &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;to construct the pipeline given above. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;We have to playback the videos in 4 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;playback &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;speed rates which are 1x, 2x, 4x and 8x and in both directions forward and backwards. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;We manage to playback the video with this method but we have some problems.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When we tried trick mode of gstreamer (&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="border: none; padding: 0in;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;gst_event_new_seek function with rates 1x, 2x, 4x and 8x) we could not managed to playback the video with 8x rate. In addition when we increase the playback rate to 2x and 4x the cpu load increases dramatically. As a result we &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;believe imx encodes all the frames when using trick mode. &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;Also we tried videorate plugin of gstreamer but pipeline gived an &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;error. We could not play any video.&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="border: none; padding: 0in;"&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;How we can achieve &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;1x, 2x, 4x and 8x &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: cantarell, sans-serif;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;CODE class=""&gt;playback rates with low cpu load? Any help would be appreciated.&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744362#M115858</guid>
      <dc:creator>onurcalili</dc:creator>
      <dc:date>2018-03-09T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Gstreamer Trick Modes and Playback Rate Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744363#M115859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what image version do you use? as I known, the latest version fixed this issue already, and did you try to use gplay to test trick modes? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744363#M115859</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2018-03-14T08:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Gstreamer Trick Modes and Playback Rate Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744364#M115860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. We are using version 2.2.2 Morty. Could you explain what fixed in new versions? The fix that you mentioned about is in imx-plugins or in gstreamer or in both?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 05:07:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Gstreamer-Trick-Modes-and-Playback-Rate-Problem/m-p/744364#M115860</guid>
      <dc:creator>onurcalili</dc:creator>
      <dc:date>2018-03-19T05:07:04Z</dc:date>
    </item>
  </channel>
</rss>

