![]() |
![]() |
![]() |
![]() |
This is a documentation preview for the next version of Tracker, generated from tracker.git commit c585703.
See the Tracker website for more documentation.
Nepomuk MultiMedia (NMM)Nepomuk MultiMedia (NMM) — Description of multimedia objects like Music, Video and Images |
@prefix nmm: <http://tracker.api.gnome.org/ontology/v3/nmm#>
This ontology extends NIE (Nepomuk Information Element ontology) and NFO (Nepomuk File Ontology) into the domains of multimedia, including Images, Videos, Music and Radio, and includes a couple of properties to support uPnP sharing.
This ontology replaces/complements NID3 and NEXIF. Those ontologies are a direct map of the respective metadata standards, which makes very difficult to map cleanly other standards (like gstreamer metadata, mp4, ogg, and so on). Besides, those ontologies contain a lot of very low level technical information that is useless to the average user of the desktop.
Our approach in NMM is to keep the minimum properties that make sense for the user, and are present in all (or almost all) specific metadata formats. A profesional photographer (or musician) who needs more fine-grained details for its documents, is free to add also nID3 information or other extensions to the ontology.
The core of images in NMM ontology is the class nmm:Photo. It is (through a long hierarchy) a nie:InformationElement, an interpretation of some bytes. It has properties to store the basic information (camera, metering mode, white balance, flash), and inherits from nfo:Image orientation (nfo:orientation) and resolution (nfo:verticalResolution and nfo:horizontalResolution).
Note that for tags, nie:keywords (from nie:InformationElement) can be used, or the NAO ontology.
NMM includes classes and properties to represent analog and digital radio stations. There is a class nmm:RadioStation on the nie:InformationElement side of the ontology, representing what the user sees about that station (genre via PTY codes, icon, plus title inherited from nie:InformationElement)
A nmm:RadioStation can have one or more nmm:carrier properties representing the different frequencies (or links when it is digitial) it can be tuned. This property links the station with nfo:MediaStream, but usually it will point to one of the subclasses: nmm:DigitalRadio (if digital) or nmm:AnalogRadio (if analog). An analog station has properties as modulation and frequency, while the digial station has streaming bitrate, encoding or protocol.
Note that nfo:MediaStream refers to a flux of bytes/data, and it is on the nie:DataObject side of the ontology
Name | Type | Notes | Description |
---|---|---|---|
integer | Frequency in the Radio spectrum in Khz (note that usually FM frequencies are in MHz) |
||
RadioModulation | Modulation used in the frequency (AM or FM) |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
string | Encoding of the radio. It is a property of the streaming, that it is known before hand, so the applications can choose the encoding they understand. |
||
string | Protocol used for the streaming (HTTP, RTSP) |
||
integer | Bitrate indicating the quality of the stream in Kbits (usual values 32, 64, 128...) |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
nie:InformationElement ──┐ nfo:Media ───────────────┤ nfo:Video ───────────────┤ nfo:Visual ──────────────┤ └── nmm:Movie
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
MusicAlbum | Album of the disc |
||
string | Music CD identifier to for databases like FreeDB.org. This frame is intended for music that comes from a CD, so that the CD can be identified in databases such as the CDDB. The frame consists of a binary dump of the Table Of Contents, TOC, from the CD, which is a header of 4 bytes and then 8 bytes/track on the CD plus 8 bytes for the 'lead out' making a maximum of 804 bytes. The offset to the beginning of every track on the CD should be described with a four bytes absolute CD-frame address per track, and not with absolute time. |
||
integer | Disc number of album disc |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
Artist | main artist of the MusicPiece |
||
integer | beats per minute |
||
Artist | Composer |
||
|
string | ISRC ID. Format: 'CC-XXX-YY-NNNNN' |
|
Artist | Lyricist |
||
SynchronizedText | |||
MusicAlbum | album the music belongs to |
||
MusicAlbumDisc | album disc the music belongs to |
||
Artist |
|
Performer |
|
integer | Track number of the music in its album |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
double | Exposure time of the photo |
||
Flash | Specifies whether flash was used |
||
double | The diameter of the entrance pupil in terms of the focal length of the lens |
||
double | A measure of how strongly the lens converges light |
||
boolean | |||
boolean | |||
double | Measure of a photographic film's sensitivity to light as ISO value |
||
MeteringMode | Metering mode refers to the way in which a camera determines the exposure. |
||
WhiteBalance |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
MediaStream | Signal where a radio can be tuned in. There can be more than one. |
||
Image | Image used as logo for a radio station |
||
integer | PTY Code (content description) as integer. RDS specs define the translations into human readable descriptions for various languages |
Name | Type | Notes | Description |
---|---|---|---|
boolean | Does text stream contain helper tags for hearing-impaired such as <steps in hallway> |
nie:InformationElement ──┐ nfo:Media ───────────────┤ nfo:Video ───────────────┤ nfo:Visual ──────────────┤ └── nmm:TVShow
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
Media | Link between to different version of the same media. This is used for instances in uPnp where the server can provide the same video in different resolutions and codecs |
||
Image |
|
Associated Artwork |
|
string | Mimetypes as defined for DLNA (occasional differences compared to xdg-mime) |
||
string | DLNA profile of the content, like MP3, MPEG_TS_HD_US, LPCM etc |
||
string | |||
integer | |||
boolean | Tells the uPnP MediaServer (e.g. Rygel) whether to export/share the resource or not |