Mobile native Wearable native

Metadata Extractor

Media files, such as mp3 and mp4 files, contain metadata. Metadata extractor enables you to extract metadata from the media files.

Figure: Getting metadata

Getting metadata

The metadata extractor can only be used with video and audio files only. It is not supported in the image files.

The following table lists the extractable metadata.

Table: Metadata extractor attributes
Attribute Description
METADATA_DURATION Duration of the content
METADATA_VIDEO_BITRATE Bitrate of the video content
METADATA_VIDEO_FPS FPS of the video content
METADATA_VIDEO_WIDTH Width of the video content
METADATA_VIDEO_HEIGHT Height of the video content
METADATA_HAS_VIDEO Whether the content has video stream
METADATA_AUDIO_BITRATE Bitrate of the audio content
METADATA_AUDIO_CHANNELS Channel of the audio content
METADATA_AUDIO_SAMPLERATE Sample rate of the audio content
METADATA_AUDIO_BITPERSAMPLE Bit per sample of the audio content
METADATA_HAS_AUDIO Whether the content has audio stream
METADATA_ARTIST Artist of the content
METADATA_TITLE Title of the content
METADATA_ALBUM Album of the content
METADATA_ALBUM_ARTIST Album artist of the content
METADATA_GENRE Genre of the content
METADATA_AUTHOR Author of the content
METADATA_COPYRIGHT Copyright of the content
METADATA_DATE Date of the content
METADATA_DESCRIPTION Description of the content
METADATA_COMMENT Comment about the content
METADATA_TRACK_NUM Track number of the content
METADATA_CLASSIFICATION Classification of the content
METADATA_RATING Rating of the content
METADATA_LONGITUDE Longitude of the content
METADATA_LATITUDE Latitude of the content
METADATA_ALTITUDE Altitude of the content
METADATA_CONDUCTOR Conductor of the content
METADATA_UNSYNCLYRICS Asynchronous lyrics of the content
METADATA_SYNCLYRICS_NUM Synchronous lyrics of the content
METADATA_RECDATE Recorded date of the content
METADATA_ROTATE Orientation of the content
Go to top