<?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: GStreamer - ValueError: Namespace GstRtspServer not available  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837669#M128567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what bsp version do you use? you can refer to the i.mx linux user guide, chapter 7.3.14 RTSP streaming server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2018 09:10:13 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2018-12-07T09:10:13Z</dc:date>
    <item>
      <title>GStreamer - ValueError: Namespace GstRtspServer not available</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837668#M128566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;Hi,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;I am trying to use gst-rtsp-server in my python application. for this I&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;included the following :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; import gi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gi.require_version('GstRtspServer','1.0')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;from gi.repository import GstRtspServer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;However, I get the following error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; gi.require_version('GstRtspServer','1.0')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;require_version&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; raise ValueError('Namespace %s not available' % namespace)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; ValueError: Namespace GstRtspServer not available&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;1. Later I tried installing rtsp-server from source from the following repo&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;: &amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server.git" rel="nofollow" style="color: #551a8b; background-color: #ffffff; font-size: 13.44px;" target="_top"&gt;https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;2. Compiling this gave me an error saying 'Gst-Rtsp.gir' files are missing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;from '/usr/share/gir-1.0'. To resolve this I copied the required '*.gir'&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;files to &amp;nbsp;'/usr/share/gir-1.0' from repo :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;A href="https://github.com/sdroege/gstreamer-rs/blob/master/gir-files/GstRtsp-1.0.gir" rel="nofollow" style="color: #551a8b; background-color: #ffffff; font-size: 13.44px;" target="_top"&gt;https://github.com/sdroege/gstreamer-rs/blob/master/gir-files/GstRtsp-1.0.gir&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;3. make and make install was success.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;4. However, when importing this GstRtspServer in my application, I still&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;have the issue :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;&amp;nbsp; &amp;nbsp; ValueError: Namespace GstRtspServer not available&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;5. I have seen a number of posts on this issue, and also tried different&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;solutions suggested, however this still is not resolved.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Gstreamer 1.14.1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;Does anyone have any pointers towards this issue ?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 13.44px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13.44px;"&gt;Regards&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 12:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837668#M128566</guid>
      <dc:creator>imx_learner</dc:creator>
      <dc:date>2018-12-05T12:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer - ValueError: Namespace GstRtspServer not available</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837669#M128567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what bsp version do you use? you can refer to the i.mx linux user guide, chapter 7.3.14 RTSP streaming server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 09:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837669#M128567</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2018-12-07T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer - ValueError: Namespace GstRtspServer not available</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837670#M128568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I check the BSP version? I am using the Debian Stretch provided by Boundary Devices :&amp;nbsp;&lt;A class="link-titled" href="https://boundarydevices.com/debian-stretch-9-0/" title="https://boundarydevices.com/debian-stretch-9-0/"&gt;Debian Stretch 9.2 for i.MX6/7 boards - October 2017 (kernel 4.1.15/4.9.x) - Boundary Devices&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837670#M128568</guid>
      <dc:creator>imx_learner</dc:creator>
      <dc:date>2018-12-10T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer - ValueError: Namespace GstRtspServer not available</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837671#M128569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I am not using Yocto environment, but directly downloading the source and using make &amp;amp; make install. Could you provide me pointers as to where I am going wrong.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 10:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-ValueError-Namespace-GstRtspServer-not-available/m-p/837671#M128569</guid>
      <dc:creator>imx_learner</dc:creator>
      <dc:date>2018-12-10T10:37:46Z</dc:date>
    </item>
  </channel>
</rss>

