[gst-devel] Problem in requesting pad for avimux

Pavan pavanpatale at hotmail.com
Mon Sep 24 07:54:03 CEST 2007


I have CC'ed the list.  May be someone else could help you on this.


From: kirrthana at tataelxsi.co.inTo: pavanpatale at hotmail.comSubject: RE: [gst-devel] Problem in requesting pad for avimuxDate: Mon, 24 Sep 2007 11:20:28 +0530



Hi thanks for your help,now it is linking fine,the problem was i have included source,encoder and tee in a seperate bin and avimux in another bin.
Now i have made tee and muxer in the same bin,so it is linking properly,but ihave another problem now,
im streaming the avi file over the network using fdsink and playing back in the client side.
from the server side streaming keep on continues but on the client side after 30 seconds it stops playing.
These operations im doing on arm board..Can u give me a suggestion for resolving this issue...
Thanks in advance...
 
Regards,
Kirrthana
 

-----Original Message-----From: Pavan [mailto:pavanpatale at hotmail.com]Sent: Monday, September 24, 2007 10:44 AMTo: kirrthana at tataelxsi.co.inCc: gstreamer-devel at lists.sourceforge.netSubject: RE: [gst-devel] Problem in requesting pad for avimuxI dont have linux machine here to try out the code.  Could you check which of the API's is failing individually ? i.e. do a null check for return value of gst_element_get_pad(queue,"src") and  gst_element_get_pad(avimux,"video_00")If either of them are not returning NULL then check if you have added the queue and muxer to the pipeline. HTH,Pavan.   


From: kirrthana at tataelxsi.co.inTo: pavanpatale at hotmail.comSubject: RE: [gst-devel] Problem in requesting pad for avimuxDate: Mon, 24 Sep 2007 09:00:57 +0530


Sorry it was actually 
gst_pad_link(gst_element_get_pad(queue,"src"),gst_element_get_pad(avimux,"video_00"),i have posted like tat by mistake.
Im linking source and sink pad only.still the return value is -1.

-----Original Message-----From: Pavan [mailto:pavanpatale at hotmail.com]Sent: Sunday, September 23, 2007 7:50 PMTo: kirrthana at tataelxsi.co.in; gstreamer-devel at lists.sourceforge.netSubject: RE: [gst-devel] Problem in requesting pad for avimuxHi 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! Click here! The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.

Download the latest version of Windows Live Messenger NOW! Click here! 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.
_________________________________________________________________
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/20070924/b2f23b0b/attachment.htm>


More information about the gstreamer-devel mailing list