[gst-devel] gst-launch hangs after displaying first frame
Stefan Kost
ensonic at hora-obscura.de
Mon Nov 9 17:06:22 CET 2009
John Buckley schrieb:
> Hello,
> I seem to be having a pretty common problem.
> My gst-launch command executes and starts the pipeline properly with no
> errors. Then displays a single frame and the video freezes. There are no
> errors and it appears that the pipeline is still running. Ctrl-C pauses the
> pipeline properly and then everything cleans up nicely.
>
> I read on this mailing list that the jpegdec element only decodes one frame
> and that I should use the ffdec_mjpeg element. So I did. Same problem.
> According to that same mail thread this is not true and the individual was
> able to eventually get his streaming working using jpegdec.
>
> So, I am stuck. These are the commands that I have tried with a couple of
> slight variations. Does anyone have any ideas?
>
> gst-launch v4l2src ! image/jpeg,width=320,framerate=30/1,rate=30 ! jpegdec !
> ffmpegcolorspace ! ximagesink
> gst-launch v4l2src ! image/jpeg,width=320,framerate=30/1,rate=30 !
> ffdec_mjpeg ! ffmpegcolorspace ! ximagesink
>
> Thanks,
> John Buckley
>
rate=30 is nonsense, also framerate=30/1should be written as
framerate=\(fraction\)30/1
if that does not help, try GST_DEBUG="v4l2src:4" gst-launch ...
Stefan
More information about the gstreamer-devel
mailing list