## nfo:Media nfo:Media |

## Description

A piece of media content. This class may be used to express complex media containers with many streams of various media content (both aural and visual).

## Class hierarchy

        http://www.w3.org/2000/01/rdf-schema#Resource
            nie:InformationElement
            ╰── nfo:Media
                ├── nfo:Visual
                ├── nfo:Audio
                ╰── nmm:MusicPiece

## Full-text-indexed properties

nfo:Media has the following full-text-indexed properties:

- nfo:genre

- nmm:genre

- mtp:creator

## Properties

### The `“maemo:remoteMediaArt”` property

    “maemo:remoteMediaArt”          nfo:Image

Number of possible elements per resource (Cardinality): Unlimited

### The `“mtp:creator”` property

    “mtp:creator”          http://www.w3.org/2001/XMLSchema#string

Following MTP spec, this property can contain a free text taking about creator of the Media

Number of possible elements per resource (Cardinality): 1

This property is full-text-indexed, and can be looked up through `fts:match`.

### The `“mtp:credits”` property

    “mtp:credits”          http://www.w3.org/2001/XMLSchema#string

Following MTP spec, credits contains... FIXME

Number of possible elements per resource (Cardinality): 1

### The `“mtp:hidden”` property

    “mtp:hidden”          http://www.w3.org/2001/XMLSchema#boolean

Hidden for the MTP protocol

Number of possible elements per resource (Cardinality): Unlimited

### The `“nmm:uPnPShared”` property

    “nmm:uPnPShared”          http://www.w3.org/2001/XMLSchema#boolean

Tells the uPnP MediaServer (e.g. Rygel) whether to export/share the resource or not

Number of possible elements per resource (Cardinality): 1

### The `“nmm:dlnaMime”` property

    “nmm:dlnaMime”          http://www.w3.org/2001/XMLSchema#string

Mimetypes as defined for DLNA (occasional differences compared to xdg-mime)

Number of possible elements per resource (Cardinality): 1

### The `“nmm:dlnaProfile”` property

    “nmm:dlnaProfile”          http://www.w3.org/2001/XMLSchema#string

DLNA profile of the content, like MP3, MPEG_TS_HD_US, LPCM etc

Number of possible elements per resource (Cardinality): 1

### The `“nmm:alternativeMedia”` property

    “nmm:alternativeMedia”          nfo: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

Number of possible elements per resource (Cardinality): Unlimited

### The `“nmm:skipCounter”` property

    “nmm:skipCounter”          http://www.w3.org/2001/XMLSchema#integer

Number of possible elements per resource (Cardinality): 1

### The `“nmm:genre”` property

    “nmm:genre”          http://www.w3.org/2001/XMLSchema#string

Number of possible elements per resource (Cardinality): 1

This property is full-text-indexed, and can be looked up through `fts:match`.

### The `“nmm:artwork”` property

    “nmm:artwork”          nfo:Image

Associated Artwork

Number of possible elements per resource (Cardinality): Unlimited

This property supersedes the following properties from this or parent classes:

- `“nfo:depiction”` from the `http://www.w3.org/2000/01/rdf-schema#Resource` class

### The `“nfo:lastPlayedPosition”` property

    “nfo:lastPlayedPosition”          http://www.w3.org/2001/XMLSchema#integer

Position in the media (in seconds) where the play was paused. Positive number, being 0 the beginning of the media.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:equipment”` property

    “nfo:equipment”          nfo:Equipment

Equipment used to create the media

Number of possible elements per resource (Cardinality): 1

### The `“nfo:genre”` property

    “nfo:genre”          http://www.w3.org/2001/XMLSchema#string

Genre of media

Number of possible elements per resource (Cardinality): 1

This property is full-text-indexed, and can be looked up through `fts:match`.

### The `“nfo:averageBitrate”` property

    “nfo:averageBitrate”          http://www.w3.org/2001/XMLSchema#double

The average overall bitrate of a media container. (i.e. the size of the piece of media in bits, divided by it's duration expressed in seconds).

Number of possible elements per resource (Cardinality): 1

### The `“nfo:bitrateType”` property

    “nfo:bitrateType”          http://www.w3.org/2001/XMLSchema#string

The type of the bitrate. Examples may include CBR and VBR.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:encodedBy”` property

    “nfo:encodedBy”          http://www.w3.org/2001/XMLSchema#string

The contains the name of the person or organisation that encoded the media

Number of possible elements per resource (Cardinality): 1

### The `“nfo:codec”` property

    “nfo:codec”          http://www.w3.org/2001/XMLSchema#string

The name of the codec necessary to decode a piece of media.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:bitDepth”` property

    “nfo:bitDepth”          http://www.w3.org/2000/01/rdf-schema#Literal

A common superproperty for all properties signifying the amount of bits for an atomic unit of data. Examples of subproperties may include bitsPerSample and bitsPerPixel

Number of possible elements per resource (Cardinality): 1

### The `“nfo:hasMediaStream”` property

    “nfo:hasMediaStream”          nie:DataObject

Connects a media container with a single media stream contained within.

Number of possible elements per resource (Cardinality): Unlimited

This property supersedes the following properties from this or parent classes:

- `“nie:hasPart”` from the `nie:InformationElement` class

### The `“nfo:compressionType”` property

    “nfo:compressionType”          nfo:CompressionType

The type of the compression. Values include, lossy and lossless.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:duration”` property

    “nfo:duration”          http://www.w3.org/2001/XMLSchema#integer

Duration of a media piece.

Number of possible elements per resource (Cardinality): 1

### The `“nfo:count”` property

    “nfo:count”          http://www.w3.org/2001/XMLSchema#integer

A common superproperty for all properties signifying the amount of atomic media data units. Examples of subproperties may include sampleCount and frameCount.

Number of possible elements per resource (Cardinality): 1