WO2004008752A1 - 画像データ処理装置及び方法 - Google Patents

画像データ処理装置及び方法 Download PDF

Info

Publication number
WO2004008752A1
WO2004008752A1 PCT/JP2003/008433 JP0308433W WO2004008752A1 WO 2004008752 A1 WO2004008752 A1 WO 2004008752A1 JP 0308433 W JP0308433 W JP 0308433W WO 2004008752 A1 WO2004008752 A1 WO 2004008752A1
Authority
WO
WIPO (PCT)
Prior art keywords
recording
picture
vbv
image data
delay
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2003/008433
Other languages
English (en)
French (fr)
Inventor
Takuji Himeno
Fumiyoshi Abe
Hiroyasu Tsuchida
Kenji Yamasaki
Toshinori Kouzai
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to EP03741158A priority Critical patent/EP1521460A4/en
Priority to US10/520,446 priority patent/US20050232596A1/en
Publication of WO2004008752A1 publication Critical patent/WO2004008752A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • 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/036Insert-editing
    • 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/032Electronic editing of digitised analogue information signals, e.g. audio or video signals on tapes
    • 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/90Tape-like record carriers

Definitions

  • the present invention relates to an image data processing apparatus and method for recording image data encoded by a Motion Picture Expert Group (MPEG) method on a recording medium.
  • MPEG Motion Picture Expert Group
  • a bidirectional predictive coding method is adopted as a coding method.
  • three types of coding are performed: intra-frame coding, inter-frame forward predictive coding, and bidirectional predictive coding.
  • P pictures and B pictures are also used as a coding method.
  • a GOP Group of Pictures
  • the amount of generated code for each picture is generally the largest for I-pictures, followed by P-pictures and B-pictures.
  • FIG. 1 shows the change in the data occupancy of the input buffer in the decoder with respect to the supplied MPEG stream.
  • the horizontal axis indicates time (t), and the decoding timing (tl01, tl02, t103,...) Of each picture included in the supplied MPEG stream is described.
  • the vertical axis indicates the data occupancy stored in the input buffer.
  • the input buffer stores the MPEG stream image-compressed according to the MPEG2 system in sequence according to its bit rate. Then, at t101 after a lapse of VBV delay (vbv-delay) from t100 when the supply of the MPEG stream was started, the first picture is extracted from the decoder for decoding processing.
  • the data amount of the picture extracted by this decoder is the data size of the picture (picture-size), the data size of the picture start code (picture_star and code), the data size of the sequence header (seduencejieader), the GOP This is the data amount (hereinafter referred to as the image size) to which the data size of the header (GOP-header) is added.
  • the MPEG stream is continuously supplied to the input buffer according to a predetermined bit rate.
  • t102, t103,... that elapses every ⁇ DTS which is the interval of the decode management time (Decode Time Stamp) from t101 the data amount corresponding to the image size of each picture is extracted by the decoder.
  • ⁇ DTS the interval of the decode management time
  • VBV Video Buffering Verifier
  • FIG. 2 shows an example of a change in the amount of data occupied in the MPEG stream before and after the editing point of the recording medium in the conventional example.
  • VBV_delay_0 is the VB V delay immediately before the recording end position of the image data already recorded on the recording medium
  • VBV_delay-2 is the I picture located at the beginning of the image data that has been subjected to the first continuous recording. This is a VBV delay.
  • VBV-delay_2 is smaller than VBV-delay-0, only stuffing is inserted without a copy picture.
  • VBV_delay-12 is larger than VBV-delay_0, copy pictures and stuffing are inserted.
  • VBV_delay_2 is smaller than delay_0 and only stuffing bytes are inserted, the inserted stuffing bytes are decoded together with the video elementary stream (ES) immediately before the edit point. . For this reason, the boundary between the stuffing and the video ES on the recording medium is lost, and there is a problem that the stuffing cannot be separated later.
  • ES video elementary stream
  • VBV_delay_2 is larger than VBV_delay_0
  • VBV_delay_3 is compared with VBV-delay_0 and inserted in the second splicing recording. If it is sufficient to determine the amount of stuffing bytes, etc., if VBV—de 1 ay—3 is smaller than VBV—de 1 ay_ 0, VBV_delay 1-2 and VBV_delay_ 0 In this case, unnecessary copy pictures and stuffing bytes are left, and additional stuffing is introduced. Therefore, a useless screen hold is generated.
  • VBV_de 1 ay_ 0 which has read the auxiliary data of the image data already recorded from the recording medium is converted into the data occupation amount in the VBV buffer, and this is converted into the initial value of the encoder.
  • a method has also been proposed in which the value can be set so that decoding can be performed without breaking the input buffer even when continuous playback is performed before and after the edit point for continuous recording.
  • An object of the present invention is to provide a novel image data processing apparatus and method which can solve the problems of the conventional image data processing apparatus and method described above.
  • Another object of the present invention is to eliminate unnecessary stuffing and copy pictures at the time of the second continuous recording, and to prevent image quality deterioration. It is to provide an apparatus and a method.
  • An image data processing apparatus is a data processing apparatus which is coded according to the MPEG method, is provided with an auxiliary recording area (AUX_V), and starts with an I picture or a P picture and includes a B picture.
  • AUX_V auxiliary recording area
  • an image data processing apparatus for processing an image data consisting of an evening group (Pack-V) an image data processing apparatus that processes the evening data is edited on an edit point on a recording medium on which the Pack-V is already recorded.
  • Pack_V—h is recorded, and according to the bit occupancy of the VBV (Video Buffering Verifier) buffer used at the time of decoding, each insertion auxiliary recording area ( (E dit AUX_V_h) is provided, and recording means for recording an input data group (E dit Pack_V_h) including a copy picture and / or a stuffing byte for repeatedly displaying a previous picture on a recording medium,
  • the recording means If the E d i t P a c k- V- h the editing point on the recording medium is recorded, independently of the E d i t P a c k- V_h, newly entered data group
  • E dit P ac k_V_n an insertion data group
  • E dit AUX X_V_n an insertion auxiliary recording area
  • the image data is encoded by the MPEG method, an auxiliary recording area (AUX-V) is provided for each, an I picture or a P picture is first, and a B picture is included.
  • AUX-V auxiliary recording area
  • an image data processing method for processing an image data consisting of data groups (Pack-V) a data group (P-V) to be edited is placed on an edit point on a recording medium on which the above-mentioned Pack-V is already recorded.
  • E dit Pack_V_h is recorded on a recording medium, and the recording step is performed when the above-mentioned E dit Pack—V—h is recorded at an edit point on the recording medium.
  • Edit AUX_V_n Edit AUX_V_n
  • EditPack_V_n an insertion data group including a copy picture and / or a stuffing byte is recorded based on the edit point.
  • FIG. 1 is a diagram showing the transition of the data occupancy of the MPEG stream supplied to the input buffer of the decoder.
  • FIG. 2 is a diagram for explaining a problem of the related art.
  • FIG. 3 is a block diagram showing an image data processing device to which the present invention is applied.
  • FIG. 4 is a plan view showing a magnetic tape on which recording tracks are formed.
  • FIG. 5 is a diagram showing a configuration of a helical track formed on a magnetic tape.
  • FIG. 6 is a diagram showing a night group.
  • FIG. 7 is a diagram showing a change in the data occupancy in the data group last supplied to the image data processing apparatus.
  • FIG. 8 is a diagram for explaining an example of calculating in advance at the time of recording when the value of vbv_delay-n of the next picture is unknown.
  • FIG. 9 is a diagram for explaining the processing of the ECCBank memory of the ECC processing unit at the time of continuous recording.
  • FIG. 10 is a diagram showing a flow of code amount control in the encoder.
  • FIGS. 11A and 11B are diagrams for explaining an example in which copy pictures are continuously inserted when vbv-occupancy-f calculated based on vbv-delay_n falls below a set value.
  • FIG. 12 explains the processing when the inherited value of vbv_de 1 ay 1 n is extremely small in the case of connecting and recording a data stream of image data input from another electronic device.
  • FIG. FIG. 13 is a diagram for explaining a drawback of continuous recording when the picture type immediately after the recording END point is a P picture.
  • FIG. 14 is a diagram for explaining a method of recording the calculated copy picture and stuffing.
  • Figure 15 shows the data occupied by the VBV buffer with respect to the time when the second splicing recording is performed with the head of the data group N1 in which the first splicing recording was performed as the re-recording position.
  • FIG. 16 is a diagram for explaining a case where a PES header is added only to Es constituting a stuffing byte.
  • FIG. 17 is a diagram for explaining a re-recording position at the time of the second continuous recording.
  • FIG. 18 is a diagram for explaining a case where both a copy picture and a stuffing pipe are recorded on a magnetic tape.
  • An image data processing device 1 to which the present invention is applied is a device that digitally encodes a moving image according to the MPEG2 (ISO / IEC13818) method for compressing and encoding a moving image with high efficiency and records it on a magnetic tape.
  • MPEG2 ISO / IEC13818
  • FIG. 3 an external input unit 11, a picture size measuring unit 12, an encoder 13, an insertion processing unit 14, an auxiliary data generating unit 15, a stream recording processing unit 16, and an ECC (Error Correction Code) processing unit 17, recording circuit 18, reproduction circuit 19, auxiliary data extraction unit 20, stream reproduction processing unit 21, header extraction unit 22, VBV (Video Buffering Verifier) )
  • a delay extraction unit 23, an external output unit 24, a decoder 25, and a control unit 26 are provided.
  • the external input unit 11 divides image data transmitted as TS (Transport Stream) from another external electronic device into PES (Packetized Elementary Stream), This is transmitted to the stream recording processing unit 16. Incidentally, the size of each picture constituting the image data input to the external input unit 11 is measured by the picture size measuring unit 12.
  • the encoder 13 converts the input image data based on a VB V (Video Buffering Verifier) delay transmitted from the VB V delay extraction unit 23, based on encoding parameters such as a picture live and a quantization step. Perform encoding.
  • the encoder 13 transmits the encoded image data to the stream recording processor 16.
  • VB V Video Buffering Verifier
  • the insertion processing unit 14 At the time of encoding image data, the insertion processing unit 14 generates a copy picture or a stuffing byte for repeatedly displaying the previous picture as pseudo data when the generated code amount is small. Incidentally, this stuffing byte is data having no special meaning, and is discarded at the decoder side.
  • the insertion processing unit 14 outputs the generated copy pictures and stuffing bytes to the stream recording processing unit 16.
  • the auxiliary data generation unit 15 outputs, to the stream recording processing unit 16, auxiliary data (AUX) added to each data group including a B picture, starting with an I picture or a P picture.
  • AUX auxiliary data
  • the stream recording processing section 16 acquires the image data from the external input section 11 or the encoder 13.
  • the stream recording processing unit 16 is supplied with copy pictures and stuffing bytes from the insertion processing unit 14, receives auxiliary data from the auxiliary data generation unit 15, and receives various headers from the header extraction unit 22. You.
  • the stream recording processing section 16 forms one data stream by inserting auxiliary data, copy pictures, and the like between data groups starting from an I picture or a P picture in image data. At this time, the stream recording processing unit 16 may extract the VBV delay from the generated data stream by the VBV delay extracting unit 23.
  • the stream recording processing unit 16 transmits the formed data stream to the ECC processing unit 17.
  • the ECC processing unit 17 adds an ECC (Error Correction Code) to the input data stream, and performs an interleave process or the like.
  • This ECC processor 17 It has its own ECCB ank memory, not shown, and temporarily stores the data stream actually recorded on the magnetic tape 4.
  • the recording circuit 18 records the data stream input from the ECC processing unit 17 on the magnetic tape 4.
  • the recording circuit 18 converts, for example, input data into serial data, amplifies the data, and records the data on a magnetic tape 4 that is rotated via a rotating drum (not shown) via a magnetic head (not shown). I do.
  • the reproduction circuit 19 reproduces the image data recorded on the magnetic tape 4 and reads auxiliary data recorded in an auxiliary recording area on the magnetic tape 4 to be described later. Send to 7.
  • the stream reproduction processing unit 21 receives image data and auxiliary data reproduced from the magnetic tape 4 via a reproduction circuit 19 and an ECC processing unit 17.
  • the stream reproduction processing unit 21 outputs the input image data to the external output unit 24 or the decoder 25.
  • PTS Presentation Time Stamp
  • DTS Decoding Time S
  • VBV delay is extracted by the VBV delay. Extracted by the extraction unit 23.
  • Other auxiliary data is extracted by the auxiliary data extraction unit 20.
  • the external output unit 24 decodes the image data input as PES from the stream reproduction processing unit 21 to make it TS, and transmits the TS to other electronic devices.
  • the decoder 25 decodes image data input as PES from the stream reproduction processing unit 21 based on encoding parameters such as picture skipping and quantization steps.
  • the circuits and components that constitute the image data processing device 1 according to the present invention operate under the control of the control unit 26.
  • the magnetic tape 4 includes a helical track 32 on which information such as a video signal is recorded by a magnetic head.
  • the helical track 32 is formed to be inclined with respect to the longitudinal direction of the magnetic tape 4. Have been.
  • one helical track 32 is composed of 123 sync blocks and 18 C2 parity sync blocks.
  • 16 of the helical tracks 32 are used as an interleave unit of C 2 ECC in the ECC processing unit 17.
  • the ECC processor 17 interleaves and allocates the 16 sync blocks in the helical track 32 to the ECC plane, generates C2 parity, and records this in the C2 parity sync block.
  • One sync block consists of a 95-byte data section, a 1-byte sync block header (SB header), a 3-byte ID section consisting of a track pair number and a sync block No. 10 bytes of the C1 parity described above, and a further 11 bytes with a 2-byte sync pattern at the beginning.
  • SB header 1-byte sync block header
  • 3-byte ID section consisting of a track pair number and a sync block No. 10 bytes of the C1 parity described above, and a further 11 bytes with a 2-byte sync pattern at the beginning.
  • This track pair No. has the same value between the adjacent helical tracks 32 in the order of —azimuth, + azimuth. In the following, this track pair No. is doubled, and + Amas track only 1 is added. In the SB header, the type of data recorded in the sync block is recorded.
  • Video data and Audio data configured as MPEG2 format PES packets are recorded separately in sync blocks.
  • video data combines PES of three frames of I picture, B picture, and B picture, or PES of three frames of P picture, B picture, and B picture. Add Audio de overnight and record on the sync block alternately in the order of Au dio and Video.
  • This unit of Au d i o and V i d e o is hereinafter referred to as P a c k.
  • a three-frame Video data composed of an I picture, a B picture and a B picture is called a data group, or a three-frame Video data composed of a P picture, a B picture and a B picture is called a data group.
  • AUX-A is recorded as an auxiliary data of the audio data
  • a sync block of AUX-V is recorded as an auxiliary data of the video data for each Pac k.
  • the image data processing device 1 that employs the MPEG 2 method generates an image by accurately encoding the data stream recorded on the magnetic tape 4 by the decoder 25 during playback because the amount of generated code differs for each picture type.
  • the encoder 13 must always know the amount of data occupied in the input buffer in the decoder 25.
  • FIG. 7 shows the transition of the data occupancy of the input buffer of the decoder 25 in the data group last supplied to the image data processing device 1.
  • the horizontal axis indicates time (t), and the decoding timing (P, Bl, B2) of each picture constituting the supplied data group L is described.
  • the vertical axis indicates the data occupancy stored in the input buffer.
  • the input buffer sequentially stores the data stream compressed and encoded by the MPEG 2 system according to the bit rate.
  • the time at which the P picture is supplied is from tl 1 to t 12, the time at which the B 1 picture is supplied is 1; from 12 to 1 13 and the time at which the B 2 picture is supplied is , T13 to t14.
  • the decoder 25 extracts the P picture at t21 for decoding. Similarly, the decoder 25 extracts 81 pictures from the cell 22 for decoding, and further extracts a B2 picture at t23.
  • the data amount of each picture extracted from this decoder 25 is the picture size of the picture (picture—size), the data size of the picture start code (picture—start—code), and the data size of the sequence It is the amount of data (hereinafter referred to as image size) that is obtained by adding the sequence-header) and the data size of the GOP header (GOPJieader).
  • the time (tll to t21) extracted by the decoder 25 after the last bit of the picture start code of the P picture located at the head of the data group L is supplied is defined as a VBV delay (vbv—delay—1).
  • vbv—delay—1 a picture to be inserted next to the data group L
  • the VBV delay (vbv_delay_n) of the next picture is a time from t14 to t15.
  • the image data processor 1 can acquire vbv-delay_n of the next picture by encoding a large amount when the data group L is finally supplied.
  • the image data processing device 1 records the VBV delays (vbv_delay_l, vbv_delay_n) that can be obtained as described above as auxiliary data in the AUX-V provided for each data group.
  • the lower part of FIG. 7 shows the recording positions on the magnetic tape 4 of AUX-V provided for the data group L and the next picture.
  • the recording position of AUX-V in the data group L is provided before the P picture located at the head of the data group L.
  • the AU X-V sync block of the next picture is provided before the recording position of the next picture and behind the recording position of the data drop L.
  • the image data processing apparatus 1 records vb v_delay 11 acquired for the P picture of the data group L in AUX-V provided for the data group L. Similarly, vbv-delay_n acquired for the next picture is recorded in AUX_V provided for the next picture.
  • vbv_delay_l and vbv-delay_n recorded on each AUX-V can be read out.
  • image data in which vbv_delay 11 and the like are simultaneously recorded with respect to the image data to be continuously recorded is referred to as background image data.
  • the image data processing apparatus 1 assumes that the next picture to be connected and recorded is the image data, and obtains vbv_dela y-n to be held by the next picture to be connected and recorded on the magnetic tape 4 in advance. Can be recorded.
  • the amount of data occupied in the VBV buffer and set it as the initial value of the encoder simply by reading vbv_delay-n from the magnetic tape 4, so that the size of one frame varies.
  • the amount of generated code of each picture can be controlled, and seamless recording can be easily performed without breaking the input buffer.
  • the image data processing apparatus 1 sets an END point flag for the data group L to AU to indicate that the data group is the last supplied data group. It is also possible to record to X-V. This makes it possible to easily identify the area where the image data is recorded based on the END point flag during continuous recording, thereby avoiding the inconvenience of overwriting the existing image data. It is also possible.
  • the image data processing device 1 identifies the VBV delay of the first picture not only for the last supplied data group L ⁇ next picture, but also for all other data groups, and provides this for each data group.
  • AUX-V may be recorded.
  • vbv_delay—ii is recorded in the AUX—V of the next picture.
  • the image data processing device 1 may record the auxiliary data in the AUX-V using DTS or the like in addition to the VBV delay, or may use the DTS or PTS as a substitute for the VBV delay. The good thing is, of course.
  • the recorded DTS or PTS may jump during playback.
  • Add offset value and record to AUX-V The DTS obtained from the AUX-V of the group L is referred to as DTS0.
  • the DTS acquired from the next picture to be linked and recorded is DTS2.
  • the offset value is calculated based on DTS O-DTS 2 + (the number of copy pictures) X (the display time of the copy picture), and this is added to the DTS or PTS before recording.
  • the value of vbv_delay-n of the next picture can be recognized as described above, but it is supplied from another electronic device.
  • the value of vbv-delay_n of the next picture cannot be recognized, and it cannot be recorded as an auxiliary data on AUX-V during recording.
  • the value of vbv-delay-1n of the next picture is calculated in advance at the time of recording, and this is calculated as AUX-V of the next picture. To record. This As a result, at the time of reproduction, vbv_delay_n of the next picture can be easily read, and continuous recording can be easily performed without breaking the input buffer.
  • FIG. 8 is a diagram for explaining an example in which, when the value of vbv_delay n of the next picture is unknown, calculation is performed in advance at the time of recording.
  • the image data processing device 1 is supplied with a data group that is supplied last and is composed of a P picture, a B1 picture, and a B2 picture in this order.
  • the image data processing device 1 calculates the vbv—delay_n of the next picture to be supplied next to the data group L supplied last, vbv_delay_I of the P picture located at the head of the data group L, and the data From the transfer time (FT) and display time (ET) of group L, it is calculated by the following equation (1).
  • vbv_delay_n vbv_delay_l + E T-F T (1)
  • vbv_delay_n vbv_delay_l + 3003 X3-90000 Xd / Bitrate ⁇ ⁇ ⁇ (2)
  • the image data processing device 1 records the vbv-delay_n obtained in this way in the AUX-V of the next picture.
  • the DTS of the next picture can be obtained in advance by the same method in the case of recording the DTS as well as the case of recording the VBV delay for the AUX-V.
  • the image data processing device 1 can obtain the value of vbv_delay-n of the next picture based on the above-described calculation formula (1) or (2) even if the value of vbv_delay-n is unknown. Therefore, it is not necessary to read out all the image data already recorded immediately before the recording end position and to calculate the picture size in order to obtain the initial value of the encoder during reproduction. Thereby, the image data processing device 1 according to the present invention The calculation time can be reduced, and the transition time of the REC operation can be shortened.
  • the area next to the sync block in the AUX-V of the next picture is used.
  • the data after the sync block is filled with Nu 11 data.
  • the ECC processing unit 17 records all the supplied data streams and fills in the ECCB ank necessary for generating the base image data with a sync block or Null 1 data.
  • a recording current used for recording on the tape 4 and a mechanism for recording the data stream on the magnetic tape 4 such as a rotating drum (not shown) are stopped. This is because, when recording on magnetic tape 4, if the recording current is stopped immediately after recording data on the last track to be recorded, an error may occur in the helical track to be recorded last. This is because an extra recording current is supplied because of the potential for recording.
  • data is recorded on the magnetic tape 4 for each data group composed of three frames.
  • an I-picture or a P-picture exists at a re-recording position of a designated next picture while viewing a reproduced image Is the re-recording position of the next picture immediately before the I-picture or P-picture.
  • the B-picture exists at the re-recording position of the specified next picture, the B-picture is The immediately preceding I-picture or P-picture at the head of the constituent detag loop is the re-recording position of the next picture.
  • the ECC processing unit 17 determines the re-recording position of the next picture in this way according to the picture type existing at the specified recording position, and rewinds and reproduces the magnetic tape 4 according to the determined recording position. Then, these are sequentially written to the ECCB ank memory. At that time, the I-picture or P-picture of the determined re-recording position or the data group located immediately after the re-recording position is searched via the DTS, etc., and the EC CB including the AUX-A at the head of the pack is searched. Only the ank and the subsequent ECCB ank are stored in the ECCB ank memory, and the subsequent writing of the ECC bank to the ECC bank memory is stopped to prepare for recording of the next picture. At this time, similarly, VB V delay, DTS, etc. may be extracted from AUX-V where the END point flag exists.
  • the newly input data stream is written back from ECCBank as follows. That is, the data stream in the sync block immediately before the re-recording position is left as it is in the ECCB ank memory. Then, the newly input data stream is overwritten on the sync block after the re-recording position, and synthesized on the ECCBank memory. At this time, the new data stream is overwritten and the C2 parity is regenerated for each data stream in the ECCCBnk memory synthesized.
  • playback is performed while visually recognizing the track number of the data stream to be played back, and continuous recording is performed from the track that matches the track number assigned to ECCB ank. That is, by continuing the data stream before and after the rewriting on the magnetic tape 4, smooth reproduction can be realized without performing any special processing at the re-recording position where the continuous recording starts.
  • the image data processing device 1 obtains vbv_de 1 ay_n of the next picture recorded in AUX-V, converts this to the data occupancy (vbv_occupancy) of the VBV buffer in the encoder 13, Set the value as the initial value of the encoder.
  • This VBV buffer is assumed to be a virtual buffer corresponding to the input buffer in the decoder 25, and should control the amount of code generated for each picture. Is provided.
  • the vbv_occupancy of this VB V buffer can be calculated by the following equation (3) based on the inherited vbv—delay_n.
  • vbv_occupancy vbv_delay_nX Bit rate / 9 0 0 0 0 Flow may occur, and the image quality may be continuously degraded. Therefore, regardless of the value of vbv_occupancy obtained by the equation (3), it is necessary to optimally control the value according to the capacity of the VBV buffer to prevent the image quality from deteriorating.
  • the image data processing device 1 gradually corrects this vbv_occupancy from the initial value of vbv_occupancy calculated by the equation (3) (hereinafter, this initial value is referred to as vbv-occupancy_f), so that the optimal target value of vbv_occupancy is obtained. (Hereinafter, this target value will be referred to as vbv-one o ccupancy_t). More specifically, the difference between vbv-occupancy_f and vbv-occupancy_t is determined to determine the code generation correction amount required to converge to vbv_occupancy_t.
  • this code generation correction amount is divided by the number of GOPs required to transition to vbv—occupancy—t (hereinafter, the number of GOPs is referred to as nuinber_GOP) to obtain code generation per GOP. Find the amount correction value. That is, the code generation amount correction value can be calculated by the following equation (4).
  • Code generation correction value (vbv-occupancy—t—vbv—occ ⁇ ncy-f) / number—GOP
  • the image data processing device 1 spends a plurality of GOPs to make a transition from vbv—occupancy— ⁇ to vbv—occupancy_t.
  • the target vbv-occupancy_t can be gradually corrected by multiplying the number of GOPs (numbe and G0P), the amount of correction per GOP can be reduced, and Deterioration can be suppressed.
  • FIG. 10 shows a flow of the code amount control in the encoder 13, and the arrow direction in the figure represents a time axis.
  • step S11 the difference between Vbv-occupancy-f calculated based on vbv-delay_n and vbv_occupancy-t from equation (3) is determined.
  • Step S 1 2 the difference between Vbv-occupancy-f calculated based on vbv-delay_n and vbv_occupancy-t from equation (3) is determined.
  • Step S 1 2 the difference between Vbv-occupancy-f calculated based on vbv-delay_n and vbv_occupancy-t from equation (3) is determined.
  • Step S 1 2 the difference between Vbv-occupancy-f calculated based on vbv-delay_n and vbv_occupancy-t from equation (3) is determined.
  • Step S 1 2 the difference between Vbv-occupancy-f calculated based on vbv-delay_n and vbv_occupancy-t from equation (3) is determined.
  • each image data except G0P head remains_bi for each frame in step S21, and the generated code amount is subtracted from G0P.
  • the total addition amount corrected for each GOP in step S13 is added to the code amount of each image data that has passed through step S21, and further, step S2 3.
  • the generated code amount in the frame based on the encoding processing of one frame unit is subtracted.
  • the encoder 13 can obtain the G0P by performing the remain_bi with the code amount controlled in this way. Since the code amount of G0P of this remain_bi is controlled in GOP units, the image quality does not continuously deteriorate.
  • This number—G0P may be set to any value, may be fixed to a fixed value, or may be set arbitrarily each time according to the value of vbv—occupancy—t—vbv_occupancy_f. If the temporary number-G0P is fixed to a fixed number, it can be equally allocated to each GOP regardless of the value of vbv_occupancy_t-vbv_occupancy-f. Also, numbe and G0P can be set arbitrarily each time according to the value of vbv—occupancyj—vbv_occupancy_f, so that the correction amount per GOP is determined first, and the necessary numbe and G0P are set later. Is also possible.
  • the image data overnight processing device 1 allocates the above-mentioned “remain-bit_G0P” to each picture.
  • the code amount to be allocated may be changed according to the complexity of each picture type.
  • the coefficient indicating the complexity of the I picture is Xi
  • the coefficient indicating the complexity of the P picture is Xp
  • the coefficient indicating the complexity of the B picture is Xb
  • the number of uncoded P pictures in the GOP is Np
  • GO Assuming that the number of uncoded B pictures in P is Nb, the allocation coefficient Y_i for the I picture, the allocation coefficient Y-p for the P picture, and the allocation coefficient Y_b for the B picture are given by the following equations (5), Equations (6) and (7) can be used.
  • Y_i HNp-Xp / Xi-1 / Kp + Nb-Xb / Xi-1 / b (5)
  • the code amount to be allocated to each picture type can be obtained.
  • the initial values of Xi, Xp, and Xb may be set to 1.39xbitrate, 0.52 Xbitrate, and 0.37Xbitrate, respectively.
  • vbv_oc cupancy_f is extremely small in relation to the amount of generated code of the next picture to be seamlessly recorded, the amount of generated code of the next picture is restricted so that underflow of the VBV buffer does not occur during encoding.
  • the image quality will be degraded.
  • number-G0P is fixed to a fixed value, the first number GOP before transitioning to vbv_occupancy_t is extremely low in vbv_occupancy, so the image quality is significantly degraded and the optimal vbv Since it takes a long time to transition to occupancyj, image quality cannot be improved early.
  • the amount of code generation correction per GOP is increased in order to shorten the transition time to vbv-occupancy-t, the image quality is significantly degraded until the transition to vbv-occupancy-t.
  • a copy picture is inserted when the value of vbv_occupancy-f calculated by Expression (3) falls below a predetermined set value. This allows the user to select screen hold rather than significant image quality degradation.
  • the number of inserted copy pictures (N) is determined by calculation so that vbv-occupancyj2 obtained according to vbv-delay_n2 of the next picture is equal to or larger than a set value.
  • N the number of inserted copy pictures
  • the time t42 at which the next picture is extracted is delayed by N pictures, so that vbv_delay_n2 becomes longer by N pictures.
  • vbv_delay_n2 is shortened accordingly.
  • vbv_delay-n2 is represented by the following equation (8).
  • vbv— delay— n2 vbv— del ay one n + NX (ET— FT) ⁇ ⁇ ⁇ ⁇ (8)
  • the display time ET of the copy picture is 3003 when the frame frequency is 29.997 Hz, and 3600 when the frame frequency is 25 Hz.
  • the number of copy pictures (N) is calculated and obtained such that vbv_delay-n2 is equal to or greater than the set value of vbv_delay (vbv_delay_s) calculated from the set value of vbv-occupancy using equation (3). That is, the following equation (9) can be derived based on the above-mentioned equation (8).
  • the number of copies (N) to be inserted is obtained by the following equation (10) obtained by modifying equation (9).
  • Control vbv_occupa ncy When connecting and recording data streams input from other electronic devices, Control vbv_occupa ncy by inserting a stuffing byte in addition to the peak picture.
  • the number of copy pictures and the amount of stuffing bytes can be determined by the following method.
  • vbv-de 1 ay_n is obtained from AUX-V of the next picture located immediately after the recording END point.
  • the VB V delay is obtained from the header of the I picture located at the head of the supplied image data, and this is referred to as vbv_delay-n3. I do.
  • the Bitrate expressed in units of 400 bps is obtained from the header of the next picture.
  • T_copy obtained by converting the transfer time into 90 kHz units can be expressed by the following equation (11).
  • T_copy B_copy / BitrateX conversion factor ⁇ ⁇ ⁇ ⁇ (1 1)
  • This conversion coefficient is 180,000 in units of 90 KHz according to the following equation (12).
  • the obtained difference value VBVD_TN of the VB V delay can be defined by the following equation (13).
  • N_copy VBVD_TN / (ET-T one copy)
  • T Stuf (ET— T copy) XN-VBVD TN
  • B_Stuf T_Stuf xBitrate / 1800
  • the image data processing apparatus 1 when a data stream is input from another electronic device, the image data processing apparatus 1 according to the present invention inserts a copy picture according to the obtained vbv_delay-1 n and vbv-delay_n3, respectively.
  • stuffing bytes can be inserted.
  • vbv_delay_n3 a copy picture can be inserted and a stuffing byte can be inserted regardless of the value of vbv_delay_n, so that the image quality can be reduced to the desired vbv_occupancy with little deterioration in image quality. Can be controlled.
  • step into integers If a fraction occurs during the stepping by this integer, the fraction is rounded up to reduce the rate of the sequence header Z GOP header.
  • the calculated correction value is used when inheriting vbv-delay-n of the next picture, and when calculating the copy picture and stuffing amount.
  • AUX-V is provided on each magnetic tape, and a data group including an I picture or a P picture at the head and including a B picture has already been recorded.
  • a data group L last supplied to the image data processing device 1 is shown as an example of the background image data.
  • the recording group N 1 including the next picture to be recorded for the first joint recording is recorded.
  • AUX-V is also provided for recording the supplementary data in the evening group N1.
  • E dit AUX_V_h an import data group including copy pictures and / or stuffing bytes is recorded.
  • This EditPack-V-h is provided according to the bit occupancy of the VBV buffer.
  • the EditPack—V—h which combines the copy pictures and stuffing bytes, is recorded as a data group independent of the data group L ⁇ ⁇ ⁇ ⁇ data overnight group N1. This makes it possible to separate only this EditPack__V—h according to the situation.
  • E dit AUX—V—h record the value corresponding to the VBV delay of staffing.
  • the vbv_delay_n recorded in the AUX-V of the overnight group N1 may be inherited and recorded in this Edit AUX-V_h.
  • Figure 15 shows the data occupied by the VBV buffer with respect to the time when the second splicing recording is performed with the head of the data group N1 in which the first splicing recording was performed as the re-recording position. ing.
  • the VBV delay (vbv_delay_h2) of the data group N2 is larger than the VBV delay (vbv—delay_hl) of the data group N1, and vbv_delay—less than n
  • unnecessary stuffing bytes and the like have already been recorded via EditPack_V_h.
  • the Edit Pack—V—h including the stuffing bytes and the like in the first continuous recording is removed before the data group N 2 is supplied. . Therefore, the amount of stuffing bytes to be inserted can be determined between vbv_delay_h2 and vbv-delay-n, ignoring vbv_delayjil. In addition, unnecessary stuffing bytes and the like are not recorded, and the occurrence of useless screen hold can be suppressed.
  • EditPack_V_h1 is composed of only stuffing bytes, a PES header is added to only the Es constituting the stuffing byte, as shown in FIG.
  • FIG. 17 shows vbv_delay_hl starting from t62 by inserting a copy picture and stuffing into vbv-delay_n starting from t61.
  • vbv_delay_h2 to which the second splicing recording is performed and to which additional stuffing is added starts at t63 which is delayed from t62 by the additional stuffing.
  • Vbv— ( ⁇ 1 & -112 and 13 ⁇ _ (161 & -11)
  • the wasteful screen hold is reduced by the amount of the edging peat in Edit Pack—V—h that is removed during the second continuous recording. Will occur.
  • the recording start position at the time of the second splicing recording is controlled to be a time t 71 which is delayed by an additional stuffing amount from the time t 61 which is the start time of vbv_delay 1 n. I do.
  • Edit Pack—V_h in which the amount of stuffing bytes during the first splicing recording was recorded is removed once, and additional staff is added between vbv—delay_li2 and vbv—delay—n. Calculate the amount of stuffing and insert the calculated amount of stuffing before the next picture. Thereby, useless screen hold can be reduced.
  • a flag for identifying a copy picture or a flag for identifying the number of the copy pictures may be recorded in EditAUX-Vh.
  • the present invention is not limited to the above-described embodiment.
  • the present invention can be applied not only to recording on a magnetic tape 4 but also to other recording media using other magnetic disks.
  • the above method can be applied to broadcasting.
  • the image data processing apparatus and method according to the present invention can separate and remove EditPack_V-h recorded during the first continuous recording. As a result, unnecessary stuffing bytes and the like are not recorded, and the occurrence of useless screen hold can be suppressed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

明細書 画像データ処理装置及び方法 技術分野 本発明は、 MP E G (Motion Picture Expert Group)方式により符号化した画像 データを記録媒体上へ記録処理する画像データ処理装置及び方法に関する。
本出願は、 日本国において 2002年 7月 8日に出願された日本特許出願番号 2002 - 199073を基礎として優先権を主張するものであり、 この出願は 参照することにより、 本出願に援用される。 背景技術 従来、 動画像を高効率で圧縮符号化する手法として、 MP EG 2 ( I S O/ I EC 138 18) に代表されるディジタル動画像符号化方式が提案されている。 この MP E G 2方式による画像圧縮は、 画像間の動き補償と D CT (Discrete Co sine Transformation)とを組合せたハイブリッド'方式の変換を行い、 これにより 得られる信号に対してさらに量子化や可変長符号化を施す。
MP EG 2方式では、 符号化方式として双方向予測符号化方式が採用されてい る。 この双方向予測符号化方式では、 フレーム内符号化、 フレーム間順方向予測 符号化及び双方向予測符号化の 3タイプの符号化が行われ、 各符号化タイプによ る画像は、 それぞれ Iピクチャ、 Pピクチャ及び Bピクチャと呼ばれている。 ま た、 I , P, Bの各ピクチャを適切に組み合わせてランダムアクセスの単位とな る GOP (Group of Pictures)が構成される。 ちなみに各ピクチャの発生符号量は, Iピクチャが最も多く、 次に Pピクチャ、 Bピクチャと続くのが一般的である。 この MP EG 2方式のように、 ピクチャタイプ毎に発生符号量が異なる符号化 方法において、 記録媒体へ記録した符号化ビットストリームを、 再生時にデコ一 ダにおいて正確に符号化して画像を得るためには、 デコーダにおける入力バッフ ァ内のデータ占有量をエンコーダで常に把握しなければならない。
図 1は、 デコーダにおける入力バッファにおける、 供給された MP EGストリ —ムに対するデータ占有量の推移を表している。 図 1において、 横軸は時間(t)を 示しており、 供給される MP EGストリームに含まれる各ピクチャのデコードの タイミング ( t l 0 1、 t l 02、 t 103 ···) が記されている。 また、 縦軸は、 入力バッファが格納するデータ占有量を示している。
入力バッファは、 MPEG 2方式で画像圧縮された MP E Gストリームをその ビットレートに応じて順次格納していく。 そして、 MP E Gストリームの供給が 開始された t 1 00から VB Vディレイ(vbv— delay)時間経過した t 10 1におい て、 デコード処理のために、 最初のピクチャがデコーダより引き抜かれる。 この デコーダにより引き抜かれるピクチャのデータ量は、 そのピクチャのデータサイ ズ (picture— size) と、 ピクチャスタートコードのデータサイズ (picture_star し code) と、 シーケンスヘッダのデ一夕サイズ (seduencejieader) と、 GOPへ ッダのデータサイズ (GOP— header) とを加えたデータ量 (以下、 イメージサイズ と称する) である。
ちなみに入力バッファには、 t 10 1以降においても、 MP EGストリームが 所定のビットレートに応じて順次供給され続ける。 t 101からデコード管理時 間(Decode Time Stamp)の間隔である Δ D T S毎に経過していく t 102、 t 10 3、 …においても、 各ピクチャのイメージサイズ分のデータ量がデコーダにより 引き抜かれる。 このような入力バッファでは、 供給された MP E Gストリームの 総データ量と、 各デコードタイミングで引き抜かれたピクチャのイメージサイズ の総デ一夕量との差分が、 入力バッファのバッファサイズより大きくなるとォ一 バーフローし、 逆に小さくなるとアンダーフローすることになる。
このため、 MP EG方式では、 デコーダにおける入力バッファに対応する仮想 バッファとして、 エンコーダ側に VBV (Video Buffering Verifier) バッファ を想定し、 発生する符号量を制御する。 エンコーダでは、 VBVバッファを破綻 させないように、 換言すれば VB Vバッファをアンダーフロー或いはオーバーフ ローさせないように各ピクチャの発生符号量をコントロールする。
ところで、 画像データが既に録画されている磁気テープ等の記録媒体上におい て、 その録画終了位置から画像データを新たに録画する、 いわゆるつなぎ録りを する場合がある。 ちなみに、 フレーム内のみ圧縮する DV (Digital Video) 方式 の VTR (Video Tape Recorder) では、 1フレームを 10本のトラックに分けて 記録するため、 テープ走行中に再生から記録に切り替え、 録画するフレームを圧 縮した画像データを次のトラックから記録することで容易につなぎ録りすること ができる。
しかし、 フレーム間圧縮を利用する MP E G 2方式では、 1フレームのサイズ が変動するため、 記録するトラックの数を固定することができず、 容易につなぎ 録りすることができなかった。
図 2は、 かかる従来例について、 記録媒体の編集点前後における MP E Gスト リームに対するデ一夕占有量の推移例を表している。 VBV_delay_0は、 既に記録 媒体上に記録されている画像データの記録終了位置直前の VB Vディレイであり、 VBV_delay— 2は、 1回目のつなぎ録りを行った画像データの先頭に位置する Iピ クチャの VBVディレイである。 この図 2に示すように、 VBV— delay— 0よりも VB V一 delay_2の方が小さい場合には、 コピ一ピクチャ無しでスタッフィングのみ揷 入されることとなる。 一方、 VBV— delay_0よりも VBV_delay一 2の方が大きい場合 には、 コピーピクチャ及びスタッフィングが揷入されることとなる。
しかしながら、 1回目のつなぎ録りが行われた記録媒体の編集点において他の 画像データを再度録画する、 いわゆる 2回目のつなぎ録りを行うと以下の問題点 が生じる。
先ず VBV— delay_0よりも VBV_delay_2の方が小さいためにスタッフィングバイ トのみ挿入される場合において、 挿入されるスタッフイングバイトは、 編集点直 前のビデオエレメン夕リストリーム (ES) と一体としてデコードされる。 この ため、 記録媒体上においてスタッフイングとビデオ E Sとの境界が無くなり、 後 から分離できないという問題点が生じる。
図 2において、 1回目のつなぎ録りを行った画像データの Iピクチャの先頭を 編集点として、 2回目のつなぎ録りを行う場合に、 2回目のつなぎ録りを行った 画像デ一夕の先頭に位置する Iピクチャの VB Vディレイを VBV_delay— 3とした とき、 VBV delay— 3は、 VBV— delay— 2より大きく、 かつ VBV_delay_0より小さレ^ このため、 VBV_delay一 3と VBV_delay_0とを比較して揷入するスタッフィングバ ィト等の量を決めれば足りるところ、 VBV— delay— 3が VBV— delay_2より大きいた め、 VBV_delay— 0と VBV— delay_2との間に既に挿入されているスタッフィングバ イトを残したまま、 更にコピーピクチャとスタッフィングバイトを揷入すること となる。 このため、 無駄な画面ホールドが発生してしまうという問題点がある。 同様に、 VBV_delay_0よりも VBV_delay_2の方が大きいためにコピーピクチャ 及びスタッフィングバイトが揷入されている場合においても、 2回目のつなぎ録 りの際に、 VBV_delay_3と VBV— delay_0とを比較して挿入するスタッフィングバ イト等の量を決めれば足りるところ、 VBV— de 1 ay— 3が VBV— de 1 ay_ 0より小さい場 合にはコピーピクチャは不要となるにもかかわらず、 VBV_delay一 2と VBV_delay_ 0との関係において不要なコピーピクチャやスタッフィングバイトを残した上で、 更に追加のスタッフイングを揷入することとなる。 このため、 無駄な画面ホール ドが発生してしまう。
更に、 2回目のつなぎ録り時において、 既に録画されている画像データの補助 デー夕を記録媒体から読み出した VBV_de 1 ay_ 0を、 V B Vバッファにおけるデー 夕占有量に換算し、 これをエンコーダの初期値として設定することにより、 つな ぎ録りする編集点の前後を連続再生しても入力バッファを破綻させることなくデ コードできるようにする方法も提案されている。
しかし、 VBV_delay— 2との関係で無駄なスタッフィングゃコピーピクチャが残 されていると読み出した VBV—delay_0の値が小さくなりエンコード後の画質が劣 化したり、 無駄な画面ホールドが生じてしまうという問題点がある。 発明の開示 本発明の目的は、 上述したような従来の画像データ処理装置及び方法が有する 問題点を解消すことができる新規な画像データ処理装置及び方法を提供すること にある。
本発明の他の目的は、 2回目のつなぎ録り時において、 不要なスタッフイング やコピーピクチャを除去し、 画質の劣化を防止することができる画像データ処理 装置及び方法を提供することにある。
本発明に係る画像データ処理装置は、 MP EG方式により符号化され、 またそ れぞれ補助記録領域 (AUX_V) が設けられ、 Iピクチャ又は Pピクチャを先 頭とし、 かつ Bピクチャを含むデ一夕グループ (P a c k— V) からなる画像デ —夕を処理する画像データ処理装置において、 P a c k— Vが既に記録されてい る記録媒体上の編集点上に、 編集されるデ一夕グループ (P a c k_V— h) を 記録し、 また復号化時に用いられる VBV (Video Buffering Verifier) バッフ ァのビット占有量に応じて、 当該 P a c k— V— hの前に、 それぞれ挿入補助記 録領域 (E d i t AUX_V_h) が設けられ、 前ピクチャを繰り返して表示す るコピーピクチャ及び/又はスタッフィングバイトを含む揷入デ一タグループ (E d i t P a c k_V_h) を記録媒体上へ記録する記録手段を備え、 記録手段は、 記録媒体上の編集点に上記 E d i t P a c k— V— hが記録されている場合に、 当該 E d i t P a c k— V_hと独立して、 新たに入力されたデータグループ
(P a c k_V_n) の前に位置し、 それぞれ挿入補助記録領域 (E d i t AU X_V_n) が設けられコピ一ピクチャ及び/又はスタッフィングバイトを含む揷 入データグループ (E d i t P a c k_V_n) を、 編集点に基づき記録するよ うにしたものである。
本発明に係る画像データ処理方法は、 MP E G方式により符号^され、 またそ れぞれ補助記録領域 (AUX— V) が設けられ、 I ピクチャ又は Pピクチャを先 頭とし、 かつ Bピクチャを含むデータグループ (P a c k— V) からなる画像デ 一夕を処理する画像データ処理方法において、 上記 P a c k—Vが既に記録され ている記録媒体上の編集点上に、 編集されるデータグループ (P a c k_V_ h) を記録し、 復号化時に用いられる VBV (Video Buffering Verifier) バッ ファのビット占有量に応じて、 当該 P a c k—V— hの前に、 それぞれ挿入補助 記録領域 (E d i t AUX_V_ ) が設けられ、 前ピクチャを繰り返して表示 するコピーピクチャ及び/又はスタッフィングバイトを含む挿入データグループ
(E d i t P a c k_V_h) を記録媒体上へ記録する記録ステップを有し、 記 録ステップは、 記録媒体上の編集点に上記 E d i t P a c k— V— hが記録され ている場合に、 当該 E d i t P a c k—V— hと独立して、 新たに入力されたデ —夕グループ (P a c k— V— n) の前に位置し、 それぞれ挿入補助記録領域
(Ed i t AUX_V_n) が設けられコピ一ピクチャ及び/又はスタッフイング バイトを含む挿入データグループ (Ed i t P a c k_V_n) を、 編集点に基 づき記録するようにしたものである。
本発明の更に他の目的、 本発明によって得られる具体的な利点は、 以下におい て図面を参照して説明される実施の形態の説明から一層明らかにされるであろう。 図面の簡単な説明 図 1は、 デコーダの入力バッファへ供給された MP E Gストリームに対するデ —夕占有量の推移を表した図である。
図 2は、 従来技術の問題点を説明するための図である。
図 3は、 本発明を適用した画像データ処理装置を示すブロック図である。
図 4は、 記録トラックが形成された磁気テープを示す平面図である。
図 5は、 磁気テープに形成されたヘリカルトラックの構成を示した図である。 図 6は、 デ一夕グループを示す図である。
図 7は、 画像データ処理装置に対して最後に供給されたデータグループにおけ るデ一夕占有量の推移を表した図である。
図 8は、 次ピクチャの vbv_delay— nの値が未知の場合に、 記録時に予め演算する 例を説明するための図である。
図 9は、 つなぎ録り時における、 E C C処理部の E C C B a n kメモリの処理 について説明するための図である。
図 10は、 エンコーダにおける符号量制御のフロ一を示す図である。
図 1 1 A及び図 1 1 Bは、 vbv—delay_nに基づいて演算した vbv— occupancy— fが、 設定値を下回る場合においてコピーピクチャを挿入し続ける例を説明するための 図である。
図 12は、 他の電子機器から入力された画像デ一夕のデータストリームをつな ぎ録りする場合において、 継承した vbv_de 1 ay一 nの値が極端に小さいときの処理に ついて説明をするための図である。 図 13は、 記録 END点直後のピクチャタイプが Pピクチャである場合におけ るつなぎ録りの欠点について説明するための図である。
図 14は、 演算したコピーピクチャやスタッフィングの記録方法について説明 をするための図である。
図 1 5は、 1回目のつなぎ録りを行ったデータグループ N 1の先頭を再記録位 置として、 2回目のつなぎ録りを行う場合の、 時刻に対する VBVバッファのデ —夕占有量を示した図である。
図 16は、 スタッフィングバイトを構成する E Sのみに対して P E Sヘッダを 付加する場合について説明するための図である。
図 1 7は、 2回目のつなぎ録り時における再記録位置について説明をするため の図である。
図 18は、 コピーピクチャとスタッフィングパイトの両方を磁気テープ上へ記 録する場合について説明するための図である。 発明を実施するための最良の形態 以下、 本発明に係る画像データ処理装置及び方法を図面を参照しながら詳細に 説明する。
本発明を適用した画像データ処理装置 1は、 動画像を高効率で圧縮符号化する MPEG2 ( I SO/ I EC 138 18) 方式によりディジタル動画像符号化し て磁気テープに記録する装置であり、 図 3に示すように、 外部入力部 1 1と、 ピ クチャサイズ測定部 12と、 エンコーダ 13と、 挿入処理部 14と、 補助デ一夕 生成部 1 5と、 ストリーム記録処理部 1 6と、 ECC (Error Correction Code) 処理部 1 7と、 記録回路 18と、 再生回路 19と、 補助データ抽出部 20と、 ス トリ一ム再生処理部 2 1と、 ヘッダ抽出部 22と、 VBV (Video BufferingVer ifier) ディレイ抽出部 23と、 外部出力部 24と、 デコーダ 25と、 制御部 26 とを備えている。
外部入力部 1 1は、 外部にある他の電子機器から T S (Transport Stream) と して伝送される画像データを P E S (Packet ized Elementary Stream) へ分割し、 これをストリーム記録処理部 16へ送信する。 ちなみに、 この外部入力部 1 1に 入力される画像データを構成する各ピクチャのサイズは、 ピクチャサイズ測定部 12により測定される。
エンコーダ 13は、 VB Vディレイ抽出部 23から送信される VB V (VideoB uifering Verifier) ディレイに基づいて、 入力される画像データを、 ピクチャ夕 イブ、 量子化ステップ等の符号化パラメ一夕に基づいて符号化を行う。 このェン コーダ 1 3は、 この符号化した画像データをストリーム記録処理部 16へ送信す る。
挿入処理部 14は、 画像データの符号化時において、 発生符号量が少ない場合 における疑似データとして、 前ピクチャを繰り返して表示するコピーピクチャや スタッフイングバイトを生成する。 ちなみに、 このスタッフィングバイ トは、 特 に意味を持たないデータであり、 デコーダ側において読み捨てられる。 この挿入 処理部 14は、 生成したコピ一ピクチャやスタッフィングバイトをストリーム記 録処理部 16へ出力する。
補助データ生成部 15は、 Iピクチャ又は Pピクチャを先頭とし、 Bピクチャ を含むデータグループ毎に付される補助データ (AUX) をストリーム記録処理 部 16へ出力する。
ストリーム記録処理部 16は、 外部入力部 1 1或いはエンコーダ 13から画像 デ一夕を取得する。 また、 このストリーム記録処理部 16は、 挿入処理部 14か らコピーピクチャやスタッフィングバイトが供給され、 補助データ生成部 1 5力、 ら補助データが、 更にはヘッダ抽出部 22から各種ヘッダが入力される。 ストリ —ム記録処理部 16は、 画像データにおける Iピクチャ或いは Pピクチャから始 まるデータグループ間に、 補助データやコピーピクチャ等を揷入して一つのデー タストリームを形成する。 このときストリーム記録処理部 16は、 生成したデー タストリームから VBVディレイ抽出部 23により VBVディレイが抽出される 場合もある。 ストリーム記録処理部 16は、 この形成したデータストリームを E CC処理部 1 7へ送信する。
ECC処理部 17は、 入力されたデ一タストリームに E C C (Error Correcti on Code) を付加し、 またインタリーブ処理等を施す。 この ECC処理部 1 7は、 図示しない独自の E C C B a n kメモリを有し、 実際に磁気テープ 4へ記録する データストリームを一時記憶させる。
記録回路 1 8は、 E C C処理部 1 7から入力されたデータストリ一ムを磁気テ —プ 4へ記録する。 この記録回路 1 8は、 例えば、 入力されたデータをシリアル データに変換した上で増幅し、 図示しない回転ドラムを介して回転させられる磁 気テープ 4へ、 図示しない磁気へッドを介して記録する。
再生回路 1 9は、 磁気テープ 4上に記録されている画像デ一夕を再生し、 また 後述する磁気テープ 4上の補助記録領域に記録されている補助データを読み出し、 これを E C C処理部 1 7へ送信する。
ストリ一ム再生処理部 2 1は、 磁気テープ 4から再生される画像データ並びに 補助データが再生回路 1 9及び E C C処理部 1 7を介して入力される。 このスト リーム再生処理部 2 1は、 入力された画像データを外部出力部 2 4或いはデコ一 ダ 2 5へ出力する。 このストリーム再生処理部 2 1に入力された補助データにお いて、 P T S (Presentat ion Time Stamp)や D T S (Decoding Time S 即)につい てはヘッダ抽出部 2 2により抽出され、 V B Vディレイについては V B Vディレ ィ抽出部 2 3により抽出される。 その他の補助デ一夕については、 補助デ一夕抽 出部 2 0により抽出される。
外部出力部 2 4は、 ストリーム再生処理部 2 1から P E Sとして入力される画 像データをデコードして T S化し、 他の電子機器へ伝送する。 デコーダ 2 5は、 ストリ一ム再生処理部 2 1から P E Sとして入力される画像データをピクチャ夕 ィプ、 量子化ステップ等の符号化パラメ一夕に基づいて復号化を行う。
なお、 本発明に係る画像データ処理装置 1を構成する回路、 要素は、 制御部 2 6による制御に基づき動作する。
次に、 本発明を適用した画像データ処理装置 1における磁気テープ 4への記録 方式について説明をする。 なお、 ここで説明する記録方式は、 特開 2 0 0 1 — 2 7 5 0 7 7公報において提案されている方式に基づく。
磁気テープ 4は、 図 4に示すように、 磁気ヘッドにより映像信号等の情報が記 録されるヘリカルトラック 3 2から構成される。
ヘリカルトラック 3 2は、 磁気テープ 4の長手方向に対して傾斜されて形成さ れている。
1本のヘリカルトラック 3 2は、 図 5に示すように、 1 2 3個のシンクブロッ クと 1 8個の C 2パリティシンクブロックから構成される。 このヘリカルトラッ ク 32の 1 6本を E C C処理部 1 7における C 2 E C Cのインタリーブ単位とす る。 EC C処理部 1 7では、 この 1 6本分のヘリカルトラック 32におけるシン クブロックを E C C面にインタリーブして割り当て、 C 2パリティを生成してこ れを C 2パリティシンクプロックへ記録する。
1つのシンクブロックは、 9 5バイ 卜のデータ部に、 1バイトのシンクブロッ クヘッダ (S Bヘッダ) と、 トラックペア No. やシンクブロック N o · 等から なる 3バイトの I D部と、 それらを対象とした C 1パリティの 1 0バイトが付さ れており、 さらに 2バイトのシンクパターンを先頭に付した 1 1 1バイトで構成 されている。
このトラックペア No. は、 —アジマス、 +アジマスの順で隣り合うヘリカル トラック 3 2間で同値をとる。 以下このトラックペア No. を 2倍して +アジマ ストラックのみ 1を加えた N ο . を卜ラック N o . とする。 また S Bヘッダは、 そのシンクプロックに記録されるデータの種類が記録されている。
ちなみに、 MP EG 2方式の P E Sパケットとして構成されている V i d e o データや A u d i oデ一夕は、 それぞれシンクブロックに分割して記録されるこ ととなる。 V i d e oデータは、 図 6に示すように、 I ピクチャ、 Bピクチャ、 Bピクチャの 3フレーム、 或いは Pピクチャ、 Bピクチャ、 Bピクチャの 3フレ —ムの P E Sを結合し、 これに P T S時刻に応じた A u d i oデ一夕を加えて、 Au d i o、 V i d e oの順で交互にシンクブロック上へ記録する。 この Au d i oと V i d e oの結合単位を以後、 P a c kという。 I ピクチャ、 Bピクチャ. Bピクチャの順で構成される 3フレームの V i d e oデータ、 或いは Pピクチャ. Bピクチャ、 Bピクチャの順で構成される 3フレームの V i d e oデータをデー タグループという。
なお、 Au d i oデ一夕の補助デ一夕として AUX— Aを、 V i d e oデータ の補助デ一夕として AUX— Vのシンクブロックを P a c k毎に記録する。
次に、 本発明を適用した画像データ処理装置 1の動作について説明をする。 MP E G 2方式を採用する画像データ処理装置 1は、 ピクチャタイプ毎に発生 符号量が異なるため、 磁気テープ 4へ記録したデータストリームを、 再生時にデ コーダ 2 5において正確に符号化して画像を得るためには、 デコーダ 25におけ る入力バッファ内のデ一夕占有量をエンコーダ 1 3で常に把握しなければならな い。
図 7は、 画像データ処理装置 1に対して最後に供給されたデ一夕グループしに おける、 デコーダ 25の入力バッファのデータ占有量の推移を表している。 この 図 7において、 横軸は時刻 ( t) を示しており、 供給されるデ一夕グループ Lを 構成する各ピクチャのデコードのタイミング (P、 B l、 B 2 ) が記されている。 また縦軸は、 入力バッファが格納するデータ占有量を示している。
入力バッファは、 MPEG 2方式で圧縮符号化されたデータストリ一ムをその ビットレートに応じて順次格納していく。 Pピクチャが供給される時刻は、 t l 1から t 12までであり、 また B 1ピクチャが供給される時刻は、 1; 12から 1 1 3までであり、 更に B 2ピクチャが供給される時刻は、 t 13から t 14まで である。 またデコーダ 25は、 デコード処理のため、 t 21において Pピクチャ を引き抜く。 同様にデコーダ 25は、 デコード処理のため、 セ 22にぉぃて81 ピクチャを引き抜き、 更に t 23において B 2ピクチヤを引き抜く。
このデコーダ 25 こより引き抜かれる各ピクチャのデータ量は、 ピクチャのデ —夕サイズ (picture— size) と、 ピクチャスタートコードのデータサイズ (pict ure— start— code) と、 シーケンスへッタのデータサイズ (sequence— header) と、 GO Pヘッダのデータサイズ (GOPJieader) とを加えたデ一夕量 (以下、 ィメー ジサイズと称する) である。 このデ一夕グループ Lの先頭に位置する Pピクチヤ のピクチャスタートコードの最終パイトが供給されてから、 デコーダ 25により 引き抜かれる時間 ( t l l〜t 2 1) を VBVディレイ (vbv— delay— 1) と称する, 図 7において、 データグループ Lの後方には、 データグループ Lの次に挿入す べきピクチャ (以下、 次ピクチャという) が示されている。 この次ピクチャの V BVディレイ (vbv_delay_n) は、 t 14から t 1 5までの時間である。 画像デー 夕処理装置 1は、 最後にデータグループ Lが供給されたときに、 多めにェンコ一 ドすることにより、 この次ピクチャの vbv一 delay_nを取得することができる。 画像データ処理装置 1は、 このようにして取得することができる VBVディレ ィ (vbv_delay_l、 vbv_delay_n) を補助データとして、 各データグループ毎に設 けられた AUX— Vへ記録する。 図 7中の下段には、 デ一タグループ L並びに次 ピクチャについて設けられた A U X— Vの磁気テープ 4における記録位置を示し ている。 データグループ Lにおける AUX— Vの記録位置は、 データグループ L の先頭に位置する Pピクチヤの前に設けられている。 同様に、 次ピクチャの AU X— Vのシンクブロックは、 次ピクチャの記録位置前方であり、 かつデータダル —プ Lの記録位置後方に設けられている。
画像データ処理装置 1は、 データグループ Lの Pピクチヤについて取得した vb v_delay一 1を、 デ一夕グループ Lについて設けられた A U X— Vへ記録する。 同様 に次ピクチャについて取得した vbv一 delay_nを、 次ピクチャについて設けられた A UX_ Vへ記録する。
このようなデ一タストリームが記録された磁気テープ 4を再生することにより、 各 AUX— Vに記録されている vbv_delay_l, vbv— delay_nを読み出すことができる: これにより、 画像データ処理装置 1は、 画像データが既に記録されている磁気テ ープ 4において、 その記録終了位置から画像データを新たに記録する、 いわゆる つなぎ録りをする場合においても、 既に記録されている画像データの情報を得る ことができる。 なお、 つなぎ録りする画像データに対して、 このように vbv_dela y一 1等を同時に記録しておく画像デ一夕を下地画像データという。
すなわち、 この画像データ処理装置 1は、 次ピクチャをつなぎ録りする画像デ —夕として想定することにより、 つなぎ録りする次ピクチャがもつべき vbv_dela y—nを記録時に予め求めて磁気テープ 4上へ記録することができる。 これにより再 生時において、 磁気テープ 4から vbv_delay— nを読み出すだけで、 VBVバッファ におけるデータ占有量に換算してエンコーダの初期値として設定することができ るため、 1フレームのサイズが変動する MP EG 2方式においても、 各ピクチャ の発生符号量を制御することができ、 入力バッファを破綻させることなく容易に つなぎ録りを行うことができる。
なお、 本発明に係る画像データ処理装置 1は、 このデ一タグループ Lについて、 最後に供給されたデータグループであることを示すための END点フラグを AU X— Vへ記録することも可能である。 これによりつなぎ録りする際に、 この EN D点フラグに基づいて画像データが記録されている領域を容易に識別することが でき、 既存の画像データ上に上書きしてしまうような不都合を回避することも可 能となる。
画像データ処理装置 1は、 最後に供給されるデータグループ Lゃ次ピクチャに 限らず、 他の全てのデータグループ毎に先頭のピクチャの VBVディレイを識別 し、 これを各データグループ毎に設けられた AUX— Vへ記録してもよい。 次ピ クチャの AUX— Vにおいても同様に vbv_delay—iiが記録されているため、 各ピク チヤ毎に VB Vディレイを AUX— Vへ記録することにより、 記録媒体上に設け られた全ての AUX— Vの補助データ種を共通化することができる。
さらに、 画像データ処理装置 1は、 補助データとして、 VBVディレイ以外に DT S等を用いてこれを AUX— Vへ記録しても良く、 また VB Vディレイの代 替として DTSや PTSを用いてもよいことは勿論である。
他の電子機器から入力された DT Sや P T Sをそのまま AUX— Vへ記録する と、 再生時において、 記録した DT Sや PTSがジャンプしてしまう塲合がある ため、 通常この DTSや PT Sにオフセット値を加算してから AUX— Vへ記録 する。 デ一夕グループ Lの AUX— Vから取得した DT Sを DT S 0とする。 ま た、 つなぎ録りする次ピクチャから取得した DTSを DTS 2とする。 このとき、 オフセット値を、 DTS O— DTS 2 + (コピーピクチャの枚数) X (コピーピ クチャの表示時間) 、 に基づいて演算し、 これを DTS又は PTSに加算してか ら記録を行う。
符号化されたストリームや、 他の電子機器から入力されたストリームを途中で 打ち切る場合には、 上述の如く次ピクチャの vbv_delay— nの値を認識することがで きるが、 他の電子機器から供給されたデ一タストリームを最後のピクチャまで全 て記録しきったときには次ピクチャが存在しない。 かかる場合には、 次ピクチャ の vbv— delay_nの値を認識することができず、 記録時において A U X— V上に補助 デ一夕として記録することができない。 このため、 他の電子機器から供給された ピクチャを磁気テープ 4上へ記録する場合には、 記録時において予め次ピクチャ の vbv— delay一 nの値を演算し、 これを次ピクチャの AUX— Vへ記録しておく。 こ れにより、 再生時において、 この次ピクチャの vbv_delay_nを容易に読み出すこと ができ、 入力バッファを破綻させることなく容易につなぎ録りを行うことができ る。
図 8は、 この次ピクチャの vbv_delay nの値が未知の場合に、 記録時に予め演算 する例を説明するための図である。 画像データ処理装置 1には、 最後に供給され、 Pピクチャ、 B 1ピクチャ、 B 2ピクチヤの順で構成されるデータグループ が 供給される。 このとき、 画像データ処理装置 1は、 この最後に供給されるデータ グループ Lの次に供給されるべき次ピクチャの vbv— delay_nを、 データグループ L の先頭に位置する Pピクチヤの vbv_delay_Iと、 当該データグループ Lの転送時間 (FT) 並びに表示時間 (ET) とから、 以下の式 (1) により求める。
vbv_delay_n=vbv_delay_l+ E T - F T · · · · ( 1 )
ここで転送時間 F Tについては、 データグループ Lを構成する 3フレームを抽 出してビット数の合計 (dビット) を演算する。 そして、 この dをビットレート
(Bitrate) で割ると転送に必要な時間となり、 これに 90 000を乗じることに より、 VB Vディレイと同じ 90 KH zの時間軸における転送時間 (FT) とな る。 またこのデ一タグループ Lを構成する 3フレームの表示間隔 (ET) は、 フ レームレートが 29. 97 H zの場合において 3003の 3倍となり、 これと上 述の FTとの差分が VB Vディレイの変化量となる。 これにより vbv_delay_nは、 さらに以下の式 (2) により求めることができる。
vbv_delay_n=vbv_delay_l + 3003 X 3- 90000 Xd/ Bitrate · · · · ( 2 ) 画像データ処理装置 1は、 このようにして求めた vbv— delay_nを、 次ピクチャの AUX— Vに記録する。 AUX- Vに対して VB Vディレイを記録する場合のみな らず、 D T Sを記録する場合においても、 同様の手法により次ピクチャの DTS を予め求めることができる。
このように、 本発明に係る画像データ処理装置 1は、 次ピクチャの vbv_delay— nの値が未知であっても、 上述の計算式 (1) 或いは式 (2) に基づいて求めるこ とができるため、 再生時においてエンコーダの初期値を得るために記録終了位置 直前において既に録画されている画像データをすベて読み出し、 ピクチャサイズ を計算する必要がなくなる。 これにより本発明に係る画像データ処理装置 1は、 計算時間を減らすことができ、 R E C操作の遷移時間を短くすることも可能とな る。
次に、 つなぎ録り時における、 E C C処理部 1 7の E C C B a n kメモリの処 理について説明をする。
先ず録画 (REC) 中に、 一時停止 (REC— PAUS E) し、 再度録画 (R EC) することによりつなぎ録りする場合について説明をする。 エンコーダ 1 3 により符号化されたデ一タストリ一ムや、 外部入力部 1 1を介して入力されたデ —タストリームを磁気テープ 4上へ記録中に、 REC— P AUS E操作を行った 場合、 図 9に示すように、 最後に供給される 3フレームのピクチャからなるデ一 夕グループ Lを E C C B a n kに書き込み終わったときのシンクブロックを記録 END点とし、 その後に再度 RE C操作を行うことによりつなぎ録りする次ピク チャが含まれる P a c kの AUX— Aと、 Au d i oデータのシンクブロックを 書き込む。 そして最後に次ピクチャの vbv— delay_nや END点フラグ等の補助デ— 夕を記録するための AUX— Vのシンクブロックを書き込む。
この図 9に示す AUX— Aから AUX— Vまでがつなぎ録り時において、 補助 データを読み出し、 つなぎ録りするデ一タストリ一ムの書き込みを開始するエリ ァである。 ちなみに当該エリアが、 この AUX— Aのシンクブロックを含む EC CB a n kから、 その次の E C C B a n kまでに至る場合において、 記録処理を 共通化するため、 次ピクチャの AUX— Vにおけるシンクブロックの次のシンク ブロック以降を Nu 1 1データで埋める。
E C C処理部 1 7は、 供給されるデ一タストリーム全てを記録して下地画像デ ―タを生成するのに必要な ECCB a n kを、 シンクブロック或いは Nu l 1デ —夕で埋めた後、 磁気テープ 4上へ記録する際に使用する記録電流や、 図示しな い回転ドラム等のような磁気テープ 4へデ一タストリ一ムを記録するための機構 を停止させる。 これは、 磁気テープ 4へ記録する際に、 最後に記録すべきへリカ ルトラックへデ一夕を記録した後に即記録電流を停止すると、 その最後に記録す べきヘリカル卜ラックにエラーが生じる可能性があるため、 余分に記録電流を流 しておくためである。
磁気テープ 4における下地画像データの記録 E N D点からつなぎ録りを行う場 合には、 先ず磁気テープ 4を再生することにより、 既に記録してある下地画像デ 一夕のデータストリ一ムを一度 E C C処理部 1 7における ECCB a n kへ書き 込み、 各 AUX— Vから END点フラグを探し出す。 かかる END点フラグが付 されている AUX— Vを含む E C CB a n kと、 その次に続く ECCB a n kの みを ECCB a n kメモリへ保存しておき、 それ以降の E C CB a n kのメモリ への書き込みを中止して次ピクチャの記録へ備える。 このとき、 END点フラグ が存在する AUX— Vから VB Vディレイや DT S等を取り出しておいてもよい c 次に、 磁気テープ 4の再生画を見ながら、 つなぎ録りする次ピクチャの記録を 開始する再記録位置を指定する場合について説明をする。 E CCB a n kにおい て、 再生 PAUS E操作時に画面上に表示されていた画像のデータストリームは、 後から供給される画像のデータストリームにより上書きされている場合が多い。
3フレームから構成されるデータグループ毎に磁気テープ 4上へ記録していく 本発明では、 再生画を見ながら指定した次ピクチャの再記録位置に、 I ピクチャ、 或いは Pピクチャが存在している場合は、 当該 I ピクチャ、 或いは Pピクチャの 直前を次ピクチャの再記録位置とするが、 一方、 指定した次ピクチャの再記録位 置に、 Bピクチャが存在している場合には、 当該 Bピクチャを構成するデ一タグ ループ先頭の I ピクチャ、 或いは Pピクチャの直前を次ピクチャの再記録位置と する。
ECC処理部 1 7は、 このようにして次ピクチャの再記録位置を、 指定した記 録位置に存在するピクチャタイプに応じて決定し、 磁気テープ 4を決定した記録 位置に応じて巻き戻して再生し、 これを順次 E C C B a n kメモリへ書き込んで いく。 その際に DT S等を介して、 決定した再記録位置や、 その再記録位置の直 後に位置するデータグループの I ピクチャ或いは Pピクチャをサーチし、 その P a c k先頭の AUX— Aを含む E C CB a n kと、 その次に続く ECCB a n k のみを ECCB a n kメモリへ保存しておき、 それ以降の E CCB a n kの EC C b a n kメモリへの書き込みを中止して次ピクチャの記録へ備える。 このとき も同様に、 END点フラグが存在する AUX— Vから VB Vディレイや DT S等 を取り出しておいてもよい。
磁気テープ 4の再生画を見ることなく、 再記録位置を選ばずにつなぎ録りを行 う場合には、 磁気テープ 4を再生してデータストリームを順次 EC CB a n kメ モリへ書き込んでいく。 その際に再記録位置を、 デ一夕グループ単位で再生順に サーチする。 そして任意の再記録位置の直後に位置するデータグループの I ピク チヤ或いは Pピクチャの先頭の AUX— Aを含む E C CB a n kと、 その次に続 く ECCB a n kのみを ECCB a n kメモリへ保存しておき、 それ以降の EC CB a n kの ECCB a n kメモリへの書き込みを中止して次ピクチャの記録へ 備える。 このときも同様に、 END点フラグが存在する AUX— Vから VB Vデ ィレイや DT S等を取り出しておいてもよい。
なお、 上述の如く EC CB a n kメモリへ 2つの ECCB a n kが保存されて いる場合において、 新たに入力されるデ一夕ストリームは、 以下のようにして E C C B a n kから書き戻す。 すなわち、 再記録位置直前のシンクブロック内のデ —タストリームは、 そのまま ECCB a n kメモリへ残しておく。 そして再記録 位置以降のシンクブロックに新たに入力されるデータストリームを重ね書きし、 E C C B a n kメモリ上で合成する。 このとき、 この新たなデータストリームが 重ね書きされて合成された E C CB a n kメモリ内の各デ一タストリ一ムについ てそれぞれ C 2パリティを生成し直す。
そして、 再生するデ一夕ストリームのトラック No. を視認しつつ再生を行い、 ECCB a n kに付されたトラック No. と一致するトラックからつなぎ録りを 行うようにする。 すなわち、 書き戻す前後のデータストリームを磁気テープ 4上 において連続しておくことにより、 つなぎ録りを開始する再記録位置において特 別な処理を施すことなく、 スムーズな再生を実現することができる。
次に、 上述の如く下地画像データが形成された磁気テープ 4の再生時において、 AUX— Vに記録されている次ピクチャの vbv_de 1 ay— nを継承してエンコーダの初 期値として設定する方法について説明をする。
画像データ処理装置 1は、 再生時において、 AUX— Vに記録されている次ピ クチャの vbv_de 1 ay_nを取得し、 これをエンコーダ 1 3における VBVバッファの データ占有量 (vbv_occupancy) に換算し、 この値をエンコーダの初期値として設 定する。 この VBVバッファは、 デコーダ 2 5における入力バッファに対応する 仮想バッファとして想定することで、 各ピクチャ毎に発生する符号量を制御すベ く設けられるものである。 この VB Vバッファの vbv_occupancyは、 継承した vbv — delay_nに基づき、 以下の式 (3) により演算することができる。
vbv_occupancy=vbv_delay_nX Bit rate/ 9 0 0 0 0 · · · · (3) ところで、 この式 (3) により求められた vbv— occupancyは、 画質にとって最適 な値になるとは限らず、 アンダーフローやオーバ一フローが生じ、 継続的に画質 を劣化させてしまう場合がある。 このため、 この式 (3) により求められた vbv_ occupancyがいかなる値であっても、 VB Vバッファの容量に応じてこれを最適に コントロールし、 画質の劣化を防止する必要がある。
画像データ処理装置 1は、 式 (3) により演算した vbv_occupancyの初期値 (以 下、 この初期値を vbv一 occupancy_fと称する) から、 徐々にこの vbv_occupancyを 補正することにより、 最適な vbv_occupancyの目標値 (以下、 この目標値を vbv一 o ccupancy_tと称する) へ遷移させる。 具体的には、 vbv— occupancy_fと vbv— occup ancy— tの差分を求めることにより、 vbv_occupancy_tへ収束させるために必要な符 号発生補正量を求める。 次にこの符号発生補正量を、 vbv— occupancy— tへ遷移させ るのに必要な GOPの数 (以下、 この GO Pの数を nuinber_GOPと称する) で割る ことにより、 1 GO Pあたりの符号発生量補正値を求める。 すなわち、 この符号 発生量補正値は、 以下の式 (4) により演算することができる。
符号発生量補正値 = (vbv一 occupancy— t— vbv— occ擊 ncy一 f) /number— GOP
• · · · (4) このように画像データ処理装置 1は、 vbv— occupancy— ίから vbv—occupancy_tへ 遷移させるために複数の GO Pを費やす。 すなわち、 目標とする vbv一 occupancy_ tへ複数の GO P数 (numbeし G0P) をかけて徐々に補正することができるため、 1 GO Pあたりの補正量を減らすことができ、 一時的な画質の劣化を抑えることが できる。
図 1 0は、 このエンコーダ 1 3における符号量制御のフロ一を示しており、 図 中矢印方向は時間軸を表している。
先ずステップ S 1 1において、 式 (3) より vbv— delay_nに基づいて演算した V bv— occupancy— fと、 vbv_occupancy— tとの差分を求める。 次 :ステップ S 1 2 ίこ; ¾ いて、 この求めた差分を numbeし G0Pで除して、 1 G 0 Pあたりの符号発生量補正 値を求める。 次に、 ステップ S 1 3において、 ビットレートにより制御された各 GO Pにおける符号の総加算量に対し、 この符号発生量補正値を減算することに より補正する。
一方、 G0P先頭を除く各画像データは、 ステップ S 2 1において、 各フレーム毎 に remain_biし G0Pから発生符号量を減算される。 また G0P先頭ではステップ S 22 において、 ステップ S 2 1を経た各画像データの符号量に対して、 ステップ S 1 3にて各 GO P毎に補正された総加算量が加算され、 さらにステツプ S 2 3の 1 フレーム単位のエンコード処理に基づくフレーム内発生符号量が減算される。 ェ ンコーダ 1 3は、 このようにして符号量制御された remain_biし G0Pを得ることが できる。 この remain_biし G0Pは、 G O P単位で符号量をコントロールされている ため、 継続的に画質が劣化することはなくなる。
この number— G0Pは、 いかなる値に設定してもよく、 一定の値に固定しても良い し、 vbv— occupancy— t— vbv_occupancy_fの値に応じてその都度任意に設定しても よレ 。 仮 ίこ number— G0Pを一定のィ直 ίこ固定すると、 vbv_occupancy_t - vbv_occupan cy—fの値を問わず各 GO Pへ均等に割り振ることができる。 また、 numbeし G0Pを vbv— occupancyj— vbv_occupancy_fの値に応じてその都度任意に設定することに より、 1 GO Pあたりの補正量を最初に決め、 必要な numbeし G0Pを後から設定す ることも可能となる。
画像デ一夕処理装置 1は、 上述の remain— bit_G0Pを各ピクチャへ割り当てる。 このときピクチャタイプ毎の複雑さに応じて、 割り当てる符号量を変えても良い。 例えば、 I ピクチャの複雑さを示す係数を Xi、 Pピクチャの複雑さを示す係数 を Xp、 Bピクチャの複雑さを示す係数を Xbとし、 GOP内における Pピクチャの 未符号化枚数を Np、 GO P内における Bピクチャの未符号化枚数を Nbとするとき、 I ピクチャの割り当て係数 Y_i、 Pピクチャの割り当て係数 Y一 p、 Bピクチャの割 り当て係数 Y_bは、 それぞれ以下の式 (5) 、 式 (6) 、 式 (7) により表すこと ができる。
Y_i=HNp - Xp/Xi - 1/Kp+Nb - Xb/Xi - 1/ b · · · · (5)
Y_p-Np+Nb · Xb/Xp · Kp/Kb · · · · ( 6 )
Y_b=Nb+Np · Xp/Xb · Kb/Kp . · · · (7) (Kp=l.0, Kb=l.4)
ここで remain— bit_G0Pを、 上述の如く求められた各ピクチャの割り当て係数 Y_ i、 Y— P、 Y_bにより除算することにより、 各ピクチャタイプへ割り当てる符号量を 求めることができる。 なお、 Xi, Xp, Xbの各初期値を、 それぞれ 1.39xbitrate, 0. 52 X bit rate, 0.37Xbitrateとしても良い。
次に、 継承した vlnし d e 1 ay_nに基づいて演算した vb V— 0 c c up anc y_ ίの値が極端に 小さい場合における処理について説明をする。
式 (3) により演算した vbv_occupancy_fが極端に小さいと、 式 (4) に基づい て vbv— occupancy_tへ遷移させても、 以下に説明する理由により画質が大幅に劣化 してしまう。
すなわち、 つなぎ録りする次ピクチャの発生符号量との関係で、 極端に vbv_oc cupancy_fが小さいと、 エンコード時において V B Vバッファのアンダーフローが 生じないように、 次ピクチャの発生符号量に制約がかかり、 画質が劣化してしま う。 またかかる場合に、 number— G0Pを一定の値に固定すると、 vbv_occupancy_tへ 遷移するまでの最初の数 GO Pは、 極端に vbv_occupancyが低い状態であるため、 画質が著しく劣化し、 また最適な vbv一 occupancyjへ遷移するまで長時間を費やす ため、 早期に画質を改善することができない。 更に vbv一 occupancy一 tへの遷移時間 を短縮するために、 1 GOPあたりの符号発生補正量を大きくすると、 vbv一 occu pancy一 tへ遷移するまでの間、 画質が大幅に劣化してしまう。
このため、 本発明に係る画像データ処理装置 1では、 かかる画質の劣化を抑え るべく、 式 (3) により演算した vbv_occupancy—fについて、 所定の設定値を下回 る場合にコピーピクチャを挿入することにより、 大幅な画質劣化よりむしろ画面 のホールドを選択できるようにする。
図 1 1 Aに示すように、 vbv— delay一 nに基づいて演算した vbv_occupancy_fが、 設定値を下回る場合において、 図 1 1 Bに示すように、 コピーピクチャを挿入し 続ける。 これにより、 VBVディレイ (vbv— delay_n2) は、 t 41から t 42の 時間帯に相当することとなるため見かけ上大きくなり、 これに基づいて演算され た vbv— occupancy_f2は、 設定値を上回る。 これにより、 画面がホールドされる時 間は増加するが、 画質の劣化を抑えることが可能となる。 なお、 このコピーピクチャの挿入枚数 (N) は、 次ピクチャの vbv— delay_n2に 応じて得られる vbv一 occupancyj 2が設定値以上となるように計算して決定する。 先ず、 コピーピクチャを N枚挿入すると、 次ピクチャの引き抜かれる時刻 t 4 2が N枚分遅延するため、 vbv_delay_n2は、 N枚分長くなる。 一方、 コピーピク チヤ 1枚の転送時間 F Tの N倍だけ次ピクチャが後ろへずれることになるため、 その分 vbv_delay_n2は短くなる。
ここでコピーピクチャ 1枚の表示時間を ETとしたとき、 vbv_delay— n2は、 以 下の式 (8) により表される。
vbv— delay— n2 = vbv— del ay一 n+ NX (ET— FT) · · · · (8)
ちなみにコピーピクチャの表示時間 ETは、 フレーム周波数が 29. 9 7 Hz のときに 30 0 3となり、 フレーム周波数が 2 5 Hzのときは 36 00となる。 コピーピクチヤの枚数 (N) は、 vbv_delay— n2が、 vbv— occupancyの設定値から 式 (3) を用いて演算した vbv_delayの設定値 (vbv_delay_s) 以上となるように 計算して求める。 すなわち、 上述した式 (8) に基づき以下に示す式 (9) を導 き出すことができる。
vbv— delay— n+ N X (ET— FT) ≥vbv_delay_s · · · · (9)
この式 (9) を変形した以下の式 ( 1 0) 式により、 コピ一ピクチャの挿入枚 数 (N) を求める。
N≥ (vbv一 del ay— s— vbv一 del ay— n) / (ET— FT) · · · · ( 1 0) 本発明を適用した画像データ処理装置 1では、 このように演算したコピーピク チヤを N枚挿入することにより得られる vbv— delay_n2を取得し、 VB Vバッファ におけるデータ占有量に換算してエンコーダの初期値とすることができる。 これ により、 式 (3) により演算した vbv_occupancy_fが極端に小さい場合であっても、 大幅に画質を劣化させることなく vbv_occupancyを最適にコントロールすることが できる。
次に、 他の電子機器から入力された画像デ一夕のデータストリームをつなぎ録 りする場合において、 継承した vbv一 de 1 ay— nの値が極端に小さいときの処理につい て説明をする。
他の電子機器から入力されたデ一タストリームをつなぎ録りする場合には、 コ ピーピクチヤに加えてスタッフィングバイトを揷入することにより、 vbv_occupa ncyをコントロールする。
図 1 2に示すように、 vbv— delay一 nに基づいて演算した vbv_occupancy_fが、 設 定値を下回る場合において、 t 5 1から t 5 2まで、 コピーピクチャを挿入し、 またスタッフィングバイトを揷入する。
このコピ一ピクチャの枚数やスタッフィングバイ トの量は以下の方法で決定す ることができる。
先ず、 記録 END点の直後に位置する次ピクチャの AUX— Vから vbv— de 1 ay_ nを取得する。 次に、 つなぎ録りする画像データが他の電子機器から供給されたと きに、 当該供給された画像データの先頭に位置する I ピクチャのヘッダから VB Vディレイを取得し、 これを vbv_delay— n3とする。 また、 次ピクチャのヘッダか ら 4 0 0 b p s単位で表される Bitrateを取得する。
このとき、 コピーピクチャのバイト数を B_copyとしたとき、 その転送時間を 9 0 KH z単位に換算した T_copyは、 以下の式 (1 1 ) で表すことができる。
T_copy=B_copy/BitrateX換算係数 · · · · (1 1 )
この換算係数は、 9 0 KH z単位において、 以下の式 (1 2) により 1 8 0 0と なる。
90000HzX8bit/400bps= 1800 · · · · ( 1 2)
ここで、 取得した VB Vディレイの差分値 VBVD_TNは、 以下の式 ( 1 3) により 定義することができる。
VBVD_TN- vbv_de 1 ay_n3 - vbv_de 1 ay_n · · · · ( 1 3)
ここで、 VBVD一 TN≤0のとき、 コピ一ピクチャの枚数 (N—copy) を 0とし、 ス夕 ッフイングバイトの揷入のみ実行する。 一方、 VBVD— TN>0のとき、 以下の式 (1 4) により求めた枚数 (N—copy) 分、 コピーピクチャを挿入する。 ちなみに、 こ の式 ( 1 4) では求める N—copyを整数に切り上げる。
N_copy=VBVD_TN/ (ET - T一 copy) · · · · (1 4)
式 ( 1 4) において整数に切り上げられた分を式 ( 1 5) 、 式 (1 6) 式によ り求められるスタッフイングバイト (B一 Stuf) により補う。
T Stuf= (ET— T copy) XN-VBVD TN · · · · ( 1 5) B_Stuf = T_Stuf xBitrate/1800 · · · · ( i 6 )
すなわち、 本発明を適用した画像データ処理装置 1は、 他の電子機器からデー 夕ストリームが入力された場合において、 それぞれ取得した vbv_delay一 nと、 vbv — delay_n3に応じて、 コピーピクチャを挿入し、 或いはスタッフイングバイ トを挿 入することができる。 これにより、 vbv_delay_n3に対して、 vbv_delay_nがいかな る値であっても、 コピーピクチャを挿入し、 またスタッフイングバイトを挿入す ることができるため、 画質をほとんど劣化させることなく、 所望の vbv_occupanc yへコン卜ロールすることができる。
記録 E N D点直後のピクチャタイプが Pピクチャである場合において、 当該 P ピクチャから、 Iピクチャで始まる次ピクチャをつなぎ録りする場合には、 図 1 3に示すように、 シーケンスヘッダ/ GO Pヘッダ分だけレートが上がってしま う。 このため、 シーケンスヘッダ/ GOPヘッダ分応じた VBVディレイを補正 値として、 求めた vbv_delay一 nから差し引く必要がある。
この補正値を計算する際には、 整数でステップ化する。 この整数によるステツ プ化の際に、 端数が生じた場合には切り上げることにより、 シーケンスヘッダ Z GO Pヘッダ分のレートを下げるようにする。 演算した補正値は、 次ピクチャの vbv一 delay—nの継承時、 コピ一ピクチャやスタッフィング量の計算時において用い る。
次に、 演算したコピーピクチャやスタッフィングの記録方法について説明をす る。
図 14に示すように、 磁気テープ上には、 それぞれ AUX— Vが設けられ、 I ピクチャ又は Pピクチャを先頭とし、 Bピクチャを含むデータグループが既に記 録されている。 ちなみに図 14に示す例では、 下地画像データの例として、 画像 データ処理装置 1に対して最後に供給されたデータグループ Lが示されている。 このデ一夕グループ Lの記録 END点以降の再記録位置には、 1回目のつなぎ 録りする次ピクチャを含むデ一夕グループ N 1が記録されることとなる。 このデ —夕グループ N 1においても補助デ一夕を記録するための A U X— Vが設けられ ている。
更に、 データグループ Lとデータグループ N 1の間には、 挿入補助記録領域 (E d i t AUX_V_h) が設けられコピーピクチャ及び/又はスタッフイング バイトを含む揷入デ一夕グループ (E d i t P a c k_V_h) が記録される。 この E d i t P a c k— V— hは、 VBVバッファのビット占有量に応じて設け られる。
このコピーピクチャやスタッフィングバイ トを一つにまとめた E d i t P a c k— V— hは、 あくまでデータグループ Lゃデ一夕グループ N 1と独立したデ一 夕グループとして記録する。 これにより、 状況に応じてこの E d i t P a c k__ V—hのみを分離することが可能となる。 E d i t AUX— V— hには、 スタツ フイングの VBVディレイに相当する値を記録する。 このとき、 デ一夕グループ N 1の AUX— V記録されている vbv_delay_nを継承して、 この E d i t AUX— V_hへ記録してもよい。
このように 1回目のつなぎ録りが行われた記録媒体の再記録位置において他の 画像データを再度録画する、 いわゆる 2回目のつなぎ録りを行う場合には、 この E d i t P a c k— V—hを分離して除去する。 そして、 図 14に示すように、 2回目のつなぎ録りを行うデータグループ N 2が記録される。 このデ一タグルー プ N 1においても補助データを記録するための AUX— Vが設けられている。 更 に、 データグループ Lとデータグループ N 2の間に、 揷入補助記録領域 (E d i t AUX— V—h 2) が設けられコピーピクチャ及び/又はスタツフィングバイト を含む挿入データグループ (E d i t P a c k_V_h 2 ) が記録される。
このように、 2回目のつなぎ録り時において、 1回目のつなぎ録り時に記録し た E d i t P a c k— V— hを除去することにより、 以下の効果を得ることがで さる。
図 1 5は、 1回目のつなぎ録りを行ったデータグループ N 1の先頭を再記録位 置として、 2回目のつなぎ録りを行う場合の、 時刻に対する VBVバッファのデ —夕占有量を示している。 この図 1 5に示されるように、 デ一夕グループ N 2の VB Vディレイ (vbv_delay_h2)は、 デ一夕グループ N 1の V B Vディレイ (vbv— delay_hl) よりも大きく、 またデ一夕グループ Lの vbv_delay— nよりも小さい。 こ のため、 vbv_delay_h2と vbv_delay— nとを比較して、 挿入するコピ一ピクチャの枚 数やスタッフィングバイトの量を決めれば足りるところ、 1回目のつなぎ録り時 において vbv_delay— nと、 vbv— delayjilとの関係で、 既に不要なスタッフイングバ ィト等が、 E d i t P a c k_V_hを介して記録されている。
本発明を適用した画像データ処理装置 1によれば、 データグループ N 2が供給 されるまでに、 1回目のつなぎ録りにおけるスタッフィングバイト等を含む E d i t P a c k— V— hが除去されている。 このため、 vbv_de layjilを無視して、 vbv_delay_h2と vbv— delay— nとの間で、 揷入するスタッフイングバイトの量を決定 することができる。 また、 不要なスタッフイングバイト等が記録されることがな くなり、 無駄な画面ホールドの発生を抑えることも可能となる。
一方、 vbv_delay— nよりも vbv_delay_hlの方が大きいためにコピ一ピクチャ及び スタッフィングバイトが挿入される場合においても、 データグループ N 2が供給 されるまでに、 Ed i t P a c k_V— hが除去されている。 このため、 vbv— de layjilを無視して、 vbv— (361&ー112と^¥_(161& _11との間で、 挿入するコピーピクチ ャの枚数やスタッフイングバイトの量を決定することができる。 また、 不要なコ ピーピクチャやスタッフィングバイト等が記録されることがなくなり、 ェンコ一 ド後の画質の劣化を防止し、 ひいては、 無駄な画面ホールドを抑えることができ る。
なお、 Ed i t P a c k_V_h 1がスタッフィングバイ トのみで構成される 場合には、 図 1 6に示すように、 当該スタッフイングバイトを構成する E Sのみ に対して P E Sへッダを付加する。
これにより、 スタッフイングバイトのみを構成する E Sを、 他の ESと合わせ て PE Sパケットを構成する必要がなくなり、 またスタッフィングの境界が明示 されることとなるため、 デコード時において、 当該 P E Sヘッダが付されたスタ ッフィングバイ トを容易に除去することができる。
次に、 2回目のつなぎ録り時における再記録位置について説明をする。
図 1 7は、 t 61から始まる vbv一 delay_nに対して、 コピ一ピクチャやスタッフ イングを挿入させて t 62から始まる vbv_delay_hlを示している。 このとき、 2 回目のつなぎ録りが行われ、 更に追加スタッフィングが付された vbv_delay_h2は、 t 62から追加スタッフィング分だけ遅れた t 63から開始することとなる。 このとき、 Vbv— (^1&ー112と 13¥_(161&—11との間で、 正確な追加スタッフイング量 を決定しても、 記録開始位置を t 6 3とすれば、 2回目のつなぎ録り時において 除去される E d i t P a c k— V— hにおけるスタッフィングパイト等の分だけ、 無駄な画面ホ一ルドが発生してしまう。 このため、 本発明では、 2回目のつなぎ 録り時における記録開始位置を、 vbv_de l ay一 nの開始時刻である t 6 1から、 追加 スタッフィング量遅延させた時刻 t 7 1となるように制御する。
すなわち、 1回目のつなぎ録り時におけるスタッフィングバイト量が記録され た E d i t P a c k— V_ hを一度除去して、 vbv— de l ay_li2と vbv— de lay— nとの間 で新たに追加スタッフイング量を計算し、 この計算したスタッフィング量を次ピ クチャの前に挿入する。 これにより無駄な画面ホールドを減らすことができる。 なお、 E d i t A U X— V— hには、 コピ一ピクチャであることを識別するた めのフラグや、 そのコピ一ピクチャの枚数を識別するためのフラグを記録してお いてもよい。
なお、 コピーピクチヤとスタッフィングバイトの両方を磁気テープ 4上へ記録 する場合には、 図 1 8に示すように、 先ずコピーピクチャを挿入し、 その後にス 夕ッフイングバイトを揷入する。 これにより、 アンダ一フローの発生を防止する ことができる。
なお、 本発明は上述した実施の形態に限定されるものではなく、 例えば、 磁気 テープ 4に記録する場合のみならず、 他の磁気ディスクを利用した他の記録媒体 にも適用可能である。 また、 上述の手法は、 放送においても適用できることは勿
B冊 で、あ 。 産業上の利用可能性 上述したように、 本発明に係る画像データ処理装置及び方法は、 1回目のつな ぎ録り時に記録した E d i t P a c k _V—hを分離して除去することができる ため、 不要なスタッフイングバイト等が記録されることがなくなり、 無駄な画面 ホールドの発生を抑えることも可能となる。

Claims

請求の範囲
1. MP E G方式により符号化され、 それぞれ補助記録領域 (AUX— V) が設 けられ、 I ピクチャ又は Pピクチャを先頭とし、 かつ Bピクチャを含むデータグ ループ (P a c k— V) からなる画像データを処理する画像データ処理装置にお いて、
上記 P a c k— Vが既に記録されている記録媒体上の編集点上に、 編集される デ一タグループ (P a c k— V— h) を記録し、 復号化時に用いられる VBV
(Video Buffering Verifier) バッファのビット占有量に応じて、 当該 P a c k — V— hの前に、 それぞれ挿入補助記録領域 (E d i t AUX_V_h) が設け られ、 前ピクチャを繰り返して表示するコピーピクチャ及び/又はスタッフィング バイトを含む挿入データグループ (E d i t P a c k_V_h) を記録媒体上へ 記録する記録手段を備え、
上記記録手段は、 上記記録媒体上の編集点に上記 E d i t P a c k— V— hが 記録されている場合に、 当該 E d i t P a c k_V_hと独立して、 新たに入力 されたデータグループ (P a c k— V— n) の前に位置し、 それぞれ揷入補助記 録領域 (E d i t AUX_V_n) が設けられコピーピクチャ及び/又はスタッフ ィングバイトを含む挿入データグループ (E d i t P a c k_V_n) を、 上記 編集点に基づき記録することを特徴とする画像データ処理装置。
2. 上記記録手段は、 新たに入力された P a c k— V— nの前に位置する E d 1 t P a c k— V— nを、 上記編集点に記録する際に除去することを特徵とする請 求の範囲第 1項記載の画像データ処理装置。
3. 上記 AUX— Vに記録されている VB Vディレイ (VBV— delay)と、 上記 E d i t AUX— V— nに記録されている VBVディレイ (VBV— delay— n )とを読み出 して比較する比較手段と、
上記比較手段による比較結果に応じて、 上記 E d i t P a c k— V—nを構成 するコピーピクチャの枚数を或いはスタッフィングバイトを制御する制御手段と を
備えることを特徴とする請求の範囲第 1項記載の画像データ処理装置。
4. 上記記録手段は、 上記 E d i t P a c k— V— nを構成するスタッフイング バイトに基づく VBV_delay_nを上記 E d i t AU X— V— nへ記録することを特 徴とする請求の範囲第 1項記載の画像データ処理装置。
5. 上記記録手段は、 上記 E d i t P a c k— V— hがスタッフイングバイ トの みで構成される場合に、 当該スタッフイングバイ トに対して、 PTSと DT Sを 含まない P E Sヘッダを付加することを特徴とする請求の範囲第 1項記載の画像 データ処理装置。
6. 上記記録手段は、 上記記録媒体上において既にコピーピクチャが存在する場 合において、 該コピーピクチャを識別するフラグを上記記録媒体上に記録するこ とを特徴とする請求の範囲第 1項記載の画像データ処理装置。
7. 上記記録手段は、 上記コピーピクチャの先頭を上記編集点とすることを特徴 とする請求項 6記載の画像データ処理装置。
8. 上記記録手段は、 E d i t P a c k— V— hがコピーピクチャ及びスタッフ イングバイトの双方で構成されている場合に、 記録媒体上へコピーピクチャを揷 入後にスタッフィングバイトを挿入し、 E d i t P a c k_V— nがコピーピク チヤ及びスタッフイングバイトの双方で構成されている場合に、 記録媒体上へコ ピーピクチャを挿入後にスタッフィングバイ トを挿入することを特徴とする請求 の範囲第 1項記載の画像データ処理装置。
9. MP E G方式により符号化され、 それぞれ補助記録領域 (AUX— V) が設 けられ、 I ピクチャ又は Pピクチャを先頭とし、 かつ Bピクチャを含むデータグ ループ (P a c k— V) からなる画像デ一夕を処理する画像データ処理方法にお いて、
上記 P a c k—Vが既に記録されている記録媒体上の編集点上に、 編集される データグループ (P a c k— V— h) を記録し、 復号化時に用いられる VB V
(Video Buffering Verifier) バッファのビット占有量に応じて、 当該 P a c k _V— hの前に、 それぞれ挿入補助記録領域 (E d i t AUX_V__h) が設け られ、 前ピクチャを繰り返して表示するコピーピクチャ及び/又はスタッフィング パイトを含む挿入データグループ (E d i t P a c k_V_h) を記録媒体上へ 記録する記録ステップを有し、 上記記録ステップは、 上記記録媒体上の編集点に上記 E d i t P a c k_V__ hが記録されている場合に、 当該 E d i t P a c k— V— hと独立して、 新たに 入力されたデ一夕グループ (P a c k— V_n) の前に位置し、 それぞれ揷入補 助記録領域 (E d i t AUX_V_n) が設けられコピーピクチャ及び/又はスタ ッフィングパイ トを含む挿入データグループ (E d i t P a c k_V__n) を、 上記編集点に基づき記録することを特徴とする画像データ処理方法。
1 0. 上記記録ステップにおいて、 新たに入力された P a c k— V— nの前に位 置する E d i t P a c k— V— nを、 上記編集点に記録する際に除去することを 特徴とする請求の範囲第 9項記載の画像データ処理方法。
1 1. 上記 AUX— Vに記録されている VB Vディレイ (VBV— delay)と、 上記 E d i t AUX— V— nに記録されている V B Vディレイ (VBV_delay_n )とを読み 出して比較する比較ステップと、
上記比較手段による比較結果に応じて、 上記 E d i t P a c k_V— nを構成 するコピーピクチャの枚数を或いはスタッフイングバイ卜を制御する制御ステツ プと
を有することを特徴とする請求の範囲第 9項記載の画像データ処理方法。
1 2. 上記制御ステップにおいて、 上記 E d i t P a c k— V— nを構成するス タツフイングバイトに基づく VBV_delay— nを上記 E d i t AUX— V— nへ記録 することを特徴とする請求の範囲第 9項記載の画像データ処理方法。
1 3. 上記記録ステップにおいて、 上記 E d i t P a c k— V— hがスタッフィ ングバイ トのみで構成される塲合に、 当該スタッフイングバイトに対して、 PT Sと DT Sを含まない P E Sヘッダを付加することを特徴とする請求の範囲第 9 項記載の画像データ処理方法。
14. 上記記録ステップにおいて、 上記記録媒体上において既にコピーピクチャ が存在する場合に、 該コピーピクチャを識別するフラグを上記記録媒体上に記録 することを特徴とする請求の範囲第 9項記載の画像データ処理方法。
1 5. 上記記録ステップにおいて、 上記コピーピクチャの先頭を上記編集点とす ることを特徴とする請求の範囲第 1 4項記載の画像データ処理方法。
1 6. 上記記録ステップにおいて、 E d i t P a c k V_hがコピーピクチャ 及びスタッフィングバイトの双方で構成されている場合に、 記録媒体上へコピー ピクチャを挿入後にスタッフィングバイトを揷入し、
E d i t P a c k— V— nがコピーピクチャ及びスタッフィングバイトの双方 で構成されている場合に、 記録媒体上へコピーピクチャを揷入後にスタッフイン グバイトを挿入する
ことを特徴とする請求の範囲第 9項記載の画像データ処理方法。
PCT/JP2003/008433 2002-07-08 2003-07-02 画像データ処理装置及び方法 Ceased WO2004008752A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP03741158A EP1521460A4 (en) 2002-07-08 2003-07-02 IMAGE DATA PROCESSING DEVICE AND METHOD
US10/520,446 US20050232596A1 (en) 2002-07-08 2003-07-02 Image data processing device and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002199073A JP3736504B2 (ja) 2002-07-08 2002-07-08 画像データ処理装置及び方法
JP2002-199073 2002-07-08

Publications (1)

Publication Number Publication Date
WO2004008752A1 true WO2004008752A1 (ja) 2004-01-22

Family

ID=30112449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/008433 Ceased WO2004008752A1 (ja) 2002-07-08 2003-07-02 画像データ処理装置及び方法

Country Status (6)

Country Link
US (1) US20050232596A1 (ja)
EP (1) EP1521460A4 (ja)
JP (1) JP3736504B2 (ja)
KR (1) KR20050025328A (ja)
CN (1) CN100440958C (ja)
WO (1) WO2004008752A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3892707A1 (en) 2020-04-06 2021-10-13 Dalli-Werke GmbH & Co. KG Liquid detergent composition, kit and dosing system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4791129B2 (ja) * 2005-10-03 2011-10-12 ルネサスエレクトロニクス株式会社 画像符号化装置、画像符号化方法及び画像編集装置
JP5286050B2 (ja) * 2008-11-28 2013-09-11 株式会社日立国際電気 符号化−復号化装置および映像伝送システム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205734A (ja) * 1998-01-19 1999-07-30 Sony Corp 圧縮画像データの編集装置及び圧縮画像データの編集方法
JP2000092448A (ja) * 1998-09-16 2000-03-31 Pioneer Electronic Corp 情報記録装置及び情報記録方法
JP2001275077A (ja) * 2000-03-27 2001-10-05 Sony Corp 磁気テープ記録装置および方法、磁気テープ再生装置および方法、磁気テープのフォーマット、並びに記録媒体

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1066008A (ja) * 1996-08-23 1998-03-06 Kokusai Denshin Denwa Co Ltd <Kdd> 動画像検索編集装置
CN1224304A (zh) * 1998-01-20 1999-07-28 日本胜利株式会社 数字视频信号记录装置和再生装置
JPH11261958A (ja) * 1998-03-09 1999-09-24 Sony Corp 映像編集装置及び映像編集方法
US6611624B1 (en) * 1998-03-13 2003-08-26 Cisco Systems, Inc. System and method for frame accurate splicing of compressed bitstreams
EP1095520A2 (en) * 1998-06-29 2001-05-02 Limt Technology AB Method and apparatus for splicing data streams
US6993081B1 (en) * 1999-11-23 2006-01-31 International Business Machines Corporation Seamless splicing/spot-insertion for MPEG-2 digital video/audio stream
US6792047B1 (en) * 2000-01-04 2004-09-14 Emc Corporation Real time processing and streaming of spliced encoded MPEG video and associated audio
US7292782B2 (en) * 2000-09-27 2007-11-06 Victor Company Of Japan, Limited MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205734A (ja) * 1998-01-19 1999-07-30 Sony Corp 圧縮画像データの編集装置及び圧縮画像データの編集方法
JP2000092448A (ja) * 1998-09-16 2000-03-31 Pioneer Electronic Corp 情報記録装置及び情報記録方法
JP2001275077A (ja) * 2000-03-27 2001-10-05 Sony Corp 磁気テープ記録装置および方法、磁気テープ再生装置および方法、磁気テープのフォーマット、並びに記録媒体

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1521460A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3892707A1 (en) 2020-04-06 2021-10-13 Dalli-Werke GmbH & Co. KG Liquid detergent composition, kit and dosing system

Also Published As

Publication number Publication date
EP1521460A1 (en) 2005-04-06
CN1672410A (zh) 2005-09-21
KR20050025328A (ko) 2005-03-14
EP1521460A4 (en) 2008-06-11
JP3736504B2 (ja) 2006-01-18
CN100440958C (zh) 2008-12-03
US20050232596A1 (en) 2005-10-20
JP2004048104A (ja) 2004-02-12

Similar Documents

Publication Publication Date Title
JP2003046949A (ja) データ多重化方法、データ記録媒体、データ記録装置及びデータ記録プログラム
KR100975170B1 (ko) 화상 데이터 재생 장치 및 방법
US20050004940A1 (en) Information processing apparatus and method
WO2000027113A1 (en) Recording/reproducing apparatus and method
JP3736503B2 (ja) 画像データ処理装置及び方法
JP3714302B2 (ja) 画像データ処理装置及び方法
US20130287361A1 (en) Methods for storage and access of video data while recording
JP3736504B2 (ja) 画像データ処理装置及び方法
US7239795B2 (en) Picture data reproducing apparatus and method
JPH11220695A (ja) 動画像データの復号装置及び復号方法
JP2001268513A (ja) 動画像再生装置および動画像記録再生システム
JP2005198350A (ja) アフレコ信号再生方法
JP3978903B2 (ja) データ記録装置、データ記録方法、データ処理装置、およびデータ処理方法
JP2003235011A (ja) プログラムストリーム生成装置およびこれを用いた記録再生装置
JP2000036941A (ja) 動画像データの復号装置及び復号方法
JPH11215470A (ja) 動画像データの記録装置及び記録方法、記録媒体、並びに、動画像データの復号装置及び復号方法
JP2005198349A (ja) 記録媒体
JP2005245006A (ja) アフレコ信号再生装置
JP2005237021A (ja) アフレコ信号再生用プログラム
JP2005198347A (ja) アフレコ信号生成方法
JP2005260978A (ja) アフレコ信号生成用プログラム
JP2005198351A (ja) アフレコ信号再生装置
JP2005253093A (ja) アフレコ信号伝送装置
JP2005198348A (ja) 伝送方法
JP2005260979A (ja) アフレコ信号伝送方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2003741158

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10520446

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020057000351

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 20038178281

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 1020057000351

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2003741158

Country of ref document: EP