Pipeline stalls

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pipeline stalls

Gary Thomas
I'm trying to convert a file from one format to another using gstreamer
elements.  Sadly, this always seems to stall shortly after starting up.

Here's an example:
   gst-launch -v filesrc location=mov001.uyvy blocksize=691200 ! \
                 'video/x-raw-yuv,width=720,height=480,framerate=30/1,format=(fourcc)UYVY' ! \
                  ffmpegcolorspace ! 'video/x-raw-yuv,format=(fourcc)I420' ! \
                  x264enc ! filesink location=/tmp/test.h264

Any ideas?  How can I tell where/why the pipeline stalls?

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pipeline stalls

Sandeep Prakash
Hi Gary,

Gary Thomas wrote
Any ideas?  How can I tell where/why the pipeline stalls?
Set the GST_DEBUG environment variable to 2 (Only Warnings) till 5 (Full Logging). I suggest you start with
GST_DEBUG=3. Also if you have suspected an element which might be causing the stall you can specify the element name to debug. Eg. export GST_DEBUG=x264enc:5     if you suspect x264enc. More on debugging here:

http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/section-checklist-debug.html

Regards,
Sandeep Prakash
http://sandeepprakash.homeip.net