<div dir="auto"><div><div dir="ltr"><div>for you example, ximagesink.sink will not work, <br></div><div>it will work just fine without the .sink running in gst-launch. </div><div>or use <span style="font-family:sans-serif">ximagesink0 (default generated name) </span></div><div>there is only one sink out of xvimagesink and gst-launch is aware of that. </div><div><br></div><div>elements have names, or get one automagicly (usually elemnt_named+0). </div><div>you can see them if you add -v verbose flag. or you can be explicit. like in the following pad example . </div><div><a href="https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html#pads" target="_blank" rel="noreferrer">https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html#pads</a> </div><div> <br></div><div>pads have names as well, like tee0.video_0, tee0.video_1</div><div>  tee is the name of the element, and video_0 is the name of the pad.   <br></div><div>or you can be explicit like ! tee name=mytee !</div><div>then it will be like </div><div>mytee=video_0</div><div></div><div><br></div><div>TIP, try to supply a generic gst-launch that uses videotestsrc or friends. so we can run it straight without guesswork.   <br></div></div><div dir="auto"><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 23, 2020 at 5:12 AM William Johnston <<a href="mailto:wgj@cast.uark.edu" target="_blank" rel="noreferrer">wgj@cast.uark.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">My understanding is that when you use gst-launch-1.0 you can give the <br>
element name or the element name and the pad name. For example, if I <br>
have an element called "ximagesink" with a pad call "sink" I can link it <br>
up like this: ximagesink.sink.  However, I have been having a hard time <br>
getting this to work.<br>
<br>
This works:<br>
<br>
gst-launch-1.0 filesrc location=/home/wgj/video/Truck.H264.ts ! tsdemux <br>
! h264parse ! avdec_h264 ! videoconvert ! ximagesink<br>
<br>
But this does not:<br>
<br>
gst-launch-1.0 filesrc location=/home/wgj/video/Truck.H264.ts ! tsdemux <br>
! h264parse ! avdec_h264 ! videoconvert ! ximagesink.sink<br>
<br>
it gives:<br>
<br>
WARNING: erroneous pipeline: No sink-element named "(null)" - omitting link<br>
<br>
Should it have worked or do I not understand something?<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
</div></div>