Track_Number of container formats like wma,asf, ogg

Thiago Santos thiagoss at osg.samsung.com
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
> BOMBAY_AWAKENS.wma
> <http://gstreamer-devel.966125.n4.nabble.com/file/n4672414/BOMBAY_AWAKENS.wma>
> 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 
master?

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.

Thanks,

>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Track-Number-of-container-formats-like-wma-asf-ogg-tp4672414.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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



More information about the gstreamer-devel mailing list