Why does this gstreamer pipeline stall ?

Posted by timday on Stack Overflow See other posts from Stack Overflow or by timday
Published on 2010-06-14T23:57:22Z Indexed on 2010/06/15 0:02 UTC
Read the original article Hit count: 300

I've been playing around with gstreamer pipelines using gst-launch. I don't have any problems if I just want to process audio or video separately (to separate files, or to alsasink/ximagesink), but I'm confused by what I need to do to mux the streams back together using, say avimux.

This

gst-launch-0.10 filesrc location=MVI_2034.AVI ! decodebin name=dec \
dec. ! queue ! audioconvert ! 'audio/x-raw-int,rate=44100,channels=1' ! queue ! mux. \
dec. ! queue ! videoflip 1 ! ffmpegcolorspace ! jpegenc ! queue ! mux. \
avimux name=mux ! filesink location=out.avi

just outputs

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

and then stalls indefinitely.

What's the trick ?

© Stack Overflow or respective owner

Related posts about command-line

Related posts about video