[gst-devel] how to link the name property in the application file..
trimmu at gmail.com
Fri Oct 5 09:04:49 CEST 2007
Thanks for quick reply..
gst-launch filesrc location=/usr/local/movies/sample_50kbit.3gp !
decodebin name=decoder ! ffmpegcolorspace ! xvimagesink decoder. !
audioconvert ! audioresample ! osssink
Above pipe line consists of video pipeline as well as audio pipeline
I know.. I can set the g_object_set (G_OBJECT (decodbin), "name",
my question is how can I link this to the audio pipeline.. let us say
I created audio elements audioconvert , audioresample , osssink ..so I
should link these elements with decodebin name .. is there any API for
that.. please let me know..
On 10/5/07, Sebastian Dröge <slomo at circular-chaos.org> wrote:
> Am Freitag, den 05.10.2007, 10:58 +0530 schrieb trimurthulu amaradhi:
> > Hi,
> > I have the following gst-launch.. it works fine with the name
> > property.. I want to write the application in C.. But I dont know how
> > to link the name
> > property in the application file.
> > gst-launch filesrc location=/usr/local/movies/sample_50kbit.3gp !
> > decodebin name=decoder decoder. ! ffmpegcolorspace ! xvimagesink
> > decoder. ! audioconvert ! audioresample ! osssink
> > can anybody tell me how to link this name property with the elements..
> simply do g_object_set (G_OBJECT (decoder), "name", "decoder", NULL)
More information about the gstreamer-devel