questions about appsink
hugh
zzdzwd at 163.com
Sun Oct 25 18:38:56 PDT 2015
Hi, Tim Müller, it seems that there's not property named
"enable-last-sample" in appsink. It just like that:
gst-inspect-0.10 appsink
Factory Details:
Long name: AppSink
Class: Generic/Sink
Description: Allow the application to get access to raw buffer
Author(s): David Schleef <ds at schleef.org>, Wim Taymans
<wim.taymans at gmail.com>
Rank: none (0)
Plugin Details:
Name: app
Description: Elements used to communicate with applications
Filename: /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstapp.so
Version: 0.10.36
License: LGPL
Source module: gst-plugins-base
Source release date: 2012-02-20
Binary package: GStreamer Base Plugins (Ubuntu)
Origin URL:
https://launchpad.net/distros/ubuntu/+source/gst-plugins-base0.10
GObject
+----GstObject
+----GstElement
+----GstBaseSink
+----GstAppSink
实现的接口:
GstURIHandler
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
ANY
Element Flags:
no flags set
Element Implementation:
Has change_state() function: gst_base_sink_change_state
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
URI handling capabilities:
Element can act as sink.
Supported URI protocols:
appsink
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): gst_base_sink_chain
Has custom eventfunc(): gst_base_sink_event
Has custom queryfunc(): gst_base_sink_sink_query
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Has bufferallocfunc(): gst_base_sink_pad_buffer_alloc
Has getcapsfunc(): gst_base_sink_pad_getcaps
Has setcapsfunc(): gst_base_sink_pad_setcaps
Has acceptcapsfunc(): gst_pad_acceptcaps_default
Has fixatecapsfunc(): gst_base_sink_pad_fixate
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: 可读, 可写
String. Default: "appsink0"
preroll-queue-len : Number of buffers to queue during preroll
flags: 可读, 可写
Unsigned Integer. Range: 0 - 4294967295 Default: 0
sync : Sync on the clock
flags: 可读, 可写
Boolean. Default: true
max-lateness : Maximum number of nanoseconds that a buffer can be
late before it is dropped (-1 unlimited)
flags: 可读, 可写
Integer64. Range: -1 - 9223372036854775807 Default:
-1
qos : Generate Quality-of-Service events upstream
flags: 可读, 可写
Boolean. Default: false
async : Go asynchronously to PAUSED
flags: 可读, 可写
Boolean. Default: true
ts-offset : Timestamp offset in nanoseconds
flags: 可读, 可写
Integer64. Range: -9223372036854775808 -
9223372036854775807 Default: 0
enable-last-buffer : Enable the last-buffer property
flags: 可读, 可写
Boolean. Default: true
last-buffer : The last buffer received in the sink
flags: 可读
MiniObject of type "GstBuffer"
blocksize : Size in bytes to pull per buffer (0 = default)
flags: 可读, 可写
Unsigned Integer. Range: 0 - 4294967295 Default:
4096
render-delay : Additional render delay of the sink in nanoseconds
flags: 可读, 可写
Unsigned Integer64. Range: 0 - 18446744073709551615
Default: 0
throttle-time : The time to keep between rendered buffers (unused)
flags: 可读, 可写
Unsigned Integer64. Range: 0 - 18446744073709551615
Default: 0
caps : The allowed caps for the sink pad
flags: 可读, 可写
Caps (NULL)
eos : Check if the sink is EOS or not started
flags: 可读
Boolean. Default: true
emit-signals : Emit new-preroll, new-buffer and new-buffer-list
signals
flags: 可读, 可写
Boolean. Default: false
max-buffers : The maximum number of buffers to queue internally (0
= unlimited)
flags: 可读, 可写
Unsigned Integer. Range: 0 - 4294967295 Default: 0
drop : Drop old buffers when the buffer queue is filled
flags: 可读, 可写
Boolean. Default: false
Element Signals:
"eos" : void user_function (GstElement* object,
gpointer user_data);
"new-preroll" : void user_function (GstElement* object,
gpointer user_data);
"new-buffer" : void user_function (GstElement* object,
gpointer user_data);
"new-buffer-list" : void user_function (GstElement* object,
gpointer user_data);
Element Actions:
"pull-preroll" : GstBuffer user_function (GstElement* object);
"pull-buffer" : GstBuffer user_function (GstElement* object);
"pull-buffer-list" : GstBufferList user_function (GstElement* object);
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/questions-about-appsink-tp4674228p4674254.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list