[gst-devel] gst-launch, examples gives errors. AVI and MPEG need syntax for new bins/threads.

Tim Müller t.i.m at zen.co.uk
Tue Dec 6 01:36:02 CET 2005


On Mon, 2005-12-05 at 09:32 -0800, Savage, ShaunX V wrote:

> I am new with gstreamer, I am trying to work in the command line
> gst-launch first.  I get errors when I run the commands in the
> gst-launch manual or examples.  What is the threading/new bin syntax? 

> 
> /gst-launch-0.10 -v filesrc
> location=Bowling_Ball_Strikes_Monitor_DVD_MPEG2.mpg !
> mpegdemux .video ! { queue ! mpeg2dec ! autovideosink} .audio !
> {queue ! mad ! alsasink }
> 
> WARNING: erroneous pipeline: no bin "thread", skipping

In 0.8 you had to explicitely specify threads using { } braces, in 0.10
that is not required any longer (the queues are still required though):

gst-launch-0.10 -v filesrc location=alien.mpg ! dvddemux name=demux
demux.current_video ! queue ! mpeg2dec ! ffmpegcolorspace !
autovideosink   demux.current_audio ! queue ! mad ! alsasink

 Cheers
  -Tim






More information about the gstreamer-devel mailing list