Public Member Functions

  • GstPlayer ()
  • ~GstPlayer ()
  • bool
    initialize ()
  • void
    setCustomPipeline (const GstCustomPipelineData &customPipeline)
  • void
    load (const std::string &path)
  • bool
    newVideo () const
  • void
    play ()
  • void
    stop ()
  • int
    width () const
  • int
    height () const
  • bool
    isPrerolled () const
  • bool
    isPaused () const
  • bool
    isPlayable () const
  • bool
    isLoaded () const
  • bool
    isBuffering () const
  • bool
    isLiveSource () const
  • int
    stride () const
  • void
    setLoop (bool loop=true, bool palindrome=false)
  • bool
    setRate (float rate)
  • bool
    stepForward ()
  • float
    getRate () const
  • bool
    hasNewFrame () const
  • GstVideoFormat
    format () const
  • gint64
    getPositionNanos ()
  • float
    getPositionSeconds ()
  • gint64
    getDurationNanos ()
  • float
    getDurationSeconds ()
  • float
    getFramerate () const
  • float
    getPixelAspectRatio () const
  • int
    getNumFrames ()
  • bool
    hasAudio () const
  • bool
    hasVisuals () const
  • void
    setVolume (float targetVolume)
  • float
    getVolume ()
  • bool
    isDone () const
  • GstElement *
    getPipeline ()
  • void
    seekToTime (float seconds, bool forceSeek=false)
  • void
    seekToFrame (int frame)
  • bool
    isStream () const
  • ci::gl::Texture2dRef
    getVideoTexture ()