Hello Everyone,
im using gstreamer with ruby and i mix two video streams.
the mixing is working fine now.
now i want to add aplha support !
first i create the element this works fine,too …
@alpha = Gst::ElementFactory.make(‘alpha’)
@pipeline.add @alpha
then i want to set the alpha mehtod on custom and this is not working …
@alpha.set_property(“method”, “3”)
@alpha.method = “3”
i think the method/function aplha#method expect a “Gst::ElementAlpha”
ENUM element and i think this dosent exists in the bingings …
right ?
is there a hint how i can set @alpha.method = “3” ?
gst-inspect aplha output for the mehtod function
################################################
method : How the alpha channels should be created
flags: readable, writable
Enum “GstAlphaMethod” Default: 0, “set” Current:
0, “set”
(0): set - Set/adjust alpha
channel
(1): green - Chroma Key green
(2): blue - Chroma Key blue
(3): custom - Chroma Key on
target_r/g/b
#######################################################################
thanks ahead
& best regards
Philipp