Freeseer / freeseer

Designed for capturing presentations at conferences. Pre-fill a list of talks to record, record them, and upload them to YouTube with our YouTube Uploader.
http://freeseer.readthedocs.org
GNU General Public License v3.0
215 stars 107 forks source link

Porting to GStreamer 1.0 and PyGObject #308

Open zxiiro opened 11 years ago

zxiiro commented 11 years ago

Looks like with Gstreamer 1.0 no longer uses python-gstreamer bindings. Instead gstreamer access is now provided by PyGObject https://live.gnome.org/PyGObject

We should port to GStreamer 1.0 and PyGObject before switching to python 3 tracked by #309

Note: GStreamer 0.10 is no longer maintained.

jshyeung commented 11 years ago

Additional information https://wiki.ubuntu.com/Novacut/GStreamer1.0

zxiiro commented 11 years ago

Created #309 to track Porting to Python 3

We can do this in 2 steps. First this issue, then #309 after.

zxiiro commented 11 years ago

At least 2 of the changes we can make now as these functions work in both versions of GStreamer.

element_link_many() -> element.link() # can no longer link many in 1 function pipeline.add(one, two) -> pipeline.add(one) # No longer overloadable

edit: we can also change gst.Bin(self.name) -> gst.Bin()

In GStreamer 1.0 the gst.Bin() seems to take no arguments.