Can no longer link gtksink within my pipeline?

pisymbol . pisymbol at gmail.com
Wed Oct 2 18:01:10 UTC 2019


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!

-aps

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


More information about the gstreamer-devel mailing list