![]() |
python / gstreamer / camera / xvimagesink issues
I'm trying to write a small note-taking program that will include the ability to take photographs. I'm writing it in python and using gstreamer to grab the actual picture.
My pipeline is built using Code:
self.video_pipeline = gst.parse_launch("v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=8/1 ! ffmpegcolorspace ! xvimagesink") Code:
bus.connect("sync-message::element", self.on_sync_message) Code:
def video_sync(self, bus, message): 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. |
All times are GMT. The time now is 10:42. |
vBulletin® Version 3.8.8