WO2001033832A1 - Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images - Google Patents

Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images Download PDF

Info

Publication number
WO2001033832A1
WO2001033832A1 PCT/JP1999/006053 JP9906053W WO0133832A1 WO 2001033832 A1 WO2001033832 A1 WO 2001033832A1 JP 9906053 W JP9906053 W JP 9906053W WO 0133832 A1 WO0133832 A1 WO 0133832A1
Authority
WO
WIPO (PCT)
Prior art keywords
recording
information
playback
bucket
data
Prior art date
Application number
PCT/JP1999/006053
Other languages
English (en)
French (fr)
Inventor
Yukihiro Abiko
Hideo Kato
Tetsuo Koezuka
Original Assignee
Fujitsu Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Limited filed Critical Fujitsu Limited
Priority to PCT/JP1999/006053 priority Critical patent/WO2001033832A1/ja
Priority to JP2001500396A priority patent/JP4421156B2/ja
Priority to US09/675,051 priority patent/US6807363B1/en
Publication of WO2001033832A1 publication Critical patent/WO2001033832A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/005Reproducing at a different information rate from the information rate of recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/005Reproducing at a different information rate from the information rate of recording
    • G11B27/007Reproducing at a different information rate from the information rate of recording reproducing continuously a part of the information, i.e. repeating
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/329Table of contents on a disc [VTOC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2525Magneto-optical [MO] discs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate

Definitions

  • the present invention relates to an encoded image reproducing apparatus, an apparatus for encoding and recording and reproducing an image, an image recording and reproducing method, and a recording medium on which an image recording and reproducing program is recorded.
  • MP EG MP EG
  • ISO / IEC 11172 MP EG 1
  • IS ⁇ IEC-13818 M PEG 2
  • the Moving Picture Experts Group The Moving Picture Experts Group method has been internationally standardized, and recording and playback devices for these MPEG streams have been developed.
  • recording media that can be accessed randomly such as optical disks, magneto-optical disks, and magnetic disks, are being increased in capacity and reduced in price, and are being replaced by recording using magnetic tape.
  • special playback, special recording playback, etc. at any multiple speed.
  • special playback such as arbitrary speed playback can be performed by seeking to the beginning of a frame, GOP, packet, or the like.
  • arbitrary speed playback can be performed by seeking to the beginning of a frame, GOP, packet, or the like.
  • Japanese Patent Application No. 5-306567 discloses a technique for recording a GOP start code and information on the presence or absence of an I picture in a subcode area of a magnetic tape.
  • Japanese Patent Application No. 7-2989848 describes that a byte offset from the beginning of a file and the number of accumulated frames are recorded as information in a cue table using a G ⁇ P start code. Have been.
  • Japanese Patent Application No. 7-36464-1 discloses that a sector address and a GOP time code are recorded as information in a special playback table using a GOP start code.
  • the circuit size required for encoding and decoding is increased even by performing ordinary recording and reproduction, and the cost of the device increases.
  • special reproduction such as clip editing, and special recording
  • the circuit scale is further increased, and the cost of the device is also increased.
  • the cost increases due to the complexity and the increase in the number of development man-hours and the increase in the size of the control code / control circuit.
  • the conventional method of using the GOP start code and the GOP time code encoded in the GOP header makes the processing of creating the table complicated and complicated.
  • the increase in the DSP circuit scale is a problem.
  • the information used for trick play needs to be independent of the recording medium and frame rate.
  • digital data such as MPEG streams are handled equally by recording / reproducing devices and personal computers, so it is necessary to be able to move and copy data between recording media of different formats from magnetic disks to optical disks.
  • MPEG Although the system is distributed worldwide, it is necessary to make the same information available in both the NTSC and PAL systems with different frame rates.
  • the invention of Japanese Patent Application No. 5-3066657 mentioned above is specialized for a magnetic tape and does not take the form of a list or a table. In addition, special playback is not performed on the premise of random access by nature.
  • Japanese Patent Application No. Hei 7—3 6 4 6 1 records the GOP timecode, so it is possible to specify the seek destination by time and perform cueing.
  • information is described in sector units For this reason, there is a disadvantage that the table must be created again when the recording medium is changed.
  • counting by GOP time code divided by the number of frames can be considered.
  • the former requires extraction of the GOP time code, but when this is used, it is necessary to look at both the position of the GOP start code and the position of the bucket containing the GOP start code from the MPEG stream. Not a target.
  • the latter requires a process of counting the number of frames, and it is necessary to deal with a case where the frame rate is different, which is not efficient.
  • An object of the present invention is to make it possible to easily perform special playback such as arbitrary-speed playback and special recording playback in an image playback apparatus that plays back encoded image data. Another challenge is to enable efficient recording, playback, and overnight transfer. Disclosure of the invention
  • FIG. 1A is an explanatory diagram of the principle of the invention described in claim 1
  • FIG. 1B is an explanatory diagram of the principle of the invention described in claim 1 and having a bucket information creating means.
  • the invention according to claim 1 provides a bucket information reference unit 1 that refers to bucket information including a time stamp included in a bucket header part of encoded image data and information indicating a packet header part, and a reference to the bucket information.
  • Decoding means 2 for decoding an encoded image based on the bucket information referred to by the means 1;
  • an arbitrary reproduction position can be easily obtained by referring to the packet information including the time stamp included in the packet header section and the information indicating the bucket header section.
  • the invention according to claim 1 may include a packet information creating means 3 for creating bucket information including a time stamp included in a packet header part of encoded image data and information indicating the bucket header part.
  • the packet information is encoded by another device by the packet information creating means. Since the bucket information of the image data can be created, an arbitrary reproduction position can be obtained based on the bucket information.
  • packet information including a presentation time stamp PTS included in a packet header of the MPEG stream and a file address of the packet header is created.
  • a list of packet information is created.
  • the presentation timestamp PTS of the video bucket of the MPEG stream is added corresponding to all picture start codes, and the PTS of the audio packet is added to all buckets.
  • the time stamp such as the PTS obtained from the MPEG stream and the system time clock STC obtained by the decoding means is common information for all streams counted at 90 kHz count for MPEG-1. Therefore, by using this PTS, time information independent of the frame rate can be obtained.
  • the playback position is specified by the time from the first bucket of the image data
  • the time is converted into a time stamp TS
  • the bucket information having a value close to the value of the time stamp TS is stored in the bucket information list.
  • an encoding means for encoding an image and recording the encoded image on an external or internal recording medium may be provided.
  • the present invention when an image is encoded and recorded, it is possible to create packet information including a time stamp of a bucket header part of the encoded image data and information indicating the bucket header.
  • special playback such as normal / reverse playback of images at arbitrary double speed, random access, etc., special recording such as live monitor, real-time shift, etc. without adding hardware and without complicating recording and playback processing. realizable.
  • an image encoding process of the encoding unit a recorded data transmission process of transmitting the encoded image data to the recording unit, and a reproduction data transmission process of transmitting the image data recorded in the recording unit to the decoding unit.
  • the decoding process of the image data in the decoding means may be multitasked.
  • the recording data transfer task and the reproduction data transfer task are separated tasks, so that the description of the data transfer process can be simplified.
  • the priority of the recording data transfer task may be set higher than the priority of the playback data transfer task.
  • the address information (file pointer) of the bucket header is used as the data position, and the PTS included in the packet header is used as the time information.
  • the PTS is added to the packet by the encoding means, so the bucket information creation means uses the PTS without specially creating data for special playback. It is easy to create a list for use. Further, since the encoding means uses the GOP start code when extracting the packet header including the GOP header, it is easy to obtain the packet information of the packet including the GOP start code.
  • FIGS. 1A and 1B are diagrams illustrating the principle of the present invention.
  • FIG. 2 is a diagram illustrating a configuration of the first embodiment.
  • FIG. 3 is an explanatory diagram of the configuration of the MPEG stream.
  • FIG. 4 is an explanatory diagram of the configuration of the MPEG video stream.
  • FIG. 5 is an explanatory diagram of a configuration of a frame of the MPEG video stream.
  • FIG. 6 is a flowchart of a process based on the first bucket information reference method.
  • FIG. 7 is a flowchart of a process based on the second packet information reference method.
  • FIG. 8 is a flowchart of a process based on the third bucket information reference method.
  • FIG. 9 is a flowchart of the N-times speed reproduction process.
  • FIG. 10 is a flowchart of the simple reproduction process.
  • FIG. 11 is a flowchart of the clip editing process.
  • FIG. 12 is an explanatory diagram of a task according to the first embodiment.
  • FIG. 13 is a diagram illustrating a configuration of the second embodiment.
  • FIG. 14 is an explanatory diagram of a task according to the second embodiment.
  • FIG. 15 is a flowchart of the process of the user interface task.
  • FIG. 16 is a flowchart of the process of the main task.
  • FIG. 17 is a flowchart of the processing of the reproduction task.
  • FIG. 18 is a flowchart of the processing of the playback data overnight transfer tasks 34a and 64a.
  • FIG. 19 is a flowchart of the processing of the reproduction data transfer tasks 34b and 64b.
  • FIG. 20 is a flowchart of the processing of the recording task.
  • FIG. 21 is a flowchart of the processing of the recording data overnight transfer task 35a, 65a.
  • FIG. 21 is a flowchart of the processing of the recording data overnight transfer task 35b, 65b.
  • FIG. 23 is a diagram illustrating a configuration of the third embodiment.
  • FIG. 24 is a diagram showing a recording medium. BEST MODE FOR CARRYING OUT THE INVENTION
  • FIG. 2 is a diagram showing a configuration of an MPEG stream recording / reproducing apparatus according to the first embodiment of the present invention.
  • the encoding unit 21 converts the input image into image data (MPEG stream) in MPEG format, and outputs the converted MPEG stream to the memory 22.
  • the packet information creating unit 23 creates bucket information including a presentation time stamp PTS (Presentation Time Stamp) included in the packet header of the MPEG stream and a file address of the bucket header, and includes bucket information of the bucket header including the GOP. Create a bucket information list.
  • PTS Presentation Time Stamp
  • FIG. 3 is a diagram showing the configuration of the MPEG stream.
  • Information called a time stamp TS indicating when decoding / reproduction is to be performed is added to video packets and audio packets for each decoding / reproduction unit called an access unit.
  • the upper layer of the MPEG stream is composed of a system header and a pack that describe the overall stream.
  • One pack includes a pack header including a pack start code, an identification code, and the like, and a plurality of packets.
  • a packet consists of a packet header and packet data including a video elementary stream (Video Elementary Stream) and an audio elementary stream (Audio Elementary Stream).
  • the packet header contains the presentation time used as time management information when reproducing and outputting the MPEG stream. (Presentation Time Stamp).
  • FIG. 4 is a diagram showing a configuration of an MPEG video stream.
  • the MPEG video stream is composed of a sequence layer, a GOP layer, a picture layer, a slice layer, and a macroblock layer.
  • the sequence layer 41 includes a sequence header including information such as a screen size and the number of macroblocks, a GP, and a sequence end code.
  • the 00? Layer 42 is composed of GOP header information and I pictures, B pictures, P pictures, etc. belonging to one GOP.
  • the I picture is an image data generated from information of one frame without performing inter-frame prediction
  • the P picture is image data generated by prediction from the I picture or the P picture
  • the B picture is This is an image data generated by bidirectional prediction of an I picture and a P picture.
  • the picture layer 43 is composed of picture header information and a plurality of slices.
  • the slice layer 44 is composed of slice header information and a plurality of macro blocks.
  • the macro block layer 45 is composed of macro block information and a plurality of blocks.
  • FIG. 5 is a diagram showing a frame configuration of an MPEG video stream.
  • a sequence is composed of multiple GOPs, one GOP is composed of multiple pictures, and one picture is composed of multiple macroblocks.
  • the MPEG stream encoded by the encoding unit 21 and stored in the memory 22 is stored in an information storage unit 24 including a hard disk, a magneto-optical disk, and the like by a control unit (not shown).
  • the control unit determines the playback position of the MPEG stream based on the bucket information referred to by the packet information reference unit 25, and stores the corresponding MPEG stream in the information storage unit. Read from 24 And outputs the result to the decoding unit 26.
  • Decoding section 26 decodes and outputs the MPEG stream.
  • a method of creating a packet information list in which packet information of a packet including a GOP header of an MPEG stream is stored in the order of item numbers and designating a reproduction position by the item numbers this is called the first packet information Reference method
  • a method of specifying the playback position based on the time based on the beginning of the MPEG stream this is called the second packet information reference method
  • a method based on the time based on the packet being decoded There are three methods of specifying the position (this is called the third packet information reference method).
  • the bucket information creating unit 23 In the first method of referring to the bucket information, the bucket information creating unit 23 generates a packet including the PTS of the packet header including the G ⁇ P header of the MPEG stream and the file address of the packet header.
  • a bucket information list is created by assigning item numbers to information in order.
  • the item number k is specified to read out every kth packet information from the packet information list (Fig. 6, S11).
  • the file address Ak of the item number k is obtained (S12).
  • the head is moved to a corresponding position in the information storage unit 26, data is sequentially read, and the read data is decoded by the decoding unit 26 to reproduce an image.
  • the item number of the bucket information list is By specifying this, the file address for reading the corresponding MPEG stream can be obtained from the information storage unit 24, so that random access, forward / reverse playback processing at any double speed, or real-time shift and live monitoring described later can be performed.
  • the processing for determining the read position or the write position in the special recording / reproduction processing can be simplified, and the processing time can be shortened.
  • the packet information creating unit 23 generates a packet including a presentation time stamp PTS included in a header of a packet including G ⁇ P of an MPEG stream and a file address of a corresponding packet header. Information is created, and a bucket information list is created by adding item numbers to the bucket information in the order of recording. In the second packet information reference method, a packet information list without an item number can be created.
  • the second bucket information reference method will be described with reference to the flowchart in FIG. 7 on the assumption that the above packet information list has been created.
  • the playback position is specified by the application or user by the time from the beginning of the MPEG stream (S21 in FIG. 7)
  • the specified time is converted to a time stamp TS (S22).
  • Steps S24 and S25 are repeated, and if a term number having the time stamp PTSn closest to the time stamp PTSn 'at the target playback position is obtained (S24, YES), the corresponding item is found from the packet information list.
  • the file address An of the item number n is obtained (S26). Then, the packet data of the file address An is read from the information storage unit 24 and output to the decoding unit 26, and the MPEG stream is decoded and reproduced. Thus, the image can be reproduced from the position corresponding to the designated time.
  • the packet information creation unit 23 extracts the bucket header including the G ⁇ P header of the MPEG stream in the third bucket information reference method, and presents the presentation header included in the bucket header. Create bucket information consisting of the time stamp PTS and the file address of the bucket header. Furthermore, a bucket information list is created by sequentially assigning item numbers to the packet information.
  • the third packet The processing based on the packet information reference method will be described with reference to the flowchart in FIG. When the time H, M, S is specified with reference to the bucket being decoded (S31 in FIG.
  • the specified time is converted into a timestamp TS according to the above equation (1) (S31). 32).
  • the above-mentioned time stamp TS is added to the system time clock STC of the bucket being decoded, which is counted by the decoding unit 26, to calculate the time stamp PTSn 'of the target reproduction position (S3 3). This operation can be expressed by the following equation.
  • step S34 the process proceeds to step S36 and proceeds to the step S36. Then, the process proceeds to step S34, where the time stamp PTS n of the newly designated item number n is read from the bucket information list, and the above-described determination is performed.
  • Steps S34 and S35 are repeated, and if the time stamp PTSn closest to the time stamp PTSn 'at the target playback position is detected (S34, YES), the corresponding item number n from the packet information list The file address An of is obtained (S36). Then, the packet data of the file address An is read out from the information storage unit 24 and output to the decryption unit 26 to decode the MPEG stream. As a result, the reproduction of the MPEG stream is started from the position corresponding to the specified time.
  • the MPEG stream When the playback position is specified by the time based on the beginning of the program or the time based on the bucket being played back, the playback position corresponding to each time is easily obtained by referring to the bucket information list. be able to.
  • Special playback functions include random access, arbitrary speed playback (fast forward playback, simple reverse playback), clip editing, and repeat playback.
  • Special recording and playback functions include real-time shift and live monitoring.
  • the file address Ak + 1 of the next item number k + 1 is obtained by referring to the packet information list (S42).
  • “Ak” is used as the read start point address from the address information, and the address “Ak +” immediately before the file address “Ak + 1” of the item number k + 1 is used as the read end point address.
  • the header (read / write unit) of the information storage unit 24 is moved to a position corresponding to the file address Ak (S43). Then, the stream from the file address Ak to Ak + 1 is read, and the read stream is output to the decoding unit 26 (S44).
  • a value obtained by adding N to the value of k is set as a new value of k (S45), and the process returns to step S41 to read the packet information of the item number k.
  • the file addresses registered in the bucket information list are read out every Nth, and the GOP specified by that file address is read out, so that N + 1 Double speed playback can be realized.
  • the decoding unit 26 has a frame skip function
  • smoother reproduction can be performed by combining the frame skip function with the above-described arbitrary double-speed reproduction processing.
  • the decoding unit 26 has a skip function of a B picture
  • the B picture is skipped for a stream whose GOP is configured as “ ⁇ ⁇ ⁇ ”. 3
  • N + 1 By playing P every Nth time, 3 (N + 1) times speed playback can be realized. If a B picture is skipped, the B picture at the beginning of the GOP, in which bidirectional motion vectors are referenced between GOPs, is not displayed, so the G ⁇ P header following the GOP boundary is changed. Without this, the occurrence of image noise at the GOP boundary can be suppressed.
  • the time stamp TS is set to 0, and the file address Ak of the item number k of the bucket information list corresponding to the data currently being decoded is obtained by the third packet information reference method (FIG. 10, S51). ).
  • the file address Ak-1 of the item number k-1 in the packet information list that is immediately before is acquired (S52).
  • the read / write unit of the information storage unit 24 is moved to the position of the file address Ak-1 (S53). Then, the stream from the file address Ak-1 to Ak is read, and the read stream is output to the decoding unit 26 (S54).
  • a value obtained by subtracting N from the value of k is set as a new value of k (S55), and the process returns to step S51 to read the packet information of the item number k.
  • the file addresses registered in the packet information list are read out every N-ones, and specified by that file address.
  • the decoding unit 26 has a B-picture skip function and a P-picture skip function, it is not necessary to check the amount of I-picture data by using those functions. Can be reduced.
  • the playback start point is usually given by time information from the application. Therefore, the playback is performed by the above-described second or third bucket information reference method. Find the start position, move the head of the information storage unit 24 to the position you want to access, and read the stream continuously.
  • a stream specified by one or more sets of start and end points for one or more streams is called a clip.
  • This clip specify the start and end points by the time from the beginning of the stream or the item number of the packet information list without directly dividing or joining the file. I do.
  • one of the item number, PTS, and file address is obtained as the playback start point (Fig. 11, S61).
  • one of the specified data item number, PTS, and file address is acquired as end point information (S62).
  • those start points and end points are registered as clip information.
  • the stream can be efficiently played using the packet information list.
  • the repeat reproduction processing can be performed efficiently. Also, by acquiring the playback position when repeat playback is specified as the playback start point, only the start or end point of repeat playback needs to be specified, so the user's operation when designating repeat playback can be performed. It's easy.
  • the user can automatically determine the end point without specifying the end point, thereby simplifying the operation of repeat playback.
  • an MPEG stream recording / playback apparatus if the information storage unit is capable of random access and the access speed is sufficiently fast, simultaneous recording and playback can be realized at low cost.
  • the simultaneous recording and playback of the same stream is called real-time shift. If the capacity of the information storage medium is infinite, recording should always be performed at the end of the stream. However, storage media with infinite capacity is not feasible at present. Therefore, if recording is performed at a position that has already been played back, recording can be endlessly performed unless playback stop, pause, reverse playback, etc. are performed.
  • the time stamp TS is set to 0 in the third packet information reference method
  • PTSn ' is obtained from Equation (3)
  • the file address of the stream currently being reproduced is obtained from the value of PTSn'. It can be obtained by referring to the information list. Then, by setting the file address where the time stamp TS ⁇ 0 as the recording start point, the MPEG stream can be continuously recorded in the storage area of the information storage unit 24 that has already been reproduced.
  • the stream size needs to be determined in advance. If the file address ADDRES S 'described in the bucket information exceeds the stream size S S, determine the actual file address ADDRES S as follows.
  • % is an operation symbol for calculating a remainder.
  • To update the packet information list when performing real-time shift for example, delete the item with a PTS smaller than the PTS obtained by the third packet information reference method under the condition of TS ⁇ 0, and bucket the newly recorded stream. This can be achieved by adding information.
  • the stream recorded immediately before is read out and played back to check whether the stream has been recorded. be able to.
  • Such special recording and playback is called a live monitor.
  • a surveillance system Is an important function because it is necessary to confirm that the video etc. is really recorded.
  • the encoding unit 21, the decoding unit 26, the memory 22, the information storage unit 24, and the like are controlled by the multitask ⁇ S. .
  • the basic functions such as reproduction and recording are tasked, and the respective processes can be controlled separately, thereby reducing the complexity of the data transfer process and the like.
  • FIG. 12 is an explanatory diagram of a task in the case where at least one channel of recording and playback tasks is managed by the multitask OS in the image recording and playback apparatus of the first embodiment.
  • the playback task 3 2 and the recording task 3 3 are processed by the main task 31 1 upon receiving an instruction to start playback and stop Z, and to start recording and stop Z.
  • the playback task 32 and the recording task 33 control the task of performing the overnight transfer process.
  • the playback task 32 is a playback data transfer task 34a that transfers data from the information storage unit 24 to the memory 22, and the playback that transfers data from the memory 22 to the decoding unit 26.
  • the recording task 33 is a recording data transfer task 35a that transfers data from the encoding unit 21 to the memory 22 and the recording data transfer that transfers data from the memory 22 to the information storage unit 24.
  • the information storage unit 24 detects internal parameter adjustments, recording area defects, etc. Due to internal processing such as replacement processing that writes data to another area, writing Z reading may stop for a few seconds. In the present embodiment, the task is divided for each data transfer block, so that even if the processing in the information storage unit 24 is interrupted, the influence on other tasks is reduced, and stable data transfer is performed. It is possible to continue.
  • FIG. 13 is a diagram showing the configuration of an MPEG stream recording / playback apparatus according to the second embodiment of the present invention.
  • the recording / reproducing apparatus has a function of encoding and decoding a video signal and an audio signal, and can record an MPEG stream in a plurality of information storage units.
  • Blocks that are the same as the blocks described in FIG. 2 are given the same reference numerals, and descriptions thereof are omitted.
  • the audio signal and the video signal are encoded by the audio encoding unit 41 and the video encoding unit 42 into an audio stream and a video stream in the MPEG format, respectively. Then, in the multiplexing unit 43, the video stream and the audio stream are multiplexed and output to the data bus 44.
  • the multiplexed MPEG stream is stored under the control of the MPU 45 in one of the plurality of information storage units 47 a, 47 b-... Via the data input / output interface unit 46.
  • the data input / output input / output interface 46 conforms to a standard such as SCS I, ATAPI, or IEEE 1394.
  • the multiplexed MPEG stream read from the information information storage unit 47a or 47b is separated into an audio stream and a video stream by the separation unit 48, and the audio decoding unit 40 and the video decoding unit respectively.
  • the audio decoding unit 40 and the video decoding unit respectively.
  • the original audio signal and video signal are decoded.
  • This recording / reproducing apparatus is connected to a computer 51 via a data input / output interface section 46, and uses a file system compatible with the computer 51. Therefore, the information storage unit 47 connected to the recording / reproducing apparatus of the second embodiment is different. Regardless of whether a and 47b are exchangeable recording media or non-exchangeable recording media, image data recorded on those recording media can be exchanged with the computer 51. Further, the MPEG stream encoded by the computer 51 or the MPEG stream downloaded via the network by the computer 51 can be reproduced and edited by the recording / reproducing device.
  • the MPU 45 operates in a multitask OS environment, and can execute a plurality of channels of the playback tasks 32 and 62 and the recording tasks 33 and 63 as shown in FIG.
  • the user interface (UI) task is to control the GUI, detect the operation signal of the remote control, detect the operation signal of the panel button, etc., and notify the main task 33 of the detected content as a message. I do.
  • FIG. 15 is a processing flowchart of the user interface task 61.
  • the user interface task 61 determines whether or not the remote control or the panel button has been operated (FIG. 15, S71). If the remote control or the panel button has not been pressed, the detection processing is repeated.
  • the main task 33 controls the recording tasks 33 and 63 and the playback tasks 32 and 62 according to messages from the user interface task 61, the recording tasks 33 and 63, and the playback tasks 32 and 62.
  • FIG. 16 is a flowchart of the process of the main task 31.
  • the main task 31 first executes initialization processing such as setting of parameters (S81 in FIG. 16).
  • initialization processing such as setting of parameters
  • S82 a message from another task is received
  • S83 it is determined whether or not the message is an end message
  • Step S83 If the received message is not an end message (S83, NO), Proceeds to 'S84, and sets information indicating the state of reproduction, recording, or the like according to the content of the message. Further, based on the set information, a message for starting or stopping the reproduction or recording is transmitted to the reproduction tasks 32 and 62 or the recording tasks 33 and 63 (S84), and thereafter, the process returns to step S82.
  • the user interface task 61 detects the end operation of the recording or playback by the user, and the user interface task ends.
  • the end message is transmitted from the one-face task 61 to the main task 33, an end process is executed, the set parameters are restored, and the task is ended (S86).
  • the playback tasks 32 and 62 and the recording tasks 33 and 63 execute the playback processing and the recording processing when receiving the playback start Z stop and recording start Z stop messages from the main task 31.
  • FIG. 17 is a flowchart of the processing of the reproduction tasks 32 and 62.
  • the reproduction tasks 32 and 62 first execute initialization processing such as parameter setting (FIG. 17, S91).
  • initialization processing such as parameter setting (FIG. 17, S91).
  • S92 a message from another task is received (S92), and it is determined whether or not the message is an end message (S93).
  • step S94 For example, if the received message indicates the start of reproduction, the setting is changed to the reproduction start state. Then, a message instructing the content of the processing to be executed is transmitted to the reproduction data transfer task 34a, 34b or 64a, 64b in accordance with the instruction instructed by the main task 31 (S95), and step S92 Return to
  • Fig. 18 shows a playback data transfer task that transfers the encoded data read from the information storage units 27a and 27b to the memory 22 via the data input / output interface unit 46.
  • 64a are flowcharts showing the processing contents.
  • the playback data transfer tasks 34a and 64a first execute the initial setting process to set the parameters (Fig. 18, S101). Next, a message is received from another task (S102), and it is determined whether or not the message is an end message instructing the end of the task (S103).
  • step SI05 refers to the bucket information list based on the instruction content of the message.
  • the file address of GOP is read out from the packet information list every N ⁇ 1 by the first packet information reference method described above.
  • step S104 If the received message is not a message for instructing special playback or special recording playback (S104, NO), the process directly proceeds to step S106.
  • the necessary data transfer amount is calculated in accordance with the content of the reproduction or recording specified by the message (S106).
  • the data read position from the information storage units 47a, 47b- is instructed to the data input / output interface unit 46, and the data input / output Transfer the data output from the evening face section 46 to the memory 22 and write it to the position indicated by the write point (S107)radaAfter the data transfer, change the value of the write pointer in the memory 22 (S107) (S108) Further, a message notifying the end, continuation, error, and the like of the data transfer process is transmitted to the reproduction task (S109), and thereafter, the process returns to step S102, and the above-described process is repeated.
  • step S103 If it is determined in step S103 that the message received is an end message (S103, YES), the flow advances to step SI10 to execute end processing and end the task.
  • FIG. 19 is a flowchart of the processing of the reproduction data transfer tasks 34b and 64b for transferring data from the memory 22 to the separation unit 48.
  • steps S111 to S114 and S120 in FIG. 19 is the same as the processing in steps S101 to S104 and S110 in FIG.
  • step S114 If it is determined in step S114 that the received message is a message for instructing special playback / special recording / playback (FIG. 19, S114, YES), the flow advances to step S115 to perform audio decoding. Change the settings of section 49 and video decoding section 50. For example, in the case of special playback or special recording playback, the setting is changed so that frame skipping or the like is performed.
  • FIG. 20 is a flowchart of the processing of the recording tasks 33 and 63.
  • the recording tasks 33 and 63 first execute initialization processing to set parameters (Fig. 20, S121). 0 Next, receive messages from other tasks (S122). ), It is determined whether or not the message is an end message (S123).
  • step S124 executes a setting change process.
  • this setting change process for example, if the received message indicates the start of recording, the task status is set to the recording start status, and if the received message indicates the stop of the recording, the task status is set to the recording stop status. .
  • a message instructing the start or end of data transfer is transmitted to the recording data transfer task 35a, 35b or 65a, 65 according to the content of the instructed message (S125). Then, the process returns to step S122.
  • step S126 the process proceeds to step S126 to end the task.
  • FIG. 21 is a flowchart of the processing of the recording data transfer tasks 35a and 65a for transferring data from the audio encoding unit 41 and the video encoding unit 42 to the memory 22 during recording.
  • the recording data transfer tasks 35a and 65a first execute initialization processing for setting parameters and the like (Fig. 21, S131). Next, a message is received (S132), and it is determined whether or not the message is an end message (S132).
  • step S134 it is determined whether or not the message is a message for instructing special recording playback (S134). If the received message is a message for instructing special recording / playback (S134, YES), the flow advances to step S135 to update the bucket information, and then to step S136.
  • the bucket information of the MPEG stream that has been played back in the bucket information list is converted into a video bucket of an MPEG stream to be newly recorded and a bucket such as a time stamp of an audio packet synchronized with the video bucket. Overwrite with information.
  • the received message is not a message for instructing special recording / playback (S134, N ⁇ ), that is, in the case of normal recording, the audio and video encoded by the audio encoding unit 41 and the video encoding unit 42
  • the bucket information such as the time stamp of the video bucket is added to the packet information list, and the process proceeds to step S136.
  • step S136 the data transfer amount is calculated based on the write pointer indicating the last write address of the memory 22 and the read pointer indicating the read address. Then, data corresponding to the calculated data transfer amount is transferred from the audio encoding unit 41 and the video encoding unit 42 to the memory 22 via the multiplexing unit 45 (S137). When the data transfer is completed, the write pointer indicating the write position of the memory is changed to the address where the last write was performed (S138). Then, a message notifying the results such as the end, continuation, and error of the transfer of the recording data is transmitted to the recording task 33 or 63 instructed to transfer the data to the memory 22 (S139).
  • FIG. 22 is a flowchart of the processing of the recording data transfer tasks 35b and 65b for transferring the recording data from the memory 22 to the data input / output interface unit 46.
  • the processing in steps S141 to S143 in FIG. 22 is the same as the processing in steps S131 to S33 in FIG. 21, and the processing in step S148 is the same as the end processing in step S140 in FIG. .
  • step S143 If it is determined in step S143 that the received message is not an end message (S143, NO), the flow advances to step SI44 to input / output data from the amount of data stored in the memory 22. Calculate the amount of data to be transferred to the interface unit 46. Then, data corresponding to the calculated data amount is read from the memory 22 and transferred to the read data input / output interface unit 46 (S145). When the data transfer from the memory 22 is completed, the value of the read pointer is changed to the last read position (S146). Then, a message notifying the end, continuation, error or the like of the transfer of the recording data is transmitted to the recording task 33 or 63 which instructed the transfer of the recording data to the unit 46 to the data input / output interface ( S147), returning to step SI42.
  • a PTS included in a packet header includes: Create bucket information consisting of the packet header file address and refer to the bucket information for special playback such as arbitrary speed playback, random access, clip editing, playback, etc., real-time shift and recording for simultaneous recording and playback
  • special playback such as arbitrary speed playback, random access, clip editing, playback, etc.
  • real-time shift and recording for simultaneous recording and playback
  • multitask processing By making recording, playback, and data transfer processing multitasking, the description of each processing can be simplified.
  • One of the features of multitask processing is that the priority of tasks can be set. By taking advantage of this feature, even if there are multiple tasks, tasks with higher priorities It can be operated stably. Even when there are two tasks, a playback task and a recording task, setting the priority of the recording task to a high level can prevent loss of data to be recorded and improve reliability.
  • Data transfer paths such as data transfer from the audio coding unit 41 and the video coding unit 42 to the memory 22 and data transfer from the memory 22 to the data input / output interface unit 46.
  • the operation frequency and transfer block size of each task can be set independently.
  • the data transfer amount of the data transfer task for transferring data from the audio encoding unit 41 and the video encoding unit 42 to the memory 22 or the operation frequency of the task can be input from the memory 22.
  • the data transfer size is determined by the stream reading start and end points, so if the data transfer size differs between normal playback and special playback, the processing becomes complicated. By making it a task every time, it becomes easy to adjust the data transfer amount.
  • the data transfer task 34 a may directly transfer data from the information storage unit 24 to the decryption unit 26. In this case, the data transfer by the playback data transfer task 34b is not required, and the data transfer efficiency is improved, so that a higher bit rate MPEG stream can be decoded.
  • bit rate and image quality there is a correlation between bit rate and image quality, and the higher the bit rate, the better the image quality Become. Therefore, if the tasks described above can be simplified, it is possible to handle streams with higher image quality, and even when frame skipping is performed by the frame skip function, smoother high-speed playback can be performed. Becomes possible.
  • the packet information list can always be updated to the latest one by transferring the MPEG stream and the bucket information simultaneously or at very close timing in the recording data transfer task 35a. Then, a real-time shift / live monitor can be realized by referring to the bucket information list.
  • the packet information creating unit 23 can create packet information almost in real time.
  • the packet information creation unit 23 automatically detects the MPEG stream recorded in the information storage unit 24 for which no bucket information has been created, or selects the MPEG stream selected by the user. Is read from the information storage unit 24 to the memory 22, and the packet header and the GOP header are searched to create bucket information. Performing this process when playback or recording is not being performed can reduce the effect on other tasks.
  • a data input / output interface section 46 such as SCSI, ATAPI, IEEE 1394, etc.
  • a plurality of information storage sections 47a are provided.
  • 47 b ⁇ ⁇ ⁇ or other calculators can be used.
  • the information storage section of a non-commutable recording medium such as a hard disk Having a plurality of b- ⁇ ⁇ enables longer recording time and improves the reliability of the device.
  • a non-commutable recording medium such as a hard disk
  • a commutative recording medium such as a magneto-optical disc and an optical disc
  • long-time recording becomes possible. It is also possible to play back with a stream playback device.
  • the MPEG stream recorded on the interchangeable recording medium of the MPEG stream recording / reproducing device can be reproduced and edited by the computer 51. .
  • the MPEG stream downloaded from the MPEG stream network encoded and recorded by the computer 51 can be played back and edited by the MPEG stream recording / playback apparatus. Furthermore, even when the computer 51 supports the same or a different storage medium as the storage medium supported by the recording / reproducing device of the present invention, the computer 51 can communicate between the two storage media via the data input / output interface unit 46. It is possible to exchange MPEG streams and other encoded data.
  • FIG. 23 is a diagram illustrating a configuration of a recording / reproducing apparatus according to a third embodiment of the present invention.
  • This third embodiment has two data buses, a recording data transfer bus 73 and a reproduction data transfer bus 74, and reduces the transfer time loss in the data bus during overnight transfer. It was done.
  • a memory 72 for storing transfer data for recording and a memory 71 for storing data for reproduction are provided in correspondence with the two data buses.
  • the data encoded by the audio encoding unit 41 and the video encoding unit 42 and multiplexed by the multiplexing unit 43 are transferred to the memory 72 via the recording data transfer bus 73, and Transfer from memory 72 to data input / output interface 46
  • the information is stored in the information storage units 47a and 47b.
  • the data read from the information storage units 47a and 47b is transferred from the data input / output interface unit 46 via the playback data transfer bus 74 to the memory. Then, the data is transferred from the memory 71 to the separation unit 48 via the data transfer bus 74 for reproduction. Then, the packet is separated into a video packet and an audio packet in a separation unit 48, and is decoded into a video signal and an audio signal in a video decoding unit 50 and an audio decoding unit 49, respectively.
  • the recording data transfer bus 73 and the reproduction data transfer bus 74 by providing two data transfer buses, that is, the recording data transfer bus 73 and the reproduction data transfer bus 74, it is possible to switch from recording to playback or vice versa. Sometimes, it is not necessary to consider whether or not other data exists on the data bus, so that the efficiency of data transfer can be improved.
  • FIG. 24 shows a program for realizing the recording / reproducing function of the recording / reproducing apparatus according to the embodiment described above, which is a portable recording medium 81 such as a CD_ROM, a floppy disk, or a storage provided by the program provider.
  • FIG. 7 is an explanatory diagram of a case where the program is stored in a device 84 and the program is loaded into a user's information processing device 82 and executed.
  • the recording / reproducing program is stored on a portable recording medium 81 such as a CD-R ⁇ M or a floppy disk
  • the portable recording medium 81 is inserted into the drive device of the information processing device 82 to execute the program.
  • the read program is stored in a memory 83 such as a RAM or a hard disk, and the program is executed.
  • the program is provided from the program provider via a communication line
  • the program stored in the storage device 84 of the program provider or the memory or the like is stored in the information processing device 8 via the communication line.
  • the received program is stored in a memory 83 such as a RAM or a hard disk and executed.
  • the program recorded on the recording medium 81 may implement a part of the recording / reproducing function described in the embodiment.
  • random access and arbitrary double-speed playback are performed by creating bucket information composed of the PTS included in the packet header and the file address of the bucket header and referring to the packet information.
  • Special playback functions such as clip editing, playback, and repeat playback, and special recording and playback functions such as real-time shift and live monitoring can be efficiently realized.
  • the description of each process especially the description of the data transfer process, can be simplified.
  • the packet information is transferred along with the MPEG stream and the packet information list is constantly updated, so that the recording time is not determined in advance as in the case of real-time shift. Even when the information is undetermined, special recording and playback can be easily realized because the recordable storage area can be determined by using the updated bucket information.
  • the MPEG stream encoded by the other computer 51 and the computer 51 are connected to the network.
  • the MPEG stream downloaded from the network can be played back and edited by the MPEG stream recording and playback device.
  • the information storage units 47a and 47b of the recording / reproducing apparatus according to the present invention are non-exchangeable recording media.
  • the recording / reproducing apparatus can use a plurality of information storage sections 47a, 47b, and other recording media.
  • the present invention is not limited to the MPEG format data but may be applied to other types of encoded data.
  • the present invention is not limited to a device having both the recording and reproducing functions, but may be a device having only the reproducing function.
  • the playback device may have a function of creating the above-described packet information from the encoded data recorded on the external or internal recording medium, or may have a function of creating the packet information. Instead, the data may be played back based on packet information created by another device.
  • the recording medium for recording the encoded data is not limited to a magnetic disk, an optical disk, a magneto-optical disk, or the like, but may be a semiconductor memory or the like.
  • the reproducing device and the recording / reproducing device of the present invention may be dedicated devices, or the recording / reproducing function or the reproducing function of the present invention may be incorporated in an information processing device such as a personal computer.
  • the present invention includes an image reproducing apparatus, an image recording and reproducing apparatus, an image recording and reproducing method, and a recording medium having the following configurations.
  • the encoded image data is an image encoded in MPEG format, and the bucket information is obtained from a presentation time stamp included in a bucket header of an MPEG stream and a file address of a packet header.
  • the image reproducing apparatus according to (1), (2) or (3).
  • the packet information creation means extracts a packet header including a GOP header of an MPEG stream and creates a packet information list including packet information of a packet header including a GOP header.
  • the packet information creating means creates a bucket information list in which item numbers are sequentially assigned to packet information so that reproduction at an arbitrary speed can be performed, and the decoding means includes an item in the packet information list.
  • the image reproducing device according to (1), (2), (3) or (4), wherein a reproduction start position or an end position of the encoded image data is obtained based on the number.
  • the decoding means converts the time into a time stamp when reproducing the time based on the time from the beginning of the MPEG stream, and, based on the packet information, time information close to the converted time stamp.
  • the image reproducing device according to (4) or (5) wherein the image reproducing device obtains a file address and performs reproduction.
  • the decoding means converts the time into a timestamp when reproducing the time based on the packet being decoded, and, based on the packet information, converts the timestamp into the timestamp.
  • the image reproducing device according to (4) or (5), characterized in that a bucket file address having a value close to a value obtained from the time information serving as a reference is obtained and reproduced.
  • the decoding means repeats an operation of accessing a GOP N (positive or negative integer) ahead based on the packet information list, thereby performing reproduction at an arbitrary speed.
  • the decoding means is characterized in that, when performing reverse reproduction, an image for one frame of the N-th previous GOP is decoded, and the remaining frames are skipped and reproduced. ).
  • the playback start point and the end point are specified by the time from the beginning of the MPEG stream or by the item number of the bucket information information list. apparatus.
  • the playback start point and end point are specified by the time from the beginning of the stream or the item number of the bucket information list.
  • Image playback device
  • the packet information creating means creates a packet information list by extracting a time stamp from a bucket header of image data for which no bucket information is created, when recording and playback are not performed.
  • the image reproducing device according to (1), (2) or (3).
  • the file system is made compatible with other information processing devices, and image data can be commonly recorded or played back with other information processing devices.
  • An image recording / reproducing method characterized by referring to bucket information including information indicating a bucket header part, and decoding encoded image data based on the referenced packet information.
  • random access, arbitrary double-speed playback, and clip editing are performed by creating bucket information composed of the PTS included in the packet header and information indicating the packet header, and referring to the bucket information.
  • Special playback such as playback and repeat playback, real-time shift, and special recording playback such as live monitoring can be performed efficiently.
  • the multitasking of playback, recording, playback data transfer, and recording data transfer simplifies the description of each process, especially the description of the data transfer process.
  • by setting the block size of the transfer data of the data transfer task individually for each task data can be transferred efficiently during special playback and special recording playback.

Description

明 細 書 画像再生装置および画像記録再生装置 技術分野
本発明は、 符号化された画像の再生装置、 画像を符号化して記録、 再生する 装置、 画像の記録再生方法及び画像の記録再生プログラムを記録した記録媒体 に関する。 背景技術
近年、 膨大な情報量をもつデジタル動画像の蓄積や伝送を実現するために、 I SO/I EC 1 1 172 (MP E G 1 ) や I S〇 I E C— 13818 (M PEG 2) などの MP EG (Moving Picture Experts Group) 方式が国際標準 化されており、 これらの MP EGストリームの記録再生装置が開発されている。 一方、 光ディスク、 光磁気ディスク及び磁気ディスクのようなランダムァク セス可能な記録媒体の大容量化、 低価格化が進んでおり、 磁気テープによる記 録に置き換わりつつある。 また、 ランダムアクセス可能な記録媒体を用いるこ とで、 任意倍速での特殊再生、 特殊録画再生等も実現可能となっている。
MP EGストリームについて、 任意倍速再生等の特殊再生を行うためには、 フレーム、 GOP、 パケットなどの先頭にシークすることで実現できる。 例え ば、 頭出しなどのジヤンプを行うにはジヤンプ先の位置を予め知っていること が必要である。
例えば、 特願平 5— 306567号公報には、 磁気テープのサブコードエリ ァに GO Pスタートコードや Iピクチャの有無の情報を記録する技術が開示さ れている。 特願平 7— 2 9 8 0 4 8号公報には、 G〇Pスタートコードを利用した頭出 しテーブルにファイル先頭からのバイトオフセッ卜と累積フレーム数を情報と して記録することが記載されている。
特願平 7— 3 6 4 6 1号公報には、 G O Pスタートコードを利用した特殊再 生用テーブルにセクタアドレスと G O Pタイムコードを情報として記録するこ とが記載されている。
M P E G形式で圧縮された画像を記録、 再生する装置においては、 通常の記 録ゃ再生を行うだけでも符号化、 復号化のために必要な回路規模が大きくなり、 装置のコストが上昇するという問題点がある。 このような記録再生装置で任意 倍速での再生や、 クリップ編集などの特殊再生、 特殊録画を可能とするために は、 回路規模がさらに増大し、 装置のコストも上昇する。 加えて、 特殊再生や 特殊録画では再生データと録画データを同時に転送したり、 転送プロックサイ ズを可変にすることが必要となるが、 このようなデ一夕転送を制御するための ファームウェアの記述は複雑化し、 開発工数の増大によるコスト上昇や、 制御 コードゃ制御回路の大規模化により、 さらにコストが上昇するという問題点が ある。
また、 オーディオパケットとビデオパケットを同期させる場合に、 従来のよ うに G O Pスタートコ一ドゃ G O Pヘッダの中に符号化されている G O Pタイ ムコードを利用する方法では、 テーブル作成時の処理の煩雑さや、 これに伴う D S Pの回路規模増大が問題となる。
特殊再生に利用する情報については、 記録媒体やフレームレ一トなどに依存 しないものであることが必要である。 特に M P E Gストリームのようなデジ夕 ル情報は、 記録再生装置やパソコンで同等に扱われるため、 磁気ディスクから 光ディスクのように異なるフォーマットの記録媒体間でデ一夕の移動や複写が 行えることが必要となる。 また、 ネットワークの発達により M P E Gストリ一 ムは世界的に流通しているが、 フレームレ一卜が異なる N T S C方式と P A L 方式の何れの方式でもその情報を同じように利用できるようにする必要がある。 前述した特願平 5— 3 0 6 5 6 7号の発明は、 磁気テープに特化したもので あり、 リストやテーブルの形をとつていない。 また性質上ランダムアクセスを 前提として特殊再生を行うものではない。
特願平 7— 2 9 8 0 4 8号の発明は、 記録されている情報がフレームである ので、 時間でシーク先を指定して頭出しする場合を考えると、 フレームレート が唯一であることが前提となり、 異なるフレームレートの M P E Gストリーム を扱うことができない。
特願平 7— 3 6 4 6 1は、 G O Pタイムコードが記録されているので、 時間 でシーク先を指定して頭出しするような場合には対応できるが、 セクタ単位で 情報が記述されるため、 記録媒体を変更した場合にテーブルを再度作成しなく てはならないというデメリツ卜がある。
特殊再生、 特殊録画再生機能を効率よく行うためには、 デ一夕に直接ァクセ スするために必要なデータ位置を、 アプリケーションやユーザから指定された 時間情報から簡単に求められることが必要である。
その方法として、 G O Pタイムコードゃフレーム数でカウントすることも考 えられる。 しかしながら、 前者は G O Pタイムコードを抽出する必要があるが、 これを利用する場合は M P E Gストリームから G O Pスタートコ一ドの位置と G O Pスタートコードを含むバケツ卜の位置の両方をみる必要があるので効率 的ではない。 後者はフレーム数をカウントする処理が必要となり、 フレームレ 一卜が異なった場合の対応が必要となり効率的ではない。
特殊再生を行う場合、 データの転送速度が一定ではなぐなるので、 これに対 処する必要がある。 また、 録画と組み合わせた特殊再生を行う場合には、 シス テム内のデータトラフィックが煩雑となるため処理が複雑になる。 さらに、 光ディスク、 光磁気ディスク、 磁気ディスクのような記録媒体では、 内部パラメ一夕の調整や記録領域の欠陥が検出されて別の領域にデ一夕を書き 込む際に数秒間読出しや書込み不能になることがある。 R ead/Wr i te時の DM A転送中にこのような現象が発生した場合、 録画中であればデータが欠落し、 再生中であれば映像が停止するという問題が生じる。
本発明の課題は、 符号化された画像データを再生する画像再生装置において、 任意倍速再生等の特殊再生、 特殊録画再生を簡易に行えるようにすることであ る。 また、 他の課題は、 録画、 再生、 デ一夕転送を効率的に行えるようにする ことである。 発明の開示
図 1 Aは、 請求項 1記載の発明の原理説明図であり、 図 1 Bは、 請求項 1記 載の発明において、 バケツト情報作成手段を有する発明の原理説明図である。 請求項 1記載の発明は、 符号化された画像データのバケツ卜ヘッダ部に含ま れるタイムスタンプと、 パケットヘッダ部を指す情報とからなるバケツト情報 を参照するバケツト情報参照手段 1と、 バケツト情報参照手段 1により参照さ れたバケツト情報に基づいて、 符号化された画像を復号する復号化手段 2とを 備える。
この発明によれば、 パケットヘッダ部に含まれるタイムスタンプと、 バケツ トへッダ部を指す情報とからなるパケット情報を参照することで任意の再生位 置を容易に求めることができる。
請求項 1記載の発明において、 符号された画像データのパケットヘッダ部に 含まれるタイムスタンプと、 バケツトヘッダ部を指す情報とからなるバケツト 情報を作成するパケット情報作成手段 3を備えるようにしても良い。
この発明によれば、 パケット情報作成手段により、 他の装置で符号化された 画像デ一夕のバケツト情報を作成することができるので、 そのバケツト情報に 基づいて任意の再生位置を求めることができる。
例えば、 符号化された画像デ一夕が MP EGストリームの場合には、 MPE Gストリームのバケツ卜ヘッダに含まれるプレゼンテーションタイムスタンプ PTSと、 パケットヘッダのファイルアドレスとからなるパケット情報が作成 され、 さらにパケット情報のリストが作成される。
MP EGストリームのビデオバケツトのプレゼンテーションタイムスタンプ PTSは、 全てのピクチャスタートコ一ドに対応して付加され、 オーディオパ ケットの PTSは全てのバケツトに付加される。 MP EGストリームから得ら れる P T Sや復号化手段で得られるシステムタイムクロック STCなどのタイ ムスタンプは、 MPEG 1であれば、 90kHz のカウン夕でカウントされる全 てのストリームで共通の情報である。 従って、 この PTSを利用することで、 フレームレートに依存しない時間情報を得ることができる。
例えば、 再生位置が画像データの先頭のバケツ卜からの時間で指定された場 合に、 その時間をタイムスタンプ TSに変換し、 タイムスタンプ TSの値に近 い値を有するバケツト情報をバケツト情報リストから探すことで、 該当するパ ケットのファイルアドレスを取得することができ、 任意倍速再生などの特殊再 生、 特殊録画再生を容易に実現できる。
さらに、 画像を符号化して外部または内部の記録媒体に記録させる符号化手 段を備えるようにしても良い。
この発明によれば、 画像を符号化して記録する際に、 符号化された画像デ一 夕のバケツトヘッダ部のタイムスタンプと、 バケツトヘッダを指す情報とから なるパケット情報を作成することができる。 これにより、 任意倍速での画像の 正逆再生、 ランダムアクセス等の特殊再生、 ライブモニタ、 リアルタイムシフ ト等の特殊録画を、 ハードウェアを増やさず、 録画、 再生処理を複雑にせずに 実現できる。
また、 符号化手段の画像の符号化処理、 符号化された画像データを記録手段 に転送する録画データ転送処理、 記録手段に記録された画像デー夕を復号化手 段へ転送する再生データ転送処理及び復号化手段における画像データの複号化 処理をマルチタスク化するようにしても良い。
この場合、 録画データ転送タスクと、 再生データ転送タスクを別タスクとす ることで、 データ転送処理の記述を簡素化できる。
また、 データ転送タスク毎にデ一夕転送のブロックサイズを個別に設定する ことで、 特殊再生、 特殊録画再生時のデータ転送の効率化を実現できる。
さらに、 録画データの転送タスクの優先順位を、 再生デ一夕の転送タスクの 優先順位より高く設定できるようにしても良い。
この場合、 録画データ転送タスクの優先順位を高くすることにより、 記録す べきデータが欠落するのを抑制できる。
本発明の 1つの形態では。 データ位置としてバケツトヘッダのアドレス情報 (ファイルポインタ) を、 時間情報としてパケットヘッダに含まれる P T Sを 利用する。 M P E G形式でデータを符号化する場合、 符号化手段で P T Sをパ ケッ卜に付加するので、 バケツト情報作成手段は特殊再生用に特別にデータを 作成することなしに P T Sを利用することで特殊再生用のリストの作成が簡単 に行える。 また符号化手段は、 G O Pヘッダを含むパケットヘッダを抽出する 際に、 G O Pスタートコードを利用しているので、 G O Pスタートコードを含 むパケッ卜のパケット情報を得ることも容易となる。 図面の簡単な説明
図 1 A、 1 Bは本発明の原理構成図である。
図 2は、 第 1の実施の形態の構成を示す図である。 図 3は、 MP EGストリームの構成の説明図である。
図 4は、 MP EGビデオストリームの構成の説明図である。
図 5は、 MP EGビデオストリ一ムのフレームの構成の説明図である。
図 6は、 第 1のバケツト情報参照方法に基づく処理のフローチャートである。 図 7は、 第 2のパケット情報参照方法に基づく処理のフローチャートである。 図 8は、 第 3のバケツト情報参照方法に基づく処理のフローチャートである。 図 9は、 N倍速再生の処理のフローチャートである。
図 10は、 簡易再生処理のフローチャートである。
図 1 1は、 クリップ編集処理のフローチャートである。
図 12は、 第 1の実施の形態のタスクの説明図である。
図 13は、 第 2の実施の形態の構成を示す図である。
図 14は、 第 2の実施の形態のタスクの説明図である。
図 15は、 ュ一ザインターフェースタスクの処理のフローチャートである。 図 16は、 メインタスクの処理のフローチャートである。
図 17は、 再生タスクの処理のフローチャートである。
図 18は、 再生デ一夕転送タスク 34 a、 64 aの処理のフローチャートで ある。
図 19は、 再生データ転送タスク 34 b、 64 bの処理のフローチャートで ある。
図 20は、 録画タスクの処理のフローチャートである。
図 21は、 録画デ一夕転送タスク 35 a、 65 aの処理のフローチャートで ある。
図 21は、 録画デ一夕転送タスク 35 b、 65 bの処理のフローチャートで ある。
図 23は、 第 3の実施の形態の構成を示す図である。 図 24は、 記録媒体を示す図である。 発明を実施するための最良の形態
以下、 本発明の実施の形態を図面を参照しながら説明する。 図 2は、 本発明 の第 1の実施の形態の MP EGストリームの記録再生装置の構成を示す図であ る。
符号化部 21は、 入力される画像を MP EG形式の画像データ (MPEGス トリ一ム) に変換し、 変換した MPEGストリームをメモリ 22に出力する。 パケット情報作成部 23は、 MP EGストリームのパケットヘッダに含まれ るプレゼンテーションタイムスタンプ P T S (Presentation Time Stamp) と、 バケツトヘッダのファイルァドレスとからなるバケツト情報を作成し、 GOP を含むバケツトヘッダのバケツト情報からなるバケツト情報リストを作成する。 なお、 符号化部 21がビデオ符号化とオーディオ符号化が可能なときには、 パ ケット情報に GOPと同期しているオーディオバケツ卜の PTSとファイルァ ドレスを加える。
図 3は、 MP EGストリームの構成を示す図である。 ビデオパケット、 ォー ディォパケットには、 アクセスユニットと呼ばれる復号再生の単位毎に、 いつ 復号再生すべきかを示すタイムスタンプ TSと呼ばれる情報が付加される。 図 3に示すように MP EGストリームの上位階層は、 ストリーム全体の概要 を記述したシステムヘッダとパックとからなる。 1つのパックは、 パックの開 始コード、 識別コード等を含むパックヘッダと複数のパケットからなる。 パケ ットは、 パケットヘッダとビデオエレメンタリストリーム(Video Elementary Stream) やオーディオエレメン夕リストリーム (Audio Elementary Stream) を含むパケットデータとからなる。 パケットヘッダには、 MPEGストリーム を再生出力する際の時刻管理情報として用いられるプレゼンテーションタイム (Presentation Time Stamp) が含まれる。
図 4は、 MPEGビデオストリームの構成を示す図である。 MPEGビデオ ストリ一ムは、 シーケンス層と GO P層とピクチャ層とスライス層とマクロブ ロック層とから構成されている。
シーケンス層 41は、 画面サイズ、 マクロブロック数等の情報からなるシ一 ケンスヘッダと、 G〇Pとシーケンスェンドコードとから構成されている。
00?層42は、 GOPヘッダ情報と 1つの GOPに属する Iピクチャ、 B ピクチャ、 Pピクチ等から構成されている。 Iピクチャはフレーム間予測を行 わず 1つのフレームの情報から生成される画像デ一夕であり、 Pピクチャは、 Iピクチャまたは Pピクチャからの予測により生成される画像データであり、 Bピクチャは、 Iピクチャと Pピクチャの双方向予測により生成される画像デ 一夕である。
ピクチャ層 43は、 ピクチャヘッダ情報と複数のスライスとから構成されて いる。 スライス層 44は、 スライスヘッダ情報と複数のマクロブロックとから 構成されている。 マクロブロック層 45は、 マクロブロック情報と複数のプロ ックとから構成されている。
図 5は、 MP EGビデオストリームのフレーム構成を示す図である。 シ一ケ ンスは複数の GOPからなり、 1つの GOPは複数のピクチャからなり、 1つ のピクチャは複数のマクロブロックから構成されている。
図 2に戻り、 符号化部 21で符号化されメモリ 22に格納された MP EGス トリームは、 図示しない制御部により、 ハードディスク、 光磁気ディスク等か らなる情報蓄積部 24に格納される。
例えば、 ュ一ザにより時間で再生位置が指定されると、 制御部は、 パケット 情報参照部 25により参照されるバケツト情報に基づいて M P E Gストリーム の再生位置を求め、 該当する MPEGストリームを情報蓄積部 24から読み出 して復号化部 2 6に出力する。 復号化部 2 6は、 その M P E Gストリームを復 号して出力する。
ここで、 パケット参照部 2 5におけるパケット情報の参照方法を、 図 6〜図 8を参照して説明する。
本実施の形態では、 M P E Gストリームの G O Pヘッダを含むパケットのパ ケッ卜情報を項番号順に記憶したバケツ卜情報リストを作成し、 項番号により 再生位置を指定する方法 (これを第 1のパケット情報参照方法と言う) と、 M P E Gストリームの先頭を基準とした時間で再生位置を指定する方法 (これを 第 2のパケット情報参照方法と言う) と、 復号処理中のパケットを基準とした 時間で再生位置を指定する方法 (これを第 3のパケット情報参照方法と言う) の 3種類の方法を用いている。
第 1のバケツト情報の参照方法では、 バケツト情報作成部 2 3が M P E Gス トリ一ムの G〇 Pへッダを含むパケットへッダの P T Sとパケットへッダのフ アイルアドレスとからなるパケット情報に順に項番号を付与してバケツト情報 リストを作成する。
以下、 上記のようなパケット情報リストが作成されていることを前提にして、 第 1のパケット情報参照方法に基づく処理を、 図 6のフローチャートを参照し て説明する。
例えば、 ユーザから k倍速での再生が指定された場合には、 パケット情報リ ストから k個おきにパケット情報を読み出すために、 項番号 kを指定する (図 6, S 1 1 )。 次に、 その項番号 kのファイルアドレス Akを取得する (S 1 2 )。 そして、 そのファイルアドレス Ak に基づいて情報蓄積部 2 6の該当する位置 にヘッドを移動させ、 順にデータを読み出し、 読み出したデ一夕を復号化部 2 6で復号して画像を再生する。
この第 1のバケツ卜情報参照方法によれば、 バケツト情報リストの項番号を 指定することにより情報蓄積部 24から該当する MPEGストリームを読み出 す為のファイルアドレスを取得することができるので、 ランダムアクセス、 任 意倍速での正逆再生処理、 あるいは後述するリアルタイムシフト、 ライブモニ 夕等の特殊録画再生処理における読み出し位置あるいは書き込み位置を決定す るための処理が簡略化でき、 処理時間を短縮することができる。
次に、 第 2のパケット情報参照方法について説明する。 第 2のパケット情報 参照方法においては、 パケット情報作成部 23が、 MPEGストリームの G〇 Pを含むバケツ卜のヘッダに含まれるプレゼンテーションタイムスタンプ PT Sと、 該当するパケットヘッダのファイルアドレスとからなるバケツト情報を 作成し、 そのバケツ卜情報に記録順に項番号を付与したバケツ卜情報リストを 作成する。 なお、 第 2のパケット情報参照方法では、 項番号を付与しないパケ ット情報リストを作成することもできる。
上記のようなパケット情報リストが作成されていることを前提にして、 第 2 のバケツト情報参照方法について図 7のフローチャートを参照して説明する。 アプリケーションまたはユーザにより MP EGストリームの先頭からの時間 で再生位置が指定されると (図 7, S 21)、 指定された時間がタイムスタン プ TSに変換される (S 22)。
例えば、 MP EGストリームの先頭を基準にして H時 M分 S秒の位置から再 生を開始したい場合には、 時間を秒単位に変換し、 その時間をシステムクロッ クの周波数で除算した値をタイムスタンプ TSとして求める。 この演算は次式 で表すことができる。
TS= (HX60X60 + MX60+S) / (システムクロックの周波数) (1) 次に、 バケツト情報リストの項番号 1のタイムスタンプ PTS 1を取得し、 そのタイムスタンプ PTS 1に上記の (1) 式により求めたタイムスタンプ T Sを加算して、 指定された時間をタイムスタンプ PTS n' に変換する (S 2 3)o (1) 式で求めたタイムスタンプ TSと項番号 1のプレゼンテーション夕 ィムスタンプ PTS 1とから次式により PTS n' を求めることができる。
PTSn' =PTS 1 +TS · · · · (2)
次に、 パケット情報リストから項番号 n (例えば、 初期値 n= l) のタイム スタンプ PTS nを読み出し、 そのタイムスタンプ PTS nの値が目的とする 再生位置のタイムスタンプ PTSn' に最も近いか否かを判別する (S 24)。 項番号 nのタイムスタンプ PTS nの値が目的とする再生位置のタイムス夕 ンプ PTSn' の値と所定値以上離れているいる場合には (S 24, NO), ステップ S 25に進み項番号 nを更新した後、 ステップ S 24に戻り、 更新さ れた項番号 nのタイムスタンプ PTS nをバケツト情報リストから読み出し、 上述した判別を行う。
ステップ S 24, S 25の処理を繰り返し、 目的とする再生位置のタイムス タンプ PTSn' に最も近いタイムスタンプ PTS nを有する項番号が得られ たなら (S 24, YES), パケット情報リストから該当する項番号 nのファ ィルアドレス An を取得する (S 26)。 そして、 そのファイルアドレス An の パケットデータを情報蓄積部 24から読み出して復号化部 26へ出力し、 MP EGストリームを復号再生する。 これにより、 指定された時間に対応する位置 から画像を再生することができる。
次に、 第 3のバケツト情報参照方法について説明する。 この第 3のバケツト 情報参照方法においても第 2のバケツト情報参照方法と同様に、 パケット情報 作成部 23が、 MP EGストリームの G〇Pヘッダを含むバケツトヘッダを抽 出し、 バケツトヘッダに含まれるプレゼンテ一ションタイムスタンプ PTSと、 バケツトヘッダのファイルァドレスとからなるバケツト情報を作成する。 さら に、 そのパケット情報に順に項番号を付与したバケツト情報リストを作成する。 以下、 このパケット情報リストが作成されたことを前提にして、 第 3のパケ ット情報参照方法に基づく処理を図 8のフローチャートを参照して説明する。 復号処理中のバケツトを基準として時間 H時 M分 S秒が指定されると (図 8, S 3 1)、 指定された時間を、 上述した (1) 式によりタイムスタンプ TSに 変換する (S 32)。 次に、 復号化部 26においてカウントされている復号処 理中のバケツ卜のシステムタイムクロック STCに上記のタイムスタンプ TS を加算し、 目的とする再生位置のタイムスタンプ PTSn' を算出する (S 3 3)。 この演算は次式で表すことができる。
PTSn' =STC + TS · · · · (3)
次に、 パケット情報リストから項番号 n (例えば、 初期値 n= lとする) の タイムスタンプ PTS nを読み出し、 そのタイムスタンプ PTS nの値が目的 とする再生位置のタイムスタンプ PTSn' に最も近いか否かを判別する (S 34)。
項番号 nのタイムスタンプ PTS nの値が目的とする再生位置のタイムス夕 ンプ PTSn' の値と所定値以上離れているいる場合には (S 34, NO)、 ステップ S 36に進み項番号 nを更新した後、 ステップ S 34に進み、 新たに 指定された項番号 nのタイムスタンプ PTS nをバケツ卜情報リストから読み 出し、 上述した判別を行う。
ステップ S 34, S 35の処理を繰り返し、 目的とする再生位置のタイムス タンプ PTSn' に最も近いタイムスタンプ PTS nが検出されたなら (S 3 4, YES)、 パケット情報リストから該当する項番号 nのファイルアドレス An を取得する (S 36)。 そして、 そのファイルアドレス An のパケットデ一 夕を情報蓄積部 24から読み出して複号化部 26へ出力し、 MPEGストリー ムの復号を行わせる。 これにより、 指定された時間に対応する位置から MP E Gストリームの再生が開始される。
上述した第 2及び第 3のパケット情報参照方法によれば、 MPEGストリ一 ムの先頭を基準とした時間、 あるいは再生処理中のバケツトを基準とした時間 で再生位置が指定された場合に、 バケツト情報リストを参照してそれぞれの時 間に対応する再生位置を簡易に求めることができる。
次に、 第 1の実施の形態の MP E Gストリームの記録再生装置における特殊 再生機能、 特殊録画再生機能について説明する。 特殊再生機能としては、 ラン ダムアクセス、 任意倍速再生 (早送り再生、 簡易逆再生)、 クリップ編集、 リ ピート再生があり、 特殊録画再生機能としては、 リアルタイムシフト、 ライブ モニタがある。
最初に、 GOPを N個おきに再生する任意倍速再生処理を図 9のフローチヤ ートを参照して説明する。
先ず、 タイムスタンプ T S = 0にして第 3のバケツト情報参照方法により、 現在復号中のデータに対応するバケツト情報リストの項番号 kのファイルァド レス Akを取得する (図 9, S41)。 次に、 パケット情報リストを参照して次 の項番号 k+ 1のファイルアドレス Ak+ 1を取得する (S 42)。 そして、 そ れらのアドレス情報から読み出し開始点のアドレスとして" Ak" を、 読み出 し終了点のアドレスとして項番号 k + 1のファイルアドレス" Ak+1" の 1つ 前のアドレス" Ak+1— l" を求める。
次に、 情報蓄積部 24のヘッダ (読み取りノ書き込み部) をファイルァドレ ス Ak に対応する位置へ移動させる (S 43)。 そして、 ファイルアドレス Ak から Ak+ 1までのストリームを読み出し、 読み出したストリームを複号化部 26へ出力する (S 44)。
次に、 kの値に Nを加算した値を新たな kの値として設定した後 (S 45)、 ステップ S 41に戻り、 項番号 kのパケット情報を読み出す。 これらの処理に より、 バケツト情報リストに登録されているファイルァドレスが N個おきに読 み出され、 そのファイルアドレスで指定される GOPを読み出すことで N+ 1 倍速の再生を実現できる。
なお、 復号化部 26がフレームスキップ機能を有する場合には、 そのフレー ムスキップ機能と上述した任意倍速の再生処理とを組み合わせることでより滑 らかな再生を行うことができる。 例えば、 複号化部 26が Bピクチャのスキッ プ機能を有する場合に、 GOPが" Ι ΒΒΡΒΒΡΒΒΡ · · · " のように構 成されるストリームに対して Bピクチャをスキップさせ、 上述したように G〇 Pを N個おきに再生することで 3 (N+ 1) 倍速の再生を実現できる。 また、 Bピクチャをスキップさせると、 GOPの先頭にあって GOP間で双方向の動 きべクトルの参照が行われる Bピクチャを表示しないので、 GOP境界部後続 の G〇 Pへッダの変更なしに G O P境界部での画像ノィズの発生を抑えること ができる。
上述した任意倍速の再生処理において、 Nを負の値とすることで簡易逆再生 を実現できる。 以下、 この簡易逆再生処理を図 10のフローチャートを参照し て説明する。
先ず、 タイムスタンプ TS = 0に設定し、 第 3のパケット情報参照方法によ り、 現在復号中のデータに対応するバケツト情報リストの項番号 kのファイル アドレス Akを取得する (図 10, S 51)。 この場合逆再生であるので、 パケ ット情報リストの項番号が 1つ前の項番号 k— 1のファイルアドレス Ak- 1 を 取得する (S 52)。 次に、 情報蓄積部 24の読み取り 書き込み部をフアイ ルアドレス Ak- 1 の位置に移動させる (S 53)。 そして、 ファイルアドレス A k-1 から Ak までのストリームを読み出し、 読み出したストリームを復号化部 26を出力する (S 54)。 次に、 kの値から Nを減算した値を新たな kの値 として設定した後 (S 55)、 ステップ S 5 1に戻り、 項番号 kのパケット情 報を読み出す。 これらの処理により、 パケット情報リストに登録されているフ アイルアドレスが N— 1個おきに読み出され、 そのファイルアドレスで指定さ れる G O Pを読み出すことで N倍速の簡易逆再生を実現できる。
なお、 この簡易逆再生では、 1 G〇Pの画像データが時間軸上で正順に再生 されるので、 この点を改善するために、 1 G O Pにっき Iピクチャ相当分のデ 一夕しか読み出さないようすることで、 視覚的違和感を除去することができる。 このときの再生開始点のアドレスは" Ak"、 終了点のアドレスは" Ak+ ( I ピクチャ相当分のデータ) となる。
また、 復号化部 2 6が Bピクチヤスキップ機能と Pピクチャスキップ機能と を有する場合には、 それらの機能を利用することで Iピクチャのデ一夕量を調 ベる必要が無くなるのでより処理を軽減できる。
また、 所望の位置から再生を開始するランダムアクセスを実行したい場合に は、 アプリケーションからは通常、 再生開始点が時間情報で与えられるので、 上述した第 2または第 3のバケツ卜情報参照方法により再生開始位置を求め、 アクセスしたい位置へ情報蓄積部 2 4のへッドを移動させ、 連続的にストリ一 ムを読み出す。
次に、 クリップ編集処理について説明する。 1つ以上ストリームに対して、 任意の 1組以上の開始点、 終了点で指定されるストリームをクリップと呼ぶ。 このクリップを編集する際に、 開始点、 終了点をファイルを直接分割や結合を 行わずに、 クリップの開始点と終了点をストリーム先頭からの時間またはパケ ッ卜情報のリストの項番号で指定する。
以下、 クリップ編集処理を図 1 1のフローチャートを参照して説明する。 パ ケット情報を参照して再生開始点として項番号、 P T S、 ファイルアドレスの 何れか 1つを取得する (図 1 1, S 6 1 )。 次に、 パケット情報リストを参照 して指定されたデータの項番号、 P T S、 ファイルアドレスの何れかを終了点 の情報として取得する (S 6 2 )。 そして、 それらの開始点、 終了点をクリツ プの情報として登録する。 クリップの再生時は、 開始点と終了点で指定されるストリームのみを第 1、 第 2または第 3のバケツト情報参照方法によって読出すことで、 効率よい処理 が可能となる。 また、 クリップしたストリームを削除する場合には、 登録され ている開始点、 終了点以外のストリームを削除する。
上述したクリップ編集処理では、 クリップの開始点と終了点に関する情報の みが情報蓄積部 2 6に記憶され、 従来のようにクリップする画像全体がコピー されるわけではないので、 情報蓄積部の容量を節約することができる。
また、 同じ区間のストリームを任意の回数再生するリピート再生を行う場合 にも、 パケット情報リストを利用して効率的に再生を行うことができる。 リピ ート再生の開始点と終了点をバケツト情報リストを参照して第 1、 第 2または 第 3のバケツト情報参照方法により取得することにより、 リピート再生処理を 効率的に行うことができる。 また、 リピート再生が指定されたときの再生位置 を再生開始点として取得することで、 リピート再生の開始点または終了点の一 方のみ指定するば良いのでユーザのリピート再生を指定するときの操作が簡単 になる。
例えば、 再生中に M分後までのリピート再生を指定する場合、 開始点は上述 した第 3のパケット情報参照方法により T S = 0して自動的に決まるので、 ュ 一ザ開始点を指定する必要がない。 また、 逆に M分前からのリピート再生を指 定する場合には、 ユーザが終了点を指定しなくとも、 自動的に決めことができ、 リピ一ト再生の操作を簡略化できる。
次に、 録画と再生を同時に行うリアルタイムシフト、 ライブモニタ等の特殊 録画再生機能について説明する。
M P E Gストリームの録画再生装置において、 情報蓄積部がランダムァクセ ス可能で、 かつアクセススピードが十分速い場合には、 録画と再生を同時に行 うことが低コス卜で実現できる。 同一ストリームに対して同時に録画と再生が行われることをリアルタイムシ フトと呼ぶ。 情報蓄積媒体の容量が無限であれば、 常にストリームの終端に録 画を行えばよい。 しかし、 無限容量の蓄積媒体は現状では実現不可能である。 そこで、 既に再生された位置に録画を行えば、 再生停止や一時停止、 逆再生な どを行わない限り、 無限に録画できることになる。
現在再生中のストリームのファイルアドレスは、 例えば、 第 3のパケット情 報参照方法でタイムスタンプ TS = 0としたときに、 (3) 式から PTSn' が得られるので、 その PTSn' の値からパケット情報リストを参照して取得 することができる。 そして、 タイムスタンプ TS≤0となるファイルアドレス を録画開始点とすることで、 既に再生された情報記憶部 24の記憶領域に MP EGストリームを連続的に録画することができる。
なお、 情報蓄積部 24の容量が一定であるため、 ストリームサイズはあらか じめ決められている必要がある。 バケツト情報に記述されるファイルアドレス ADDRES S' がストリームサイズ S Sを超える場合には、 以下のようにし て実際のファイルアドレス ADDRES Sを決定する。
ADDRES S=ADDRES S' %S S · · · · (4)
ここで、" %" は剰余を求める演算記号である。
リアルタイムシフトを行う場合のパケット情報リストの更新は、 例えば、 第 3のパケット情報参照方法により T S≤ 0の条件で得られる P T Sより小さい PTSを持つ項目を削除し、 新たに録画されたストリームのバケツト情報を追 加することで実現できる。
また、 リアルタイムシフトにおいて、 録画開始点に対して復号中のストリー ムが十分近い場合、 直前に記録されたストリームを読み出して再生することこ とにより、 ストリームが記録されたか否かを確実に確認することができる。 こ のような特殊録画再生をライブモニタと呼ぶ。 例えば、 監視システムにおいて は、 映像などが本当に記録されているかを確認する必要があり重要な機能であ る。
上述した特殊再生機能、 特殊録画再生機能においては、 再生するストリーム や録画されたストリーム、 パケット情報など、 同時に複数のデータが流れ、 デ —夕転送処理が煩雑になる。 加えて、 特殊再生時ではフレームスキップを行う 場合もありデー夕転送頻度が変化することもあるので、 データ転送処理が一層 煩雑になる。 そこで、 システムの制御を簡単化するため、 本実施の形態では、 マルチタスク〇Sにより符号化部 2 1、 複号化部 2 6、 メモリ 2 2、 情報蓄積 部 2 4などを制御している。 本実施の形態においては、 再生、 録画といった基 本的機能をタスク化し、 それぞれの処理を別個に制御可能とすることでデータ 転送処理等の煩雑さを低減している。
図 1 2は、 第 1の実施の形態の画像記録再生装置において、 マルチタスク O Sにより少なくとも 1チャネル分の録画、 再生タスクを管理する場合のタスク の説明図である。
再生タスク 3 2、 録画タスク 3 3はメインタスク 3 1により、 再生開始 Z停 止、 録画開始 Z停止の命令を受けて処理を行う。 そして、 再生タス 3 2クと録 画タスク 3 3はデ一夕転送処理を行うタスクを制御する。
再生タスク 3 2は、 情報蓄積部 2 4からメモリ 2 2へのデータ転送を行う再 生デ一夕転送タスク 3 4 aと、 メモリ 2 2から複号化部 2 6へのデータ転送を 行う再生データ転送タスク 3 4 bとを制御する。
録画タスク 3 3は、 符号化部 2 1からメモリ 2 2へのデータ転送を行う録画 デ一夕転送タスク 3 5 aと、 メモリ 2 2から情報蓄積部 2 4へのデータ転送を 行う録画データ転送タスク 3 5 bとを制御する。 これらのタスクの処理内容に ついては後述する第 2の実施の形態において説明する。
情報蓄積部 2 4では、 内部パラメータの調整や記録領域の欠陥等が検出され て別領域に書き込みを行う交代処理等の内部処理により、 デ一夕の書き込み Z 読み出しが数秒間停止することがある。 本実施の形態では、 デ一夕転送ブロッ ク毎にタスクを分割することで、 情報蓄積部 24での処理の中断があっても、 他のタスクへの影響を低減し、 安定したデータ転送を続けることが可能となる。 次に、 図 13は、 本発明の第 2の実施の形態の MPEGストリームの記録再 生装置の構成を示す図である。
この第 2の実施の形態は、 記録再生装置がビデオ信号とオーディオ信号の符 号化、 復号化機能を有し、 MPEGストリームを複数の情報蓄積部に記録でき るようになっている。 以下の説明では。 図 2で説明したブロックと同じブロッ クには同じ符号を付けてそれらの説明を省略する。
オーディオ信号、 ビデオ信号は、 それぞれオーディオ符号化部 41, ビデオ 符号化部 42において、 MP EG形式のオーディオストリーム、 ビデオストリ —ムに符号化される。 そして、 多重化部 43において、 ビデオストリームとォ 一ディォストリームが多重化されてデータバス 44に出力される。
多重化された MP EGストリームは、 MPU 45の制御の元にデータ入出力 インターフヱース部 46を介して複数の情報蓄積部 47 a、 47 b - · ·の何 れかに格納される。 デ一夕入出力イン夕一フエ一ス部 46は、 SCS I、 AT AP I、 または I EEE 1394等の規格に準拠したものである。
画像の再生時には、 情報情報蓄積部 47 aまたは 47 bから読み出される多 重化された MP EGストリームが分離部 48においてオーディオストリームと ビデオストリームに分離され、 それぞれオーディオ複号化部 40, ビデオ復号 化部 50において元のオーディオ信号、 ビデオ信号に復号される。
この記録再生装置は、 データ入出力ィンターフェ一ス部 46を介して計算機 51と接続されており、 計算機 51と互換性のあるファイルシステムを用いて いる。 従って、 第 2の実施の形態の記録再生装置に接続される情報蓄積部 47 a、 47 bが可換性記録媒体でも、 非可換性記録媒体でも、 それらの記録媒体 に記録した画像データを計算機 51との間で交換することが可能となる。 さら に、 計算機 51が符号化した MPEGストリーム、 あるいは計算機 51がネッ トワーク経由でダウンロードした MP EGストリームを記録再生装置で再生、 編集することが可能となる。
この第 2の実施の形態においては、 MPU45はマルチタスク OS環境下で 動作し、 図 14に示すように複数チャネルの再生タスク 32, 62, 録画タス ク 33, 63を実行することができる。
図 14において、 ユーザインターフエ一ス (U I) タスクは、 GU Iの制御、 リモコンの操作信号の検出、 パネルポタンの操作信号の検出等を行うタスクで あり、 検出内容をメッセージとしてメインタスク 33に通知する。
図 15は、 このュ一ザイン夕一フェースタスク 61の処理フローチャートで ある。 ユーザインターフェースタスク 61は、 リモコンやパネルボタンが操作 されたか否かを判別し (図 15, S 7 1)、 リモコン、 あるいはパネルポタン が押されていないときには、 それらの検出処理を繰り返す。
リモコンまたはパネルポタンが押された場合には (S 72、 YES), メイ ンタスク 31に操作内容を通知する (S 72)。
メインタスク 33は、 ユーザインタ一フェースタスク 61、 録画タスク 33, 63、 再生タスク 32, 62からのメッセージに従って録画タスク 33, 63, 再生タスク 32, 62を制御する。
図 16は、 メインタスク 31の処理のフローチャートである。 メインタスク 31は、 最初にパラメ一夕の設定等の初期化処理を実行する (図 16, S 81)。 次に、 他のタスクからのメッセージを受信し (S 82)、 そのメッセージが終 了メッセージか否かを判別する (S 83)。
受信したメッセージが終了メッセージではないときには (S 83, NO)、 'S 84に進み、 メッセージの内容に応じて再生中、 録画中等の状態を 示す情報を設定する。 さらに、 設定した情報に基づいて再生タスク 32, 62、 あるいは録画タスク 33, 63に再生または録画の開始、 あるいは終了のメッ セージを送信し (S 84)、 その後ステップ S 82に戻る。
受信したメッセージが終了メッセ一ジのときには (S 8 3, YES), すな わち、 ユーザイン夕一フェースタスク 6 1がユーザの録画、 あるいは再生の終 了操作を検出し、 ュ一ザイン夕一フェースタスク 6 1からメインタスク 33へ 終了メッセージが送信された場合には、 終了処理を実行し、 設定したパラメ一 夕を元に戻してタスクを終了させる (S 86)。
再生タスク 32、 62, 録画タスク 33、 63は、 メインタスク 3 1からの 再生開始 Z停止、 録画開始 Z停止のメッセージを受信すると、 再生処理、 録画 処理を実行する。
図 1 7は、 再生タスク 32, 62の処理のフローチャートである。 再生タス ク 32、 62は、 最初にパラメータの設定等の初期化処理を実行する (図 17, S 9 1)。 次に、 他のタスクからのメッセージを受信し (S 92)、 そのメッセ —ジが終了メッセージか否かを判別する (S 93)。
受信したメッセージが終了メッセージではないときには (S 93, NO)、 ステップ S 94に進み、 例えば、 受信メッセージが再生の開始を指示するもの であれば、 再生開始状態に設定を変更する。 そして、 メインタスク 3 1から指 示された命令に従って再生データ転送タスク 34 a、 34 bまたは 64 a、 6 4 bに実行する処理内容を指示するメッセージを送信し (S 9 5)、 ステップ S 92に戻る。
受信したメッセージがタスクの終了を指示するメッセージの場合には (S 9 3, YES), ステップ S 96に進み、 終了処理を実行してタスクを終了させ る。 図 18は、 情報蓄積部 27 a、 27 b - ·から読み出した符号化されたデー 夕をデ一夕入出力イン夕フェース部 46を介してメモリ 22へ転送する再生デ —夕転送タスク 34 a、 64 aの処理内容を示すフロ一チャートである。
再生データ転送タスク 34 a、 64 aは、 最初に初期設定処理を実行してパ ラメ一夕の設定を行う (図 18, S 1 0 1)。 次に、 他のタスクからメッセ一 ジを受信し (S 102)、 そのメッセージがタスクの終了を指示する終了メッ セージか否かを判別する (S 103)。
受信したメッセージが終了メッセージではないときには (S 103, NO), そのメッセ一ジが特殊再生または特殊録画再生に関するメッセージか否かを判 別する (S 104)。
受信したメッセージが特殊再生または特殊録画再生に関するメッセージであ つた場合には (S 104, YES), ステップ S I 05に進み、 メッセージの 指示内容に基づいてバケツト情報リストを参照する。
例えば、 メッセージが N倍速の再生を指示するものであれば、 前述した第 1 のパケット情報参照方法によりパケット情報リストから N— 1個おきに G O P のファイルアドレスを読み出す。
受信したメッセージが特殊再生、 特殊録画再生を指示するメッセージでなけ れば (S 104, NO)、 そのままステップ S 106に進む。
次に、 メッセージで指示された再生または録画の内容に応じて必要なデ一夕 転送量を算出する (S 106)。
このデータ量の算出処理では、 例えば、 メッセージで指示された処理内容が 任意倍速の順方向の再生であれば、 上述したステップ S 105で参照したパケ ット情報リストのファイルアドレスから 1 G〇P分のデ一夕転送量を算出する。 また、 録画と再生を同時に行うリアルタイムシフトで、 早送り再生を行った場 合には、 再生位置が録画位置を超えないようなデータ転送量を算出する。 次に、 上述したバケツト情報リストを参照して取得したファイルアドレスに 基づいて情報蓄積部 47 a、 47 b - ·からのデータの読み出し位置をデータ 入出力インターフェース部 46に指示し、 データ入出力イン夕一フェース部 4 6から出力されるデ一夕をメモリ 22へ転送し、 ライトポィン夕の指す位置に 書き込む (S 107)„ デ一夕転送後、 メモリ 22のライトポインタの値を変 更する (S 108)。 さらに、 データ転送処理の終了、 継続、 エラーなどの結 果を知らせるメッセージを再生タスクに送信する (S 109)。 その後、 ステ ップ S 102に戻り、 上述した処理を繰り返す。
また、 ステップ S 103で受信したメッセージが終了メッセージと判別され た場合には (S 103, YES), ステップ S I 10に進み、 終了処理を実行 してタスクを終了させる。
次に、 図 19は、 メモリ 22から分離部 48へデ一夕を転送する再生データ 転送タスク 34b、 64 bの処理のフローチャートである。
図 19のステップ S 1 1 1〜S 1 14及び S 120の処理は、 図 18のステ ップ S 101〜S 104及び S 1 10の処理と同じである。
ステップ S 1 14で、 受信したメッセージが特殊再生 ·特集録画再生を指示 するメッセージと判別された場合には (図 19, S 1 14, YES), ステツ プ S 1 1 5に進み、 オーディオ復号化部 49, ビデオ復号化部 50の設定を変 更する。 この設定の変更は、 例えば、 特殊再生、 特殊録画再生の場合には、 フ レームスキップなどを行わせるように変更する。
次に、 メモリ 22に記憶されている再生データのデ一夕転送量を算出し (S 1 16)、 リードポインタの指すデータをメモリ 22から読み出し、 読み出し た再生データをオーディオ復号化部 49及びビデオ複号化部 50へ転送する (S 1 17)。 転送が終了したなら、 リードポインタの値を変更する (S 1 1 8 )。 そして、 データ転送処理の終了、 継続、 エラ一などの結果を知らせるメ ッセージを、 データの転送指示を行った再生タスク 32または 62へ送信する (S 1 19)。 その後、 ステップ S 1 12に戻り、 上述した処理を繰り返す。 図 20は、 録画タスク 33, 63の処理のフローチャートである。 録画タス ク 33, 63は、 最初に、 初期化処理を実行してパラメ一夕の設定を行う (図 20, S 121)0 次に、 他のタスクからのメッセ一ジを受信し (S 122)、 そのメッセージが終了メッセージか否かを判別する (S 123)。
受信したメッセージが終了メッセージではないときには (S 123, N〇)、 ステップ S 124に進み、 設定変更処理を実行する。 この設定変更処理では、 例えば、 受信メッセージが録画の開始を指示するものであれば、 タスクの状態 を録画開始状態に設定し、 録画の中止を指示するものであれば、 録画中止状態 に設定する。
次に、 指示されたメッセージの内容に応じて録画データ転送タスク 35 a、 35 bまたは 65 a、 65 に、 データの転送の開始または終了を指示するメ ッセージを送信する (S 125)。 その後、 ステップ S 122に戻る。
受信したメッセージが終了メッセージであった場合には (S 123, YES), ステップ S 126に進みタスクを終了させる。
次に、 図 21は、 録画時に、 オーディオ符号化部 41, ビデオ符号化部 42 からメモリ 22へのデータ転送を行う録画データ転送タスク 35 a、 65 aの 処理のフローチヤ一トである。
録画データ転送タスク 35 a、 65 aは、 最初に、 パラメータの設定等を行 う初期化処理を実行する (図 21, S 131)。 次に、 メッセージを受信し (S 132)、 そのメッセージが終了メッセージか否かを判別する (S 132)。
受信したメッセージが終了メッセージではない場合には (S 133, ΝΌ)、 ステップ S 134に進み、 メッセージが特殊録画再生を指示するメッセージか 否かを判別する (S 134)。 受信メッセージが特殊録画再生を指示するメッセージの場合には (S 134, YES), ステップ S 1 35に進み、 バケツト情報を更新した後、 ステップ S 136に進む。 このバケツト情報の更新処理では、 バケツト情報リストの再生 済の MP EGストリームのバケツト情報を、 新たに録画する MPEGストリー ムのビデオバケツトとそのビデオバケツトと同期するオーディオパケットのタ ィムスタンプ等のバケツト情報で上書きする。
他方、受信メッセージが特殊録画再生を指示するメッセージではない場合(S 134, N〇)、 つまり通常の録画の場合には、 オーディオ符号化部 41及び ビデオ符号化部 42で符号化されたオーディオ及びビデオバケツトのタイムス タンプ等のバケツト情報をパケット情報リストに追加し、 ステップ S 136に 進む。
ステップ S 136では、 メモリ 22の最後の書き込みアドレスを示すライト ポインタと読み出しァドレスを示すリードポインタとを元にしてデータ転送量 を算出する。 そして、 算出したデータ転送量分のデータを、 オーディオ符号化 部 41及びビデオ符号化部 42から多重化部 45を介してメモリ 22へ転送す る (S 137)。 デ一夕の転送が終了したなら、 メモリの書き込み位置を示す ライトポインタを最後に書き込みを行ったアドレスに変更する (S 138)。 そして、 録画データの転送の終了、 継続、 エラーなどの結果を知らせるメッセ —ジを、 メモリ 22へのデータの転送を指示した録画タスク 33または 63へ 送信する (S 139)。
ステップ S 133で、 受信したメッセージが終了メッセージであると判別さ れた場合には (S 133, YES), 終了処理を実行しタスクを終了させる。 次に、 図 22は、 メモリ 22からデータ入出力インタ一フェース部 46へ録 画データを転送する録画データ転送タスク 35 b、 65 bの処理のフローチヤ 一卜である。 図 22のステップ S 141〜S 143の処理は、 図 2 1のステップ S 131 〜S 33の処理と同じであり、 ステップ S 148の処理は、 図 21のステップ S 140の終了処理と同じである。
ステップ S 143で、 受信したメッセージが終了メッセ一ジではないと判別 された場合には (S 143, NO), ステップ S I 44に進み、 メモリ 22に 記憶されているデ一夕量からデータ入出力インターフェース部 46へ転送する データ量を算出する。 そして、 算出したデータ量分のデータをメモリ 22から 読み出しデータ入出力インターフェース部 46へ転送する (S 145)。 メモ リ 22からのデータの転送が終了したなら、 リードポインタの値を最後の読み 出し位置に変更する (S 146)。 そして、 録画デ一夕の転送の終了、 継続、 エラ一などの結果を知らせるメッセージを、 デ一夕入出力インターフェースへ 部 46への録画データの転送を指示した録画タスク 33または 63へ送信し (S 147)、 ステップ S I 42に戻る。
この第 2実施の形態によれば、 ビデオ信号とオーディォ信号の符号化及び復 号化機能有する記録再生装置において、 画像及び音声を MP EGストリームに 変換する際に、 パケットヘッダに含まれる PTSと、 パケットヘッダのフアイ ルアドレスとからなるバケツト情報を作成し、 そのバケツト情報を参照するこ とで、 任意倍速再生、 ランダムアクセス、 クリップ編集 '再生等の特殊再生、 録画と再生を同時に行うリアルタイムシフト、 録画しながら直前に録画した画 像を再生するライブモニタ等の特殊録画再生の録画及び再生位置を簡易に求め ることができ、 特殊再生、 特殊再生録画処理の効率化を図れる。
さらに、 録画、 再生及びデータ転送処理を、 マルチタスク化することで、 そ れぞれの処理の記述を簡素化できる。 また、 マルチタスク処理の特長の一つと して、 タスクの優先順位を設定できることがあげれらる。 この特長を利用する ことで、 複数のタスクが存在する場合でも、 優先順位を高く設定したタスクは 安定して動作させることができる。 再生タスクと録画タスクの 2つのタスクが ある場合でも、 録画タスクの優先順位を高く設定することで、 記録すべきデー 夕の欠落を防止し、 信頼性を向上させることができる。
また、 オーディオ符号化部 4 1及びビデオ符号化部 4 2からメモリ 2 2への デ一夕転送、 メモリ 2 2からデータ入出力インターフエ一ス部 4 6へのデータ 転送というようなデータ転送パス毎にデータ転送処理をタスク化することで、 それぞれのタスクの動作頻度や転送プロックサイズを独立に設定することが可 能となる。 これにより、 例えば、 オーディオ符号化部 4 1及びビデオ符号化部 4 2からメモリ 2 2へデータを転送するデータ転送タスクのデータ転送量、 あ るいはタスクの動作頻度を、 メモリ 2 2からデータ入出力インタ一フェース部 4 6へデータを転送するデータ転送タスクより大きく設定することで、 情報蓄 積部 4 7 a、 4 7 b等で一時的にデータの書き込みができなくなった場合でも、 録画すべきデータが欠落してしまうという問題を防止でき、 信頼性を向上させ ることができる。
さらに、 データ転送サイズは、 ストリームの読出し開始点や終了点で決まる ので、 通常再生時と特殊再生時とでデータ転送サイズが異なる場合には処理が 煩雑となってしまうが、 デ一夕転送ブロック毎にタスク化することでデータ転 送量の調整が容易になる。
なお、 情報蓄積部 2 4が数秒間処理が中断する場合でも、 中断の頻度が小さ く、 中断時間に相当するデ一夕量以上のデータを転送可能であれば、 タスク構 成を簡略化して再生データ転送タスク 3 4 aで情報蓄積部 2 4から復号化部 2 6へ直接データ転送を行うようにしても良い。 この場合、 再生デ一夕転送タス ク 3 4 bによるデータ転送が不要となりデ一夕転送効率が向上するので、 より 高いビットレートの M P E Gストリームを復号化することが可能となる。 一般 的にビットレートと画質には相関があり、 ビットレートが高いほど画質も良く なる。 従って、 上述のようなタスクの簡略化が可能であれば、 より高画質のス トリームを扱うことが可能になり、 フレームスキップ機能によりフレームスキ ップを行った場合でも、 より滑らかな高倍速再生が可能になる。
特殊録画再生のァリルタイムシフトゃライブモニタを実行する場合、 録画し た M P E Gストリームのバケツト情報を速やかにバケツト情報リストに追加す る必要がある。 そこで、 録画データ転送タスク 3 5 aで M P E Gストリームと バケツト情報を同時あるいは非常に近いタイミングで転送することで、 常にパ ケット情報リストを最新のものに更新することができる。 そして、 そのバケツ ト情報リストを参照することで、 リアルタイムシフトゃライブモニタを実現す ることができる。
本実施の形態の M P E Gストリームの記録再生装置で録画したストリームに ついては、 パケット情報作成部 2 3でパケット情報をほぼリアルタイムに作成 することができる。 一方、 パケット情報の作成機能を有しない他の装置で記録 された M P E Gストリームについては、 特殊再生の要求に対応するためにパケ ッ卜情報を作成する必要がある。 そこで、 パケット情報作成部 2 3は、 情報蓄 積部 2 4に記録される M P E Gストリームの中でバケツト情報が作成されてい ないものを自動的に検出、 あるいはュ一ザの指定により選択されたものを、 情 報蓄積部 2 4からメモリ 2 2に読み出し、 パケットヘッダ、 G O Pヘッダをサ ーチしてバケツト情報を作成する。 この処理を再生や録画が行われていない時 に行うことによって他のタスクへの影響を少なくできる。
また、 本実施の形態の M P E Gストリームの記録再生装置では S C S I, A TA P I, I E E E 1 3 9 4などのデ一夕入出力ィンタフエース部 4 6を設け ることにより、 複数の情報蓄積部 4 7 a、 4 7 b · · ·、 あるいは他の計算機 を利用することができる。
例えば、 ハードディスクなどの非可換性記録媒体の情報蓄積部 4 7 a、 4 7 b - · ·を複数もつことで、 より長時間の記録が可能となり、 装置の信頼性も 向上する。 また、 ハードディスクなどの非可換性記録媒体と、 光磁気ディスク、 光ディスクなどの可換性記録媒体との両方を持つことで、 長時間の記録が可能 となり、 さらに記録した M P E Gストリームを他の M P E Gストリーム再生装 置で再生することも可能となる。 また、 ファイルシステムを他の計算機 5 1と 同じものを採用することによって、 M P E Gストリームの記録再生装置の可換 性記録媒体に記録した M P E Gストリームを計算機 5 1で再生や編集すること が可能となる。 逆に計算機 5 1で符号化して記録した M P E Gストリームゃネ ットワークからダウンロードした M P E Gストリームを、 M P E Gストリーム の記録再生装置で再生や編集することが可能となる。 さらに、 計算機 5 1が、 本発明の記録再生装置がサポートする記憶媒体と同一または異なる記憶媒体を サポートしている場合でも、 データ入出力インタフェース部 4 6を介して、 両 者の記録媒体間で M P E Gストリームや他の符号化されたデータを交換するこ とが可能となる。
次に、 図 2 3は、 本発明の第 3の実施の形態の記録再生装置の構成を示す図 である。
この第 3の実施の形態は、 録画用データ転送バス 7 3と再生用データ転送バ ス 7 4の 2つのデータバスを有し、 デ一夕転送時のデータバスにおける転送時 間のロスを低減したものである。
さらに、 2つのデ一夕バスに対応させて録画用の転送デ一夕を記憶するメモ リ 7 2と、 再生用デ一夕を記憶するメモリ 7 1の 2つのメモリとが設けられて いる。
オーディオ符号化部 4 1及びビデオ符号化部 4 2で符号され、 多重化部 4 3 で多重化されたデータは、 録画用データ転送バス 7 3を介してメモり 7 2へ転 送され、 さらに、 メモリ 7 2からデータ入出力インタ一フェース部 4 6に転送 されて情報蓄積部 4 7 a、 4 7 bに格納される。
また、 再生時には、 情報蓄積部 4 7 a、 4 7 bから読み出されたデータはデ —夕入出力インタ一フェース部 4 6から再生用デ一夕転送バス 7 4を介してメ モり 7 1へ転送され、 さらに、 メモリ 7 1から再生用デ一夕転送バス 7 4を介 して分離部 4 8へ転送される。 そして、 分離部 4 8において、 ビデオパケット、 オーディオパケットに分離され、 ビデオ復号化部 5 0 , オーディオ復号化部 4 9において、 それぞれビデオ信号、 オーディオ信号に復号される。
この第 3の実施の形態によれば、 録画用データ転送バス 7 3と再生用データ 転送バス 7 4の 2つのデータ転送バスを設けることで、 録画から再生への切り 換え時、 あるいはその逆のときに、 データバス上に他のデータが存在している か否かを考慮する必要がないので、 データ転送の効率化を図れる。
図 2 4は、 上述した実施の形態の記録再生装置の録画再生機能を実現するプ ログラムを C D _ R OM、 フロッピ一ディスク等の可搬記録媒体 8 1、 あるい はプログラム提供者の有する記憶装置 8 4に記憶しておいて、 そのプログラム をユーザの情報処理装置 8 2にロードして実行する場合の説明図である。
記録再生プログラムが C D— R〇M、 フロッピーディスク等の可搬記録媒体 8 1に記憶されている場合には、 その可搬記録媒体 8 1を情報処理装置 8 2の ドライブ装置に挿入してプログラムを読み取り、 読み取つたプログラムを R A M、 ハードディスク等のメモリ 8 3に格納してプログラムを実行する。 また、 プログラム提供者から通信回線を介してプログラムが提供される場合には、 プ ログラム提供者の記憶装置 8 4、 あるいはメモリ等に格納されているプロダラ ムを通信回線を介して情報処理装置 8 2で受信し、 受信したプログラムを R A M、 ハードディスク等のメモリ 8 3に格納して実行する。 なお、 記録媒体 8 1 に記録するプログラムは、 実施の形態で述べた記録再生機能の一部の機能を実 現するものであっても良い。 上述した実施の形態によれば、 パケットヘッダに含まれる P T Sと、 バケツ トヘッダのファイルァドレスとで構成されるバケツト情報を作成し、 そのパケ ット情報を参照することで、 ランダムアクセス、任意倍速再生、 クリップ編集' 再生、 リピート再生などの特殊再生機能、 リアルタイムシフト、 ライブモニタ などの特殊録画再生機能を効率的に実現できる。 さらに、 再生、 録画、 再生デ 一夕転送、 録画データ転送をマルチタスク化することで、 それぞれの処理の記 述、 特にデータ転送処理の記述を簡素化できる。
さらに、 録画に関わるタスクの優先順位をより高くすることで記録すべきデ 一夕の欠落を抑制することができる。 また、 再生、 録画、 データ転送タスクを 多チャネル化することにより、 それぞれの処理に関する記述の煩雑さを低減す ることができる。 データ転送ブロック毎にタスク化し、 メモリに十分データを 蓄積しておくことで、 情報蓄積部で書込みや読出しが中断した場合にデータ転 送が滞ってしまうことを防止できる。
データ転送ブロック毎にデータ転送量を個別に設定可能とすることで、 特殊 再生、 特殊録画時に効率よくデータ転送を可能とすることができる。
符号化部からメモリへデ一夕転送するときに、 M P E Gストリームとともに バケツト情報を転送して常にパケット情報リストを更新することで、 リアル夕 ィムシフトのように予め録画時間が決められておらず、 バケツト情報が未確定 な場合でも、 更新されたバケツト情報を用いることで録画可能な記憶領域が分 かるので、 特殊録画再生を容易に実現できる。
外部で符号化された M P E Gストリームでパケット情報リストを持たないも のに対して、 再生も録画も行われていない時にバケツト情報を作成することで、 外部で符号化された M P E Gストリームの特殊再生が可能となる。
さらに、 ファイルシステムを他の計算機 5 1と互換性のあるものを採用する ことで、 他の計算機 5 1で符号化した M P E Gストリーム、 計算機 5 1がネッ トワークからダウンロードした M P E Gストリームを、 M P E Gストリームの 記録再生装置で再生や編集することが可能となる。
また、 ファイルシステムを他のシステムと互換性のあるものを採用すること により、 本発明に係る記録再生装置の情報蓄積部 4 7 a、 4 7 bが非可換性記 録媒体であっても、 可換性記録媒体であっても、 他のシステムと M P E Gスト リームやデータの交換が可能となり、 記録再生装置の性能向上、 コスト削減に 寄与するところが大きい。
さらに、 データ入出力インタ一フェース部 4 6を設けることにより、 記録再 生装置が複数の情報蓄積部 4 7 a、 4 7 b · · ·及びその他の記録媒体を利用 可能となる。
上述した実施の形態は、 本発明を M P E Gストリームの記録再生装置に適用 した場合について説明したが、 M P E G形式のデ一夕に限らず他の形式の符号 化データにも本発明は適用できる。 また、 録画、 再生機能の両方を有する装置 に限らず、 再生機能のみを有する装置であっても良い。 その場合、 再生装置が 外部または内部の記録媒体に記録された符号化されたデータから上述したパケ ット情報を作成する機能を有するようにしても良いし、 バケツ卜情報の作成機 能は持たず、 他の装置で作成されたパケッ卜情報に基づいてデ一夕を再生する ようにしても良い。 また、 符号化されたデータを記録する記録媒体は、 磁気デ イスク、 光ディスク、 光磁気ディスク等に限らず、 半導体メモリ等でも良い。 さらに、 本発明の再生装置、 記録再生装置は専用の装置であっても良いし、 本発明の記録再生機能、 あるいは再生機能をパーソナルコンピュータ等の情報 処理装置に組み込んでも良い。
付記:本発明は、 以下のような構成の画像再生装置、 画像記録再生装置、 画像記録再生方法及び記録媒体を含む。
( 1 ) 符号化された画像データのパケットヘッダ部に含まれるタイムスタン プと、 バケツトヘッダ部を指す情報とからなるパケッ卜情報を参照するバケツ ト情報参照手段と、 前記バケツト情報参照手段により参照されたバケツト情報 に基づいて、 符号化された画像データを復号する復号化手段とを備えることを 特徴とする画像再生装置。
(2) 符号された画像データのパケットヘッダ部に含まれるタイムスタンプ と、 パケットへッダ部を指す情報とからなるパケット情報を作成するパケット 情報作成手段とを備える上記 (1) 記載の画像再生装置。
(3) 画像を符号化して外部または内部の記録媒体に記録させる符号化手段 を備える (2) 記載の画像再生装置。
(4) 前記符号された画像デ一夕は MPEG形式で符号化された画像であり、 前記バケツト情報は MP EGストリームのバケツトヘッダに含まれるプレゼン テ一シヨンタイムスタンプと、 パケットヘッダのファイルアドレスとからなる ことを特徴とする (1)、 (2) または (3) 記載の画像再生装置。
(5) 前記パケット情報作成手段は、 MP EGストリームの GO Pヘッダを 含むパケットヘッダを抽出し、 GOPヘッダを含むパケットヘッダのパケット 情報からなるパケット情報リストを作成することを特徴とする (4) 記載の画 像再生装置。
(6) 前記パケット情報作成手段は、 任意倍速の再生が可能となるようにパ ケット情報に順に項番号を付与したバケツト情報リスト作成し、 前記複号化手 段は、 前記パケット情報リストの項番号に基づいて、 符号化された画像データ の再生開始位置または終了位置を求めることを特徴とする (1)、 (2), (3) または (4) 記載の画像再生装置。
(7) 前記復号化手段は、 MP EGストリームの先頭からの時間を基準にし て再生する場合に、 前記時間をタイムスタンプに変換し、 前記パケット情報に 基づいて、 変換したタイムスタンプに近い時間情報を有するパケットヘッダの ファイルアドレスを取得し、 再生を行うことを特徴とする (4) または (5) 記載の画像再生装置。
(8) 前記復号化手段は、 復号処理中のパケットを基準とした時間で再生す る場合に、 前記時間をタイムスタンプに変換し、 前記パケット情報に基づいて、 変換したタイムスタンプと復号処理中の基準となる時間情報とから得られる値 に近い値を有するバケツトのファイルァドレスを取得し、 再生を行うことを特 徴とする (4) または (5) 記載の画像再生装置。
(9) 前記複号化手段は、 前記パケット情報に基づいて MPEGストリーム のパケット単位でランダムにアクセスすることを特徴とする (4) または (5) 記載の画像再生装置。
(10) 前記複号化手段は、 前記パケット情報リストに基づいて、 N (正ま たは負の整数) 個先の GO Pをアクセスする操作を繰り返すことで任意倍速の 再生を行うことを特徴とする (1)、 (2)、 (3)、 (4)、 (5) または (6) 記 載の画像再生装置。
(1 1) 前記復号化手段は、 逆再生を行う場合に、 N個前の GOPの 1フレ ーム分の画像を復号し、 残りのフレームをスキップして再生することを特徴と する (10) 記載の画像再生装置。
(12) MP EGストリームからクリップを作成する場合に、 クリップの開 始点及び終了点を、 前記 MPEGストリームの先頭からの時間または前記パケ ット情報リストの項番号により指定することを特徴とする (4) 記載の画像再
(13) リピート再生を行う場合に、 再生開始点と終了点を MPEGストリ —ムの先頭からの時間または前記バケツト情報情報リストの項番号で指定する ことを特徴とする (4) 記載の画像再生装置。
(14) 再生済のストリームに上書記録するリアルタイムシフトを行う場合 に、 上書開始点と上書終了点をス卜リーム先頭からの時間またはパケット情報 リス卜の項番号で指定することを特徴とする (4) 記載の画像再生装置。
(1 5) 録画と同時に、 直前に録画した画像を再生する場合に、 再生開始点 及び終了点をストリーム先頭からの時間またはバケツト情報リストの項番号で 指定することを特徴とする (4) 記載の画像再生装置。
(16) 前記符号化手段、 復号化手段、 符号化された画像データの転送の制 御をマルチタスク OS上のタスク化することを特徴とする (3) 記載の画像再
(17) 前記復号化手段による復号化処理及び前記符号化手段による符号化 処理をを複数チャネル分設け、 それぞれの処理をマルチタスク OSのタスク化 することを特徴とする (3) 記載の画像再生装置。
(18) 前記符号化手段の画像の符号化処理、 符号化された画像データを記 録手段に転送する録画データ転送処理、 前記記録手段に記録された画像データ を復号化手段へ転送する再生データ転送処理及び複号化手段の符号化された画 像データの復号化処理をマルチタスク化することを特徴とする (3) 記載の画 像再生装置。
(19) 符号化手段からメモリへの録画デ一夕を転送する転送処理、 前記メ モリから記録手段への録画データの転送処理、 前記記録手段から前記メモリへ の再生データの転送処理及び前記メモリから前記複号化手段への再生デー夕の 転送処理をそれぞれマルチタスク化し、 録画に関わるタスクの優先順位を再生 に関わるタスクの優先順位より高く設定することを特徴とする (3) 記載の画 像再生装置。
(20) 録画データの転送タスク及び再生データの転送タスクのデ一夕の転 送ブロックサイズを個別に設定できるようにしたことを特徴とする (18) 記 載の画像再生装置。 (21) 前記記録手段からメモリへ再生デ一夕を転送する第 1の再生データ 転送タスク、 前記メモリから前記復号化手段へ再生データを転送する第 2の再 生デー夕転送タスク、 前記符号化手段から前記メモリへ録画デー夕を転送する 第 1の録画デー夕転送タスク及び前記メモリから前記記録手段へ録画データを 転送する第 2の録画デ一夕転送タスクの転送データブロックサイズを、 タスク 毎に個別に設定できるようにしたことを特徴とする (3) 記載の画像再生装置。
(22) 特殊再生を行わない場合、 前記第 1の再生データ転送タスクと前記 第 2の再生デー夕転送タスクを 1つのタスクで構成し、 前記記録手段から前記 復号化手段へ直接再生データを転送することを特徴とする (21) 記載の画像 再生装置。
(23) 録画時に、 前記符号化手段からメモリまたは記録手段へ録画データ を転送するタスクが、 前記パケット情報作成手段により作成されるバケツト情 報を同時に転送することを特徴とする (3) 記載の画像再生装置。
(24) 前記パケット情報作成手段は、 録画、 再生を行っていないときに、 バケツト情報が作成されていない画像データのバケツトヘッダからタイムス夕 ンプを抽出してパケット情報リストを作成することを特徴とする (1)、 (2) または (3) 記載の画像再生装置。
(25) 外部または内部の複数の記録手段を接続できるようにデ一夕入出力 インタ一フェース手段を備えたことを特徴とする (1)、 (2) または (3) 記 載の画像再生装置。
(26) ファイルシステムを他の情報処理装置と互換性があるようにし、 他 の情報処理装置との間で画像データを共通に録画または再生できるようにした ことを特徴とする (1)、 (2) または (3) 記載の画像再生装置。
(27) 画像を符号化して外部または内部の記録媒体に記録させ、
符号化された画像デ一夕のバケツトヘッダ部に含まれるタイムスタンプと、 バケツトヘッダ部を指す情報とからなるバケツト情報を参照し、 参照されたパ ケット情報に基づいて、 符号化された画像データを復号することを特徴とする 画像記録再生方法。
( 2 8 ) 符号された画像データのバケツトヘッダ部に含まれるタイムスタン プと、 バケツトヘッダ部を指す情報とからなるバケツト情報を作成することを 特徴とする (2 7 ) 記載の画像記録再生方法。
( 2 9 ) 前記パケット情報は、 M P E Gストリームのパケットヘッダに含ま とからなることを特徴とする (2 7 ) 記載の画像記録再生方法。
( 3 0 ) 画像の符号化処理、 符号化された画像データを記録媒体に転送する 録画データ転送処理、 記録媒体に記録されたデータを再生のために転送する再 生データ転送処理及び符号化された画像データの複号化処理をマルチタスク化 することを特徴とする (2 7 ) 記載の画像記録再生方法。
( 3 1 ) 録画時に、 符号化した録画データをメモリへ転送する第 1の録画デ 一夕転送処理、 前記メモリから記録媒体へ録画データを転送する第 2の録画デ 一夕の転送処理を、 再生時に、 記録媒体から前記メモリへ再生データを転送す る第 1の再生データ転送処理及び前記メモリのデータを復号化処理を実行する タスクへ転送する第 2の再生データ転送処理を、 それぞれマルチタスク化し、 録画に関わるタスクの優先順位を再生に関わるタスクの優先順位より高く設定 することを特徴とする (2 7 ) 記載の画像記録再生方法。
( 3 2 ) 画像を符号化して外部または内部の記録媒体に記録させ、 符号化さ れた画像データのバケツトヘッダ部に含まれるタイムスタンプと、 バケツ卜へ ッダ部を指す情報とからなるパケット情報を参照させ、 参照されたバケツト情 報に基づいて、 符号化された画像データを復号させるプログラムを記録したコ ンピュ一夕読み取り可能な記録媒体。 ( 3 3 ) 符号された画像デ一夕のバケツトヘッダ部に含まれるタイムスタン プと、 バケツトヘッダ部を指す情報とからなるバケツト情報を作成させること を特徴とする (3 2 ) 記載のコンピュータ読み取り可能な記録媒体。 産業上の利用可能性
本発明によれば、 パケットヘッダに含まれる P T Sと、 パケットヘッダを指 す情報とで構成されるバケツト情報を作成し、 そのバケツト情報を参照するこ とで、 ランダムアクセス、 任意倍速再生、 クリップ編集 ·再生、 リピート再生 などの特殊再生、 リアルタイムシフト、 ライブモニタなどの特殊録画再生を効 率的に行うことができる。 さらに、 再生、 録画、 再生データ転送、 録画データ 転送をマルチタスク化することで、 それぞれの処理の記述、 特にデータ転送処 理の記述を簡素化できる。 また、 データ転送タスクの転送データのブロックサ ィズをタスク毎に個別に設定できるようにすることで、 特殊再生、 特殊録画再 生時に効率良くデータを転送することができる。

Claims

求 の 範 囲
1 . 符号化された画像データのバケツトヘッダ部に含まれるタイムスタンプ と、 バケツトヘッダ部を指す情報とからなるパケット情報を参照するバケツト 情報参照手段と、
前記バケツト情報参照手段により参照されたバケツト情報に基づいて、 符号 化された画像データを復号する復号化手段とを備えることを特徴とする画像再
2 . 画像を符号化する符号化手段と、
符号された画像データのバケツトヘッダ部に含まれるタイムスタンプと、 パ ケットヘッダ部を指す情報とからなるバケツト情報を作成するバケツト情報作 成手段と、
前記バケツト情報を参照するバケツト情報参照手段と、
前記バケツト情報参照手段により参照されたバケツト情報に基づいて符号化 された画像データを復号する復号化手段とを備えることを特徴とする画像記録
3 . 画像を符号化して外部または内部の記録媒体に記録させ、
符号化された画像データのバケツトヘッダ部に含まれるタイムスタンプと、 パケットヘッダ部を指す情報とからなるバケツト情報を参照し、
参照されたバケツト情報に基づいて、 符号化された画像データを復号するこ とを特徴とする画像記録再生方法。
4 . 画像を符号化して外部または内部の記録媒体に記録させ、
符号化された画像デ一夕のバケツトヘッダ部に含まれるタイムスタンプと、 バケツトヘッダ部を指す情報とからなるバケツト情報を参照させ、
参照されたパケット情報に基づいて、 符号化された画像データを復号させる プログラムを記録したコンピュータ読み取り可能な記録媒体。
PCT/JP1999/006053 1999-10-29 1999-10-29 Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images WO2001033832A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP1999/006053 WO2001033832A1 (fr) 1999-10-29 1999-10-29 Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images
JP2001500396A JP4421156B2 (ja) 1999-10-29 1999-10-29 画像再生装置および画像記録再生装置
US09/675,051 US6807363B1 (en) 1999-10-29 2000-09-29 Digital moving picture data player system having a time-based access list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/006053 WO2001033832A1 (fr) 1999-10-29 1999-10-29 Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US09/675,051 Continuation US6807363B1 (en) 1999-10-29 2000-09-29 Digital moving picture data player system having a time-based access list

Publications (1)

Publication Number Publication Date
WO2001033832A1 true WO2001033832A1 (fr) 2001-05-10

Family

ID=14237156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1999/006053 WO2001033832A1 (fr) 1999-10-29 1999-10-29 Appareil de reproduction d'images et appareil d'enregistrement/reproduction d'images

Country Status (3)

Country Link
US (1) US6807363B1 (ja)
JP (1) JP4421156B2 (ja)
WO (1) WO2001033832A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011147057A (ja) * 2010-01-18 2011-07-28 Nec Personal Products Co Ltd 再生装置、制御方法及びプログラム
JP2015027094A (ja) * 2004-07-01 2015-02-05 三菱電機株式会社 符号化方法、復号方法、及び記録媒体再生システム

Families Citing this family (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068583A1 (en) * 2002-10-08 2004-04-08 Monroe David A. Enhanced apparatus and method for collecting, distributing and archiving high resolution images
US7382736B2 (en) * 1999-01-12 2008-06-03 Mcdata Corporation Method for scoring queued frames for selective transmission through a switch
US7596139B2 (en) 2000-11-17 2009-09-29 Foundry Networks, Inc. Backplane interface adapter with error control and redundant fabric
US7236490B2 (en) 2000-11-17 2007-06-26 Foundry Networks, Inc. Backplane interface adapter
US7356030B2 (en) * 2000-11-17 2008-04-08 Foundry Networks, Inc. Network switch cross point
US7002980B1 (en) 2000-12-19 2006-02-21 Chiaro Networks, Ltd. System and method for router queue and congestion management
JP2002330379A (ja) * 2001-05-02 2002-11-15 Sony Corp コンテンツ提供装置
US7206283B2 (en) * 2001-05-15 2007-04-17 Foundry Networks, Inc. High-performance network switch
JP3743509B2 (ja) * 2002-03-20 2006-02-08 セイコーエプソン株式会社 データ転送制御装置及び電子機器
US7266117B1 (en) 2002-05-06 2007-09-04 Foundry Networks, Inc. System architecture for very fast ethernet blade
US7187687B1 (en) 2002-05-06 2007-03-06 Foundry Networks, Inc. Pipeline method and system for switching packets
US20120155466A1 (en) 2002-05-06 2012-06-21 Ian Edward Davis Method and apparatus for efficiently processing data packets in a computer network
US7468975B1 (en) 2002-05-06 2008-12-23 Foundry Networks, Inc. Flexible method for processing data packets in a network routing system for enhanced efficiency and monitoring capability
US7649885B1 (en) 2002-05-06 2010-01-19 Foundry Networks, Inc. Network routing system for enhanced efficiency and monitoring capability
JP3866611B2 (ja) * 2002-05-08 2007-01-10 株式会社東芝 記録停止処理方法及びデータ記録装置
TWI260591B (en) * 2002-10-14 2006-08-21 Samsung Electronics Co Ltd Information storage medium with structure for multi-angle data, and recording and reproducing apparatus therefor
US7835437B1 (en) * 2003-03-10 2010-11-16 Ji Zhang Statistical remultiplexing of compressed video segments
US7016983B2 (en) * 2003-04-12 2006-03-21 Ess Technology, Inc. System and method for controlling a communication bus
JP4228767B2 (ja) 2003-04-25 2009-02-25 ソニー株式会社 再生装置、再生方法、再生プログラムおよび記録媒体
US6901072B1 (en) 2003-05-15 2005-05-31 Foundry Networks, Inc. System and method for high speed packet transmission implementing dual transmit and receive pipelines
JP2005136537A (ja) * 2003-10-29 2005-05-26 Sony Corp ファイル記録装置、ファイル再生装置、ファイル編集装置、ファイル記録方法、ファイル再生方法、ファイル編集方法、ファイル記録方法のプログラム、ファイル再生方法のプログラム、ファイル編集方法のプログラム、ファイル記録方法のプログラムを記録した記録媒体、ファイル再生方法のプログラムを記録した記録媒体、ファイル編集方法のプログラムを記録した記録媒体、記録媒体
US7817659B2 (en) 2004-03-26 2010-10-19 Foundry Networks, Llc Method and apparatus for aggregating input data streams
US8730961B1 (en) 2004-04-26 2014-05-20 Foundry Networks, Llc System and method for optimizing router lookup
US7671893B2 (en) * 2004-07-27 2010-03-02 Microsoft Corp. System and method for interactive multi-view video
US7657703B1 (en) 2004-10-29 2010-02-02 Foundry Networks, Inc. Double density content addressable memory (CAM) lookup scheme
JP4769717B2 (ja) * 2005-01-17 2011-09-07 パナソニック株式会社 画像復号化方法
US7848621B2 (en) * 2005-07-01 2010-12-07 Sony Corporation File format translation
KR100762957B1 (ko) * 2005-07-19 2007-10-04 삼성전자주식회사 AV(Audio Visual) 스트림을 디스크램블하는방법 및 장치
US8213771B2 (en) * 2005-08-29 2012-07-03 Sony Corporation Templatized commands in disc authoring
US8229278B2 (en) * 2005-08-29 2012-07-24 Sony Corporation Portfolios in disc authoring
US20080244407A1 (en) * 2005-08-29 2008-10-02 Eklund Don Abstractions in disc authoring
US20080238938A1 (en) * 2005-08-29 2008-10-02 Eklund Don Effects for interactive graphic data in disc authoring
US7773864B2 (en) * 2005-08-29 2010-08-10 Sony Corporation Slicing interactive graphic data in disc authoring
US8644682B2 (en) * 2005-08-29 2014-02-04 Sony Corporation Playable content
US7949229B2 (en) * 2005-08-29 2011-05-24 Sony Corporation Discontinuous timeline in disc authoring
US8448162B2 (en) 2005-12-28 2013-05-21 Foundry Networks, Llc Hitless software upgrades
US7903654B2 (en) 2006-08-22 2011-03-08 Foundry Networks, Llc System and method for ECMP load sharing
US8238255B2 (en) 2006-11-22 2012-08-07 Foundry Networks, Llc Recovering from failures without impact on data traffic in a shared bus architecture
US20090279441A1 (en) 2007-01-11 2009-11-12 Foundry Networks, Inc. Techniques for transmitting failure detection protocol packets
US8271859B2 (en) 2007-07-18 2012-09-18 Foundry Networks Llc Segmented CRC design in high speed networks
US8037399B2 (en) 2007-07-18 2011-10-11 Foundry Networks, Llc Techniques for segmented CRC design in high speed networks
US8509236B2 (en) 2007-09-26 2013-08-13 Foundry Networks, Llc Techniques for selecting paths and/or trunk ports for forwarding traffic flows
US8190881B2 (en) 2007-10-15 2012-05-29 Foundry Networks Llc Scalable distributed web-based authentication
US8090901B2 (en) 2009-05-14 2012-01-03 Brocade Communications Systems, Inc. TCAM management approach that minimize movements
US8599850B2 (en) 2009-09-21 2013-12-03 Brocade Communications Systems, Inc. Provisioning single or multistage networks using ethernet service instances (ESIs)
JP2012185899A (ja) * 2011-02-15 2012-09-27 Jvc Kenwood Corp 再生装置、再生方法、及び、プログラム
JP5699812B2 (ja) * 2011-05-31 2015-04-15 船井電機株式会社 再生装置
US20140086338A1 (en) * 2011-12-28 2014-03-27 Ning Lu Systems and methods for integrated metadata insertion in a video encoding system
CN115661308B (zh) * 2022-11-03 2024-03-19 北京百度网讯科技有限公司 驱动数字人的方法、装置、电子设备和存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730886A (ja) * 1993-07-09 1995-01-31 Sony Corp 画像および音声信号処理方法とその装置
JPH0863884A (ja) * 1994-08-23 1996-03-08 Mitsubishi Electric Corp ディジタル情報符号化・復号装置
EP0735782A2 (en) * 1995-03-31 1996-10-02 Kabushiki Kaisha Toshiba Motion picture play apparatus capable of returning from trick play to normal play
JPH09128895A (ja) * 1995-10-31 1997-05-16 Toshiba Corp 映像音声再生装置における音声処理装置
JPH09167445A (ja) * 1995-12-18 1997-06-24 Nippon Columbia Co Ltd デジタルディスク再生方法及びその再生装置
JPH10164512A (ja) * 1996-10-04 1998-06-19 Matsushita Electric Ind Co Ltd データ処理同期装置
US5808722A (en) * 1996-01-29 1998-09-15 Mitsubishi Denki Kabushiki Kaisha Apparatus for extending and reproducing video and audio data and a video and audio synchronization controller
JPH1141559A (ja) * 1997-07-23 1999-02-12 Nec Corp データ送信装置、データ受信装置、データ送信方法、およびデータ受信方法
EP0920219A2 (en) * 1997-11-26 1999-06-02 Nec Corporation Audio/video synchronous reproducer enabling accurate synchronization between audio and video data and a method of audio/video synchronous reproduction

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020048448A1 (en) * 1993-03-29 2002-04-25 Microsoft Corporation Pausing the display of a television program as a signal including the television program is received
WO1995008823A1 (fr) * 1993-09-21 1995-03-30 Sony Corporation Procede et dispositif de transmission de donnees, decodeur de donnees et support d'enregistrement de donnees
EP0686973B1 (en) * 1993-12-18 2002-10-16 Sony Corporation Data reproducing device and data recording medium
JPH0883884A (ja) 1994-09-12 1996-03-26 Yotaro Hatamura 三次元半導体集積回路およびその製造方法
GB2294173B (en) * 1994-10-11 1998-12-09 Mitsubishi Electric Corp Disk media, and method of and device for recording and playing back information on or from a disk media
JP3248380B2 (ja) * 1994-12-15 2002-01-21 ソニー株式会社 データ復号化装置およびデータ復号化方法
JP3270983B2 (ja) * 1994-12-21 2002-04-02 ソニー株式会社 画像データ符号化方法及び装置、画像データ復号化方法及び装置
JP3491365B2 (ja) * 1995-01-31 2004-01-26 ソニー株式会社 符号化データ復号方法および復号装置
US6002834A (en) * 1995-02-24 1999-12-14 Hitachi, Ltd. Optical disk having table relating sector address and time and optical disk reproducing apparatus
JPH08331511A (ja) 1995-03-31 1996-12-13 Toshiba Corp 動画像再生装置及び動画像再生処理回路
US20020044757A1 (en) * 1995-08-04 2002-04-18 Sony Corporation Information carrier, device for reading and device for providing the information carrier and method of transmitting picture information
CN1207075A (zh) 1996-01-04 1999-02-03 新西兰戴利研究会 容器密封
US6041067A (en) 1996-10-04 2000-03-21 Matsushita Electric Industrial Co., Ltd. Device for synchronizing data processing
CN1238837C (zh) * 1996-10-15 2006-01-25 松下电器产业株式会社 声音编码方法和编码装置
JPH11141559A (ja) 1997-11-10 1999-05-25 Nippon Steel Corp グリース循環給脂装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730886A (ja) * 1993-07-09 1995-01-31 Sony Corp 画像および音声信号処理方法とその装置
JPH0863884A (ja) * 1994-08-23 1996-03-08 Mitsubishi Electric Corp ディジタル情報符号化・復号装置
EP0735782A2 (en) * 1995-03-31 1996-10-02 Kabushiki Kaisha Toshiba Motion picture play apparatus capable of returning from trick play to normal play
JPH09128895A (ja) * 1995-10-31 1997-05-16 Toshiba Corp 映像音声再生装置における音声処理装置
JPH09167445A (ja) * 1995-12-18 1997-06-24 Nippon Columbia Co Ltd デジタルディスク再生方法及びその再生装置
US5808722A (en) * 1996-01-29 1998-09-15 Mitsubishi Denki Kabushiki Kaisha Apparatus for extending and reproducing video and audio data and a video and audio synchronization controller
JPH10164512A (ja) * 1996-10-04 1998-06-19 Matsushita Electric Ind Co Ltd データ処理同期装置
JPH1141559A (ja) * 1997-07-23 1999-02-12 Nec Corp データ送信装置、データ受信装置、データ送信方法、およびデータ受信方法
EP0920219A2 (en) * 1997-11-26 1999-06-02 Nec Corporation Audio/video synchronous reproducer enabling accurate synchronization between audio and video data and a method of audio/video synchronous reproduction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015027094A (ja) * 2004-07-01 2015-02-05 三菱電機株式会社 符号化方法、復号方法、及び記録媒体再生システム
JP2011147057A (ja) * 2010-01-18 2011-07-28 Nec Personal Products Co Ltd 再生装置、制御方法及びプログラム

Also Published As

Publication number Publication date
JP4421156B2 (ja) 2010-02-24
US6807363B1 (en) 2004-10-19

Similar Documents

Publication Publication Date Title
JP4421156B2 (ja) 画像再生装置および画像記録再生装置
JP3491365B2 (ja) 符号化データ復号方法および復号装置
JP4270379B2 (ja) デジタル情報の効率的な伝送および再生
US8285113B2 (en) Method for generating additional information for guaranteeing seamless playback between data streams, recording medium storing the information, and recording, editing and/or playback apparatus using the same
US7734660B2 (en) Data processing device
JP2007504778A (ja) 記録再生方法及び映像記録再生システム
JP2008053763A (ja) Avデータ記録装置及び方法、avデータ再生装置及び方法、当該avデータ記録装置又は方法で記録された記録媒体
JP2002199346A (ja) ディジタル記録再生装置
WO2004029958A1 (ja) 動画像・音声記録装置及び動画像・音声記録方法
JP2005005855A (ja) 記録装置
JP2005117660A (ja) 多重化されていないストリームを含むavデータを記録した情報保存媒体、その再生方法及び装置
JPWO2005081522A1 (ja) データ処理装置およびデータ処理方法
WO2001035652A1 (fr) Systeme d'enregistrement/reproduction/edition pour flux de donnees video/vocales
JP3177470B2 (ja) 再生装置
US20040151473A1 (en) Audio/video data recording/reproduction apparatus, system, and method, recording medium recorded by them, audio/video data reproduction apparatus, and data structure
US20060291811A1 (en) Moving picture distribution system
JP2005197839A (ja) トランスポートストリームの特殊再生方法及びトランスポートストリームの記録再生装置
JP2000011545A (ja) 記録装置及び方法
JP3695424B2 (ja) 再生装置
JP4607090B2 (ja) 記録再生装置および記録再生方法
JP2006101229A (ja) 映像再生装置
JP3695423B2 (ja) 再生装置
JP2003101968A (ja) 再生装置
JP2005322977A (ja) カメラ一体型記録再生装置
JP4227605B2 (ja) 動画像再生装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref country code: JP

Ref document number: 2001 500396

Kind code of ref document: A

Format of ref document f/p: F

WWE Wipo information: entry into national phase

Ref document number: 09675051

Country of ref document: US

AK Designated states

Kind code of ref document: A1

Designated state(s): JP US