<?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: CBR output data  fluctuates between 0-30 packets using UDP/RTP in IMX8MM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673386#M207932</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215113"&gt;@giraffe508&lt;/a&gt;&amp;nbsp;Thank you for immediate response&lt;/P&gt;&lt;P&gt;i am using updated kernel and drivers and changed length,queue and buffer size in gstreamer also&lt;/P&gt;&lt;P&gt;my pipeline&lt;/P&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! videoconvert ! vpuenc_h264 bitrate=1024 gop-size=10 quant=30 ! rtph264pay ! udpsink host=192.168.10.11 port=9001&lt;/P&gt;&lt;P&gt;is there anything i need to change in my pipeline?&lt;/P&gt;&lt;P&gt;I am having any error or issue but i want to find out why packets are missing if you check time.png image you can see the time column it is fluctuates 0.0033,0.0066 but why is that happening?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 07:39:38 GMT</pubDate>
    <dc:creator>Udhay_</dc:creator>
    <dc:date>2023-06-21T07:39:38Z</dc:date>
    <item>
      <title>CBR output data  fluctuates between 0-30 packets using UDP/RTP in IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673340#M207925</link>
      <description>&lt;P&gt;I am using imx8mm with ar0521 sensor and it is streaming great and setting 1mbps constant bitrate in gstreamer for examples(vpuenc_h264=1024) but when we check RTP data using Wireshark&amp;nbsp; fluctuates between 0-30 packets&lt;/P&gt;&lt;P&gt;please let me know if anyone worked on this&lt;/P&gt;&lt;P&gt;I am attaching snapshot of output data rate and you can see the data fluctuates 20 to 30 packets in timing&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 07:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673340#M207925</guid>
      <dc:creator>Udhay_</dc:creator>
      <dc:date>2023-06-21T07:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: CBR output data  fluctuates between 0-30 packets using UDP/RTP in IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673358#M207928</link>
      <description>&lt;P&gt;Hi, It seems that you are experiencing fluctuations in the output data rate when using the i.MX8MM with the AR0521 sensor and GStreamer. To help you resolve this issue, I suggest you try the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Ensure that you are using the latest firmware and software for the i.MX8MM and AR0521 sensor. You can find the latest releases and updates on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/tkb-p/i.MX_Processors_Knowledge_Base" target="_blank" rel="noopener"&gt;i.MX Processors Knowledge Base&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Check if there are any known issues or limitations with the specific combination of i.MX8MM and AR0521 sensor. You can search for related discussions on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/community/imx" target="_blank" rel="noopener"&gt;i.MX Community&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Adjust the GStreamer pipeline settings, such as the buffer size, queue length, and leaky settings. This can help in managing the fluctuations in the output data rate. You can refer to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html" target="_blank" rel="noopener"&gt;GStreamer documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for more information on pipeline settings.&lt;/LI&gt;&lt;LI&gt;Consider using a different encoder plugin in GStreamer, such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;omxh264enc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;x264enc, to see if the issue persists with different encoders.&lt;/LI&gt;&lt;LI&gt;Monitor the system resources, such as CPU and memory usage, during the streaming process. If the system is under heavy load, it may cause fluctuations in the output data rate. You can use tools like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;top&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;htop&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to monitor the system resources.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;By following these steps, you should be able to identify the cause of the fluctuations and find a suitable solution. If you still face issues, please provide more details about your GStreamer pipeline and any relevant logs or error messages.&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 07:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673358#M207928</guid>
      <dc:creator>giraffe508</dc:creator>
      <dc:date>2023-06-21T07:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: CBR output data  fluctuates between 0-30 packets using UDP/RTP in IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673386#M207932</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215113"&gt;@giraffe508&lt;/a&gt;&amp;nbsp;Thank you for immediate response&lt;/P&gt;&lt;P&gt;i am using updated kernel and drivers and changed length,queue and buffer size in gstreamer also&lt;/P&gt;&lt;P&gt;my pipeline&lt;/P&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! videoconvert ! vpuenc_h264 bitrate=1024 gop-size=10 quant=30 ! rtph264pay ! udpsink host=192.168.10.11 port=9001&lt;/P&gt;&lt;P&gt;is there anything i need to change in my pipeline?&lt;/P&gt;&lt;P&gt;I am having any error or issue but i want to find out why packets are missing if you check time.png image you can see the time column it is fluctuates 0.0033,0.0066 but why is that happening?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 07:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1673386#M207932</guid>
      <dc:creator>Udhay_</dc:creator>
      <dc:date>2023-06-21T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: CBR output data  fluctuates between 0-30 packets using UDP/RTP in IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1674254#M207986</link>
      <description>&lt;P&gt;The caused issue could be due to any reasons for example,&amp;nbsp;Network conditions, Buffering and latency, GStreamer plugins and settings, or Hardware limitations&lt;/P&gt;&lt;P&gt;By investigating these aspects and potentially tweaking parameters such as buffer size, network conditions, and GStreamer settings, you can narrow down the potential causes of the fluctuations and missing packets. Additionally, monitoring system resources (CPU, memory, network utilization) during the streaming process may provide insights into any performance bottlenecks.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need specific help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CBR-output-data-fluctuates-between-0-30-packets-using-UDP-RTP-in/m-p/1674254#M207986</guid>
      <dc:creator>giraffe508</dc:creator>
      <dc:date>2023-06-22T07:30:33Z</dc:date>
    </item>
  </channel>
</rss>

