Linux, OpenSource, Programming And Hacks

Jan 29, 2017

How to install python-gst (pygst) in ubuntu 16.04

Jan 29, 2017
pygst is the python binding of Gstreamer which is a media-framework, it supports various media handling such as audio playback, video playback and editing.


open up the terminal and enter the following commands

sudo apt-get update
sudo apt-get install python-gst-1.0
sudo apt-get install python-gst-1.0-dbg
sudo apt-get install python-gst0.10

Check if its working properly

open up your python shell and import pygst

aman@vostro:~$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29) 
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygst

if its not installed properly then an error message will be shown: ImportError: No module named pygst

No comments:

Post a Comment