This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2004-297258, filed on 12 Oct. 2004; the entire contents of which are incorporated herein by reference.
The present invention relates to a data structure of metadata for realizing a moving image hypermedia by combining moving image data existing in a client apparatus and metadata existing in the client apparatus or a server apparatus on a network and for displaying text or a balloon on a moving image, and relates to a reproduction apparatus of the metadata and a reproduction method of the same.
A hypermedia is such that a connection called a hyperlink is defined between media such as moving images, still images, audios and texts, and reference can be made mutually or from one to another. For example, in a homepage described in HTML which can be browsed using the Internet, texts and still pictures are arranged, and links are defined throughout the texts and the still pictures. When the link is specified, relevant information as a link destination can be immediately displayed. When an interesting expression is directly specified, access can be made to relevant information, and therefore, the operation is easy and intuitive.
On the other hand, in a hypermedia in which moving images, not texts and still pictures, are main, there is defined a link from an object, such as a person or a thing, appearing on the moving image to relevant content, such as a text or a still picture, for explaining it, and when a viewer specifies this object, the relevant content is displayed. At this time, in order to define the link between a spatio-temporal region of the object appearing on the moving image and its relevant content, data (object area data) expressing the spatio-temporal region of the object in the moving image is required.
As the object area data, it is possible to use a mask image series having a value of a binary value or higher, arbitrary shape coding of MPEG-4, a method of describing a trajectory of a feature point of a figure explained in patent document 1 (JP-A-2000-285253), a method explained in patent document 2 (JP-A-2001-111996), and the like. In order to realize the hypermedia in which the moving image is main, in addition to this, data (operation information) describing an operation to display other relevant content when an object is specified, and the like are required. These data other than the moving image are called metadata.
As a method of providing a moving image and metadata to a viewer, first, there is a method of producing a recording medium (video CD, DVD, etc.) in which both the moving image and the metadata are recorded. Besides, in order to provide the metadata of the moving image which has already been owned as a video CD or a DVD, only the metadata may be downloaded from a network or delivered by streaming. Further, both data of the moving image and the metadata may be delivered through a network. At this time, it is desirable that the metadata has such a format as to be capable of efficiently using a buffer, to be suitable for random access, and to be resistant to data loss in the network.
In the case where switching of the moving image frequently occurs (for example, in the case where moving images taken in plural camera angles are prepared, and the viewer can freely select the camera angle, such as a multi-angle video of a DVD video), the metadata must be switched at high rate correspondingly to the switching of the moving image.
Further, in order to assist a viewer in understanding the contents of moving pictures, it is necessary to plainly represent the contents of metadata to the viewer.
In the metadata relevant to the moving pictures owned by the viewer and delivered by streaming to the viewer through the network, or in the metadata owned by the viewer and reproduced, in order to assist the viewer in understanding the contents of the moving pictures, it is desired to plainly represent the contents of the metadata to the viewer.
Then, the invention has been made to solve the above problems.
According to an aspect of the invention, metadata includes one or plural access units each being a data unit which can be independently processed. Here, the access unit includes, as information relating to within an effective period defined with respect to a time axis of moving pictures, first data to specify the effective period, object area data describing a spatio-temporal region in the moving pictures, and balloon data to display relevant data of an object by a balloon, and the balloon data includes text data to be displayed in an inside of the balloon and to express contents of the object and position specifying data to specify a display position of the balloon.
The relevant data of the object is displayed by the balloon, so that a viewer can easily acquire information concerning the contents of the moving pictures, for example, what the object currently displayed on the screen is.
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(1) Outline of Application
Reference numeral 100 of
The data of the area 102 of the object, the operation data of a client apparatus in the case where this area is specified by clicking or the like, and the like will be collectively referred to as object metadata or Vclick data. The Vclick data may be recorded, together with the moving image data, on a local moving image data recording medium (optical disk, hard disk, semiconductor memory, etc.), or may be stored in a server on a network and transmitted to a client through the network.
In
Hereinafter, a detailed description will be given to how to realize the application.
(2) System Structure
Reference numeral 200 denotes a client apparatus; 201, a server apparatus; and 221, a network connecting the server apparatus and the client apparatus. The client apparatus 200 includes a motion picture reproduction engine 203, a Vclick engine 202, a disk device 230, a user interface 240, a network manager 208, and a disk device manager 213. Reference numerals 204 to 206 denote devices included in the motion picture reproduction engine; 207, 209 to 212, and 214 to 218, devices included in the Vclick engine; and 219 and 220, devices included in the server apparatus. The client apparatus 200 can reproduce moving image data existing in the disk device 230, and display documents described in markup language such as HTML. It is also possible to display documents in HTML or the like existing on the network. With respect to the Vclick data relating to the moving image data recorded on a moving image data recording medium 231, there is a case where the data, together with the moving image data, is recorded on the moving image data recording medium 231, and there is a case where the data is recorded on a metadata recording medium 219 of the server apparatus 201. In the case where the Vclick data exists in the server apparatus 201, the client apparatus 200 can perform reproduction using the Vclick data and the moving image data in the disk device 230 in a manner as described below. First, in response to a request from the client apparatus 200, the server apparatus 201 transmits media data M1 including the Vclick data to the client apparatus 200 through the network 221. The client apparatus 200 processes the transmitted Vclick data in synchronization with the reproduction of the moving image, and realizes additional functions such as a hypermedia.
The motion picture reproduction engine 203 is an engine for reproducing the moving image data existing in the disk device 230, and includes the devices 204, 205 and 206. Reference numeral 231 denotes a moving image data recording medium, and specifically denotes a DVD, a video CD, a video tape, a hard disk, a semiconductor memory or the like. Digital and/or analog moving image data are recorded on the moving image data recording medium 231. There is also a case where metadata relating to the moving image data, together with the moving image data, is recorded on the moving image data recording medium 231. Reference numeral 205 denotes a controller for moving image reproduction control and is constructed so as to be capable of controlling reproduction of video/audio/sub-video data D1 from the moving image data recording medium 231 according to a “control” signal outputted from the interface handler 207 of the Vclick engine 202.
Specifically, at the time of reproduction of the moving image, according to the “control” signal transmitted from the interface handler 207 when an event (for example, menu call or title jump by user instructions) occurs, the moving image reproduction controller 205 can output a “trigger” signal indicating the reproduction state of the video/audio/sub-video data D1 to the interface handler 207. At that time (simultaneously with the output of the trigger signal, or at a suitable timing before or after that), the moving image reproduction controller 205 can output a “status” signal indicating property information (for example, audio language set in a player, sub-video subtitle language, reproduction operation, reproduction position, various time information, content of a disk, etc.) to the interface handler 207. By the transmission/reception of these signals, it becomes possible to start and stop readout of the moving image data and to access a desired position in the moving image data.
The AV decoder 206 has functions to decode the video data, audio data and sub-video data recorded on the moving image data recording medium 231, and to output the decoded video data (obtained by synthesizing the foregoing video data and the foregoing sub-video data) and the audio data, respectively. By this, the motion picture reproduction engine 203 has the same function as a reproduction engine of a normal DVD video player manufactured based on existing DVD video standards. That is, the client apparatus 200 of
The interface handler 207 performs interface control between modules such as the motion picture reproduction engine 203, the disk device manager 213, the network manager 208, the metadata manager 210, the buffer manager 211, the script interpreter 212, the media decoder 216 (including the metadata decoder 217), the layout manager 215, and the AV render 218. Besides, an input event by a user operation (operation to an input device such as a mouse, touch panel, or a keyboard) is received from the user interface 240, and the event is transmitted to a suitable module.
The interface handler 207 includes an access table parser to interpret a Vclick access table (described later), an information file parser to interpret a Vclick information file (described later), a property buffer to record properties managed by the Vclick engine, a system clock of the Vclick engine, a moving image clock in which a clock of the moving image clock 204 in the motion picture reproduction engine is copied, and the like.
The network manager 208 has a function to acquire documents in HTML or the like and data such as still pictures and audios into the buffer 209 through the network, and controls the operation of an internet connection part 222. When instructions of connection or disconnection to the network are issued by the user operation or by the interface handler 207 receiving a request from the metadata manager 210, the network manager 208 switches between connection and disconnection of the internet connection part 222. Besides, when the network is established between the server apparatus 201 and the internet connection part 222, transmission/reception of the media data such as control data and Vclick data is performed. The media data includes the Vclick data, documents in HTML or the like, still picture and moving image data accompanying this, and the like.
Data transmitted from the client apparatus 200 to the server apparatus 201 include a request for session configuration, a request for session end, a request for transmission of metadata such as Vclick data, and status information such as an OK or an error. Besides, transmission of the state information of the client apparatus may be performed. On the other hand, data transmitted from the server apparatus to the client apparatus include the metadata such as the Vclick data, and the status information such as an OK or an error.
The disk device manager 213 has a function to acquire documents in HTML or the like and data such as still pictures and audios into the buffer 209, and a function to transmit the video/audio/sub-video data D1 to the motion picture reproduction engine 203. The disk device manager 213 performs data transmission processing in accordance with the instructions from the metadata manager 210.
The buffer 209 temporarily stores the media data M1 such as the Vclick data transmitted from the server apparatus 201 through the network (via the network manager). Also in the case where media data M2 is recorded on the moving image data recording medium 231, the media data M2 is similarly stored in the buffer 209 through the disk device manager.
In the case where the media data M2 is recorded on the moving image data recording medium 231, before the video/audio/sub-video data D1 is reproduced, the media data M2 is previously read out of the moving image data recording medium 231 and may be stored in the buffer 209. This becomes a measure to avoid a following disadvantage. That is, since a data storage position of the media data M2 on the moving image data recording medium 231 is different from that of the video/audio/sub-video data D1, in the case where normal reproduction is performed, a seek or the like of the disk occurs and seamless reproduction can not be ensured.
As stated above, the media data M1 such as the Vclick data downloaded from the server apparatus 201 is also stored in the buffer 209 similarly to the media data M2 such as the Vclick data recorded on the moving image data storage medium 231, so that it becomes possible to read and reproduce the video/audio/sub-video data D1 and the media data simultaneously.
Incidentally, the storage capacity of the buffer 209 has a limit. That is, the data size of the media data M1 and M2 which can be stored in the buffer 209 is limited. Thus, unnecessary data may be erased by the control (buffer control) of the metadata manager 210 and/or the buffer manager 211.
The metadata manager 210 manages the metadata stored in the buffer 209, and receives a suitable timing (“moving image clock” signal) synchronous to the reproduction of the moving image from the interface handler 207 and transfers the metadata having a pertinent time stamp from the buffer 209 to the media decoder 216.
Incidentally, in the case where the Vclick data having the pertinent time stamp does not exist in the buffer 209, transfer to the media decoder 216 may not be performed. The metadata manager 210 performs control to read data with a size of the Vclick data transmitted from the buffer 209 or an arbitrary size from the server apparatus 201 or the disk device 230 to the buffer 209. As a specific processing, the metadata manager 210 issues an acquisition request for Vclick data with a specified size to the network manager 208 or the disk device manager 213 via the interface handler 207. The network manager 208 or the disk device manager 213 reads the Vclick data with the specified size into the buffer 209, and notifies, via the interface handler 207, the metadata manager 210 that the Vclick data has been acquired.
The buffer manager 211 manages data (documents in HTML or the like, still picture and moving image data accompanying this, etc.) other than the Vclick data stored in the buffer 209, receives a suitable timing (“moving image clock” signal) synchronous to the reproduction of moving images from the interface handler 207, and transmits the data other than the Vclick data stored in the buffer 209 to the parser 214 or the media decoder 216. The buffer manager 211 may delete data which becomes unnecessary from the buffer 209.
The parser 214 performs parsing of documents written in markup language such as HTML, transmits a script to the script interpreter 212 and transmits information relating to a layout to the layout manager 215.
The script interpreter 212 interprets the script inputted from the parser 214 and executes it. In the execution of the script, an event inputted from the interface handler 207 and information of properties can also be used. In the case where an object in the moving image is specified by the user, the script is inputted from the metadata decoder 217 to the script interpreter 212.
The AV renderer 218 has a function to control video/audio/text output. Specifically, according to a “layout control” signal outputted from the layout manager 215, the AV renderer 218 controls, for example, a display position and a display size of video and text (in addition to these, a display timing and a display time may be included), and the loudness of an audio (in addition to this, an output timing and an output time may be included), and according to the kind of the specified motor and/or the kind of the video to be displayed, pixel conversion of the video is performed. The video/audio/text output as the object of the control is the output from the motion picture reproduction engine 203 and the media decoder 216. Further, the AV renderer 218 has a function to control mixing and switching of the video/audio data inputted from the motion picture reproduction engine 203 and the video/audio/text data inputted from the media decoder in accordance with an “AV output control” signal outputted from the interface handler 207.
The layout manager 215 outputs the “layout control” signal to the AV renderer 218. The “layout control” signal includes information relating to the size and position of the motion picture/still picture/text to be outputted (information relating to a display time such as a display start/end/continuation may be included), and is information to instruct the AV renderer 218 on the selection of a layout in which a display is carried out. Besides, with respect to the input information, such as clicking by the user, inputted from the interface handler 207, it is judged which object has been specified, and an instruction is given to the metadata decoder 217 to extract an operation instruction, such as displaying of relevant information, defined for the specified object. The extracted operation instruction is transmitted to the script interpreter 212 and is executed.
The media decoder 216 (including the metadata decoder) decodes the motion picture/still picture/text data. The decoded video data and text image data are transmitted from the media decoder 216 to the AV renderer 218. Besides, the decode data are decoded by the instruction of the “media control” signal from the interface handler 202, and are decoded in synchronization with the “timing” signal from the interface handler 202.
Reference numeral 219 denotes the metadata recording medium of the server apparatus, and is a hard disk, a semiconductor memory, a magnetic tape or the like on which the Vclick data to be transmitted to the client apparatus 200 is recorded. The Vclick data is the metadata relating to the moving image data recorded on the moving image data recording medium 231. The Vclick data includes object metadata described later. Reference numeral 220 denotes the network manager of the server, and performs transmission/reception of data to/from the client apparatus 200 through the network 221.
(3) EDVD Data Structure and IFO File
Here, the basic data structure of the DVD video disk will be described. That is, the recording area of the DVD video disk includes a lead-in area, a volume space and a lead-out area in sequence from the inner periphery. The volume space includes a volume/file structure information area and the DVD video area (DVD video zone), and can further include the other recording areas (DVD other zone) optionally.
The volume/file structure information area 2 is an area assigned for a UDF (Universal Disk Format) bridge structure. A volume of a UDF bridge format is recognized in accordance with part 2 of ISO/IEC13346. A space in which the volume is recognized is made up of continuous sectors, and starts from the first logical sector of the volume space of
Besides, management information called a video manager VMG, and at least one video content called video title set VTS (VTS#1 to VTS#n) are recorded in the DVD video area. The VMG is the management information for all video title sets VTS existing in the DVD video area, and includes control data VMG1, VMG menu data VMGM_VOBS (option) and backup data of VMG. Besides, each video title set VTS includes control data VTS1 of the VTS, VTS menu data VTSM_VOMS (option), data VTSTT_VOBS of content (movie, etc.) of the VTS (title), and backup data of the VTS1. In order to guarantee the compatibility with the conventional DVD video standards, the DVD video area with such contents also becomes necessary.
Reproduction selection menu and the like of each title (VTS#1 to VTS#n) is previously given using the VMG by a provider (producer of the DVD video disk). A reproduction chapter selection menu in a specific title (for example, VTS#1), a reproduction procedure of recording content (cell) and the like are previously given using the VTSI by the provider. Accordingly, a viewer (user of the DVD video player) of the disk can enjoy the recorded content of the disk 1 in accordance with the menu of the VMG/VTS1 previously prepared by the provider and the reproduction control information (program chain information PGCI) in the VTSI. However, in the DVD video standards, the viewer (user) can not reproduce the content (movie or music) of the VTS by a method different from the VMG/VTSI prepared by the provider.
The enhanced DVD video disk of
The ENAV content is constructed to include data such as an audio, still picture, font and text, motion picture, animation and Vclick data, and an ENAV document (this is described in Markup/Script language) as information to control the reproduction of these. In the information to control the reproduction, a reproduction method (display method, reproduction procedure, reproduction switching procedure, selection of reproduction object, etc.) of the ENAV content (including audio, still picture, font/text, motion picture, animation, Vclick data and the like) and/or the DVD video content is described in markup language or Script language. For example, HTML (Hyper Text Markup Language)/XHTML (extensible Hyper Text Markup language) or SMIL (Synchronized Multimedia Integration Language) as the Markup language, and ECMA (European Computer Manufactures Association) Script or Java Scrip as the Script language can be used while they are combined.
Here, in the enhanced DVD video disk of
Especially, as shown in
The Vclick information file is data indicating that an after-mentioned Vclick stream is added to which part of the DVD video content (for example, the whole title of the DVD video content, the whole chapter, or a part thereof). The Vclick access table exists for each of the after-mentioned Vclick streams, and is a table for accessing the Vclick stream. The Vclick stream is a stream including position information of an object in a moving image and data such as an operation description at a time when the object is clicked. The Vclick information file backup is the backup of the foregoing Vclick information file, and always has the same content as the Vclick information file. The Vclick access table backup is the backup of the foregoing Vclick access table, and always has the same content as the Vclick access table. In the example of
The relation between position information (relative byte size from the head of a file) of the Vclick stream and time information (time stamp of the corresponding moving image or relative time information from the head of the file) is described in the Vclick stream file, and a reproduction start position corresponding to a given time can be retrieved.
The Vclick stream is constructed of one or more files (VCKSTR01.VCK to VCKSTR99.VCK or arbitrary file names) and can be reproduced, together with the added DVD video content, by referring to the description of the Vclick information file. In the case where plural attributes exist (for example, Vclick data for Japanese and Vclick data for English, etc.), it is also possible to construct the Vclick stream different for each of the attributes, that is, different files. Further, the respective attributes are multiplexed, and one Vclick stream, that is, one file can be constructed. Incidentally, in the case of the former (the different attributes are constructed of the plural Vclick streams), buffer occupation capacity at the time when it is once stored in a reproducing apparatus (player) can be decreased. In the case of the latter (the different attributes are constructed of one Vclick stream), when the attribute is switched, since the one file may be kept being reproduced without switching the file, the switching rate can be made high.
Here, the association of the Vclick stream and the Vclick access table can be performed by, for example, the file name. In the foregoing example, one Vclick access table (VCKSTRXX.IFO, XX is 01 to 99) is assigned to one Vclick stream (VCKSTRXX.VCK, XX OS 01 TO 99), and when the file names except extensions are made identical to each other, the association of the Vclick stream and the Vclick access table becomes recognizable.
In addition to this, when the association of the Vclick stream and the Vclick access table is described in the Vclick information file (described in parallel), the association of the Vclick stream and the Vclick access table becomes recognizable.
The Vclick information file backup is constructed of a VCKINDEX.BUP file, and has quite the same content as the Vclick information file (VCKINDEX.IFO). In the case where the VCKINDEX.IFO can not be read because of some reason (because of scratch, dust or the like of the disk), the VCKINDEX.BUP is read instead, so that a desired procedure can be performed. The Vclick access table backup is constructed of VCKSTR01.BUP to VCKSTR99.BUP files, and has quite the same content as the Vclick access table (VCKSTR01.IFO to VCKSTR99.IFO). One Vclick access table backup (VCKSTRXX.BUP, XX is 01 to 99) is assigned to one Vclick access table (VCKSTRXX.IFO, XX is 01 to 99), and when the file names except the extensions are identical to each other, the association of the Vclick access table and the Vclick access table backup becomes recognizable. In the case where the VCKSTRXX.IFO can not be read because of some reason (because of scratch, dust or the like of the disk), the VCKSTRXX.BUP is read instead, so that a desired procedure can be performed.
(4) Outline of Data Structure and Access Table
The Vclick stream includes data relating to an area of an object, such as a person or a thing, appearing on a moving image recorded on the moving image data recording medium 231, and data of a display method of an object in the client apparatus 200 and an operation to be performed by the client apparatus when the object is specified. Hereinafter, the structure of the Vclick data and the outline of its structural element will be described.
First, the object area data as the data relating to the area of the object, such as the person or the thing, appearing on the moving image will be described.
Reference numeral 401 denotes a header of the Vclick_AU. The header 401 includes an ID for identifying the Vclick_AU, and data for specifying the data size of the AU. Reference numeral 402 denotes a time stamp, and denotes the time stamp of an effective period start of the Vclick_AU. In general, since the active period of the Vclick_AU and the effective period thereof are equal to each other, it also indicates that the object area described in the object area data 400 corresponds to which time in the moving image. As shown in
In
Although the temporal separator of each Vclick_AU may be arbitrary, as exemplified in
Since there is a high possibility that the selected camera angle is changed by the user during viewing, it is better to form the Vclick stream by multiplexing the Vclick_AUs with different camera angles in the Vclick stream. This is because display switching at high speed can be performed in the client apparatus. For example, when the Vclick data is placed in the server apparatus 201, and when the Vclick stream including the Vclick_AUs of the plural camera angles are transmitted to the client apparatus as it is, since the Vclick_AU corresponding to the camera angle during viewing is always sent to the client apparatus, switching of the cameral angle can be instantaneously performed. Of course, setting information of the client apparatus 200 is sent to the server apparatus 201, and only necessary Vclick_AU is selected from the Vclick stream and can be transmitted. However, in this case, since it is necessary to perform communication with the server, the processing becomes somewhat slow (however, when a high speed measure such as an optical fiber is used for the communication, the problem of the processing delay can be solved).
On the other hand, since the attributes such as the moving image title, PGC of DVD video, an aspect ratio of the moving image, and a viewing region have a low frequency of change, when they are prepared as separate Vclick streams, the processing of the client apparatus becomes light, and the load of the network also becomes light. In the case where plural Vclick streams exist, as described before, by referring to the Vclick information file, it is possible to determine which Vclick stream should be selected.
In the case where the Vclick data exists in the server apparatus 201, and in the case where the moving image is reproduced from the head, the server apparatus 201 has only to deliver the Vclick stream in sequence from the head to the client apparatus. However, in the case where random access occurs, it is necessary to deliver the data from the middle of the Vclick stream. At this time, in order to access a desired position in the Vclick stream at high speed, it becomes necessary to provide a Vclick access table.
The Vclick access table is stored in the server apparatus, and is provided to help the server apparatus to retrieve the Vclick data to be transmitted according to the random access from the client. However, the Vclick access table stored in the server apparatus is downloaded to the client apparatus, and the client apparatus may be made to search the Vclick stream. Especially, in the case where the Vclick stream is downloaded from the server apparatus to the client apparatus at once, the Vclick access table is also downloaded from the server apparatus to the client apparatus at once.
On the other hand, there is also a case where the Vclick stream is recorded on a moving image recording medium such as a DVD and is provided. Also in this case, in order to retrieve data to be used according to the random access of reproduction content, it is effective that the client apparatus uses the Vclick access table. In this case, similarly to the Vclick stream, the Vclick access table is recorded on the moving image recording medium, and the client apparatus reads the Vclick access table from the moving image recording medium into the inner main storage or the like and uses it.
The random reproduction of the Vclick stream which is produced in connection with the random reproduction of the moving image, is processed by the metadata decoder 217. In the Vclick access table of
In the Vclick access table of
i) The position indicated by “offset” is a head position of a certain Vclick_AU.
ii) The value of a time stamp of the certain AU is not larger than a value of the time stamp “time”.
iii) The value of the time stamp of an AU one before the certain AU is truly smaller than the time stamp “time”.
The arrangement intervals of the time stamps “time” in the Vclick access table may be arbitrary, and are not required to be uniform. However, in view of convenience of retrieval or the like, they may be made uniform.
Next, a protocol between the server apparatus and the client apparatus will be described. As the protocol used when the Vclick data is transmitted from the server apparatus 201 to the client apparatus 200, there is, for example, an RTP (Real-time Transport Protocol). The RTP is compatible with UDP/IP, and importance is attached to real-time properties, so that there is a possibility that a packet is lost. When the RTP is used, the Vclick stream is divided into transmission packets (RTP packets) and is transmitted. Here, an example of a storage method of the Vclick stream into the transmission packet will be described.
On the other hand,
As a protocol other than the RTP, HTTP (Hypertext Transport Protocol) or HTTPS can be used. The HTTP is compatible with TCP/IP, and in this case, since missing data is retransmitted, highly reliable data communication can be performed. However, in the case where a throughput of the network is low, there is a fear that a data delay occurs. Since data is not dropped in the HTTP, it is not necessary to consider how the Vclick stream is divided into packets and is stored.
(5) Reproduction Procedure in a Case where Vclick Data Exists in the Server Apparatus
Next, a procedure of a reproduction processing in a case where a Vclick stream exists in the server apparatus 201 will be described.
Here, it is assumed that the address of the server to deliver data corresponding to the moving image to be reproduced is previously known to the client by a method of, for example, recording the address information on the moving image data recording medium. In response to this, the server apparatus sends the information of the Vclick data to the client apparatus. Specifically, information such as a protocol version of the session, session owner, session name, connection information, time information of the session, metadata name, and metadata attribute is sent to the client apparatus. As an information description method of these, for example, SDP (Session Description Protocol) is used. Next, the client apparatus requests the server apparatus to configure the session (SETUP method of RTSP). The server apparatus prepares the streaming, and returns a session ID to the client apparatus. The processing up to this point is the processing of step S3702 in the case where the RTP is used.
The communication procedure in the case where the HTTP, not the RTP, is used is performed as shown in, for example,
At step S3703, in a state where a session between the server apparatus and the client apparatus is configured, the processing of requesting the server to transmit the Vclick data is performed. This is performed in such a way that the interface handler issues an instruction to the network manager 208, and the network manager 208 issues a request to the server. In the case of the RTP, the network manager 208 sends a PLAY method of RTSP to the server, and requests the Vclick data transmission. The server apparatus refers to the information received from the client up to now and the Vclick info existing in the server apparatus, and specifies the Vclick stream to be transmitted. Further, the server apparatus uses time stamp information of the reproduction start position included in the Vclick data transmission request and the Vclick access table existing in the server apparatus to specify the transmission start position in the Vclick stream, divides the Vclick stream into packets, and sends them to the client apparatus by the RTP.
On the other hand, in the case of the HTTP, the network manager 208 transmits the GET method of the HTTP, and requests Vclick data transmission. This request may include information of the time stamp of the reproduction start position of the moving image. The server apparatus specifies the Vclick stream to be transmitted and the transmission start position in the stream by a similar method to the time of the RTP, and sends the Vclick stream to the client apparatus by the HTTP.
Next, at step S3704, a processing of buffering the Vclick stream sent from the server into the buffer 209 is performed. This is performed to avoid such a state that the Vclick stream transmission from the server becomes insufficient during the reproduction of the Vclick stream, and the buffer becomes empty. When it is notified from the metadata manager 210 to the interface handler that the sufficient Vclick stream is stored in the buffer, the processing proceeds to step S3705. At step S3705, the interface handler issues a reproduction start instruction of the moving image to the controller 205, and instructs the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder 217.
At step S3806, the processing of decoding the Vclick stream in synchronization with the moving image during reproduction is performed. That is, when receiving from the metadata manager 210 the notification that a fixed amount of Vclick stream is stored in the buffer, the interface handler 207 instructs the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder. The metadata manager 210 receives the time stamp of the moving image during reproduction from the interface handler, specifies the Vclick_AU corresponding to the time stamp from the data stored in the buffer, and transmits it to the metadata decoder.
In the processing procedure of
During the reproduction of the moving image, the network manager 208 of the client apparatus receives the Vclick stream sequentially sent from the server apparatus, and stores it in the buffer 209. The stored object metadata is sent to the metadata decoder 217 at a suitable timing. That is, the metadata manager 208 refers to the time stamp of the moving image during reproduction sent from the metadata manager 210, specifies the Vclick_AU corresponding to the time stamp from the data stored in the buffer 209, and sends the specified object metadata to the metadata decoder 217 in AU units. The metadata decoder 217 decodes the received data. However, data for a camera angle different from a camera angle presently selected by the client apparatus may be made not to be decoded. In the case where it is known that the Vclick_AU corresponding to the time stamp of the moving image during reproduction exists in the metadata decoder 217, the object metadata may be made not to be sent to the metadata decoder.
The time stamp of the moving image during reproduction is sequentially sent from the interface handler to the metadata decoder 217. The metadata decoder decodes the Vclick_AU in synchronization with the time stamp, and sends necessary data to the AV renderer 218. For example, in the case where the display of the object area is instructed by the attribute information described in the Vclick_AU, a mask image and a contour of the object area are created, and are sent to the AV renderer 218 in synchronization with the time stamp of the moving image during reproduction. Besides, the metadata decoder compares the time stamp of the moving image during reproduction with the effective time of the Vclick_AU to judge old object metadata which is unnecessary, and deletes the data.
Step S3902 is a processing to disconnect the session with the server. In the case where the RTP is used, as shown in
(6) Random Access Procedure in a Case where Vclick Data Exists in the Server Apparatus
Next, a procedure of random access reproduction in a case where the Vclick stream exists in the server apparatus 201 will be described.
Next, at step S4004, in the state where the session between the server apparatus and the client apparatus is configured, the time stamp of the reproduction start position is specified for the server, and a processing to request Vclick data transmission is performed. This is performed in such a manner that the interface handler issues the instruction to the network manager 208, and the network manager 208 issues the request to the server. In the case of the RTP, the network manager 208 sends the PLAY method of the RTSP to the server, and requests the Vclick data transmission. At this time, the time stamp to specify the reproduction start position is also sent to the server by a method of using a Range description. The server apparatus refers to the information received from the client up to now and the Vclick info existing in the server apparatus, and specifies the object metadata stream to be transmitted. Further, the server apparatus uses the time stamp information of the reproduction start position included in the Vclick data transmission request and the Vclick access table existing in the server apparatus to specify the transmission start position in the Vclick stream, divides the Vclick stream into packets, and sends them to the client apparatus by the RTP.
On the other hand, in the case of the HTTP, the network manager 208 transmits the GET method of the HTTP, and requests the Vclick data transmission. This request includes information of the time stamp of the reproduction start position of the moving image. Similarly to the RTP, the server apparatus refers to the Vclick information file to specify the Vclick stream to be transmitted, and further uses the time stamp information and the Vclick access table existing in the server apparatus to specify the transmission start position in the Vclick stream, and sends the Vclick stream to the client apparatus by the HTTP.
Next, at step S4005, a processing of buffering the Vclick stream sent from the server into the buffer 209 is performed. This is performed in order to avoid such a state that the Vclick stream transmission from the server becomes insufficient during the reproduction of the Vclick stream, and the buffer becomes empty. When it is notified to the interface handler from the metadata manager 210 that the sufficient Vclick stream is stored in the buffer, the processing proceeds to step S4006. At step S4006, the interface handler issues the reproduction start instruction of the moving image to the controller 205, and further issues the instruction to the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder.
On the other hand, in the processing procedure of
At step S4107, a processing of decoding the Vclick stream is performed in synchronization with the moving image during reproduction. That is, when receiving from the metadata manager 210 a notification that a fixed amount of Vclick stream is stored in the buffer, the interface handler 207 instructs the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder. The metadata manager 210 receives the time stamp of the moving image under reproduction from the interface handler, specifies the Vclick_AU corresponding to this time stamp from the data stored in the buffer, and transmits it to the metadata decoder.
In the processing procedure of
Incidentally, since the processing during the reproduction of the moving image and the moving image stop processing are the same as the case of the normal reproduction processing, their explanation will be omitted.
(7) Reproduction Procedure in a Case where Vclick Data Exists in the Client Apparatus
Next, a procedure of a reproduction processing in a case where the Vclick stream exists in the moving image data recording medium 231 will be described.
At step S4202, a processing of storing the Vclick stream in the buffer is performed. In order to perform this processing, the interface handler 207 first instructs the metadata manager 210 to allocate the buffer. Although the size of the buffer to be allocated is determined to be a sufficient size to store the specified Vclick stream, in general, a buffer initializing document describing this size is recorded on the moving image data recording medium 231. In the case where there is no initializing document, a previously determined size is applied. When the allocating of the buffer is completed, the interface handler 207 issues an instruction to the controller 205 to read the specified Vclick stream and to store it in the buffer.
When the Vclick stream is stored in the buffer, the reproduction start processing at step S4203 is next performed. At this processing, the interface handler 207 issues an reproduction instruction of a moving image to the moving image reproduction controller 205, and simultaneously issues an instruction to the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder.
During the reproduction of the moving image, the Vclick_AU read from the moving image data recording medium 231 is stored in the buffer 209. The stored Vclick stream is sent to the metadata decoder 217 at a suitable timing. That is, the metadata manager 208 refers to the time stamp of the moving image during reproduction sent from the metadata manager 210, specifies the Vclick_AU corresponding to the time stamp from the data stored in the buffer 209, and sends this specified Vclick_AU to the metadata decoder 217. The metadata decoder 217 decodes the received data. However, the data for a camera angle different from a camera angle presently selected by the client apparatus may not be decoded. In the case where it is known that the Vclick_AU corresponding to the time stamp of the moving image during reproduction already exists in the metadata decoder 217, the Vclick stream may not be sent to the metadata decoder.
The time stamp of the moving image during reproduction is sequentially sent from the interface handler to the metadata decoder 217. The metadata decoder decodes the Vclick_AU in synchronization with the time stamp, and sends necessary data to the AV renderer 218. For example, in the case where the display of an object area is instructed by attribute information described in the AU of the object metadata, a mask image and a contour of the object area are created and are sent to the AV renderer 218 in synchronization with the time stamp of the moving image during reproduction. Besides, the metadata decoder compares the time stamp of the moving image during reproduction with the effective time of the Vclick_AU, judges old Vclick_AU which is unnecessary, and deletes the data.
When a reproduction stop is instructed by the user during the reproduction of the moving image, the interface handler 207 issues the stop instruction of the moving image reproduction and the stop instruction of the readout of the Vclick stream to the controller 205. By the instructions, the reproduction of the moving image is ended.
(8) Random Access Procedure in a Case where Vclick Data Exists in the Client Apparatus
Next, a processing procedure of random access reproduction in a case where a Vclick stream is on the moving image data recording medium 231 will be described.
Next, at step S4301, a processing of specifying a Vclick stream to be used is performed. At this processing, the interface handler refers to the Vclick information file on the moving image data recording medium 231, and specifies the Vclick stream corresponding to the moving image whose reproduction is instructed by the user. Further, the interface handler refers to the Vclick access table on the moving image data recording medium 231 or the Vclick access table read onto the memory, and specifies the access point in the Vclick stream corresponding to the random access destination of the moving image.
Step S4302 is a branch processing, and it is judged whether the specified Vclick stream is read in the buffer 209 at present. In the case where it is not read in the buffer, after the processing of step S4303 is performed, the processing proceeds to step S4304. In the case where it is read in the buffer at present, the processing of step S4303 is not performed, and the processing proceeds to step S4304. At step S4304, the random access reproduction of the moving image is started, and the decoding of the Vclick stream is started. At this processing, the interface handler 207 issues the random access reproduction instruction of the moving image to the moving image reproduction controller 205, and simultaneously issues the instruction to the metadata manager 210 to start the transmission of the Vclick stream to the metadata decoder. Thereafter, the decoding processing of the Vclick stream is performed in synchronization with the reproduction of the moving image. Since the processing during the moving image reproduction and the moving image reproduction stop processing are the same as the case of the normal reproduction processing, their explanation will be omitted.
(9) Procedure from Click to Display of Relevant Information
Next, an operation of the client apparatus in a case where the user uses a pointing device such as a mouse to click an object area will be described. When the user clicks, a clicked coordinate position on the moving image is inputted to the interface handler 207. The interface handler sends the time stamp and the coordinate of the moving image at the time of the click to the metadata decoder 217. From the time stamp and the coordinate, the metadata decoder performs a processing to identify an object indicated by the user.
The metadata decoder decodes the Vclick stream in synchronization with the reproduction of the moving image. Accordingly, since the area of the object of the time stamp at the time of the click is produced, this processing can be easily performed. In the case where plural object areas exist at the clicked coordinate, reference is made to layer information included in the Vclick_AU, and the most forward object is identified.
When the object specified by the user is identified, the metadata decoder 217 sends an action description (script to indicate an operation) described in the object attribute information 403 to the script interpreter 212. The script interpreter having received the action description interprets the operation content and executes it. For example, the specified HTML file is displayed, or the reproduction of the specified moving image is started. The HTML file and the moving image data may be recorded in the client apparatus 200, may be sent from the server apparatus 201 through the network, or may exist in another server on the network.
(10) Details of Data Structure
Next, a more specific structural example of a data structure will be described. As described in
“vclick_version” denotes the start of the header of the Vclick stream, and specifies a version of a format; and
“vclick_length” denotes, in bytes, the data length of a portion after “vclick_length” in the Vclick stream.
Next, the detailed data structure of the Vclick AU will be described. The rough data structure of the Vclick AU is as described in
“vau_start_code” denotes the start of each of the Vclick_AUs;
“vau_length” denotes, in bytes, the data length of a portion after “vau_length” in the header of the Vclick_AU;
“vau_id” denotes an identification ID of the Vclick_AU, and it is judged by parameters expressing the state of the client apparatus and this ID whether the Vclick_AU should be decoded;
“object_id” denotes an identification number of an object described in the Vclick data, and in the case where the same value of “object_id” is used in two Vclick_AUs, both semantically denote data for the same object;
“object_subid” denotes semantic continuity of the object, and in the case where both “object_id” and “object_subid” are the same in two Vclick_AUs, it is meant that both are continuous (appearing on the same scene and identical) objects;
“continue_flag” denotes a flag (In the case where the first one bit is “1”, it indicates that the object area described in the Vclick_AU is continuous with the object area described in the former Vclick_AU having the same object_id. In the case of not, this flag becomes “0”. Similarly, the second bit indicates the continuity of the object area described in the Vclick_AU and the object area described in the next Vclick_AU and having the same “object_id”.); and
“layer” denotes a layer value of an object. When the layer value is large (or small), it is meant that the object is positioned forward on the screen. In the case where plural objects exist in the clicked place, it is judged that the object having the largest (or smallest) layer value is clicked.
“time_type” denotes the start of the time stamp for the DVD;
“VTSN” denotes a VTS (Video Title Set) number of the DVD video;
“TTN” denotes a title number in a title domain of the DVD video, and corresponds to a value stored in a system parameter SPRM (4) of the DVD player;
“VTS_TTN” denotes a VTS title number in the title domain of the DVD video, and corresponds to a value stored in a system parameter SPRM (5) of the DVD player;
“TT_PGCN” indicates a title PGC (Program Chain) number in the title domain of the DVD video, and corresponds to a value stored in a system parameter SPRM (6) of the DVD player;
“PTTN” denotes a partial title (Part_of_Title) number of the DVD video, and corresponds to a value stored in a system parameter SPRM (7) of the DVD player;
“CN” denotes a cell number of the DVD video;
“AGLN” denote an angle number of the DVD video; and
“PTS[s . . . e]” denotes data from an sth bit to an eth bit in the display time stamp of the DVD video.
“time_type” denotes a start of the time stamp skip.
“attribute_length” denotes, in bytes, the data length of a portion after “attribute_length” in the object attribute information; and
“data_bytes” denotes a data part of the object attribute information. One or plural attribute data shown in
An attribute belonging to a “text” category defines an attribute relating to a character to be displayed when the character is desired to be displayed on a moving image. A text to be displayed is described in “text information”. A “text attribute” specifies attributes of a color, a font and the like of a text to be displayed. A “highlight effect” attribute specifies what character is highlight-displayed in what way when part of or all of the text is highlight-displayed. A “blinking effect” attribute specifies what character is blink-displayed in what way when part of or all of the text is blink-displayed. In a “scroll effect” attribute, it is described in which direction and at what speed scrolling is performed when a text to be displayed is scrolled. In a “karaoke effect” attribute, it is specified that when a color of a text is sequentially changed, a color of which character should be changed at what timing. Finally, a “layer extension” attribute is used to define a timing of a change of a layer value and its value in a case where the layer value of an object is changed in the Vclick_AU. The data structures of the above attributes will be respectively described below.
“attribute_id” denotes a type of attribute data, and this value is made 00h with respect to the name attribute;
“data_length” denotes, in bytes, a data length after “data_length” of the name attribute data;
“language” denotes a language used for description of following elements (name and annotation), and ISO-639 ┌code for the representation of names of languages┘ is used for specifying the language;
“name_length” denotes, in bytes, a data length of a “name” element;
“name” denotes a character string, and expresses the name of the object described in this Vclick_AU;
“annotation_length” denotes a data length of an “annotation” element; and
“annotation” denotes a character string, and expresses an annotation relating to the object described in the Vclick_AU.
“attribute_id” denotes a type of attribute data, and this value is made 01h with respect to the “action” attribute;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the action attribute data;
“script_language” denotes a kind of a script language described in a “script” element;
“script_length” denotes a data length of a “script” element in byte units; and
“script” denotes a character string, and an action to be executed in the case where an object described in the Vclick_AU is specified by the user is described in the script language specified by “script_language”.
“attribute_id” denotes a type of an attribute, and this value is made 02h with respect to the contour attribute;
“data_length” denotes a data length of a portion after “data_length” in the contour attribute data;
“color_r”, “color_g”, “color_b” and “color_a” denote display colors of a contour of an object described in the object metadata AU;
“color_r”, “color_g” and “color_b” respectively denote values of red, green, and blue in an RGB expression of colors, and “color_a” denotes transparency;
“line_type” denotes the kind (solid line, broken line, etc.) of a contour of an object described in the Vclick_AU; and
“thickness” denotes the thickness of a contour of an object described in the Vclick_AU.
“attribute_id” denotes the type of attribute data, and this value is made 03h with respect to the blinking area attribute data;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the blinking area attribute data;
“color_r”, “color_g”, “color_b” and “color_a” denote display colors of an area of the object described in the Vclick_AU (“color_r”, “color_g”, “color_b” respectively denotes values of red, green and blue in the RGB expression of colors. On the other hand, “color_a” denotes transparency. Blinking of the object area is realized by alternately displaying the color specified in the filled-in area attribute and the color specified by this attribute); and
“interval” denotes a time interval of blinking.
“attribute_id” denotes the type of attribute data, and this value is made 04h with respect to mosaic area attribute data;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in mosaic area attribute data;
“mosaic_size” denotes the size of a mosaic block in pixel units; and
“randomness” denotes the degree of random exchange in a case where positions of mosaicked blocks are exchanged.
“attribute_id” denotes the type of attribute data, and this value is made 05h with respect to the filled-in area attribute data;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the filled-in attribute data; and
“color_r”, “color_g”, “color_b” and “color_a” denote display colors of an object area described in the Vclick_AU, and “color_r”, “color_g” and “color_b” respectively denote values of red, green and blue in the RGB expression of colors, and on the other hand, “color_a” denotes transparency.
“attribute_id” denotes the type of attribute data, and this value is made 06h with respect to the text information of the object;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the text information of the object;
“language” denotes a language of a described text, and as a designation method of the language, for example, ISO-639 “code for the representation of names of languages” can be used;
“char_code” denotes the code kind of a text, and for example, UTF-8, UTF-16, ASCII or Shift JIS is specified;
“direction” denotes a left direction, a right direction, a lower direction, or an upper direction as a direction in which characters are arranged (For example, in English or French, characters are normally arranged in the left direction. On the other hand, in Arabic, characters are arranged in the right direction, and in Japanese, they are arranged in the left direction or the lower direction. However, a direction other than the arrange direction determined for each language may be specified. Besides, an oblique direction may be specified.):
“text_length” denotes, in bytes, a length of “timed text”; and
“text” denotes a character string, and denotes a text described using the character code specified by “char_code”.
“attribute_id” denotes the type of attribute data, and this value is made 07h with respect to the text attribute of the object;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the text attribute of the object;
“font_length” denotes a description length of a font in byte units;
“font” denotes a character string, and specifies a font used when a text is displayed; and
“color_r”, “color_g”, “color_b” and “color_a” denote display colors used when a text is displayed. A color is expressed by RGB, and “color_r”, “color_g” and “color_b” respectively denote values of red, green and blue, and “color_a” denotes transparency.
“attribute_id” denotes the type of attribute data, and this value is made 08h with respect to the text highlight effect attribute data of the object;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the text highlight effect attribute data of the object;
“entry” denotes the number of “highlight_effect_entry” in the text highlight effect attribute data; and
“highlight_entries” includes an “entry” number of “highlight_effect_entry”.
The specification of “highlight_effect_entry” will be described next.
“start_position” denotes a start position of a character to be emphasized by the number of characters from the head to the character;
“end_position” denotes an end position of the character to be emphasized by the number of characters from the head to the character; and
“color_r”, “color_g”, “color_b” and “color_a” denote display colors of the character after emphasis. A color is expressed by RGB. Besides, “color_r”, “color_g” and “color_b” respectively denote values of red, green and blue, and “color_a” denotes transparency.
“attribute_id” denotes the type of attribute data, and this value is made 09h with respect to the blinking effect attribute data of the object;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the text blinking effect attribute data;
“entry” denotes the number of “blink_effect_entry” in the text blinking effect attribute data; and
“blink_entries” includes an “entry” number of “blink_effect_entry”.
The specification of “blink_effect_entry” will be described below.
“start_position” denotes a start position of a character to be blinked by the number of characters from the head to the character;
“end_position” denotes an end position of the character to be blinked by the number of characters from the head to the character;
“color_r”, “color_g”, “color_b” and “color_a” denote display colors of a blinking character (A color is expressed by RGB. Besides, “color_r”, “color_g” and “color_b” respectively denote values of red, green and blue, and “color_a” denote transparency. The color specified here and the color specified by the text attribute are alternately displayed so that the character is blinked.): and
“interval” denotes a time interval of blinking.
“attribute_id” denotes the type of attribute data, and this value is made 0ah with respect to the text scroll effect attribute data of the object;
“data_length” denotes a data length of a portion after “data_length” in the text scroll effect attribute data in byte units;
“direction” denotes a direction in which characters are scrolled, and for example, 0 denotes a direction from right to left, 1 denotes a direction from left to right, 2 denotes a direction from upper to down, and 3 denotes a direction from lower to upper; and
“delay” denotes a scrolling speed expressed by a time difference between the display of a first character to be displayed and the display of a final character.
“attribute_id” denotes the type of attribute data, and this value is made 0bh with respect to the text karaoke effect attribute data of the object;
“data_length” denotes a data length of a portion after “data_length” in the text karaoke effect attribute data in byte units;
“start_time” denotes a change start time of a character color of a character string specified by the first “karaoke_effect_entry” included in “data_bytes” of the attribute data;
“entry” indicates the number of “karaoke_effect_entry” in the text karaoke effect attribute data; and
“karaoke_entries” includes an “entry” number of “karaoke_effect_entry”.
The specification of “karaoke_effect_entry” will be described next.
“end_time” denotes a change end time of a character color of a character string specified by this entry, and in the case where there is an entry subsequent to this entry, it also denotes a change start time of a character color of a character string specified by the next entry;
“start_position” denotes a position of a first character of a character string in which a character color is to be changed by the number of characters from the head to the character; and
“end_position” denotes a position of a final character of the character string in which the character color is to be changed by the number of characters from the head to the character.
“data_length” denotes a data length of a portion after “data_length” in the layer attribute extension data in byte units;
“start_time” denotes a start time when a layer value specified by the first “layer_extension_entry” included in “data_bytes” of the attribute data becomes effective;
“entry” denotes the number of “layer_extension_entry” included in the layer attribute extension data; and
“layer_entries” includes an “entry” number of “layer_extension_entry”.
The specification of “layer_extension_entry” will be described next.
“end_time” denotes a time when a layer value specified by “layer_extension_entry” becomes ineffective, and in the case where there is also an entry next to this entry, it also simultaneously denotes a time when a layer value specified by the next entry becomes effective; and
“layer” denotes a layer value of the object.
“vcr_start_code” denotes a start of object area data;
“data_length” denotes, in bytes, a data length of a portion after “data_length” in the object area data; and
“data_bytes” denotes a data part in which the object area is described. For example, a binary format of “SpatioTemporalLocator” of MPEG-7 can be used for the description of the object area.
(11) Balloon Display
When relevant data of an object currently existing on a screen is displayed as a balloon to a viewer appreciating moving pictures, the viewer can easily understand the contents of the moving pictures. For example, when a soccer relay broadcast is appreciated, in a moving image obtained by photographing the whole field, since each player is displayed to be very small on a screen, there is a case where it is difficult to visually identify who shot.
In such a scene, when the name of a player on the screen is displayed as a balloon, the viewer can easily identify the player. A description will be given to a data structure of metadata in which a balloon is added as attribute information of an object, and a display method of the balloon on the basis of the data.
(11-1) Data Structure Relating to Balloon Display
“attribute_id” designates the type of attribute data, and this value for the balloon attribute is 0dh; and
“layer_id” designates the display order of the balloon. When there are plural objects on a screen at the same time, a balloon with smaller “layer_id” is displayed forward. Accordingly, when objects are close to each other or many objects exist, in the case where the balloons overlap with each other, there is a possibility that a balloon with large “layer_id” is partially or wholly hidden by another balloon with smaller “layer_id”. A producer of a moving image or metadata can add the order of priority in order of desire of presentation to a viewer.
Further, “text_length” designates the byte length of a character string displayed in the inside of a balloon;
“text_data” designates a character code of the character string to be displayed in the inside of the balloon, and the data length is “text_length” bytes;
“text_font” designates the kind of a font of the character string to be displayed in the inside of the balloon;
“text_size” designates the size of a character to be displayed in the inside of the balloon, and for example, a designation method uses a dot number such as a 20-point size; and
“display_mode_id” designates a balloon display method. When the value is 1, that indicates that the balloon display position is previously designated, and after-mentioned values of “left” and “top” are designated. When the value is 2, that indicates that with respect to the balloon display position, only a relative positional relation to an object is designated by after-mentioned “position_id”, and the values of “left” and “top” are not designated. When the value is 3, that indicates that the balloon display position is not designated, and “left”, “top” and “position_id” are not designated. Accordingly, the display position of the balloon is determined by the display device side.
Further, “left” and “top” designate the displacement of the upper left apex of the balloon from an object reference point. It is designated only in the case where the value of “display_mode_id” is 1. For example, a designation can be made such that the upper left apex of a balloon is disposed at a position spaced apart from the barycenter position of the object by (100, 100) pixels.
Further, “position_id” designates the relative positional relation between the balloon and the object. It is designated only in the case where the value of “display_mode_id” is 2. The “position_id” designates eight arrangements in the vicinity of the object as values of 1 to 8.
First, at step S5000, object area data is acquired.
Next, at step S5001, a display screen size is acquired.
At step S5002, on the basis of the data of “text_length”, “text_font” and “text_size”, the width of the frame of the balloon and the height of the frame are calculated so that the character string is contained within the frame of the balloon.
Finally, at step S5003, the values of “left” and “top” are calculated so that the balloon does not protrude from the screen.
For example, when it is assumed that at step S5000 and S5001, the coordinate value of the reference point of the object area is obtained to be (x, y), and the screen size is obtained to be (W, H), the coordinate values of “left” and “top” can be obtained by the following numerical expression. Incidentally, Δx and Δy denote displacements from the object reference point, and it is assumed that a value as the reference is previously set.
When “display_mode_id”=2, reference is made to Δx and Δy corresponding to “position_id”, and
left=x−width−Δx
top=y−height−Δy.
When “display_mode_id”=3, for example, in the case where the balloon is displayed in the wider screen area of the horizontal and vertical directions,
(11-2) Contents of Balloon
The “balloon” is “a curved line surrounding a speech and drawn as a shape puffing out from the mouse of a speaker in a cartoon” according to KOUJIEN, the first printing of the fourth edition (issued on Nov. 15, 1991). However, in this specification, as stated above, the balloon means displaying the contents of an object in a predetermined area by a text sentence, and as shown in
(11-3) ON/OFF Control of Display of Balloon
Next, a description will be given to a method in which a viewer side controls whether or not the balloon is displayed (ON or OFF).
By the method described up to now, when there is metadata relating to a balloon, the balloon can be displayed around the object. However, when the balloon is always displayed during the appreciation of a moving image, it sometimes prevents pleasant viewing. Since whether or not the balloon is to be displayed depends on the taste of the viewer, it is desirable that the balloon can be controlled by a natural operation which does not bother the viewer. Examples of the control method will be described below.
A first example is to add a button or a menu, which designates whether or not a balloon is displayed, to a display device. The ON/OFF of the balloon display is made to be capable of being changed by pressing the specific button. Alternatively, a similar function is realized by menu selection. In order to perform the display control in more detail, a list of objects having balloon data is exhibited to the viewer, and a designation may be made as to whether or not a balloon is displayed for each of the objects. The list of the objects may be created by selecting them from a section of a moving image, such as objects existing in a scene which is being currently viewed, or may be created from the whole moving image.
As a second example, there is a method in which a balloon is displayed in conjunction with view's operation of selecting an interesting object. For example, when one of objects existing on a screen which is being currently viewed is selected and a specific button of a point device is pressed, a balloon is displayed. In the case where a moving image is viewed in a personal computer, display control is assigned to a right button of a mouse. In a display device other than the personal computer, an object may be designated by a remote control. Alternatively, when a balloon is displayed in a case where a cursor is moved onto an object and is made to stand still for a certain time, it is possible to omit the operation that the viewer presses a button, and accordingly, the operation can be further simplified.
(12) Modified Example
Incidentally, the present invention is not strictly limited to the foregoing embodiments, and at a practical stage, the structural elements can be variously modified and can be embodied within the scope not departing from the gist of the invention. For example, the invention can be applied to not only a DVD-ROM video popular on a global scale at present, but also a recordable/reproducible DVD-VR (video recorder) whose demand is rapidly increased in recent years. Further, the invention can also be applied to a reproduction system or a recording/reproduction system of a next generation HD-DVD which appears to become popular in near future.
Besides, by suitably combining the plural structural elements disclosed in the embodiment, various inventions can be structured. For example, some structural elements may be deleted from all structural elements disclosed in the embodiment. Further, structural elements of different embodiments may be suitably combined.
Number | Date | Country | Kind |
---|---|---|---|
2004-297258 | Oct 2004 | JP | national |