gi-ges-1.0.4: libges bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GES.Objects.Effect

Description

Currently we only support effects with N sinkpads and one single srcpad. Apart from gesaudiomixer and gescompositor which can be used as effects and where sinkpads will be requested as needed based on the timeline topology GES will always request at most one sinkpad per effect (when required).

Note: GES always adds converters (@audioconvert ! audioresample !
audioconvert@ for audio effects and @videoconvert@ for video effects) to
make it simpler for end users.
Synopsis

Exported types

newtype Effect Source #

Memory-managed wrapper type.

Constructors

Effect (ManagedPtr Effect) 

Instances

Instances details
Eq Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

Methods

(==) :: Effect -> Effect -> Bool #

(/=) :: Effect -> Effect -> Bool #

GObject Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

ManagedPtrNewtype Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

Methods

toManagedPtr :: Effect -> ManagedPtr Effect

TypedObject Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

Methods

glibType :: IO GType

HasParentTypes Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

IsGValue (Maybe Effect) Source #

Convert Effect to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GES.Objects.Effect

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Effect -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Effect)

type ParentTypes Effect Source # 
Instance details

Defined in GI.GES.Objects.Effect

class (GObject o, IsDescendantOf Effect o) => IsEffect o Source #

Type class for types which can be safely cast to Effect, for instance with toEffect.

Instances

Instances details
(GObject o, IsDescendantOf Effect o) => IsEffect o Source # 
Instance details

Defined in GI.GES.Objects.Effect

toEffect :: (MonadIO m, IsEffect o) => o -> m Effect Source #

Cast to Effect, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addChildProperty, addChildrenProps, addMetasFromString, bindProperty, bindPropertyFull, checkMetaRegistered, clampControlSource, copy, edit, editFull, forceFloating, foreach, freezeNotify, getv, hasInternalSource, isActive, isCore, isFloating, isTimeEffect, listChildrenProperties, lookupChild, metasToString, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, registerTimeProperty, removeChildProperty, removeControlBinding, ripple, rippleEnd, rollEnd, rollStart, runDispose, stealData, stealQdata, thawNotify, trim, unref, watchClosure.

Getters

getAllControlBindings, getAsset, getAutoClampControlSources, getBoolean, getChildProperty, getChildPropertyByPspec, getControlBinding, getData, getDate, getDateTime, getDouble, getDuration, getElement, getFloat, getGnlobject, getId, getInpoint, getInt, getInt64, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getNleobject, getParent, getPriority, getProperty, getQdata, getStart, getString, getTimeline, getToplevelParent, getTrack, getTrackType, getTrackTypes, getUint, getUint64.

Setters

setActive, setAsset, setAutoClampControlSources, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setControlSource, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setHasInternalSource, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setTimeTranslationFuncs, setTimeline, setTrackType, setUint, setUint64.

new

effectNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

binDescription: The gst-launch like bin description of the effect

-> m (Maybe Effect)

Returns: a newly created Effect, or Nothing if something went wrong.

Creates a new Effect from the description of the bin. It should be possible to determine the type of the effect through the element 'klass' metadata of the GstElements that will be created. In that corner case, you should use: ges_asset_request (GES_TYPE_EFFECT, "audio your ! bin ! description", NULL); and extract that asset to be in full control.

Properties

binDescription

The description of the effect bin with a gst-launch-style pipeline description.

Example: "videobalance saturation=1.5 hue=+0.5"

constructEffectBinDescription :: (IsEffect o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “bin-description” property. This is rarely needed directly, but it is used by new.

getEffectBinDescription :: (MonadIO m, IsEffect o) => o -> m (Maybe Text) Source #

Get the value of the “bin-description” property. When overloading is enabled, this is equivalent to

get effect #binDescription