<div dir="ltr">Tony, thanks for all your help.  The debian package worked.  I guess I didn't check that because the Jupyter installation guide made no mention of a debian package.  I haven't gotten the soup part working yet, but I was able to create the Gst element ok, so I'm back on the right path.<div><br></div><div>Thanks,</div><div>Jimmy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 20, 2020 at 7:52 AM Tony Houghton <<a href="mailto:h@realh.co.uk">h@realh.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I googled "jupyter deb" and found <a href="https://pkgs.org/download/jupyter-notebook" target="_blank">this</a>. There also seems to be at least one PPA containing it. I'm not sure what you mean about the namespace error, but I googled that too, and it seems that could be because the python bindings for gstreamer are missing. There should be packages called python3-gst-1.0 and/or python-gst-1.0.<div><br></div><div>If none of this works, you could also try installing gstreamer-plugins-bad and use the curl plugin instead of soup. Or is soup necessary to integrate with Jupyter?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 20 Sep 2020 at 05:14, Jimmy Bush <<a href="mailto:mr.jimmybush@gmail.com" target="_blank">mr.jimmybush@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Well, I'd be happy to use the 1.16 version that comes with Linux Mint 20 (which I think is what apt would be), but I haven't found how to get gstreamer to work in the Jupyter Notebook.  At least the conda-forge version fixes the namespace error.<div><br></div><div>I have only found conda and pip ways of installing Jupyter Notebook.  If there's an apt way to do that, that might get me further.</div><div><br></div><div>Barring that, should I continue to try the local build route?  I also found the article linked below suggesting that GI_TYPELIB_PATH might be the issue.  Does gstreamer/gobject-introspection rely on environment variables that Notebook might not be seeing?</div><div><br></div><div><a href="https://stackoverflow.com/questions/50440365/raise-valueerrornamespace-s-not-available-namespace-valueerror-namespace" target="_blank">https://stackoverflow.com/questions/50440365/raise-valueerrornamespace-s-not-available-namespace-valueerror-namespace</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 19, 2020 at 5:49 PM Tony Houghton <<a href="mailto:h@realh.co.uk" target="_blank">h@realh.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Couldn't you just use apt instead of conda?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 19 Sep 2020 at 20:48, Jimmy Bush <<a href="mailto:mr.jimmybush@gmail.com" target="_blank">mr.jimmybush@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">When I execute<div><br><div>    conda install gst-plugins-good<div><br></div><div>it causes gstreamer, gst-plugins-base, and gst-plugins good to be installed.  All are 1.14.5.  Same behavior, as gst-inspect-1.0 reports "No such element or plugin 'souphttpsrc'.</div></div></div><div><br></div><div>After uninstalling these conda packages, I also attempted to install jupyter notebook with pip in my conda workspace.  This installed okay, and it didn't break my command line usage of souphttpsrc.  In the notebook, however, when I try to gi.require_version("Gst", "1.0"), it gives me an error that "Namespace Gst not available", even though I have gobject-introspection and pygobject installed.  If this is an easier problem to attack, it would let me use 1.16, which might be preferable given that a lot of gst_plugins packages aren't available in conda.</div><div><br></div><div>Thanks,</div><div>Jimmy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 19, 2020 at 1:15 PM Tony Houghton <<a href="mailto:h@realh.co.uk" target="_blank">h@realh.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">It looks like soup is in gst-plugins-good, so try installing that too.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 19 Sep 2020 at 17:21, Jimmy Bush <<a href="mailto:mr.jimmybush@gmail.com" target="_blank">mr.jimmybush@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_4189572715294655586gmail-m_-6749824745176914632gmail-m_-2641375785490298862gmail-m_-3255929644480301267gmail-m_2376842761015196753gmail-m_1839709370086223888gmail-m_-4496801781672000706gmail-:qy" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div id="gmail-m_4189572715294655586gmail-m_-6749824745176914632gmail-m_-2641375785490298862gmail-m_-3255929644480301267gmail-m_2376842761015196753gmail-m_1839709370086223888gmail-m_-4496801781672000706gmail-:qx" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">Hey, everyone, sorry if this is the wrong forum for this.<div><br></div><div>I have been working for the last week to run gstreamer inside a Jupyter notebook, and for the most part I have been successful.  From the command line of Linux Mint 20, I am able to run the 1.16.2 version of gstreamer with gst-launch-1.0 call, and I use souphttpsrc and youtube-dl to watch a youtube clip. </div><div><br></div><div>From <a href="http://lifestyletransfer.com/how-to-watch-youtube-videos-with-gstreamer/" target="_blank">http://lifestyletransfer.com/how-to-watch-youtube-videos-with-gstreamer/</a><br></div><div><br></div><div>gst-launch-1.0 souphttpsrc is-live=true location="$(youtube-dl --format "best[ext=mp4][protocol=https]" --get-url <a href="https://www.youtube.com/watch?v=ndl1W4ltcmg" target="_blank">https://www.youtube.com/watch?v=ndl1W4ltcmg</a>)" ! decodebin ! videoconvert ! autovideosink<br></div><div><br></div><div>Works great.  When I install Jupyter in conda, it pulls 1.14.5 versions of gstreamer and gst-plugins-base.  I have been able to pop up the videotestsrc within Jupyter Notebook as one would expect.  However, I can no longer use souphttpsrc. If I gst-inspect-1.0 souphttpsrc, I get "No such element or plugin 'souphttpsrc'".  Same is true if I conda install gstreamer by itself.  From my readings, I think that means that --enable-soup was not used.</div><div><br></div><div>My questions:</div><div>1) Has anyone gotten this to work?</div><div>2) Is there a version of gstreamer for conda with soup enabled?</div><div>3) Should my next step be to build gstreamer locally, enabling soup myself?</div><div>4) Would there be value in trying to publish a soup-enabled version to conda-forge? Would 1.14.5, 1.16.2 or 1.18 be the best candidate should I get that far?</div><div><br></div><div>I've used Linux for several years, but this would be my first foray into contributing to the open source community, so please help with any baseline misunderstandings on my part.</div><div><br></div><div>Thanks,</div><div>Jimmy</div></div><div></div><div></div></div></div><div id="gmail-m_4189572715294655586gmail-m_-6749824745176914632gmail-m_-2641375785490298862gmail-m_-3255929644480301267gmail-m_2376842761015196753gmail-m_1839709370086223888gmail-m_-4496801781672000706gmail-:q4" style="margin:15px 0px;clear:both;font-size:0.875rem;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><br></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">TH<div><br></div></div></div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">TH<div><br></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">TH<div><br></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>