I'm trying to get the gstreamer1.0 demos to work on 12.04, python 3.2.3 and am getting the following
(precise)raymond@localhost:~/workspace/nexense$ python video-player-1.0.py \ ERROR:root:Could not find any typelib for GstVideo Traceback (most recent call last): File "video-player-1.0.py", line 11, in <module from gi.repository import GdkX11, GstVideo ImportError: cannot import name GstVideo
AFAIK I have installed the recommended packages from the gstreamer PPA
sudo add-apt-repository ppa:gstreamer-developers/ppa sudo apt-get install gstreamer1.0*
and I then try to add in the packages explicitly named on the NovaCut porting guide, the closest thing to a canonical source I could locate:
sudo apt-get install python-gi python3-gi \ gstreamer1.0-tools \ gir1.2-gstreamer-1.0 \ gir1.2-gst-plugins-base-1.0 \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ gstreamer1.0-plugins-bad \ gstreamer1.0-libav
which actually fails to find some of the listed packages
E: Unable to locate package gstreamer1.0-tools E: Couldn't find any package by regex 'gstreamer1.0-tools' E: Unable to locate package gir1.2-gstreamer-1.0 E: Couldn't find any package by regex 'gir1.2-gstreamer-1.0' E: Unable to locate package gir1.2-gst-plugins-base-1.0 E: Couldn't find any package by regex 'gir1.2-gst-plugins-base-1.0' E: Unable to locate package gstreamer1.0-libav E: Couldn't find any package by regex 'gstreamer1.0-libav'
Does anyone have gstreamer 1.0/python/12.04 working?