Hi,<br><br>If you do not want to use glibmainloop inside qt code see :<br>&quot;qt-opensource-src-4.4.3/include/QtGui/private/qguieventdispatcher_glib_p.h&quot;<br><br>The other way is to use both qtmainloop and glibmainloop, here 3 examples:<br>
<a href="http://diracvideo.org/git?p=gst-plugins-gl.git;a=tree;f=tests/examples/qt;h=925d3f5b596ceaabdbb360f69498315a09f30614;hb=42b9175bfd7179037ef4989cec0c4550811d19e0">http://diracvideo.org/git?p=gst-plugins-gl.git;a=tree;f=tests/examples/qt;h=925d3f5b596ceaabdbb360f69498315a09f30614;hb=42b9175bfd7179037ef4989cec0c4550811d19e0</a><br>
<br>Julien<br><br><br><br><div class="gmail_quote">2009/1/20 Tim Hilden <span dir="ltr">&lt;<a href="mailto:tim.hilden@googlemail.com">tim.hilden@googlemail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
I need gstreamer for the following: The frames of a video stream need to<br>
be converted to jpeg images. So I connected a<br>
filesrc-demuxer-decoder-jpegenc-identity-fakesink.<br>
The identiry&#39;s &quot;handoff&quot;-signal is used to read the current frame and<br>
store it to a file. The storing will be replaced with some more<br>
processing later which is not part of gstreamer. But the problem is that<br>
this stream only encodes the first frame. After that the stream is<br>
&quot;stuck&quot;. I did not get any error messages on the bus and the q_main_loop<br>
is still running. So do I have to tell the jpegenc to encode the next<br>
frame or anything?<br>
The lack of doc and sample code is what makes programming gstreamer so<br>
hard for me. That and the fact that I don&#39;t really want to use GLib and<br>
main_loops, because it&#39;s for a QT app. But QT&#39;s phonon is way not enough<br>
for what I need.<br>
<br>
one more (simple) question: does a stream have to have a sink? Would the<br>
fakesink be neccessary in my case?<br>
<br>
Tim<br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>