[gst-devel] Mpeg Decoding

Tim Müller t.i.m at zen.co.uk
Wed Nov 7 10:20:15 CET 2007


On Tue, 2007-11-06 at 10:41 +0530, Rahul Mittal wrote:

> I have been try to decode an mpeg file but everytime i run the
> following pipeline it gets stuck.
> gst-launch -v filesrc location=TheKnack.mpeg ! decodebin name=decoder
> decoder. ! ffmpegcolorspace ! filesink location=video decoder. !
> audioconvert ! audioresample ! filesink location=audio 

Try

  .decoder ! queue ! nextelement

instead of just

  .decoder ! nextelement

for both the audio and the video streams.

(Note that you will be writing raw audio/video data in a random raw
format to file).

Cheers
 -Tim






More information about the gstreamer-devel mailing list