From: Philipp Spitzer Date: Wed, 16 Sep 2020 20:02:44 +0000 (+0200) Subject: The two pipelines now successfully communicate via intervideosink/src. X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/a91e65aee805f5528331df17108a1285cfcf182b The two pipelines now successfully communicate via intervideosink/src. --- diff --git a/lagarde.py b/lagarde.py index b8cd22b..9cb9945 100755 --- a/lagarde.py +++ b/lagarde.py @@ -32,7 +32,7 @@ class GstreamerRtspServer(): server.set_address("::") server.set_service('8554') # port as string factory = GstRtspServer.RTSPMediaFactory() - factory.set_launch("videotestsrc ! decodebin ! theoraenc ! queue ! rtptheorapay name=pay0") + factory.set_launch("intervideosrc ! decodebin ! theoraenc ! queue ! rtptheorapay name=pay0") factory.set_shared(True) mountPoints = server.get_mount_points() mountPoints.add_factory("/cug", factory) @@ -83,8 +83,7 @@ class Lagarde: if name.startswith('video'): q = Gst.ElementFactory.make('queue') conv = Gst.ElementFactory.make('videoconvert') - # sink = Gst.ElementFactory.make('autovideosink') # needs XDG_RUNTIME_DIR - sink = Gst.ElementFactory.make('xvimagesink') + sink = Gst.ElementFactory.make('intervideosink') self.pipe.add(q) self.pipe.add(conv) self.pipe.add(sink)