Syndication/spec/media:content
From Steeple
The Steeple RSS/Atom module, an extension of the Yahoo Media module, version 0.1
Home
<media:content .... s:rel="audio track" s:FlashCompatible="9.0.115.0" s:transport="streaming,progressive,seekable,download" s:version="<timestamp of file or other identifier>" />
Contents |
[edit] 1 s:FlashCompatible
s:FlashCompatible is the earliest flash version the movie file is compatible with. For flash compatible H264/AAC movies (as mp4/m4v), s:FlashCompatible="9.0.115.0" should be present, which is important, becaue otherwise you don't know. (For flv it's far less critical, but ideally for flv 7, and flv 8, s:FlashCompatible should be 7 and 8, etc.)
[edit] 2 s:version
s:version is a timestamp or other identifier, that relates to the version of the file. If a file gets re-encoded, the name might not change, but s:version (if present) must be updated.
There is also provision in yahoo media for an md5 sum (or other hash), which is preferable:
<media:content ... >
<media:hash algo="...">....</media:hash>
</media:content>
but this may be impractical to calculate in existing systems, and so s:version can be added if this is easier
[edit] 3 s:transport
s:transport would normally be one of
s:transport="streaming"
s:transport="progressive"
s:transport="progressive,seekable"
s:transport="download"
streaming means that a streaming protocol is employed (e.g. rtsp). This is not redundant, because the url may point to an asx or ram file, in which case s:transport would refer to the protocol used inside the asx/ram file.
progressive means a progressive http download ('pseudostream', i.e. fast start header), without seeking.
progressive,seekable means a progressive http download ('pseudostream'), with seeking (e.g. via php or mod H264)
download means that the file doesnt have a fast-start header, and is thus just suitable for download.
[edit] 4 s:rel
<media:content s:rel="..." />
audio track: An audio file that is the sound track of a video file.
audio description: An additional audio description, played together with the audio track of the file.
audio with audio description: An additional audio description, replacing the audio track of the file.
commentary: a directors commentary
archive can be used to flag a version that is meant as an archive format, not necessarily for end-user use.
transcript: A transcript in a file format such as pdf or doc/odt. Plain text/html transcripts should be included using media:text, while srt can be linked using media:subTitle
lecture notes.
Note that a descriptive title can be added inside the media content item if needed:
<media:content>
<media:title></media:title>
<media:description></media:description>
</media:content>
An alternative would have been to add
<media:content>
<media:category scheme="http://purl.org/steeple/mediacontent/rel">audio track</media:category>
</media:content>
This would have been within the existing specification, but s:rel was preferred because it's shorter.
