METHOD AND APPARATUS FOR ENCODING AND SLICING DIGITAL VIDEO BIT STREAMS

Abstract: A method of encoding a digital video bit stream which includes a plurality of successively-encoded pictures. The invention discloses the steps of constructing seamless In Points and seamless Out Points while using the normal bitrate, without causing a decoder buffer underflow or overflow in an MPEG-2 compliant receiver. The constraints that the decoder delay ddf must adhere to (ddf is the amount of time by which the first byte of the digital video bit stream after the seamless In or Out Point must stay in a decoder buffer before it is decoded), is expressed by respective equations.

Description: Method and apparatus for encoding and slicing digital video bit streams. BACKGROUND OF THE INVENTION The present invention relates generally to the encoding of digital video signals, and morre particularly, to a novel approach to the construction of seamless splice points which minimizes the constraints on the upper and lower bounds of the bit rate which can be used for encoding a digital video bit stream (such as an MPEG-2 compliant video bit stream), to thereby significantly improve the picture quality relative to the presently known technology. Switching of compressed video streams (i.e., "digital video bit streams") is expected to be an important operation for future digital television production and distribution services. However, switching of digital video bit streams presents technical challenges that do not exist in current analog-based TV systems. One way of dealing with these challenges is to decompress the desired streams, perform the switching operation in baseband, and then re-compress the resulting switched signal. This approach, however, could introduce significant degradations, especially for broadcast quality streams. Also, performing switching in digital baseband may require costly solutions, especially when multiple programs have to be switched simultaneously. Another approach to compressed video signal switching is to create seamlessly spliceable streams, which makes it feasible to switch from one compressed video stream to another without the need to go to baseband. The creation of seamlessly spliceable streams requires the specification and standardization of seamless splicing parameters (such as the ones outlined in the MPEG-2 system document). These splicing parameters are used to construct Seamless Splice Points. A Seamless Splice Point (SSP) is a location in a bitstream that provides an opportunity to splice. When switching is desired, a switching device can switch from one SSP of one stream to another SSP of another stream without causing any decoder buffer underflow or overflow in an MPEG-2 compliant receiver. It is important to note that switching from an arbitrary point (i.e. not an SSP) in an MPEG-2 compliant stream to another arbitrary point of an MPEG-2 compliant stream can (and most likely will) cause an underflow or an overflow event at the decoder buffer. Thus, such "arbitrary point switching" is not "seamless". In MPEG-2, the presence of a splice point is indicated (the spice point is "constructed") by a splice_flag field and splice_countdown fields in the bitstream. Some properties of the stream at the splicing point are defined by two seamless splicing parameters: splice_decoding_delay (SDD) and maximum_splice_rate (MSR). In accordance with MPEG-2, when constructing an SSP, the following constraints must be adhered to: The amount of time (dd f ) that the first byte of the MPEG-2 compliant stream after the SSP has to stay in the decoder buffer before it is decoded is defined as follows: dd f = SDD To prevent a decoder buffer overflow event, it is necessary to adhere to the following constraints when constructing an SSP: The bitrate that must be assumed (r a ) when creating the pictures prior to an SSP has to be MSR: r a = MSR The bitrate that must be used (r u ) after an SSP has to be less than or equal to MSR: r u < MSR. The SMPTE committee on MPEG-2 splicing built on the MPEG-2 seamless splicing work and started a new effort to standardize splicing constraints and tools, in general, and specific SDD and MSR values, in particular. The SMPTE committee defines two types of splice points: In Point (IP) and Out Point (OP). According to the SMPTE draft standard, an In Point is "a point in a PID stream where a splicing device may enter". (A PID stream can be a video stream, audio stream, etc.). Similarly, an Out Point is defined as "a point in a PID stream where a splicing device may exit". Also, according to SMPTE teachings, every seamless video In Point must meet all the constraints of a seamless video Out Point (the terms seamless video In Point and seamless video Out Point will hereinafter be referred to simply as "seamless In Point" and "seamless Out Point"). However, a seamless In Point must have additional constraints. The main (video related) constraint is that the first picture after a seamless In Point must be an Intra-coded (I) picture. Therefore, based on the SMPTE committee teachings, all of the SDD and MSR related constraints (outlined above) must be adhered to when constructing both seamless In Points and seamless Out Points. As a consequence, the presently known technology imposes the following constraints on the construction of both seamless video In Points and Out Points: dd f = SDD r a = MSR r u <.MSR The constraints to assume a defined bitrate r a before the splicing point and restrict the bitrate r u used after the splicing point make it very difficult to maintain good picture quality when constructing seamless splice points. This is especially true when the normal bit rate (r n ) of the stream where seamless splice points must be inserted is very different from MSR. FIG. 1 graphically depicts these constraints in accordance with the teachings of Applicant's co-pending U.S. Patent Application Serial Number 08/829,124. In the Figure, t sp -Δ is the time when the encoder bounds start changing, and where Δ is the end-to- end delay (i.e. encoder buffer plus decoder buffer delays), t e is the time of encoding the "First- picture", t sp is the time when the first byte of the "First-Picture" enters the decoder buffer, and t Sp +SDD is the time of decoding the "First-Picture". The Figure illustrates an example of the lower encoder buffer bound 1 and upper encoder buffer bound 2 that must be adhered to when constructing a seamless In Point or seamless Out Point, when the normal bit rate (r n ) of the stream where seamless splice points must be inserted is smaller than MSR (block 10) or greater than MSR (block 11). The Figure also shows the "normal" lower (3) and upper (4) encoder bounds, i.e., the encoder bounds that must normally be adhered to by the encoder when there is no need to construct an SSP, As illustrated in this example, the encoder must adhere to stringent buffer constraints when constructing an SSP. Reference numeral 12 denotes that the constraint dd f = SDD is the same as in the prior art. A method for constructing seamless In and Out Points in such a manner as to eliminate some of these stringent constraints is proposed in co-pending U.S. Patent Application titled Video Buffer for Seamless Splicing of MPEG Streams, filed on November 25, 1997, by Hayder Radha, one of the present co-inventors, and assigned to the present assignee, the disclosure of which is also herein incorporated by reference. An example of how this method is used to construct seamless In and Out Points is graphically depicted in FIG. 2, which illustrates the lower (1) and upper (2) bound constraints for Out Points (OP) and In Points (IP). The stringent constraints for Points that are both In Points and Out Points (IOP) are not eliminated by using this approach. This is denoted by block 13 that represents the prior art strategy. As can be seen in FIG. 2, the constraints for Out Points where r n >MSR (block 14) and In Points where r n <MSR (block 15) are now less stringent. In some seamless In and Out Point cases indicated by reference numerals 10 (Out Point where r n <MSR) and 11 (In Point where r n >MSR), the stringent constraints are not eliminated by using this approach. As in FIG. 1, the constraint ddf = SDD is the same as in the prior art (cf. blocks 12). Based on the above and foregoing, it can be appreciated by those skilled in the pertinent art that there presently exists a need in the art for a novel method for constructing seamless Out Points and seamless In Points which enables the encoder to construct seamless Out Points and seamless In Points while using and assuming bit rates equal to the normal bit rates, thereby eliminating major seamless splicing constraints which can not be eliminated using the present technology, and consequently significantly improving the picture quality around the seamless In Points and seamless Out Points relative to the present technology. The present invention fulfills this need in the art. SUMMARY OF THE INVENTION Accordingly, one objective of the present invention is to enable encoders to construct seamless In and Out Points while assuming and using their normal bitrates. The notion "normal bitrate" means the bitrate the encoder would "normally" use without worrying about the operation of inserting splice points. The invention aims to enable encoders to operate in their (or as close as possible to their) normal way, and therefore minimize their constraints when they need to put splice points in the stream. This objective can be expressed as follows: r a = r n , and l * u — Tru where r a is the assumed bit rate, r n is the normal bit rate, and r u is the bit rate actually used. To achieve this and other objectives, the present invention encompasses, in one of its aspects, a method of encoding a digital video bit stream which includes a plurality of successively-encoded pictures which includes the steps of constructing a seamless In Point in accordance with a constraint expressed by the following equation (1): (1) ddf .p < minimum {DD thr p , (B d /r n _ ιp ) } , where dd f _, p represents an amount of time by which a first byte of the digital video bit stream after the seamless In Point must stay in a decoder buffer before it is decoded; B d is a size of the decoder buffer; r nJP is a bit rate at which the digital video bit stream is normally encoded at the seamless In Point; and, DD thr _ ιp represents a prescribed minimum decoding delay threshold for seamless In Points, where DD t h r _i P is defined by the following equation (2): (2) DD thr P = ((MSR/r n _ ιp ) * SDD) + T p _, * ( 1 - (MSR/r„_ ιp )), where T p _, is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless In Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate, and then inserting the seamless In Point at a first point in the digital video bit stream at which another digital video bit stream can be spliced into the digital video bit stream. The decoder can derive the decoding delays dd f P and ddf_ op , for example, from the vbv_delay field, the PCR field (program clock reference), or the DTS field (display time stamp) of the MPEG bitstream. The present invention encompasses, in another of its aspects, a method of encoding a digital video bit stream which includes a plurality of successively-encoded pictures which includes the steps of constructing a seamless Out Point in accordance with a constraint expressed by the following equation (3): (3) DD thr _ 0 p < ddf op < (B d /r n 0 p), where dd f _ op represents an amount of time by which a first byte of the digital video bit stream after the seamless Out Point must stay in a decoder buffer before it is decoded; r n _ op is a bit rate at which the digital video bit stream is normally encoded at the seamless Out Point; and, DD thr op represents a prescribed minimum decoding delay threshold for seamless Out Points, where DD,hr_ op is defined by the following equation (4): (4) DD thr _op = ((MSR/r n _op) * SDD) - T p o * ((MSR/r π op ) - 1 ), where T p 0 is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless Out Point; and then inserting the seamless Out Point at a first point in the digital video bit stream at which it can be spliced into another digital video bit stream. The present invention encompasses, in another of its aspects, a method for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, which includes the steps of measuring dd f _ op , measuring dd f _, p , computing a difference W equal to ddf_ op - ddf_ ιp , switching from the Out Point, and, after switching from the Out Point, waiting an amount of time equal to W, and then switching into the In Point. In yet another of its aspects, the present invention encompasses a method for splicing a first digital video bit stream having at an Out Point into a second digital video bit stream at an In Point, which includes the steps of measuring dd f _ op , measuring dd f _, p , computing a difference W equal to ddf_ op - ddf_ ιp , switching from the Out Point, streaming the second digital video bit stream at a first rate R w < r n op for a first time period having a duration equal to W, and, then streaming the second digital video bit stream for a second time period having a duration dd'f_ at a second rate R sp ιn defined by the following equation: R sp _ = ((r n _ ιp * dd p) - (Rw * W))/dd'f_, P , where ddY_, p = dd f _ ιp - T p _ 0 . In yet another of its aspects, the present invention encompasses a method for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, which includes the steps of measuring dd f _ op , measuring dd f _, p , computing a difference W equal to dd f _ op - dd f _ ιp , computing a stream bit rate R sp _ oP according to the following equation (1): (1) R sp _o p = (ddf_,p/ddf_ 0p ) * r njp ; determining if R sp op ≤ r n _ op ; if it is determined that R sp _ op ≤ r n _ op. then switching from the Out Point and streaming the second digital video bit stream at the rate R s _ oP for the duration of ddf_ op ; and, if it is determined that R sp _op > r n _o P , then switching from the Out Point and performing a selected one of the following two possible procedures: (i) waiting an amount of time equal to W, and then switching into the In Point; or, (ii) (A) streaming the second digital video bit stream at a first rate R w < r n op for a first time period having a duration equal to W; and, (B) then streaming the second digital video bit stream for a second time period having a duration ddVjp at a second rate R sp m defined by the following equation (2): (2) R sp n = ((r n p * dd'f JP ) - (Rw * W))/dd' f _, p , where dd' f _ ip = ddf_ ιp - T p _ 0 . In still other of its aspects, the present invention encompasses a video signal which includes a digital video bit stream encoded in accordance with any one or more of the encoding methods of the present invention; a video signal which includes first and second digital video bit streams spliced together in accordance with any of the splicing methods of the present invention; and, an encoder for implementing any one of the encoding methods of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, and advantages of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG. 1 is combination flow chart and graphical depiction of a method used by an encoder in constructing a seamless splice (In or Out) point, in accordance with the teachings of co-pending U.S. Application Serial No. 08/829,124; FIG. 2 is a combination flow chart and graphical depiction of a method used by an encoder in constructing a seamless splice points, in accordance with the teachings of co-pending U.S. Application titled Video Buffer for Seamless Splicing of MPEG Streams filed November 25, 1997, and, FIG. 3 is a combination flow chart and graphical depiction of a method used by an encoder in constructing a seamless splice points, in accordance with the preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION A flow chart of the methodology of constructing seamless In and Out Points in accordance with the present invention is depicted in FIG. 3, as well as graphs which illustrate exemplary uses of the present invention. Like reference numerals in this Figure denote like blocks in FIGS. 1 and 2. In accordance with the conventional approach, when constructing a seamless Out Point, when the normal encoder bit rate r n op is smaller than MSR, the encoder must assume the higher MSR rate, i.e., r a = MSR > r n _ op . In accordance with one aspect of the present invention, an encoder can assume its normal bit rate r n op when constructing a seamless Out Point, by selecting a value for the decoding delay ddf_ op (which is larger than SDD) such that ddf_ o meets the constraint expressed by the following equation (1): ( 1 ) DD thr _ op < ddf op < (B d / r n op ), where B d is the decoder buffer size, and DD t h r _ op is a decoding delay threshold for a seamless Out Point which has a value defined by the following equation (2): (2) DD thr _ 0 p = ((MSR/r„_op) * SDD ) T p o * ((MSR/r n op ) - 1 ), where T p o is the time needed for displaying the picture which starts displaying at the time of decoding of the last picture prior to the seamless Out Point. Thus, in accordance with the present invention, an encoder can construct a seamless Out Point when the normal encoder bit rate r n op is smaller than MSR, by selecting a value for the decoding delay dd f _ op which meets the constraints specified in equations (1 ) and (2) above. This enables the encoder to assume its normal bit rate r n _ op and not the higher bit rate MSR, thereby significantly improving the quality of pictures constructed around a seamless Out Point. A particular value for dd f _ op which always meet the constraints expressed in equations (1) and (2) is defined by the following equation (3): (3) dd f op = (MSR/r„_ 0 p)* SDD. Therefore, in accordance with the present invention, an encoder can construct a seamless Out Point when the normal rate r n _ op is smaller than MSR, by selecting the particular value for the decoding delay dd f _ op defined by equation (3) . This enables the encoder to assume its normal bit rate r n op and not the higher bit rate MSR, thereby significantly improving the quality of pictures constructed around a seamless Out Point. The step of selecting dd f _ op defined by equation (3) is denoted 16 in FIG. 3. The corresponding buffer boundary constraints are shown by the block 17. If MSR is not greater than r n op , the encoder has the option for the decoder delay dd f _ op to select a value > SDD (denoted 26). The corresponding buffer boundary constraints are shown by the block 27. Since equation (3) always satisfies the constraints expressed by equations (1) and (2), and further, since MSR and SDD are always selected such that (MSR*SDD < B d ), then defining a particular value for dd f _ op by using equation (3) provides the following enumerated benefits: 1. It ensures the construction of a seamless Out Point without the need to evaluate the relationship among the quantities B d , r π op , MSR, and SDD. 2. It eliminates the need for knowing the value of T p o when evaluating the decoding delay threshold DD t hr_o P as expressed in equation (2). This could be useful for video sequences that have variable picture-display times. 3. It requires less buffering at the splicer, as will be developed hereinafter. 4. It is easier to specify in an industry-wide standard (e.g. SMPTE or MPEG). In accordance with the conventional approach, when constructing a seamless In Point when the normal encoder bit rate r n ιp is larger than MSR, the encoder must use the lower MSR rate, i.e., r u =MSR< r n p for an amount of time equal to SDD after the seamless In Point. In accordance with the present invention, an encoder can use its normal bit rate r n _, p when constructing a seamless In Point, by selecting a value for the decoding delay dd f _ ιp which is smaller than SDD, such that dd f _ ιp meets the constraint expressed by the following equation (4): (4) dd f _ ιp < minimum {DD thr p , (B d / r n ιp ) } , where B d is the decoder buffer size, and DD thr _ ιp is a decoding delay threshold for an In Point which has a value defined by the following equation (5): (5) DD thr _ ιp = ((MSR/r n p ) * SDD ) + T p _, * ( 1 - (MSR/r njp ) , where T p _, is the time needed for displaying the picture which starts displaying at the time of decoding of the last picture prior to the seamless In Point. Thus, in accordance with the present invention, an encoder can construct a seamless In Point when the normal encoder bit rate r n p is larger than MSR, by selecting a value for the decoding delay ddf_ ιp which satisfies the constraints expressed in equations (4) and (5). This enables the encoder to use its normal bit rate r n _, p and not the lower bit rate MSR, thereby significantly improving the quality of pictures constructed around a seamless In Point. A particular value for dd f _ ιp which always meets the constraints expressed in equations (4) and (5) is defined by the following equation (6): (6) ddf_, p = (MSR/r n P ) * SDD. Thus, in accordance with the present invention, an encoder can construct a seamless In Point when the normal encoder bit rate r n ιp is larger than MSR, by selecting the particular value for the decoding delay dd f P defined by equation (6). This enables the encoder to use its normal bit rate r n p and not the smaller bit rate MSR, thereby significantly improving the quality of pictures constructed around a seamless In Point. The step of selecting dd ) ιp defined by equation (6) is denoted 18 in FIG. 3. The corresponding buffer boundary constraints are shown by the block 19. If MSR is greater than r n ιp , the encoder has the option for the decoder delay dd f _, p to select a value < SDD (denoted 28). The corresponding buffer boundary constraints are shown by the block 29. Since equation (6) always satisfies the constraints expressed by equations (4) and (5), and further, since MSR and SDD are always selected such that (MSR*SDD < B d ), then equation (6) provides the following enumerated benefits: 1) It ensures the construction of a seamless In Point without the need to evaluate the relationship among the quantities of B , r n ιp , MSR, and SDD. 2) It eliminates the need for knowing the value of T p _, when evaluating the decoding delay threshold DD thr _-p as expressed in equation (5). This could be useful for video sequences that have variable picture-display times. 3) It requires less buffering at the splicer, as will be developed hereinafter. 4) It is easier to specify in an industry-wide standard (e.g. SMPTE or MPEG). A splicer operating on digital video bit streams that include Seamless Splice Points (SSP,) constructed in accordance with the present invention can use the following procedures to achieve seamless splicing (i.e., without causing the decoder buffer underflow or overflow): 1) The decoding delay (ddf_ op ) of the seamless Out Point is measured. 2) The decoding delay (ddf_, p ) of the seamless In Point is measured. 3) The difference (W) between the two decoding delays is computed in accordance with the following equation (7): (7) W = ddf op - ddf_ ιp 4) After switching from the seamless Out Point, the splicer can use any one of the following procedures a, b, or c (the desired procedure could be selected by the user or automatically under software control): a) Wait an amount of time equal to W before switching into the seamless In Point. For example, the splicer can send NULL packets for the duration of W. b) Use the following steps: i.) Stream the In Point stream (e.g., first digital video bit stream)at a rate (Rw) less than or equal to the Out Point rate (i.e. r n _ op ) for the duration of W, as expressed by the following equation (8): (8) Rw ≤ r n _ op ii.) Then, stream the In Point stream for the duration dd' f P at a rate R sp _, n defined by the following equation (9): (9) R sp _, n = ( (r„_ ιp *dd'f_ ip ) - (Rw * W) )/dd' T p , where dd'f_ ιp = dd tJP - T p _ 0 . c) Use the following steps: i.) Compute the bitrate R sp o in accordance with the following equation (10): ( 10) R sp op = (ddf p/ddf op)* r njp n.) If R s _ oP ≤ r n _o P , Then: stream the In Point stream for the duration dd f _ op at the rate R sp _ 0 p- Else: use either procedure (a) or (b) above. It should be appreciated by those skilled in the pertinent art that seamless splicing is possible between a Seamless Splice Point (SSP) constructed in accordance with other known techniques and a Seamless Splice Point (SSP,) constructed in accordance with the present invention. In a similar vein, it should also be appreciated that the above- described methods of splicing in accordance with the present invention for splicing between an SSP, and another SSP,, can also be used to splice from an SSP to an SSP,, from an SSP, to an SSP, and from an SSP to another SSP. (In the last case, W will be zero). Further, the splicing technique of the present invention can be used to splice between non-seamless In and Out Points, or between a non-SSP and an SSP (or SSP,), although, in these cases, it should be recognized that the splice will not be seamless unless the following constraints are satisfied: ddf op > ddf_ ιp , and r n _ op > r n ιp . Further, the size of the buffer (B sp ) needed in the splicer to implement the present invention can be computed from the maximum value W max that the duration W can have, in accordance with the following equation (11): (1 1 ) B sp = Wmax • Rmax- where R max is the maximum bit rate the splicer can receive. If equations (3) and (6) are used to construct seamless In and Out Points in accordance with the present invention, then W ma χ can be expressed by the following equation (12): W max = W max_l = ((MSR / r mιn op ) - (MSR / r max )) * SDD (12) = MSR * SDD * ((1 / r m , n op ) - (1 / r max , p )) ≤ B d * ((l / r mιn op ) - (l / r max _, p )). However, if Equations (l)/(2) and Equations (4)/(5) are used to construct seamless In and Out Points in accordance with the present invention, then W maN can be expressed by the following equation (13): (13) Wmax = W m ax_2 = B /r m , n 0 p By comparing Equations (12) and (13), it is clear that W max 2 is always larger than W maxj - Therefore, as mentioned previously, using Equations (3) and (6) to construct seamless In and Out Points reduces the size of the buffer needed in the splicer when compared with the buffer size needed when the more general thresholds of Equations (l)/(2) and (4)/(5) are used for constructing the seamless In and Out Points. Although the present invention has been described in detail hereinabove, it should be clearly understood that many variations and/or modifications of the basic inventive concepts taught herein which may appear to those skilled in the pertinent art will still fall within the spirit and scope of the present invention as defined in the appended claims. Further it should be appreciated by those skilled in the art that the implementation of the encoding and splicing methods of the present invention described hereinabove in hardware and/or software is routine and straightforward. For example, simple programming of programmanble logic circuitry of an encoder or splicer can be used to implement the methods of the present invention.

Claims: CLAIMS: 1. A method of encoding a digital video bit stream which includes a plurality of successively-encoded pictures, including the steps of: constructing a seamless In Point in accordance with a constraint expressed by the following equation (1): (1 ) ddf_, p < minimum {DD t hr_,p , (B d /r n ιp )} , where dd f P represents an amount of time by which a first byte of the digital video bit stream after the seamless In Point must stay in a decoder buffer before it is decoded; B d is a size of the decoder buffer; r n ιp is a bit rate at which the digital video bit stream is normally encoded at the seamless In Point; and, DD t hr_, P represents a prescribed minimum decoding delay threshold for seamless In Points, where DD thr _ ιp is defined by the following equation (2): (2) DD thr ιp = ((MSR/r„_ ip ) * SDD) + T p _, * ( 1 - (MSR/r n P )), where T p _, is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless In Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate; and, inserting the seamless In Point at a point in the digital video bit stream at which another digital video bit stream can be spliced into the digital video bit stream. 2. The method as set forth in Claim 1, further including the steps of: determining if MSR > r n _, p ; selecting dd f _, p to have a value < SDD if it is determined that MSR is greater than r n ιp ; and, selecting dd f _, p to have a value defined by the following equation (3) if it is determined that MSR is not greater than r n _, p : (3) dd f _, p = (MSR r n p ) * SDD. 3. The method as set forth in Claim 1, wherein r n _, p > MSR. 4. The method as set forth in Claim 1, wherein dd f _, p is selected to have a value defined by the following equation (3): (3) dd f P = (MSR/r n _, p ) * SDD. 5. The method as set forth in Claim 1, wherein MSR and SDD are selected to have values that satisfy a constraint expressed by the following equation (4): (4) MSR*SDD < B d . 6. The method as set forth in Claim 1, wherein SDD and MSR are selected to have specific values in accordance with a coding standard. 7. A method of encoding a digital video bit stream which includes a plurality of successively-encoded pictures, including the steps of: constructing a seamless Out Point in accordance with a constraint expressed by the following equation (1): ( 1 ) DD thr op < dd f _ op < (B d /r n op ), where dd f _ op represents an amount of time by which a first byte of the digital video bit stream after the seamless Out Point must stay in a decoder buffer before it is decoded; B d is a size of the decoder buffer; r n op is a bit rate at which the digital video bit stream is normally encoded at the seamless Out Point; and, DD t hr_ op represents a prescribed minimum decoding delay threshold for seamless Out Points, where DD thr _ o p is defined by the following equation (2): (2) DD, hr _op = ((MSR/r n _ op ) * SDD) - T p _ 0 * ((MSR/r n op ) - 1 ), where T p o is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless Out Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate; and, inserting the seamless Out Point at a point in the digital video bit stream at which it can be spliced into another digital video bit stream. 8. The method as set forth in Claim 7, further including the steps of: determining if MSR > r n _ op ; selecting dd f _ op to have a value > SDD if it is determined that MSR is not greater than r n _ op , within a constraint that ddf_ o * r n op B d ; and, selecting dd f _ op to have a value defined by the following equation (3) if it is determined that MSR is greater than r n _ op : (3) ddf_ op = (MSR/r n _op) * SDD. 9. The method as set forth in Claim 7, wherein r n op < MSR. 10. The method as set forth in Claim 7, wherein dd f _ op is selected to have a value defined by the following equation (3): (3) ddf_ op = (MSR/r n op ) * SDD. 11. The method as set forth in Claim 7, wherein MSR and SDD are selected to have values that satisfy a constraint expressed by the following equation (4): (4) MSR*SDD < B d . 12. A method for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, the method including the steps of: measuring ddf_ op ; measuring dd f _, p ; computing a difference W equal to ddf_ op - ddf_, p ; switching from the Out Point; and, after switching from the Out Point, waiting an amount of time equal to W, and then switching into the In Point. 13. The method as set forth in Claim 12, wherein the step of waiting is carried out by sending null packets for the duration of the waiting time W. 14. The method as set forth in Claim 12, wherein the In Point is a seamless In Point and the Out Point is a non-seamless Out Point, whereby the switching is seamless if the following two constraints are satisfied: a) dd f _ op > ddf_, p ; and, 15. The method as set forth in Claim 12, wherein the In Point is a non- seamless In Point and the Out Point is a non-seamless Out Point, whereby the switching is seamless if the following two constraints are satisfied: a) ddf o p > ddf_, p ; and, b) r n _ 0 p ^ ^n_ιp- 16. The method as set forth in Claim 12, wherein the In Point is a non- seamless In Point and the Out Point is a seamless Out Point, whereby the switching is seamless if the following two constraints are satisfied: a) dd f _ 0p > dd f _, p ; and, b) r n 0 p > r n _ ιp . 17. A method for splicing a first digital video bit stream having at an Out Point into a second digital video bit stream at an In Point, the method including the steps of: measuring ddf_ op ; measuring dd f _, p ; computing a difference W equal to dd f _ op - dd f _, p ; switching from the Out Point; streaming the second digital video bit stream at a first rate R w < r n _ op for a first time period having a duration equal to W; and, then streaming the second digital video bit stream for a second time period having a duration dd'f_, P at a second rate R sp _, n defined by the following equation: Rsp_,n = ((r„_ ιp * dd'np) - (R w * W))/dd' f _ ιp , where dd' f _ ιp = dd _ ιp - T p _ 0 . 18. A method for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, the method including the steps of: measuring ddf_ op ; measuring dd f _, p ; computing a difference W equal to dd f _ op - ddf_, p ; computing a stream bit rate R sp _ oP according to the following equation (1 ): (1) R sp op = (dd f _, p /dd f _ 0p ) * r n p ; determining if R sp op r n _ op ; if it is determined that R sp op < r n op , then switching from the Out Point and streaming the second digital video bit stream at the rate R sp _ op for the duration of dd t _ o ; if it is determined that R sp _ op > r n _o P , then switching from the Out Point and performing a selected one of the following two possible procedures: (i) waiting an amount of time equal to W, and then switching into the In Point; or, (ii) (A) streaming the second digital video bit stream at a first rate R N < r n _ op for a first time period having a duration equal to W; and, (B) then streaming the second digital video bit stream for a second time period having a duration ddY_, p at a second rate R sp _ ιn defined by the following equation (2): (2) R sp m = ((r n p * ddY_,p) - (R w * W))/ddY_, p , where ddY_, p = dd f _, p - T p _ 0 . 19. A video signal comprising a digital video bit stream having a seamless In Point constructed in accordance with a constraint expressed by the following equation (1): (1) dd f _, p < minimum {DD thrjp , (B d /r n ιp ) } , where dd f _, p represents an amount of time by which a first byte of the digital video bit stream after the seamless In Point must stay in a decoder buffer before it is decoded; B is a size of the decoder buffer; r n _, p is a bit rate at which the digital video bit stream is normally encoded at the seamless In Point; and, DD thr _φ represents a prescribed minimum decoding delay threshold for seamless In Points, where DD t r _, P is defined by the following equation (2): (2) DD thr _ ιp = ((MSR/r n _ ιp ) * SDD) + T p _, * (1 - (MSR/r n p ), where T p _, is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless In Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate. 20. A video signal comprising a digital video bit stream having a seamless Out Point constructed in accordance with a constraint expressed by the following equation (1 ): ( 1 ) DD thr _ op < dd f op < (B d /r n op ), where dd f _ op represents an amount of time by which a first byte of the digital video bit stream after the seamless Out Point must stay in a decoder buffer before it is decoded; B d is a size of the decoder buffer; r n op is a bit rate at which the digital video bit stream is normally encoded at the seamless Out Point; and, DD th r_ op represents a prescribed minimum decoding delay threshold for seamless Out Points, where DD t h r _ 0P is defined by the following equation (2): (2) DD thr _ 0p = ((MSR/r n _ op ) * SDD) - T p o * ((MSR/r n op ) - 1 ), where T p o is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless Out Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate. 21. An encoder for encoding a digital video bit stream which includes a plurality of successively-encoded pictures, including: means for constructing a seamless In Point in accordance with a constraint expressed by the following equation (1): (1) ddf_, p < minimum {DD thr ιp , (B d /r n _, p ) } , where dd f p represents an amount of time by which a first byte of the digital video bit stream after the seamless In Point must stay in a decoder buffer before it is decoded; B d is a size of the decoder buffer; r n _, p is a bit rate at which the digital video bit stream is normally encoded at the seamless In Point; and, DD thr _, p represents a prescribed minimum decoding delay threshold for seamless In Points, where DD thr _, p is defined by the following equation (2): (2) DD thr _, p = ((MSR/r n p ) * SDD) + T p _, * (1 - (MSR/r n p ), where T p _, is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless In Point; SDD is a prescribed splice decoding delay; and, MSR is a prescribed maximum splice rate; and, means for inserting the seamless In Point at a first point in the digital video bit stream at which another digital video bit stream can be spliced into the digital video bit stream. 22. An encoder for encoding a digital video bit stream which includes a plurality of successively-encoded pictures, including: means for constructing a seamless Out Point in accordance with a constraint expressed by the following equation (1): ( 1 ) DD,hr_op < ddf αp < (B d /r n _ op ), where dd f _ op represents an amount of time by which a first byte of the digital video bit stream after the seamless Out Point must stay in a decoder buffer before it is decoded; r n op is a bit rate at which the digital video bit stream is normally encoded at the seamless Out Point; and, DD t r_ op represents a prescribed minimum decoding delay threshold for seamless Out Points, where DD thr _ oP is defined by the following equation (2): (2) DD thr op = ((MSR/r n op ) * SDD) - T p o * ((MSR/r n op ) - 1 ), where T p 0 is a time needed for displaying a picture which starts being displayed at a time of decoding of a last picture prior to the seamless Out Point; and, means for inserting the seamless Out Point at a second point in the digital video bit stream at which it can be spliced into another digital video bit stream. 23. A splicer for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, the splicer including: means for measuring dd f _ op and for measuring dd f _, p ; means for computing a difference W equal to dd f _ op - dd f _, p ; and, means for switching from the seamless Out Point, and, after switching from the Out Point, waiting an amount of time equal to W, and then switching into the In Point. 24. A splicer for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, the splicer including: means for measuring dd f _ op and for measuring dd f _, p ; means for computing a difference W equal to dd f _ op - dd f _ ιp ; means for switching from the Out Point; and, means for streaming the second digital video bit stream at a first rate R w < r n _ op for a first time period having a duration equal to W, and, for then streaming the second digital video bit stream for a second time period having a duration ddY_, p at a second rate R sp _ m defined by the following equation: sp n = ((r„_ ιp * ddY_ ιp ) - (Rw * W))/ddY_ ιp , where ddY_ ιp = dd«_, p - T p _o- 25. A splicer for splicing a first digital video bit stream at an Out Point into a second digital video bit stream at an In Point, the splicer including: means for measuring ddf_ op and for measuring ddf_, p ; means for computing a difference W equal to dd f _ o - ddf_ ιp , and for computing a stream bit rate R sp _ o according to the following equation (1): (1) R sp _op = (ddf_ ιp /ddf_o P ) * r n p ; means for determining if R sp op < r n op ; means for switching from the Out Point; means for streaming the second digital video bit stream at the rate R sp op for the duration of ddf_ op , if it is determined that R sp _ o ≤ r n _ op ; and, means for performing a selected one of the following two possible procedures: (1) waiting an amount of time equal to W, and then switching into the In Point; or, (2) (A) streaming the second digital video bit stream at a first rate R w < r n _ op for a first time period having a duration equal to W; and, (B) then streaming the second digital video bit stream for a second time period having a duration ddY p at a second rate R sp m defined by the following equation (2): (2) R sp _ m = ((r nJp * dd' f _ ιp ) - (Rw * W))/ddY_, p , where ddγ_ ip = dd f _, p - T p 0 , if it is determined that R sp _ 0 p > r n _ op -

Inventors: BALAKRISHNAN MAHESH, RADHA HAYDER, BALAKRISHNAN, MAHESH, RADHA, HAYDER
Applicants: KONINKL PHILIPS ELECTRONICS NV, PHILIPS SVENSKA AB, KONINKLIJKE PHILIPS ELECTRONICS N.V., PHILIPS AB
Application year: 1998
Main classification: H04N7
IPC codes: G06T9, H04N7