stuck pipeline

Gary Thomas gary at mlbassoc.com
Mon Feb 18 07:05:26 PST 2013


I'm trying to write a pipeline which is equivalent to 'playbin2'
to display an MP4 file (H.264+MP3) on my X based display.  I'm doing
this to provide finer control over the result, e.g. choice of H.264
decoder, etc.

I tried this pipeline:
   gst-launch -v filesrc location=/dcim/Camera/2013-02-18_12-35-40.mp4 ! qtdemux name=demux \
     demux. ! queue ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! autovideosink \
     demux. ! queue ! mpegaudioparse ! ffdec_mp3 ! audioconvert ! pulsesink

Which starts out happy - it brings up a window with the image, but then
it just gets stuck.  There is no indication or error why.

I then tried the [arguably] simpler pipeline and it also gets stuck:
   gst-launch -v filesrc location=/dcim/Camera/2013-02-18_12-35-40.mp4 ! qtdemux name=demux \
     demux. ! queue ! h264parse ! filesink location=/tmp/junk.h264 \
     demux. ! queue ! mpegaudioparse ! filesink location=/tmp/junk.wav

Any ideas why this is happening?  Where should I look?

Thanks

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


More information about the gstreamer-devel mailing list