Decodebin not selected my decoder element

deeps8us deepthips at tataelxsi.co.in
Sun Mar 22 08:02:35 UTC 2020


I have an element which acts as a combined video decoder + video sink for
video/x-h265. So it has only SINK pad. Rank is PRIMARY

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-h265
                 
My app uses playbin to play the stream - which internally uses uridecodebin
and playsink.

My issue is that when decodebin searches for the appropriate decode plugin
for video/x-h265, it is not able to select my plugin. It tries my plugin,
but somehow not selecting it.

factory_list =
      gst_element_factory_list_filter (playbin->elements, caps,
GST_PAD_SINK,
      gst_caps_is_fixed (caps));

Logs:
GST_ELEMENT_FACTORY
gstelementfactory.c:gst_element_factory_list_filter: Trying <my_plugin>
gstplaybin2.c:autoplug_factories_cb:<media_pipeline> found factories
(nil)
element 'decodebin3', missing-plugin, type=(string)decoder,
detail=(GstCaps)video/x-h265

What is the reason,? Is it because my element doesnot have a SRC pad?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list