how to use typefind

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

how to use typefind

David Walker
Perhaps a stupid question, but I've got a filesrc connected to a typefind element. On the "have-type" signal I print out the capibilities:

"Media type video/mpeg, systemstream=(boolean)false, mpegversion=(int)4, parsed=(boolean)false found, probability 79%"

But what can I do with this information? Can I search for compatible elements or do I have to process this manually? How do I decide what the next element in the pipeline should be?

Thanks

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

Re: how to use typefind

michael smith-6-3
Yes, you can search for compatible elements - that's what
decodebin/decodebin2 do, for example. You might want to read the
source to those, even if there's some strange reason you have for not
wanting to directly use one of them.

Mike




On Wed, Nov 9, 2011 at 2:03 AM, David Walker <[hidden email]> wrote:

> Perhaps a stupid question, but I've got a filesrc connected to a typefind
> element. On the "have-type" signal I print out the capibilities:
> "Media type video/mpeg, systemstream=(boolean)false, mpegversion=(int)4,
> parsed=(boolean)false found, probability 79%"
> But what can I do with this information? Can I search for compatible
> elements or do I have to process this manually? How do I decide what the
> next element in the pipeline should be?
> Thanks
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel