self.video_pipeline = gst.parse_launch("v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=8/1 ! ffmpegcolorspace ! xvimagesink")
bus.connect("sync-message::element", self.on_sync_message)
def video_sync(self, bus, message): if message.structure is None: return if message.structure.get_name() == "prepare-xwindow-id": sink = message.src sink.set_property("force-aspect-ratio", True) sink.set_xwindow_id(self.video_window.window.xid)
My pipeline is built using
If I run the exact same code on my computer (adjusting the caps for my webcam) the image appears in the frame as expected.
Any idea why it doesn't work on the tablet? Thanks so much for your help.