[gst-devel] jpegenc only decodes one frame, then stream stops
Stefan Kost
ensonic at hora-obscura.de
Thu Feb 18 10:22:45 CET 2010
John Buckley wrote:
> Hello,
> Did this ever get resolved? I'm having the same problem.
> My command line looks like this. It captures the first fram and freezes
> with no errors.
> gst-launch v4l2src ! image/jpeg,width=320,framerate=30/1,rate=30 ! jpegdec !
> ffmpegcolorspace ! ximagesink
>
>
this syntax is not correct:
gst-launch v4l2src ! "image/jpeg,width=320,framerate=(fraction)30/1" ! jpegdec !
ffmpegcolorspace ! ximagesink
Stefan
> John Buckley
>
>
> Tim Hilden wrote:
>
>> hi,
>>
>> I need gstreamer for the following: The frames of a video stream need to
>> be converted to jpeg images. So I connected a
>> filesrc-demuxer-decoder-jpegenc-identity-fakesink.
>> The identiry's "handoff"-signal is used to read the current frame and
>> store it to a file. The storing will be replaced with some more
>> processing later which is not part of gstreamer. But the problem is that
>> this stream only encodes the first frame. After that the stream is
>> "stuck". I did not get any error messages on the bus and the q_main_loop
>> is still running. So do I have to tell the jpegenc to encode the next
>> frame or anything?
>> The lack of doc and sample code is what makes programming gstreamer so
>> hard for me. That and the fact that I don't really want to use GLib and
>> main_loops, because it's for a QT app. But QT's phonon is way not enough
>> for what I need.
>>
>> one more (simple) question: does a stream have to have a sink? Would the
>> fakesink be neccessary in my case?
>>
>> Tim
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>>
>
>
More information about the gstreamer-devel
mailing list