<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 1 oct. 2019 15 h 40, pisymbol . <<a href="mailto:pisymbol@gmail.com">pisymbol@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am trying to display live video to the screen using gtksink. On Ubuntu 16.04 this worked. But when I move gstreamer to 1.14 or higher it fails.<br></div><div><br></div><div>Pipeline:</div><div><br></div><div>nvarguscamerasrc maxperf=true sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, framerate=(fraction)30/1 ! nvvidconv ! video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, format=(string)I420 ! videoconvert name=videoconvert</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The caps filter after nvvidconv cannot have the NVMM caps feature, since videoconvert does not support it. This should fail regardless of the GST version, you probably added that when porting.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I am trying to link videoconvert to gtksink. I do so using a ghostpad like this:</div><div><br></div><div>self.playerBin = Gst.parse_bin_from_description(pipeline, False)</div><div><a href="http://self.vc" target="_blank" rel="noreferrer">self.vc</a> = self.playerBin.get_by_name("videoconvert")</div><div><br></div><div>self.playerPipeline = Gst.Pipeline()</div><div>gtksink = Gst.ElementFactory.make('gtksink', None)</div><div>gtksink.set_property("sync", False)</div><div>self.ghostpad = Gst.GhostPad.new("sink", self.vc.get_static_pad('src'))</div><div>self.playerBin.add_pad(self.ghostpad)</div><div>self.playerPipeline.add(gtksink)</div><div>self.playerPipeline.add(self.playerBin)</div><div>self.playerPipeline.link(gtksink) <---- this fails<br></div><div>self.pack_start(gtksink.props.widget, True, True, 0)</div><div>... some bus stuff ...</div><div><br></div><div>But this now fails with "No valid pad found to link gtksink0' etc. What changed to cause this breakage? Again, this used to work. Am I doing it wrong?<br></div><div><br></div><div>-aps<br></div></div>
_______________________________________________<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></blockquote></div></div></div>