[gst-devel] Read metadata metadata

Eric Zhang nicolas.m.zhang at gmail.com
Thu Dec 4 03:23:44 CET 2008


Hi, gstreamer-devel:

    If you only wanna get codec/width/height infos, that's easy. Connect a
decodebin with the filesrc, then checks the caps of  the video & audio
buffers come from decodebin, you can get these infos.

Eric Zhang

2008/12/3 Frédéric Gaudy <fred_gaudy at yahoo.fr>

> Hi,
>
> I'm new to gstreamer, and I would get information about a video file.
>
> I want to get :
>     - codec
>     - width
>     - height
>
> I created a first "filesrc" GstElement and I tried to gets its
> capabilities, but I don't know the name I should use with get_pad()
> function.
>
> Maybe I must add a demux to the pipline, but i need to detect codec first?
>
> I tried with findtype with the "have-type" signal, but I detect only
> "system-stream" capability.
>
> Do you have some hints to give me?
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081204/a83db4d7/attachment.htm>


More information about the gstreamer-devel mailing list