[MacPorts] #67351: Can't import farstream in python

MacPorts noreply at macports.org
Tue May 2 02:16:33 UTC 2023


#67351: Can't import farstream in python
------------------------+----------------------
  Reporter:  Skorpeo    |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  farstream  |
------------------------+----------------------

Comment (by Skorpeo):

 hi, that is correct there are no bindings, its through glib introspection.
 Nonetheless, usually I was able to use it python using something like but
 it gives an error that it can't find Farstream:

 import gi
 gi.require_version('Farstream', '0.2')
 gi.require_version('Gst', '1.0')
 gi.require_version('GstVideo', '1.0')
 gi.require_version('Gtk', '3.0')
 gi.require_version('Gdk', '3.0')
 from gi.repository import GLib, GObject, Gtk, Gdk
 from gi.repository import Farstream, Gst, GstVideo

 Gst.init(sys.argv)

-- 
Ticket URL: <https://trac.macports.org/ticket/67351#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list