Multimedia Database
Multimedia Database
1
Multimedia Databases
To provide such database functions as indexing
and consistency, it is sometimes desirable to store
multimedia data in a database
rather than storing them outside the database,
in a file system
The database must handle large object
representation.
Similarity-based retrieval must be provided by
special index structures.
Must provide guaranteed steady retrieval rates for
continuous-media data.
2
Multimedia Data Formats
Store and transmit multimedia data in compressed form
JPEG and GIF the most widely used formats for image
data.
MPEG standard for video data use commonalties among
a sequence of frames to achieve a greater degree of
compression.
MPEG-1 quality comparable to VHS video tape.
stores a minute of 30-frame-per-second video and audio
in approximately 12.5 MB
MPEG-2 designed for digital broadcast systems and digital
video disks; negligible loss of video quality.
Compresses 1 minute of audio-video to approximately 17
MB.
Several alternatives of audio encoding
MPEG-1 Layer 3 (MP3), RealAudio, WindowsMedia
format, etc. 3
Continuous-Media Data
Most important types are video and audio data.
Characterized by high data volumes and real-time information-
delivery requirements.
Data must be delivered sufficiently fast that there are no
gaps in the audio or video.
Data must be delivered at a rate that does not cause
overflow of system buffers.
Synchronization among distinct data streams must be
maintained
video of a person speaking must show lips moving
synchronously with the audio
4
Video Servers
Video-on-demand systems deliver video from central video
servers, across a network, to terminals
Must guarantee end-to-end delivery rates
Current video-on-demand servers are based on file systems;
existing database systems do not meet real-time response
requirements.
Multimedia data are stored on several disks (RAID
configuration), or on tertiary storage for less frequently accessed
data.
Head-end terminals - used to view multimedia data
PCs or TVs attached to a small, inexpensive computer called
a set-top box.
5
Data Type
Binary Large Object (BLOB)
Character Large Object (CLOB)
Advantages:
Multimedia Data is integrated into the database system
Not dependent on the physical location of multimedia
data (disk/directory/filename)
Disadvateges:
Database storage can be very large
Sometimes this will decrease the performance
4/14/
15
Modelling
Activities in information system analysis
and design that identifies and develops
a model of the information requirements
for a proposed computer-based
application
Identifying and describing the information
requirements for an information system,
Specifying the data to be maintained by the data
management system, and
Specifying the data structures to be used for data
storage that best support the information
requirements by providing efficient and effective
information retrieval
User Requirement
Data Model
Data Model Type
Data structure
data types and inter-relationships,
Constraints
allowable values, relationships, and cardinalities
Basic operations
for data storage, retrieval, modification,
maintenance, and control.
Data structure
entity types: real world phenomena about which data is
collected.
f.ex.: person, teacher, student, course, report, …
List
Meta Data, Data Definition Language
Tabular
DB Schema
Model Type
Entity-Relationship
Extended Entity-Relationship
Object Oriented Model
Structural Semantic Model
Entity-Relationship
Model
Extended Entity-
Relationship Model
Object-Oriented
Model
Structural Semantic
Model
Base and weak entity (SSM)
Hierarchic Relationship
associative
relationships
with (min,max) cardinality
specification
Base entity
SSM Attribute and
Data Type
Meta Data
Data about Data
Uses
Specification and interpretation of user requests -
queries - for information
Determining storage, indexing, and retrieval of the data
to/from the database
Meta Data
Specification
Database design
a semantic data model
metadata standard for description of user requirements, data
structures, and constraints
Data storage –
using a data definition language, DDL, to add metadata
values.
Meta Data for
Multimedia
Semantic metadata
characterize the subject matter of the
document,
Context metadata
describe relationships to external (to the
meaning of the document) objects, such as
author and publisher
Structural metadata
describe the internal structure and
Semantic Metadata
Speficy features that describe the
semantic content of the media
object
Index terms or keywords
Shapes
Colors
Textures
Categories
Context Metadata
specify the relationships that
the media object has to its
environment
author/creator, publisher, the date of
creation/purchase/publication, and the current
location of the object
typically represent 'facts' about the object that need
to be determined and recorded manually
can be modelled as objects, attributes and/or
relationships in a traditional data model
Structural Metadata
describe the implementation, layout
spatial and temporal placement of objects within a document
presentation style of the media object
Language, length, presentation media
Multimedia
Metadata
Dublin Core
originally developed for description of text-based documents,
Mpeg-7
developed for description of streamed multimedia such as film
CIDOC/CRM
developed for description of museum artifacts
Dublin Core
• Metadata for Electronic
Documents
Metadata Type DC element
Semantic Title, Subject, Description, Type, Coverage
Context Creator, Contributor, Publisher, Date, Rights,
Source, Relation
Structural
1. TITLE Type,given
The name Format,
to theLanguage,
resource byIdentifier
the CREATOR or PUBLISHER. 2.
CREATOR The person(s) or organization(s) primarily responsible for the
intellectual content of the resource; the author. 3. SUBJECT The topic of the
resource; also keywords, phrases or classification descriptors that describe the
subject or content of the resource.
Dublin Core
4. DESCRIPTION A textual description of the content of the
resource, including abstracts in the case of document-like objects;
also may be a content description in the case of visual resources.
5. PUBLISHER The entity responsible for making the resource
available in its present form, such as a publisher, university
department or corporate entity. 6. CONTRIBUTORS Person(s)
or organization(s) in addition to those specified in the CREATOR
element, who have made significant intellectual contributions to
the resource but on a secondary basis. 7. DATE The date the
resource was made available in its present form. 8. TYPE The
resource type, such as home page, novel, poem, working paper,
technical report, essay or dictionary. It is expected that TYPE will
be chosen from an enumerated list of types.
3
Content Descriptors
Identification of The White House, US army fife and
objects in image drum corps
Color Cell-1 Cell-2 Cell-3 Cell-4 Cell-5 Cell-6 Cell-7 Cell-8 Cell-9
red - 1 - 1 5 1 20 20 -
green 40 2 30 89 20 85 70 75 70
blue 60 48 20 - - 1 - - 25
white - 49 50 10 75 13 5 5 5
Modelling
Multimedia Data in
media
SSM objects can be modelled as:
An attribute of an entity-type: ex. Person.picture or
Person.geographic_location
An entity-type: ex. Report with such attributes as {id, title,
keywords, summary, content}
A set of related entity-types: ex. Report consists of Media
Objects of text and image type.
Media Objects as
Attributes
Media Objects as
Ternary Relationship