read tag

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

read tag

termajik
Hi,
 
I am a newbies with gstreamer and french. Sorry in advance for my english :)
 
I try to read tag information in some file in a c++ application. I am looking for exemple on the web but i didn't found.
With gst-launch and '-t' option, the tags are printing so i read gst-launch source code but i have some problems for understanding some events.
 
    1 - Where gst-launch use the -t parameters? In g_option_context_parse? But what did g_option_context_parse?
 
    2 - Tags information are printing in event_loop function. How this function was linked with the good event?
 
The answer is certainly ducomented in doc, but i did find it or i din't uderstanding it. If some body have a simple exemple or link to information about my subject...

Thanks in advance.

Regards,

Cédric.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: read tag

Stefan Sauer
hi,

termajik schrieb:
> Hi,
>  
> I am a newbies with gstreamer and french. Sorry in advance for my english :)
>  
> I try to read tag information in some file in a c++ application. I am
> looking for exemple on the web but i didn't found.
> With gst-launch and '-t' option, the tags are printing so i read
> gst-launch source code but i have some problems for understanding some
> events.

I would say you need to study the docs a bit more.
>  
>     1 - Where gst-launch use the -t parameters? In
> g_option_context_parse? But what did g_option_context_parse?

use devhelp to read developer docs. this function comes from glib.

>  
>     2 - Tags information are printing in event_loop function. How this
> function was linked with the good event?

if you search the gst-launch.c you will find the place where its registered. tag
information is send as message to the gstbus, you can listen there for such
messages.

Stefan

>  
> The answer is certainly ducomented in doc, but i did find it or i din't
> uderstanding it. If some body have a simple exemple or link to
> information about my subject...
>
> Thanks in advance.
>
> Regards,
>
> Cédric.
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel