Pipeline
Object Hierarchy:
GES.Pipeline
GES.Pipeline
GES.Pipeline
Gst.Pipeline
Gst.Pipeline
Gst.Pipeline->GES.Pipeline
Gst.Bin
Gst.Bin
Gst.Bin->Gst.Pipeline
Gst.Element
Gst.Element
Gst.Element->Gst.Bin
Gst.Object
Gst.Object
Gst.Object->Gst.Element
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gst.Object
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Gst.ChildProxy
Gst.ChildProxy
Gst.ChildProxy->GES.Pipeline
Gst.ChildProxy->Gst.Pipeline
Gst.ChildProxy->Gst.Bin
Gst.Video.Overlay
Gst.Video.Overlay
Gst.Video.Overlay->GES.Pipeline
Description:
[ CCode ( type_id = "ges_pipeline_get_type ()" ) ]public class Pipeline : Pipeline , ChildProxy , Overlay
A Pipeline can take an audio-video Timeline and conveniently
link its Track -s to an internal playsink
element, for preview/playback, and an
internal encodebin
element, for rendering.
You can switch between these modes using set_mode .
You can choose the specific audio and video sinks used for previewing the timeline by setting the
audio_sink and
video_sink properties.
You can set the encoding and save location used in rendering by calling
set_render_settings .
Content:
Properties:
public Element audio_filter { owned get ; set ; }
The audio filter(s) to apply during playback in preview mode,
immediately before the audio_sink .
public Element audio_sink { owned get ; set ; }
The audio sink used for preview.
public PipelineFlags mode { get ; set ; }
The pipeline's mode.
public Timeline timeline { owned get ; set ; }
The timeline used by this pipeline, whose content it will play and
render, or null if the pipeline does not yet have a timeline.
public Element video_filter { owned get ; set ; }
The video filter(s) to apply during playback in preview mode,
immediately before the video_sink .
public Element video_sink { owned get ; set ; }
The video sink used for preview.
Creation methods:
public Pipeline ()
Creates a new pipeline.
Methods:
public PipelineFlags get_mode ()
Gets the mode of
the pipeline.
public Sample get_thumbnail (Caps caps)
Gets a sample from the pipeline of the currently displayed image in
preview, in the specified format.
public Sample get_thumbnail_rgb24 (int width, int height)
Gets a sample from the pipeline of the currently displayed image in
preview, in the 24-bit "RGB" format and of the desired width and height.
public Element preview_get_audio_sink ()
public Element preview_get_video_sink ()
public void preview_set_audio_sink (Element sink)
public void preview_set_video_sink (Element sink)
public bool save_thumbnail (int width, int height, string format, string location) throws Error
Saves the currently displayed image of the pipeline in preview to the
given location, in the specified dimensions and format.
public bool set_mode (PipelineFlags mode)
Sets the mode of
the pipeline.
public bool set_render_settings (string output_uri, EncodingProfile profile)
Specifies encoding setting to be used by the pipeline to render its
timeline , and where the result should be written to.
public bool set_timeline (owned Timeline timeline)
Takes the given timeline and sets it as the
timeline for the pipeline.
Inherited Members:
All known members inherited from class Gst.Pipeline
auto_clock
auto_flush_bus
delay
fixed_clock
get_auto_flush_bus
get_bus
get_clock
get_delay
get_latency
get_pipeline_clock
latency
set_auto_flush_bus
set_clock
set_delay
set_latency
stream_time
use_clock
All known members inherited from class Gst.Bin
add
add_element
add_many
async_handling
child_bus
children
children_cookie
clock_dirty
clock_provider
deep_element_added
deep_element_removed
do_latency
element_added
element_removed
find_unlinked_pad
get_by_interface
get_by_name
get_by_name_recurse_up
get_suppressed_flags
handle_message
iterate_all_by_element_factory_name
iterate_all_by_interface
iterate_elements
iterate_recurse
iterate_sinks
iterate_sorted
iterate_sources
message_forward
messages
numchildren
polling
provided_clock
recalculate_latency
remove
remove_element
remove_many
set_suppressed_flags
state_dirty
sync_children_states
All known members inherited from class Gst.Element
All known members inherited from class Gst.Object
@lock
@ref
add_control_binding
check_uniqueness
deep_notify
default_deep_notify
default_error
flags
get_control_binding
get_control_rate
get_g_value_array
get_name
get_parent
get_path_string
get_value
has_active_control_bindings
has_ancestor
has_as_ancestor
has_as_parent
name
parent
remove_control_binding
replace
set_control_binding_disabled
set_control_bindings_disabled
set_control_rate
set_name
set_parent
suggest_next_sync
sync_values
unparent
unref
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gst.ChildProxy
@get
@set
child_added
child_removed
get_child_by_index
get_child_by_name
get_children_count
get_property
get_valist
lookup
set_property
set_valist
All known members inherited from interface Gst.Video.Overlay
expose
got_window_handle
handle_events
install_properties
prepare_window_handle
set_property
set_render_rectangle
set_window_handle
try_set_render_rectangle