[gst-devel] how to link the name property in the application file..
trimurthulu amaradhi
trimmu at gmail.com
Fri Oct 5 09:04:49 CEST 2007
Hi,
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",
"decoder", NULL)
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..
Advance thanks..
Trimurthulu
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..
>
> Hi,
> simply do g_object_set (G_OBJECT (decoder), "name", "decoder", NULL)
>
> Bye
>
>
More information about the gstreamer-devel
mailing list