终于找到你了gstreamer appsink

beijing:~ # gst-inspect-1.0  appsink
Factory Details:
  Rank                     none (0)
  Long-name                AppSink
  Klass                    Generic/Sink
  Description              Allow the application to get access to raw buffer
  Author                   David Schleef , Wim Taymans

Plugin Details:
  Name                     app
  Description              Elements used to communicate with applications
  Filename                 /usr/lib64/gstreamer-1.0/libgstapp.so
  Version                  1.4.3
  License                  LGPL
  Source module            gst-plugins-base
  Source release date      2014-09-24
  Binary package           GStreamer Base Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----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

Element has no clocking 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
    Pad Template: 'sink'

Element Properties:
  name                : The name of the object
                        flags: 可读, 可写
                        String. Default: "appsink0"
  parent              : The parent of the object
                        flags: 可读, 可写
                        Object of type "GstObject"
  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-sample  : Enable the last-sample property
                        flags: 可读, 可写
                        Boolean. Default: true
  last-sample         : The last sample received in the sink
                        flags: 可读
                        Boxed pointer of type "GstSample"
  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 (0 = disabled)
                        flags: 可读, 可写
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  max-bitrate         : The maximum bits per second to render (0 = disabled)
                        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 and new-sample 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" :  GstFlowReturn user_function (GstElement* object,
                                                gpointer user_data);
  "new-sample" :  GstFlowReturn user_function (GstElement* object,
                                               gpointer user_data);

Element Actions:
  "pull-preroll" :  GstSample * user_function (GstElement* object);
  "pull-sample" :  GstSample * user_function (GstElement* object);
beijing:~ #

你可能感兴趣的:(GStreamer)