GstPlayer with jackaudiosink, python3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GstPlayer with jackaudiosink, python3

Patrick Shirkey
Hi,

What is the correct method for routing through jackaudiosink with GstPlayer? I cannot find any examples for this online.

Here is my attempt:

from gi.repository import Gst
from gi.repository import GstPlayer

Gst.init(None)
player = GstPlayer.Player()

pipeline = player.get_pipeline()
sink = Gst.ElementFactory.make("jackaudiosink", "sink")
pipeline.add(sink)

p.set_uri('file:///home/user/Music/test.wav')                                                                              p.play()


--
Patrick Shirkey

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel