Problem with GStreamer tag information

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

Problem with GStreamer tag information

John Doe-48
Hi, I've following problem with GStreamer tags, when pipeline is on playing state
all tag information(artists,title,duration etc.) is parsed without any problem by using bus message subsystem. How is it possible to get same information from file without playing?
And how is it to get tag_image from file(both of cases, when playing and ready states)?

I've get information from tag by using gst_tag_list_get_string function but what's the way
with image case?
ps. thanks for helping

code:     src = gst_element_factory_make("filesrc", "source");
             g_object_set(src, location, "path", NULL);
             gst_message_parse_tag(gst_message_new_tag(GST_OBJECT(src),tag_list), &tag_list);

    //Is this the way to get information without playing state???

-JD


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GStreamer tag information

Benoit Fouet-2
Hi,

John Doe wrote:
> Hi, I've following problem with GStreamer tags, when pipeline is on playing state
> all tag information(artists,title,duration etc.) is parsed without any problem by using bus message subsystem. How is it possible to get same information from file without playing?
> And how is it to get tag_image from file(both of cases, when playing and ready states)?
>
>  

to parse a file and retrieve its information, you need to have access to
its data.
to have access to data, you at least need to be prerolling, so in PAUSED
state

--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel