[gst-devel] Problem in requesting pad for avimux

Pavan pavanpatale at hotmail.com
Sun Sep 23 16:19:40 CEST 2007


Hi Kirrthana,
 
You should connect the source pad of the queue to sink pad of avimux.
 
 
Thanks,
Pavan.


From: kirrthana at tataelxsi.co.inTo: gstreamer-devel at lists.sourceforge.netDate: Sun, 23 Sep 2007 16:34:50 +0530Subject: [gst-devel] Problem in requesting pad for avimux

Hi all ,
 
     I have created a pipeline where i capture live audio and video,encode it and mux using avimux.
 
My pipeline is like 
video source --->encode--->tee---->queue----> |
                                                                  |--->avimux
audio source---->encode---->tee---->queue---->|
 
Im requesting pad from queue to avimux and linking like this
gst_pad_link(gst_element_get_pad(queue,"sink"),gst_element_get_pad(avimux,"video_00")
 
similarly for audio:-
gst_pad_link(gst_element_get_pad(queue,"sink"),gst_element_get_pad(avimux,"audio_00")
 
the return value of gst_pad_link is -1,which says 

_________________________________________________________________
Download the latest version of Windows Live Messenger NOW!
http://get.live.com/en-ie/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070923/ca1a8810/attachment.htm>


More information about the gstreamer-devel mailing list