How does decodebin work?
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Jan 30 02:41:07 PST 2013
On Wed, 2013-01-30 at 15:26 +0530, rajnikant jachak wrote:
Hi,
> You can follow the link
> http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.30/pwg/html/section-types-typefind.html
> one can specify the rank in 'gst_type_find_register' api.
That's the rank for typefinders, not for decoders.
Decoder/demuxer ranks are passed in your plugin_init function where you
do gst_element_register(). Check list:
- register with a rank higher than avdec_h264 (PRIMARY + 100 should do)
- make sure your sink pad template caps are right
- check your element class details to make sure it contains "Decoder"
Cheers
-Tim
> On Wed, Jan 30, 2013 at 11:57 AM, Baby Octopus
> <jagadishkamathk at gmail.com> wrote:
> How does an autoplug element like decodebin work? Suppose if I
> add my own
> H264 decoder say mydec_h264dec which is better than
> avdec_h264, how does it
> choose between avdec_h264 and mydec_h264dec? Where is the rank
> specified?
> I'm quite new to this. I could not find this in docs
>
> ~BO
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/How-does-decodebin-work-tp4658226.html
> Sent from the GStreamer-devel mailing list archive at
> Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> --
> Regards,
> Rajnikant Jachak.
>
> The pessimist sees difficulty in every opportunity. The optimist sees
> the opportunity in every difficulty.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list