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

    rdfs:Resource 
    ╰── nie:InformationElement 
        ╰── nfo:Media 
            ├── nfo:Visual 
            ├── nfo:Audio 
            ╰── nmm:MusicPiece 

Full-text-indexed properties

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

Properties

The “maemo:remoteMediaArt” property

“maemo:remoteMediaArt”          nfo:Image

Number of possible elements per resource (Cardinality): Unlimited


The “mtp:creator” property

“mtp:creator”          xsd: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”          xsd:string

Following MTP spec, credits contains... FIXME

Number of possible elements per resource (Cardinality): 1


The “mtp:hidden” property

“mtp:hidden”          xsd:boolean

Hidden for the MTP protocol

Number of possible elements per resource (Cardinality): Unlimited


The “nmm:uPnPShared” property

“nmm:uPnPShared”          xsd: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”          xsd: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”          xsd: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”          xsd:integer

Number of possible elements per resource (Cardinality): 1


The “nmm:genre” property

“nmm:genre”          xsd: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:


The “nfo:lastPlayedPosition” property

“nfo:lastPlayedPosition”          xsd: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”          xsd: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”          xsd: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”          xsd: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”          xsd: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”          xsd: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”          rdfs: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:


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”          xsd:integer

Duration of a media piece.

Number of possible elements per resource (Cardinality): 1


The “nfo:count” property

“nfo:count”          xsd: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

See also

The upstream documentation for the NFO ontology.