how to add taglist for languages other than english?

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Feb 23 07:19:59 PST 2012


On Thu, 2012-02-23 at 20:32 +0530, vijay wrote:

>   I have developed plugins for wma.I am trying to display to meta in
> gst-auto-launch. For some streamsthe meta data are in Japanese
> language in wide char format
>   But taglist will accept only utf8 format.
>   
>   I tried by using 'wcsrtombs" to convert the wide char to multi byte
> string  but when i tried to add the converted string to tag list using
> gst_tag_list_add it is giving 
>   warning as :string format not in utf - 8 format.
> 
>   Can any one help me how to convert the wide char to utf8 for
> languages other than english ,and to add in tag list

You might find these GLib APIs useful:
http://developer.gnome.org/glib/stable/glib-Character-Set-Conversion.html
http://developer.gnome.org/glib/stable/glib-Unicode-Manipulation.html

It's what asfdemux uses anyway ;)

 Cheers
  -Tim



More information about the gstreamer-devel mailing list