John,<br><br>For me it work perfectly.<br>Please try following things<br><br>1) gst-launch v4l2src ! image/jpeg,width=320,<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
framerate=30/1,rate=30 !<br>
ffdec_mjpeg ! ffmpegcolorspace ! ximagesink sync=false<br></blockquote><div>To know its not because of sink dropping<br><br>2) try with videotestsrc ! jpegenc , instead of v4l2src<br><br>3) if your cam also outputs yuv/rgb try without capsfilter and decoder<br>
<br>4) If non of above gives any clue run with GST_DEBUG <br><br>thanks<br>regards<br>kapil <br></div><br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 10:40 AM, John Buckley <span dir="ltr"><<a href="mailto:buckleyassoc@comcast.net">buckleyassoc@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hello,<br>
I seem to be having a pretty common problem.<br>
My gst-launch command executes and starts the pipeline properly with no<br>
errors. Then displays a single frame and the video freezes. There are no<br>
errors and it appears that the pipeline is still running. Ctrl-C pauses the<br>
pipeline properly and then everything cleans up nicely.<br>
<br>
I read on this mailing list that the jpegdec element only decodes one frame<br>
and that I should use the ffdec_mjpeg element. So I did. Same problem.<br>
According to that same mail thread this is not true and the individual was<br>
able to eventually get his streaming working using jpegdec.<br>
<br>
So, I am stuck. These are the commands that I have tried with a couple of<br>
slight variations. Does anyone have any ideas?<br>
<br>
gst-launch v4l2src ! image/jpeg,width=320,framerate=30/1,rate=30 ! jpegdec !<br>
ffmpegcolorspace ! ximagesink<br>
gst-launch v4l2src ! image/jpeg,width=320,framerate=30/1,rate=30 !<br>
ffdec_mjpeg ! ffmpegcolorspace ! ximagesink<br>
<br>
Thanks,<br>
John Buckley<br>
--<br>
View this message in context: <a href="http://old.nabble.com/gst-launch-hangs-after-displaying-first-frame-tp26226559p26226559.html" target="_blank">http://old.nabble.com/gst-launch-hangs-after-displaying-first-frame-tp26226559p26226559.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</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><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>