Can no longer link gtksink within my pipeline?

pisymbol . pisymbol at gmail.com
Thu Oct 3 00:26:30 UTC 2019


On Wed, Oct 2, 2019 at 7:35 PM Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:

>
>
> Le mer. 2 oct. 2019 14 h 10, pisymbol . <pisymbol at gmail.com> a écrit :
>
>>
>>
>> On Wed, Oct 2, 2019 at 1:44 PM pisymbol . <pisymbol at gmail.com> wrote:
>>
>>>
>>> On Wed, Oct 2, 2019 at 11:42 AM pisymbol . <pisymbol at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Oct 2, 2019 at 9:56 AM Nicolas Dufresne <nicolas at ndufresne.ca>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Le mar. 1 oct. 2019 15 h 40, pisymbol . <pisymbol at gmail.com> a écrit :
>>>>>
>>>>>> 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.
>>>>>>
>>>>>> Pipeline:
>>>>>>
>>>>>> 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
>>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>
>>>> Thanks! That was a typo it seems.  I still can't link the ghost pad
>>>> even if I take off the memory option.. Why? This used to work just fine.
>>>>
>>>
>>> I'd even tried:
>>>
>>> .. !  nvvidconv ! video/x-raw, width=(int)3840, height=(int)2160,
>>> format=(string)I420 ! videoconvert name=videoconvert
>>>
>>> Why can't gtksink work with videoconvert in this case? This seems like
>>> either a bug or some kind of API change???
>>>
>>
>> Alright, I see the issue. Nevermind. The ghost pad needs to be linked at
>> the bin level not pipeline. Whoops!
>>
>
> Ok, that explain. The pad_link func return an enum, was probably returning
> wrong hierarchy or something.
>
>
>>
I'm sorry for the noise honestly! The error message was right but not
really helpful at diagnosing the problem. I had to step back and look at my
graph to really understand what the heck was going on here! Thanks Nicolas
as always for the support!

-aps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191002/55172761/attachment-0001.html>


More information about the gstreamer-devel mailing list