The caps-change-mode in Capsfilter

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

The caps-change-mode in Capsfilter

张若
Hi,

I am using gstreamer 1.8.3. If I remember correct, previously, I can set caps-change-mode to 1 (delay) for capsfilter.

However, now it shows:  'GstCapsFilter' has no property named 'caps-change-mode'
And when I check by gst-inspect-1.0 capsfilter:

Factory Details:
  Rank                     none (0)
  Long-name                CapsFilter
  Klass                    Generic
  Description              Pass data without modification, limiting formats
  Author                   David Schleef <[hidden email]>

Plugin Details:
  Name                     coreelements
  Description              GStreamer core elements
  Filename                 /usr/local/lib/gstreamer-1.0/gstreamer-1.0/libgstcoreelements.so
  Version                  1.2.4
  License                  LGPL
  Source module            gstreamer
  Source release date      2014-02-18
  Binary package           GStreamer (Ubuntu)

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstCapsFilter

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      ANY

  SINK template: 'sink'
    Availability: Always
    Capabilities:
      ANY


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_element_change_state_func

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "capsfilter0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false
  caps                : Restrict the possible allowed capabilities (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
                        flags: readable, writable
                           ANY

There is no caps-change-mode.

I also try to reinstall gstreamer-1.8.3 core plugins, but still cannot find it.

Thanks in advance!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: The caps-change-mode in Capsfilter

Tim Müller
On Mon, 2017-11-27 at 11:32 +0100, 张若 wrote:

Hi,

The "caps-change-mode" property was added in 1.6.

Your gst-inspect output shows the plugin version as 1.2.4, so that's
too old.


> I also try to reinstall gstreamer-1.8.3 core plugins, but still
> cannot find it.

You probably missed a step when/after installing 1.8.3 then. Did gst-
inspect-1.0 show the plugin version as 1.8.3 after you installed 1.8.3
?

Cheers
-Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: The caps-change-mode in Capsfilter

张若
Yes, I also found this problem.
Even after reinstall the version is still old 1.2.4.

Previously, it is 1.8.3.

Current path for all core plugins is:
Filename                 /usr/local/lib/gstreamer-1.0/gstreamer-1.0/libgstcoreelements.so

But it should be and once was:
Filename                 /usr/local/lib/gstreamer-1.0/libgstcoreelements.so

I don't know what happens, so how can I do to change this lib path?

Best regards

2017-11-27 12:26 GMT+01:00 Tim Müller <[hidden email]>:
On Mon, 2017-11-27 at 11:32 +0100, 张若 wrote:

Hi,

The "caps-change-mode" property was added in 1.6.

Your gst-inspect output shows the plugin version as 1.2.4, so that's
too old.


> I also try to reinstall gstreamer-1.8.3 core plugins, but still
> cannot find it.

You probably missed a step when/after installing 1.8.3 then. Did gst-
inspect-1.0 show the plugin version as 1.8.3 after you installed 1.8.3
?

Cheers
-Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel