C
Defined Annotation Attributes
The tables in this appendix show the defined annotation attributes for each Oracle interMedia Annotator.
Table C-1 lists the attributes for the MediaAnn annotation type, which is used for all media, and the data type and description of each attribute.
Table C-1 MediaAnn Annotation Attributes
Attribute |
Data Type |
Description |
MEDIA_AUTHORING_TOOL
|
java.lang.String |
Authoring tool used to create the media |
MEDIA_BITRATE
|
java.lang.Long |
Bit rate of the media (in bits per second) |
MEDIA_CATEGORY
|
java.lang.String |
Media category or genre |
MEDIA_CONTENT_DATE
|
java.lang.String |
Creation date of the media content |
MEDIA_COPYRIGHT
|
java.lang.String |
Copyright information for the media |
MEDIA_CREATION_TIME
|
java.util.Date |
Creation time of the media (for example, Mon Dec 13 19:29:04 EST 2001) |
MEDIA_CREDITS
|
java.lang.String |
Credits for content providers |
MEDIA_DESCRIPTION
|
java.lang.String |
Description of the media |
MEDIA_DURATION
|
oracle.ord.media.
annotator.types.TimeCodeString |
Duration of the media, in the form hour:minute:second:mantissa, (for example, HH:MM:SS:FF) where mantissa is the fraction of a second in the units defined by MEDIA_TIMESCALE |
MEDIA_FORMAT_ENCODING
|
java.lang.String |
Format of the media encoding |
MEDIA_FORMAT_ENCODING_CODE
|
java.lang.String |
Short form (4 characters) of the media encoding |
MEDIA_INFORMATION
|
java.lang.String |
Information on the media |
MEDIA_LANGUAGE
|
java.lang.String |
Language of the media |
MEDIA_MODIFICATION_TIME
|
java.util.Date |
The time of the last modification of the media (for example, Mon Dec 13 19:29:04 EST 2001) |
MEDIA_PRODUCER
|
java.lang.String |
Producer of the media |
MEDIA_SIZE
|
java.lang.Long |
Size of the media source, in bytes |
MEDIA_SOURCE_DIRECTORY
|
java.lang.String |
Directory where the source is stored |
MEDIA_SOURCE_FILE_FORMAT
|
java.lang.String |
Media file format |
MEDIA_SOURCE_FILE_FORMAT_CODE
|
java.lang.String |
Short form (4 characters) of the media file format |
MEDIA_SOURCE_FILENAME
|
java.lang.String |
File name of the source |
MEDIA_SOURCE_MIME_TYPE
|
java.lang.String |
MIME type of the media and its samples |
MEDIA_SOURCE_PROTOCOL
|
java.lang.String |
URL protocol of the parsed media source |
MEDIA_SOURCE_STREAMABLE
|
java.lang.String |
The streaming server for which the media is optimized, if any |
MEDIA_SOURCE_URL
|
java.lang.String |
Location or URL of the parsed media source |
MEDIA_TIMESCALE
|
java.lang.Float |
Number of units in a second |
MEDIA_TITLE
|
java.lang.String |
Title of the media |
MEDIA_TRACK_ID
|
java.lang.Integer |
Track identifier for the annotation |
MEDIA_USER_DATA
|
java.lang.String |
String containing miscellaneous user data |
Table C-2 lists the attributes for the AudioAnn annotation type, which is used for for audio media, and the data type and description of each attribute. The AudioAnn annotation type extends MediaAnn.
Table C-2 AudioAnn Annotation Attributes
Attribute |
Data Type |
Description |
AUDIO_ARTIST
|
java.lang.String |
Main artist for the audio clip |
AUDIO_BITS_PER_SAMPLE
|
java.lang.Integer |
Number of bits per sound sample |
AUDIO_NUM_CHANNELS
|
java.lang.Integer |
Number of audio channels |
AUDIO_SAMPLE_RATE
|
java.lang.Integer |
Audio sampling rate (in samples per second) |
Table C-3 lists the attributes for the VideoAnn annotation type, which is used for for a video track annotation, and the data type and description of each attribute. The VideoAnn annotation type extends MediaAnn.
Table C-3 VideoAnn Annotation Attributes
Attribute |
Data Type |
Description |
VIDEO_DEPTH
|
java.lang.Integer |
Number of bits for the color depth |
VIDEO_FRAME_RATE
|
java.lang.Long |
Video frame rate (in frames per second) |
VIDEO_FRAME_SIZE
|
java.lang.Long |
Video frame size (in bytes) |
VIDEO_HORIZONTAL_RES
|
java.lang.Integer |
Horizontal resolution (in pixels per inch) |
VIDEO_IS_GRAYSCALE
|
java.lang.Boolean |
Whether or not the video has colors |
VIDEO_SRC_HEIGHT
|
java.lang.Long |
Video height (in pixels) |
VIDEO_SRC_WIDTH
|
java.lang.Long |
Video width (in pixels) |
VIDEO_VERTICAL_RES
|
java.lang.Integer |
Vertical resolution (in pixels per inch) |
Table C-4 lists the attributes for the TextAnn annotation type, which is used for a movie text track or any time-based text, and the data type and description of each attribute. The TextAnn annotation type extends MediaAnn.
Table C-4 TextAnn Annotation Attributes
Attribute |
Data Type |
Description |
TEXT_ALIGN
|
java.lang.String |
Alignment of the text track: left-justified, right-justified, fully justified, or centered |
TEXT_BG_COLOR
|
java.lang.String |
Background color (for example, 0x00RRGGBB) of the text track |
TEXT_DEF_BOX
|
oracle.ord.media.annotator.
types.Rectangle |
Default text box size, consisting of four instances of the Java primitive type short |
TEXT_FG_COLOR
|
java.lang.String |
Foreground color (for example, 0x00RRGGBB) of the text track |
TEXT_FONTFACE
|
java.lang.String |
Font styles used (such as italics or boldface) |
TEXT_FONTNAME
|
java.lang.String |
Name of the font used |
TEXT_FONTSIZE
|
java.lang.Short |
Point size of the text track |
Table C-5 lists the attributes for the MovieAnn annotation type, which is used for movie media, and the data type and description of each attribute. The MovieAnn annotation type extends MediaAnn.
Table C-5 MovieAnn Annotation Attributes
Attribute |
Data Type |
Description |
MOVIE_CAST
|
java.lang.String |
Names of the performers in the movie |
MOVIE_DIRECTOR
|
java.lang.String |
Director of the movie |
MOVIE_EDIT_INFORMATION
|
java.lang.String |
Information about the editing |
MOVIE_WARNING
|
java.lang.String |
Movie rating and warning information |
Table C-6 lists the attributes for the ImageAnn annotation type, which is used for image tracks, and a description of each attribute. The ImageAnn annotation type extends MediaAnn.
Table C-6 ImageAnn Annotation Attributes
Attribute |
Data Type |
Description |
IMAGE_BITS_PER_PIXEL
|
java.lang.Integer |
Number of bits per image pixel |
IMAGE_COUNT
|
java.lang.Integer |
Number of images stored in the file |
IMAGE_HEIGHT
|
java.lang.Long |
Height of the image |
IMAGE_HORIZONTAL_RES
|
java.lang.Double |
Horizontal resolution (in pixels per inch) |
IMAGE_PIXEL_FORMAT
|
java.lang.String |
The color space of the image, including the resolution |
MEDIA_TIMESCALE
|
java.lang.Float |
Number of units in a second |
IMAGE_VERTICAL_RES
|
java.lang.Double |
Vertical resolution (in pixels per inch) |
IMAGE_WIDTH
|
java.lang.Long |
Width of the image |
Table C-7 lists the attributes for the IptcIimAnn annotation type, which is used for the Information Interchange Model (IIM) format, and the data type and description of each attribute. The IIM format is a container file format for news information. The format was developed by the International Press Telecommunications Council (IPTC).
Table C-7 IptcIimAnn Annotation Attributes
Attribute |
Data Type |
Description |
IIM_ACTION_ADVISED
|
java.lang.Long |
Action to be taken after viewing the object. Valid values and their meanings are:
01: Destroy
02: Replace
03: Append |
IIM_BYLINE
|
java.lang.String |
Creator of the object. |
IIM_BYLINE_TITLE
|
java.lang.String |
Title of the creator of the object. |
IIM_CAPTION
|
java.lang.String |
Caption or abstract of the object, used especially when the object is not text. |
IIM_CITY
|
java.lang.String |
City of origin of the object. |
IIM_CONTACT
|
java.lang.String |
Contact for further information. |
IIM_COPYRIGHT
|
java.lang.String |
Copyright information. |
IIM_COUNTRY_CODE
|
java.lang.String |
ID of the country or geographic location of the origin of the object. |
IIM_CREATION_DATE
|
java.util.Date |
Creation date of the physical object. The date consists of the Date Created and Time Created record sets. |
IIM_CREDIT
|
java.lang.String |
Name of the service transmitting the object. |
IIM_DIGITAL_CREATION_DATE
|
java.util.Date |
Date of creation of the digitized version of the object. The date consists of the Digital Creation Date and Digital Creation Time record sets. |
IIM_HEADLINE
|
java.lang.String |
Synopsis of the content of the object listing keywords to add in a more detailed search for an object. |
IIM_IMAGE_TYPE
|
java.lang.String |
A code for the image type. The code consists of two bytes.
Possible values for the first byte and their meanings are:
0: No object
1: Monochrome
2, 3, or 4: Multiple components for a color project
9: Object data contains supplementary data
Possible values for the second byte and their meanings are:
W: Monochrome
Y: Yellow component
M: Magenta component
C: Cyan component
K: Black component
R: Red component
G: Green component
B: Blue component
T: Text only
F: Full color, frame sequential
L: Full color, line sequential
P: Full color, pixel sequential
S: Full color, special interleaving |
IIM_KEYWORDS
|
java.lang.String |
Keywords associated with the object (supported with version 2 of IIM). |
IIM_LANGUAGE
|
java.lang.String |
ID for the major language. |
IIM_LOCATION_NAME
|
java.lang.String |
Full name of the country of origin of the object. |
IIM_OBJECT_CYCLE
|
java.lang.Character |
The part of the day. Valid values are:
a: a.m. (morning)
p: p.m. (afternoon and evening
b: both) |
IIM_OBJECT_NAME
|
java.lang.String |
Title of the object. |
IIM_ORIGINATING_PROG
|
java.lang.String |
The software used to create the object. |
IIM_PROGRAM_VERSION
|
java.lang.String |
Version of the software used to create the object. |
IIM_PROVINCE_STATE
|
java.lang.String |
ID of the province or state of origin of the object. |
IIM_RECORD_VERSION
|
java.lang.Long |
Version of the IPTC IIM specification. |
IIM_SOURCE
|
java.lang.String |
Owner of the object. |
IIM_SPECIAL_INSTRUCTION
|
java.lang.String |
Special instructions concerning the use of the objects, such as embargoes and warnings. |
IIM_SUB_LOCATION
|
java.lang.String |
ID of the location within the city of origin of the object. |
IIM_TRANSMISSION_REF
|
java.lang.String |
Code representing the location of the original transmission. For example, BER-5, PAR-12-11-01. |
IIM_WRITER
|
java.lang.String |
Writer or editor. |
Table C-8 lists the attributes for the SampleAnn annotation type, which is used for media samples, and the data type and description of the attribute. The SampleAnn annotation type extends MediaAnn.
Table C-8 SampleAnn Annotation Attributes
Attribute |
Data Type |
Description |
SAMPLE_TIMESTAMP
|
oracle.ord.media.annotator.
types.TimeCodeString |
Time stamp of the specified sample, in the form hour:minute:second:mantissa (for example, HH:MM:SS:FF), where mantissa is the fraction of a second in the units defined in MEDIA_TIMESCALE |
Table C-9 lists the attributes for the TextSampleAnn annotation type, which is used for a movie text track sample or any time-based text. It also lists the data type and description of each attribute. TextSampleAnn extends SampleAnn.
Table C-9 TextSampleAnn Annotation Attributes
Attribute |
Data Type |
Description |
TEXTSAMPLE_VALUE
|
java.lang.String |
String value of the text sample |
Table C-10 lists the attributes for the VideoFrameSampleAnn annotation type, which is used for a video frame extracted from a video track as a sample, and the data type and description of each attribute. The VideoFrameSampleAnn annotation type extends SampleAnn.
Table C-10 VideoFrameSampleAnn Annotation Attributes
Attribute |
Data Type |
Description |
VIDEO_FRAME_SAMPLE_HEIGHT
|
java.lang.Integer |
Height of the frame extracted from the video track |
VIDEO_FRAME_SAMPLE_WIDTH
|
java.lang.Integer |
Width of the video frame extracted from the video track |