decodebin fails to link with glcolorbalance (gstreamer version 1.12.4)

Antonio Ospite ao2 at ao2.it
Mon Jan 22 08:06:19 UTC 2018


On Sat, 20 Jan 2018 18:15:00 -0700 (MST)
tapas <tapascst at gmail.com> wrote:

> *If I use below pipeline then I can broadcast to youtube  successfully*: 
> 
[...]
> 
> *However, if I use glcolorbalance in this pipeline then it gives me
> following error and I cannot stream to youtube any more: *
>
[...]
> 
> It seems like glcolorbalanc is causing decodebin not to link with
> vaapih264enc since it is the only difference between above pipeline.
> 
> I am new to gstreamer and Can any one tell me what is wrong with 2nd
> pipeline and why linking is failing ? 
> 

I never used these opengl elements before, but in general you can get
more info about the pipeline passing the '-v' option to gst-launch-1.0
and you can also use gst-inspect-1.0 to get info about specific
elements.

For instance "gst-inspect-1.0 glcolorbalance" says that the element only
works on RGBA data, so it can be that you need to use glcolorconvert
also before glcolorbalance.

Test elements with the minimum possible pipeline, e.g.:

$ gst-launch-1.0 videotestsrc ! glupload ! glcolorconvert ! glcolorbalance ! glcolorconvert ! gldownload ! autovideosink

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the gstreamer-devel mailing list