Best way to use typefind in a custom player
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Dec 12 06:42:58 PST 2012
On Tue, 2012-12-11 at 08:10 -0800, gimmeamilk wrote:
Hi,
> I'm making a simple player that can detect and play a few container and
> codec types. Decodebin etc is a little heavyweight for my needs for the time
> being, so I want to make my own autoplugger using typefind. I have a small
> look-up table of caps strings and suitable elements for both the containers
> and the codecs, eg (snip)
Out of curiosity, which aspect of uridecodebin/decodebin2 did you found
to be "a little heavyweight" ?
You should at least use multiqueue instead normal "queue" elements if
you do this yourself, unless you have huge ES buffers inside your sink.
Cheers
-Tim
More information about the gstreamer-devel
mailing list