[gst-devel] reading meta-data information

Vinod Nanjaiah Vinod_Nanjaiah at mindtree.com
Thu Oct 18 16:12:45 CEST 2007


Hi!
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?

Regards,
PN


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.




More information about the gstreamer-devel mailing list