import gi
from gi.repository import Gtk
import pygst, gst

playbin = gst.element_factory_make("playbin2", None)
cluttersink = gst.element_factory_make("cluttersink", None)
playbin.set_property ("video-sink", cluttersink)
playbin.set_property ("av-offset", 1500000000)
playbin.set_property ("uri", "file:///home/data/test-files/movies/Taxi3_WMVHD_Extract.wmv")
playbin.set_property ("volume", 0.5)

playbin.set_state(gst.STATE_PLAYING)

Gtk.main()
