adding pad names to pipe

William Johnston wgj at cast.uark.edu
Thu Apr 23 02:12:19 UTC 2020


My understanding is that when you use gst-launch-1.0 you can give the 
element name or the element name and the pad name. For example, if I 
have an element called "ximagesink" with a pad call "sink" I can link it 
up like this: ximagesink.sink.  However, I have been having a hard time 
getting this to work.

This works:

gst-launch-1.0 filesrc location=/home/wgj/video/Truck.H264.ts ! tsdemux 
! h264parse ! avdec_h264 ! videoconvert ! ximagesink

But this does not:

gst-launch-1.0 filesrc location=/home/wgj/video/Truck.H264.ts ! tsdemux 
! h264parse ! avdec_h264 ! videoconvert ! ximagesink.sink

it gives:

WARNING: erroneous pipeline: No sink-element named "(null)" - omitting link

Should it have worked or do I not understand something?



More information about the gstreamer-devel mailing list