[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: [gst-devel] pipeline to play AVIs?
From:       "Ronald S. Bultje" <rbultje () ronald ! bitfreak ! net>
Date:       2004-12-22 10:00:45
Message-ID: 1103709644.2813.61.camel () tux ! lan
[Download RAW message or body]

Hi Paul,

On Fri, 2004-12-17 at 18:12, Paul Jack wrote:
> I'm trying to learn how to construct gstreamer pipelines but I'm failing
> on the very first go.  I'm trying to play an AVI, and I'm getting the
> error "pushing data on non-negotiated pad not allowed."
[..]
> gst-launch-0.8 filesrc location="test.avi" ! avidemux name=demux ! { queue
> ! spider ! ffmpegcolorspace ! xvimagesink } { demux. ! queue ! spider !
> osssink }

Have a look at the gst-launch-ext script in gst-plugins in CVS. It uses
this:

gst-launch filesrc location="test.avi" ! decodebin name=d { d. ! queue !
ffmpegcolorspace ! xvimagesink } { d. ! queue ! audioconvert !
audioscale ! osssink }

You can later on decide to s/decodebin/elements/, e.g. for a DIVX4/5
file:

gst-launch filesrc location="test.avi" ! avidemux name=d { d.video_00 !
queue ! ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink } { d.audio_00 !
mad ! audioconvert ! audioscale ! osssink }

HTH,

Ronald

-- 
Ronald S. Bultje <rbultje@ronald.bitfreak.net>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic