How to know if the two elements [ pad's ] could be linked ?

Ashish Kumar Mishra ashish.kmishra at dexceldesigns.com
Sun Dec 27 21:28:22 PST 2015


Hi All , 

1) Currently when i am building an test pipeline , many times i face the
problem that the ELEMENTS which
    i am trying to link are not having compatible pad's .
    This led's to *WARNING: erroneous pipeline: could not link  XXXX to YYYY 
*

2) Now then i use " gst-inspect-1.0 " to manually check the data types  . 
 
So is there any standard / preferred / simpler way to verify that the
elements linked are compatible to each other before actual testing with
gst-launch-1.0 . 

For example :-
gst-launch-1.0 filesrc location=video.mp4 ! qtdemux ! avdec_h264 !
timeoverlay ! x264enc ! queue ! videoconvert ! avimux ! filesink
location=test.avi
WARNING: erroneous pipeline: could not link queue0 to videoconvert0

gst-launch-1.0 filesrc location=video.mp4 ! qtdemux ! avdec_h264 !
timeoverlay ! videoconvert ! x264enc ! queue ! avimux ! filesink
location=test.avi
works without error ...


Thanks ,
Ashish Kumar Mishra .



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-know-if-the-two-elements-pad-s-could-be-linked-tp4675050.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list