GstPlayer with jackaudiosink, python3
Patrick Shirkey
patrickshirkey at protonmail.com
Sat Jan 23 23:10:47 UTC 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210123/7819d8fd/attachment.htm>
More information about the gstreamer-devel
mailing list