Can no longer link gtksink within my pipeline?

Nicolas Dufresne nicolas at ndufresne.ca
Wed Oct 2 23:34:53 UTC 2019


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.


> -aps
>
>>
>> -aps
>>
>>
>>
>> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191002/70e41de9/attachment.html>


More information about the gstreamer-devel mailing list