Is this a bug or am I doing something wrong? I found a way to solve it using nvvidconv, although it requires conversion to I420 (conversion to UYVY yields no visible results):
Hello, EmilioG:
‘nvhdmioverlaysink’ output raw data directly to hdmi, so with wrong format, it will show mess.
‘nvvidconv’ can convert the data to desired format. That’s correct.
is there any problem?
well, there is clearly a documentation problem, since nowhere in the documentation is stated that “‘nvhdmioverlaysink’ output raw data directly to hdmi”, and neither is that only I420 is supported (the “Multimedia User Guide” actually plays with various pixel formats).
Another question I have is the misterious “overlay” (“Overlay index”, according to gst-inspect) attribute of nvhdmioverlaysink… is it somehow related to availability of multiple overlay layers? How do you use it?
If not, how would you go about efficiently composing two video sources using a colour key? I’ve seen the videomixer GST plug-in, but it seems to be software-based, and I’m looking for something more of a hardware-accelerated compositing, to save CPU resources.