the latter fails if XDG_RUNTIME_DIR is not set.
(in the end we want a different sink anyway, this is just for debugging)
if name.startswith('video'):
q = Gst.ElementFactory.make('queue')
conv = Gst.ElementFactory.make('videoconvert')
if name.startswith('video'):
q = Gst.ElementFactory.make('queue')
conv = Gst.ElementFactory.make('videoconvert')
- sink = Gst.ElementFactory.make('autovideosink')
+ # sink = Gst.ElementFactory.make('autovideosink') # needs XDG_RUNTIME_DIR
+ sink = Gst.ElementFactory.make('xvimagesink')
self.pipe.add(q)
self.pipe.add(conv)
self.pipe.add(sink)
self.pipe.add(q)
self.pipe.add(conv)
self.pipe.add(sink)