[gst-devel] reading meta-data information
Tim Müller
t.i.m at zen.co.uk
Wed Oct 31 19:10:06 CET 2007
On Thu, 2007-10-18 at 19:42 +0530, Vinod Nanjaiah wrote:
> I am trying to extract the meta data information of media files.
> The example code provided in /gstreamer-0.10.14/tests/examples/metadata
> provides stream tags as follows:
> ID3v2 frame: ???
> : ???
> : ???
> : ???
> : ???
> : ???
> genre: Rock
> title: Kya Mujhe Pyaar Hai - Remix
> artist: Kay Kay
> album: Woh Lamhe
> date: 0200-01-01
> comment: @ Fmw11.co
>
> The example code uses "decodebin" element.
>
> When I used "mad" instead of "decodebin" to playback the same media file and
> print meta data it gave the following stream-info, but none of the previous
> ones.
> duration: 252000000000
> bitrate: 278876
> layer: 3
> mode: stereo
> emphasis: none
> audio codec: MPEG-1 layer 3
>
> What is the best way to playback a media file and also display ALL the
> metadata info?
This was a bug in the example code - it didn't merge the tag lists
correctly (should use _KEEP or _APPEND merge mode rather than
_KEEP_ALL). This is fixed in CVS now.
Cheers
-Tim
More information about the gstreamer-devel
mailing list