View Full Version : Gstreamer pipeline problems
December 16th, 2008, 12:13 PM
using python I've got a gstreamer pipeline going with a v4l2src and outputting to an xvimagesink, with a queue and some other plugins in the middle (like videocrop) which works fine; the problem is that when I try to pause the pipeline using pipline.set_state(gst.STATE_PAUSED) the whole application crashes (as in it just stops working until linux times out and allows me to kill it). I've got absolutely no idea why it does this. Has anyone got any ideas? (I've also tried gst.STATE_READY and STATE_NULL, which also crash it)
Thanks in advance
December 16th, 2008, 01:02 PM
Just out of curiosity: make another "test" pipeline with "filesrc" which plays an ogg file and test if it can be paused.
If the test pipeline can be paused then either an element in your original pipeline causes a problem or you don't handle correclty v4lsrc(since it is a live stream)...
Don't know for sure...
December 16th, 2008, 05:38 PM
hmm, it seems to pause fine if I use a filesrc. It must be something to do with using a constantly streaming source
December 16th, 2008, 07:38 PM
I think with this kind of source you can't "pause" the stream. You just stop it(STATE_NULL).
Maybe ask in gstreamer's IRC channel... Almost always the is someone who can help you. More info-->Freenode #gstreamer (http://gstreamer.freedesktop.org/dev/)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.