Track_Number of container formats like wma,asf, ogg

Thiago Santos thiagoss at
Tue Jun 23 06:09:35 PDT 2015

On 06/23/2015 08:28 AM, kcu wrote:
> Hi,
> I am trying to develop a gstreamer based media player, To print track number
> i am doing this
> <>
> if(!gst_tag_list_get_uint(tagList, GST_TAG_TRACK_NUMBER,
>                      &TrackNumber))
>          {
>              TrackNumber = 0;
>          }
> It works fine for mp3 and aac, only for wma,asf & ogg files track number is
> always 0,( tried with different files, gst_tag_list_get_uint is returning
> false )
> what might be wrong?
Are you sure the tracks you've been using as wma/asf/ogg have the track 
number tag in them? Did you try a recent version? 1.4.5 or 1.5 or git 

It would be nice to test with a recent version and see if it still 
doesn't work. In that case, please open a bug and put a link to the 
files that aren't having the tags extracted properly.

If, for some reason, you are unable to test with a recent version please 
open a bug anyway and link the files there so someone might try to 
reproduce with git master.


> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley

More information about the gstreamer-devel mailing list