<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    hi<br>
    <br>
     i think i had the same problem than you, everything is fine now,
    look here (it s in pygtk but i think you ll understand..):<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.jezra.net/blog/use_python_and_gstreamer_to_get_the_tags_of_an_audio_file">http://www.jezra.net/blog/use_python_and_gstreamer_to_get_the_tags_of_an_audio_file</a><br>
    <br>
    good luck<br>
    <br>
    works great for me !<br>
    <br>
    thx to the gstreamer devs too<br>
    <br>
    <br>
    On 11/06/2011 10:18, Phong Cao wrote:
    <blockquote
      cite="mid:BANLkTinyJEZm0P_-qj37p0Gv0Z232q0yeA@mail.gmail.com"
      type="cite">Thank you Arun,
      <div><br>
      </div>
      <div>I decided to try out the GstDiscoverer. I already included
        necessary header. However, it ould not be compiled:</div>
      <div><br>
      </div>
      <div>
        <div>g++ -g /home/phongcao/C/dingo-draft.cc -o
          /home/phongcao/C/dingo-draft `pkg-config --cflags --libs
          gtk+-2.0 gstreamer-0.10`</div>
        <div><br>
        </div>
        <div>/home/phongcao/C/dingo-draft.cc: In function ‘void
          import_media_activated(GtkMenuItem*, GtkListStore*)’:</div>
        <div>/home/phongcao/C/dingo-draft.cc:57: error: ‘GstDiscoverer’
          was not declared in this scope</div>
        <div>/home/phongcao/C/dingo-draft.cc:57: error: ‘discoverer’ was
          not declared in this scope</div>
        <div>/home/phongcao/C/dingo-draft.cc:57: error:
          ‘gst_discoverer_new’ was not declared in this scope</div>
        <div>/home/phongcao/C/dingo-draft.cc:59: error:
          ‘gst_discoverer_discover_uri’ was not declared in this scope</div>
        <div>/home/phongcao/C/dingo-draft.cc:59: error:
          ‘gst_discoverer_info_get_tags’ was not declared in this scope</div>
        <div><br>
        </div>
        <div>Is there anything wrong with the way I compile the source
          with GstDiscoverer?</div>
        <br>
        <div class="gmail_quote">On Sat, Jun 11, 2011 at 1:53 AM, <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            Send gstreamer-devel mailing list submissions to<br>
                   <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
            <br>
            To subscribe or unsubscribe via the World Wide Web, visit<br>
                   <a moz-do-not-send="true"
              href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
              target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
            or, via email, send a message with subject or body 'help' to<br>
                   <a moz-do-not-send="true"
              href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a><br>
            <br>
            You can reach the person managing the list at<br>
                   <a moz-do-not-send="true"
              href="mailto:gstreamer-devel-owner@lists.freedesktop.org">gstreamer-devel-owner@lists.freedesktop.org</a><br>
            <br>
            When replying, please edit your Subject line so it is more
            specific<br>
            than "Re: Contents of gstreamer-devel digest..."<br>
            <br>
            <br>
            Today's Topics:<br>
            <br>
              1. Re: How to extract tags from a stream without playing
            it?<br>
                 (Arun Raghavan)<br>
              2. How to show song's information into GtkTreeView? (Phong
            Cao)<br>
            <br>
            <br>
----------------------------------------------------------------------<br>
            <br>
            Message: 1<br>
            Date: Fri, 10 Jun 2011 14:49:42 -0700<br>
            From: Arun Raghavan &lt;<a moz-do-not-send="true"
              href="mailto:arun.raghavan@collabora.co.uk">arun.raghavan@collabora.co.uk</a>&gt;<br>
            Subject: Re: How to extract tags from a stream without
            playing it?<br>
            To: <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
            Message-ID: &lt;1307742584.4513.7.camel@snowflake&gt;<br>
            Content-Type: text/plain; charset="UTF-8"<br>
            <br>
            On Fri, 2011-06-10 at 14:05 -0400, Phong Cao wrote:<br>
            &gt; Hello everybody,<br>
            &gt;<br>
            &gt;<br>
            &gt; I am trying to write a music manager application and
            would like to get<br>
            &gt; the stream tags (artist, album, etc...) and display it
            to the users.<br>
            &gt; However, I don't know how to do this. I have read the
            GStreamer Manual<br>
            &gt; but the section about tags reading is not presented
            carefully in<br>
            &gt; there. Therefore, I just want to know which GStreamer
            functions I need<br>
            &gt; to use to read the tags from the media files without
            opening them.<br>
            <br>
            For exactly what you need, take a look at:<br>
            <a moz-do-not-send="true"
              href="https://bugzilla.gnome.org/show_bug.cgi?id=564749"
              target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=564749</a><br>
            <br>
            For something more immediate:<br>
            <a moz-do-not-send="true"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstdiscoverer.html"
              target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstdiscoverer.html</a><br>
            <br>
            Cheers,<br>
            Arun<br>
            <br>
            <br>
            <br>
            ------------------------------<br>
            <br>
            Message: 2<br>
            Date: Sat, 11 Jun 2011 01:53:18 -0400<br>
            From: Phong Cao &lt;<a moz-do-not-send="true"
              href="mailto:phngcv@gmail.com">phngcv@gmail.com</a>&gt;<br>
            Subject: How to show song's information into GtkTreeView?<br>
            To: <a moz-do-not-send="true"
              href="mailto:gtk-app-devel-list@gnome.org">gtk-app-devel-list@gnome.org</a>,
            <a moz-do-not-send="true" href="mailto:gtk-list@gnome.org">gtk-list@gnome.org</a>,<br>
                   <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>,<br>
                   <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
            Message-ID: &lt;<a moz-do-not-send="true"
              href="mailto:BANLkTing7oeRkyRwdiO86A_29DxrmkFPvA@mail.gmail.com">BANLkTing7oeRkyRwdiO86A_29DxrmkFPvA@mail.gmail.com</a>&gt;<br>
            Content-Type: text/plain; charset="iso-8859-1"<br>
            <br>
            Hello everybody,<br>
            <br>
            I am trying to develop a small music manager using GTK+ and
            GStreamer.<br>
            However, I am currently unable to display the stream
            information (like<br>
            artist, title, album, etc...) on the GtkTreeView.<br>
            <br>
            I do not know if anyone here has any experience developing
            software like<br>
            this. But the idea behind this software is that when you
            click File -&gt; Open<br>
            and then choosing a file from the GtkFileChooser, that music
            file will be<br>
            imported into the GtkListStore.<br>
            <br>
            Attached with this email is the source code of the program.
            I think the<br>
            problem relates to either GstTagList I used or GtkListStore.<br>
            <br>
            Thank you for helping me with this problem. I hope you guys
            have a good day!<br>
            <br>
            <br>
            Best regards,<br>
            <br>
            <br>
            Phong Cao<br>
            -------------- next part --------------<br>
            An HTML attachment was scrubbed...<br>
            URL: &lt;<a moz-do-not-send="true"
href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.html"
              target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.html</a>&gt;<br>
            -------------- next part --------------<br>
            A non-text attachment was scrubbed...<br>
            Name: dingo-draft.cc<br>
            Type: text/x-c++src<br>
            Size: 19218 bytes<br>
            Desc: not available<br>
            URL: &lt;<a moz-do-not-send="true"
href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.cc"
              target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.cc</a>&gt;<br>
            <br>
            ------------------------------<br>
            <br>
            _______________________________________________<br>
            gstreamer-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
              target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
            <br>
            <br>
            End of gstreamer-devel Digest, Vol 5, Issue 28<br>
            **********************************************<br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>