METHOD AND DEVICE FOR TRANSCODING VIDEO SIGNALS

Abstract: A method of transcoding coded video signals and a corresponding device for implementing this method are described. The device comprises a decoding and encoding sub-assemblies (201, 202) and, within said encoding sub-assembly, quantizing means (23) and bitrate control means. This bitrate control means comprises, before said quantizing means (23), means for computing a local target value for encoding each sub-picture of the images to which video signals correspond and means for controlling the step size during the quantizing step.

Description: Method and device for transcoding video signals. The invention relates to a method of transcoding video signals corresponding to a sequence of images subdivided into a plurality of sub-pictures. The invention also relates to a device for implementing such a transcoding method. A device for encoding a video signal, and more particularly groups of pictures, some pictures of which are subjected to independent encoding and other pictures are subjected to motion-compensated predictive encoding, is described in an european patent application first filed on, or based on a priority of, November 22nd, 1994, with the number 94203396.0 and not yet published. This encoding device, shown in Fig.1 , comprises a memory 1 in which each picture is split into blocks of, for example 8 x 8 pixels. A predetermined number of contiguous blocks, for example four blocks of 8 x 8 luminance samples and two blocks of 8 x 8 chrominance samples, constitute a sub-picture. In the case of the MPEG standard proposed by the International Standard Organization's Moving picture Experts Group for the multiplexed, compressed representation of video and associated audio signals, the conventional syntax specifies that such a subpicture will also be referred to as macroblock. The blocks of 8 x 8 samples are applied to an encoder 2 via a picture delay 10. This encoder comprises a subtracter circuit 21 , a picture transformer 22 for transforming each block into 8 x 8 coefficients, a quantizer 23 for quantizing the coefficients with a stepsize Q, (it is to be noted that not every coefficient of a block is necessarily quantized with the same stepsize, and that the expression "step size" can be understood to mean a parameter fixing the distinct quantization steps for a block of coefficients) and a variable length encoder 24 for encoding the quantized coefficients into code words of variable length. The encoder further comprises a prediction loop for forming a motion-compensated prediction picture. This loop comprises an inverse quantizer 25, an inverse picture transformer 26, an adder circuit 27, a picture memory 28 and a motion estimator 29 (in FigJ, the circuits 22 to 26 are denoted T, Q, VLC, Q l and T 1 respectively). The obtained series of code words of variable length constitutes a quantization- dependent bit stream q, of coefficient bits. This bit stream is combined in a multiplexer 3 with other information which is formed, inter alia with motion vectors produced by motion estimator 29. The other information will hereinafter be referred to as "overhead" and is denoted by v, in the Figure. The combined bit stream is applied to a buffer 4 from which it is read at a channel bitrate f^. In such a known MPEG encoder, the video signal is transmitted in the form of groups jjf pictures (GOPs). Each GOP comprises at least one intraframe-encoded picture (I picture), a number of predictively encoded pictures (P pictures) and a number of bidirectionally predictively encoded pictures (B pictures). When encoding I pictures, the subtracter 21 is not active and each block of pixels is encoded individually. For P and B pictures, the motion estimator 29 supplies a prediction block and a difference block is encoded. If there is insufficient conformity between a block of the supplied picture and its ambience in prediction picture memory 28 (i.e when there is too much motion), blocks of P and B pictures may also be subjected to intraframe encoding. Information with respect to the applied encoding mode of a block is also accommodated in the overhead information v,. As shown in FigJ, the encoding device further comprises an additional encode 8, a computing circuit 9 coupled thereto for computing a global target value for the number of bits for encoding the picture, a control circuit 7 and a stepsize determining circuit 11. Th additional encoder 8 will hereinafter also be referred to as preanalyser. It forms a quantization-dependent bit stream q 2 and overhead information v 2 . This preanalyser receives from the stepsize determining circuit 11 a quantization stepsize Q_. which is invariable during a picture but may be different from picture to picture. It may have different forms, and for example the form of an MPEG encoder without bitrate control. The preanalyser is then of the same type as encoder 2 and therefore it is not shown in greater detail. It is known, however, that a transcoding structure benefits from a certain reduction of complexity with respect to the association of classical decoder and encoder. Th decoder uses, for example, motion vectors which may be re-used in the encoder, which provides the possibility of omitting the motion estimation circuit usually arranged in the encoder. Similarly, in the case of MPEG type signals, the images may be coded in different modes : the encoder may, for example, re-use the decision as such, taken in the preceding decoder, relating to the choice of image encoding or field encoding. It is also known that, within a group of pictures, the order according to which the pictures are sent to the encoder is modified in order to allow pictures of B type to be predicted. These pictures of B type ar delayed by two picture periods and this modified order is used for the transmission, the original order being restituted only at the decoder output. In the case of a transcoding structure with an encoder following a decoder, it is simpler not to provide for such a restitution at the decoder output, since a further modification of the picture order has to be provided for within the encoder. However, whatever these simplifications, their advantages are cancelled if the complexity of the encoding sub-assembly is increased by addition of a second encoder, and the cost of the transcoder thus constituted is therefore not reduced. It is therefore a first object of the invention to propose a transcoding method allowing to reduce actually the complexity of the conventional ones. To this end, the invention relates to a transcoding method comprising the operations of : - decoding said coded signals which are associated with each image of the sequence ; - quantizing with an applied stepsize the decoded signals thus obtained ; - encoding the quantized signals ; - modifying said stepsize according to the output bitrate of the coded signals thus obtained ; in which said modifying operation comprises the sub-steps of : - computing a local target value T B for the number of bits for encoding each of the N subpictures of each image ; - modifying the stepsize in view of said output bitrate and said computed local target value. Such a transcoding method appears as simpler and less expensive than conventional ones, and particularly than a method as used in the transcoding structure described in the cited patent application. According to a first implementation of this method, said computing sub-step comprises the sub-operations of : - counting the local number of bits generated for each of said subpictures and the total number of bits for an entire picture ; - multiplying said total number of bits by a quantization stepsize ; - in view of the output signal thus obtained and of a previously selected complexity value, computing a global target value for the number of bits for encoding the relevant entire picture ; - distributing said global target value among the subpictures in proportion to said local number of bits generated for each subpicture. According to a second implementation of said method, said computing sub-step comprises the sub-operations of : - counting the local number of bits generated for each of said subpictures and the total number of bits for an entire picture ; - defining said local target value T„ by determining it according to the formula T B = S x R ou R. where S is the total number of bits spent to compress each incoming picture and R B , R^, are the total number of bits respectively before decoding operation and after encoding operation. Whatever this implementation, the stepsize modifying operation can advantageously comprise the sub-operations of : - determining for each subpicture the difference between said local target value and a desired average target value T, v ; - accumulating the obtained differences in the form of a desired packing density b' of an output buffer ; - generating a control signal related to the difference between said packing density and the actual one b ; - multiplying said control signal by two respective control factors ; - integrating one of the signals obtained after said multiplying sub-operation ; - adding said integrated signal and the other one of the signals obtained after said multiplying sub-operation. It is another object of the invention to propose a transcoding device in which a unusual implementation of its encoding part particularly suitable for processing datas in conformity with the MPEG standard, leads to a limited complexity of its circuitry. To this end, the invention relates to a device for transcoding coded video signals corresponding to a sequence of images subdivided into a plurality of subpictures, which device comprises in cascade : - a decoding part for decoding said coded signals which are associated with each image of the sequence ; - an encoding part for encoding output decoded signals of said decoding sub- assembly, comprising quantizing means for quantizing the decoded signals with an applied step size, encoding means for encoding the quantized signals, and control means of the output bitrate of the coded signals thus obtained by modification of said stepsize ; in which said bitrate control means of the encoding part comprise, before said quantizing means, means for computing a local target value for the number of bits for encoding each subpicture and means for controlling said stepsize according to said output bitrate and said computed local target value. Such a transcoding structure is indeed simpler and less expensive than conventional implementations, particularly than those in which the encoder provided in cascade with the decoder has a structure according to the cited patent application. In particular implementation of said transcoding device according to the invention, this devices comprises in cascade : - a decoding sub-assembly for decoding said coded signals ; - an encoding sub-assembly for encoding said decoded signals, comprising a quantizer for quantizing the decoded signals with an applied stepsize and bitrate control means by modification of said stepsize ; in which said bitrate control means comprise a computing circuit for defining a local target value for the number of bits for encoding each of the N subpictures of each image and a control circuit for adjusting said stepsize in conformity with said output bitrate and said computed local target value. According to a first embodiment, said computing means preferably comprise : - counters for counting the local number of bits B, generated for each of said subpictures and the total number of bits S = Σ B„ for an entire picture ; - a multiplier of this total number by a quantization stepsize Q_, ; - a computing circuit for receiving the output signal of this multiplier and a previously selected complexity value and computing a global target value T for the number of bits for encoding the relevant entire picture ; - a distribution circuit for distributing said global target value T among the subpictures. In another embodiment, said computing means may also comprise : - counters for counting the local number of bits B„ generated for each of said subpictures and the total number of bits S = Σ B„ for an entire picture ; - a circuit for defining said local target value among the subpictures according to the formula T n = S x R ^a / ,,, in which R,, and R ^ .. are the total number of bits at the input and the output of said transcoding device, and S is said total number of bits spent to compress each incoming picture. According to the invention, said transcoding device is also preferably characterized in that said stepsize control means comprise : - a first subtracter which determines for each sub-picture the difference between the local target value T„ and a desired average target value T„ ; - a third counter for accumulating obtained differences in the form of a desired packing density b' of an output buffer of the encoding sub-assembly ; - a second subtracter in which said packing density is compared with the actual packing density b of said buffer for supplying a control signal ; - second and third multipliers of said output control signal of said second subtracter by respective control factors ; - an integrator of the output of said third multiplier ; - an adder of the outputs of the second multiplier and the integrator. In an improved implementation, said bitrate control means may also comprise, before said quantizer, a memory for converting the coded signal corresponding to the stepsize of each subpicture into said stepsize value and a fourth multiplier of the output signal of said memory by the output signal of said stepsize control means. These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. In the drawings Fig.1 shows a device for encoding a video signal according to the previously cited european patent application. Fig.2 shows an embodiment of a transcoding device according to the invention. Fig.3 shows an embodiment of a computing circuit as shown in the transcoding device of Fig.2. Fig.4 shows an embodiment of the control circuit as shown in the transcoding device of Fig.2. Fig.5 shows another embodiment of a transcoding device according to the invention ; Fig.6 shows another embodiment of a computing circuit as shown in the transcoding device of Fig.2. Before describing such embodiments of transcoding devices according to the invention, the principle of this invention will be clearly shown. The present method is provided for transcoding signals corresponding to a sequence of images subdivided into a plurality (for instance N) of subpictures (e.g. macroblocks) and between which motion can be observed. These video signals have been previously coded by an image encoder including a quantizing mechanism that controls the trade-off between the bitrate and the picture quality of the reconstructed pictures (the relation between these variables depends of course on the original picture content, which is expressed in a picture complexity, a more complex picture requiring a given number of bits greater than a less complex picture to achieve a predetermined quality), such as an MPEG encoder. This transcoding method comprises the following operations. The coded signals which are associated with each image of the input video sequence are first decoded, and the decoded signals thus obtained are then quantized with an applied step size and coded. Said step size can be modified according to the output bitrate of the coded signals thus obtained, in order to control said bitrate. According to the invention, this modifying operation comprises the sub-steps of computing a local target value for the number of bits for encoding each of the subpictures of each image (this target value, called T„, is defined as described hereinafter according to different possible criteria) and of modifying the applied step size in view of both output bitrate and computed local target value. According to a particular way of carrying out this method, said computing sub- step is subdivided into the following sub-operations. First the local numbers of bits B,. originally generated for each of the subpictures of an image are successively counted, which also allows to count and know the total number of bits S = Σ B, for each successive entire picture. Said total number of bits S is then multiplied by a quantization step size Q_> obtained for each type I, P, B of picture, in order to give as a result a product representative of the complexity of the concerned picture and used for computing (according to different possible formulas given hereinafter) a global target value T for the number of bits for encoding this concerned picture. Finally this global target value is distributed among the subpictures by computing for each of the N subpictures the local target value T B , according to several possible formulas given later. According to another particular way of carrying the transcoding method, the computing sub-step can be slightly modified : after a similar counting sub-operation of B B and S, the local target value T B is now defined by computing it according to a simpler formula, once more given later in relation with the description of an embodiment of the corresponding device. In all these cases, the stepsize modifying operation can be more particularly carried out by implementing the following sub-operations. First the difference between the local target value previously obtained and a desired average value T,,, the fixed value of which is depending on the number of bits R per GOP, the number of pictures in a GOP an the number of subpictures per picture, is computed for each subpicture, and the differences thus obtained are accumulated in the form of a desired packing density (called b' and available under the form of a number of bits) of an output buffer. This density b' is then compared to the actual one b, the difference between these signals constituting a control signal which is multiplied by two respective factors. The first one of the signals obtained after such a multiplying sub-operation is integrated, and the result is added to the second o of these two signals, the signal finally obtained being a control signal of the step size Qj. The transcoding method which has been described above can be implemented several manners, for instance with the aid of wired electronic modules or in the form of embodiments including a processor or microprocessor which ensures the performance of series of instructions corresponding to the functions, computations or all kinds of operation carried out in certain or all circuits, stages or assemblies of said electronic embodiments. In the latter case of an embodiment with a processor or microprocessor, the transcoding method, which has been described without any consideration of structure of a transcoding device, can be implemented in such a device including in cascade a first decoding part for decoding the input signals previously coded and associated with each ima of the sequence, followed by a second decoding part for encoding the decoded signals thus obtained. This encoding part mainly comprises quantizing means for quantizing said decod signals obtained at the output of the decoding part, encoding means receiving said quantize signals and generating coded signals, and control means provided for modifying the stepsiz applied to the quantizing means in view of a control of the output bitrate of these coded signals. For that modification, said bitrate control means comprise, before said quantizing means, first means for computing the lcoal target value and second means for controlling t step size of the quantizing means according to the output bitrate and the computed local target value. In the former case, the transcoding method can for instance be implemented i the form of a transcoding device as shown in Fig.2, in which decoding and encoding part consist respectively in a decoding sub-assembly 201 and an encoding sub-assembly 202. A shown in this embodiment of Fig.2, the decoding sub-assembly 201 comprises in cascade a demultiplexing circuit 211, which generates a coefficient bit stream ^, an overhead bit stream v 2 , and possibly other signals not useful here, and a decoding device 212 (DECOD) which can be conventional and will therefore not be further described (such an decoder comprises for example, in series, a variable length decoder, an inverse quantizing circuit and a motion compensation stage). The encoding sub-assembly 202 comprises the same elements as the encoding device shown in FigJ (with the same references), except for the additional encoder 8 and the circuit 11. This encoder 8 and the circuit 11 are no longer provided in the encoding sub- assembly of Fig.2 and are replaced by connections 81 and 82 between the outputs qj, v 2 of the demultiplexing circuit 211 and the corresponding inputs of the computing circuit 9. The encoding device shown in FigJ was using a pre-analysis predicting how many bits are required for each sub-picture of the current picture to be coded. A transcoding device includes a variable length decoder with which the incoming bit stream is decoded. In the same time as this bit stream is decoded, data q_> and v 2 can be considered as these numbers of bits per subpicture obtained during the above-described preanalysis. Therefore the additional encoder 8 is no longer provided, as already said, and the delay of the picture delay 10 can be reduced. Fig.3 shows diagrammatically an embodiment of the computing circuit 9. It comprises a multiplexer 91 for combining the coefficient bit stream q_, and the overhead bit stream v 2 which are produced by the demultiplexing circuit 11. The combined bit stream is applied to a counter 92 which counts the local number of bits B„ while a further counter 93 counts the total number of bits S = Σ B„. This number S is multiplied by a quantization stepsize Oj (either fixed per picture or different from picture to picture) in a multiplier 94. As previously, the fixed stepsize Q 2 , separately defined for each type of picture, is obtained by determining the average stepsize of the considered pictures (I, P, B) and selecting the relevant one according to scene changes and picture type. The product S.Q 2 is a complexity value X, that is representative of the complexity of the applied picture. In fact, complexity values X„ X P , X B are separately determined for each type of picture (I, P, B) : X, = S. x Q a , X p = S p x O. 2P and X B = S B x Q^ (1) The complexity value is applied to a computing circuit 95 for computing the global target value T for the whole picture. The following considerations apply with respect to the computations performed by this computing circuit : (A) The total number of bits R being available for a GOP comprising N, pictures of the type I, N P pictures of the type P and N B pictures of the type B, the aim is to ditribute the global target values T„ T P , T B for each type of picture in sucha a way that : R = N,. T, + N P .Tp + N B .T B (2) is satisfied. (B) It is assumed that the different encoding types (I, P, B) lead to an equal picture quality if the corresponding stepsizes Q„ Qp and Q B are in a given ratio indicated by factors kp and kj : Qp = kp.Q, and Q B = k B .Q, (3) The relation between the number of bits S P , S B obtained in P and B encoding of a picture an the number of bits Si obtained in I encoding of this picture can be derived from (1) and (3) : (C) The same relation is assumed to be applicable to the global target values fo the different types of pictures : T p = — — T, and T B = — 5_T, (5) p.X { B-Xι The following formula for the global target value T, for an I picture can be derived from (2) and (5) : (D) after the global target value T, for the last (or only) I picture of the GOP i fixed and the picture is encoded as much as possible in conformity therewith, the target values for the other P and B pictures may be adapted, if desired, to the remaining number o bits available for the GOP. In that case, equation (2) changes to : R, = n P . T P + n B .T B (7) in which n P and n B represent the number of P and B pictures still to be encoded in the GOP and R, represents the number of bits which is still available. The following formulas can no be derived for the target values T p and T B : The global target value of a picture is computed by the computing circuit 95 before the relevant picture is applied via the picture delay 10 to encoder 2 (see FigJ) for actual encoding. The computation is effected as follows : (I) During encoding of an I picture, the computing circuit 95 receives the complexity value X t of this picture from multiplier 94. The target value T, is computed by means of equation (6). The complexity values X P and X B in this equation are formed by previously computed complexity values of the most recent previous P or B picture. These previously computed complexity values are denoted by X^ in Fig.3. They are stored in a memory (not shown) upon encoding of the previous picture. (P) During encoding of a P picture, the computing circuit 95 receives the complexity value X P of this picture from multiplier 94. The target value T P is computed by means of equation (5) or, if the GOP no longer comprises any further I pictures, by means of equation (8). The complexity values other than X P are again formed by the previously computed complexity values of the most recent previous picture of the relevant type. (B) During encoding of a B picture, the computing circuit 95 receives the complexity value X B of this picture from multiplier 94. The target value T B is computed by means of equation (5) or (8). A distribution circuit 96 finally distributes the global target value T among the macroblocks of the picture. To this end, the distribution circuit computes the local target value T B for each macroblock n. In a simple embodiment, the distribution circuit can distribute the global target value T evenly among all N macroblocks of the pictures, according to the formula : T = — (9) " N However, the local target value T B for each macroblock is preferably proportional to the number of bits B B produced for these macroblocks, according to the formula : B n T = -m- X T (lθ) The local target value for a macroblock is in conformity with the relative complexity of this macroblock : more bits are now spent on a sub-picture as this sub-picture is more detailed. This yields a uniform picture quality throughout the picture. Other embodiments of the computing circuit 9 can be proposed. It is for example possible that the number of coefficient bits and the number of overhead bits are separately counted for each macroblock n, by using separate counters for counting, macroblock by macroblock, the number of coefficient bits in the quantization-dependent bit stream q 2 and the number of bits in the overhead data v 2 . The local target value T B is then subsequently obtained by multiplying, for each macroblock n, this number of coefficient bit C B by a scale factor F and adding the number of overhead bits O n thereto according to the formula : T B = F x C B + 0 B (11) The target value in accordance with equation (11) is more suitable than that in accordance with equation (10) because it is then avoided that too many bits of a macrobloc are spent on overhead data. The distribution of the global target value among the macroblocks thus yields a more uniform picture quality than the embodiment shown in Fig. The target values T B are applied to d e control circuit 7 (see FigJ). Fig.4 sho a possible embodiment of this control circuit. It comprises a subtracter 71 which determines for each macroblock, the difference between the local target value T B and the desired avera target value T ^ . The obtained difference is accumulated by means of a counter 72. The output signal of the counter 72 forms as it were the desired packing density b' of the ouput buffer 4 (see FigJ) of the device. The control circuit further comprises a subtracter 73 in which the desired packing density b' is compared with the actual packing density b of the buffer. The difference (b'-b) between the two numbers of bits constitutes the control signal which is multiplied in a first multiplier 74 by a control factor K P and in a second multiplier 75 by a control factor K,. The output of the second multiplier 75 is applied to an integrator 76. An adder 77 adds the outputs of multiplier 74 and integrator 76. The elements 74-77 of the control circuit shown in Fig.4 constitute a proportionally integrating (PI) controller which controls the stepsize Q, for supply to encod 2 (see FigJ) without producing a residue in the control signal. The control factors K P and may be constants. An MPEG encoder may, however, be considered as a process having a non-constant gain. Constant factors K P and K, are then to be dimensioned in such a way th there is no instability of the control process, even for the most complicated signals. Howev the control process is stable under all circumtances when variations in gain are compensate by inverse variations in the control factors, in other words, when the product of control factor and gain is constant. The present invention is not limited to these embodiments, from which modifications or improvements can be deduced without departing from the scope of the invention. For example, it must be understood that this invention can be used in any kind of transcoder, whatever its structure or the possible simplifications introduced into such a structure by considering for example the fact that some information used in the decoding part may be re-used in the subsequent encoding part. It should be also noted that the bitrate control means may have a more general form. It is known for example that in most MPEG encoders the stepsize is computed according to a formula of the type Q' = f(A).Q, where the function f(A) refers to the activity of the coded sub-pictures, usually computed from the original picture. In the situations where input pictures are not available (for instance with transcoders including such simplifications as indicated above), such an adaptive quantization is however possible, since the value of the activity of the sub-pictures can be deduced from the incoming bitstream (except for a scaling factor). Fig.5 shows another embodiment of the transcoding device according to the invention, including such a modification. At the output of the demultiplexing circuit 211, the coded signal corresponding to the stepsize of each sub-picture is received by a memory 151 containing a conversion table from the coded words to the corresponding stepsizes (as provided for example in the MPEG-2 standard). The output signal of the memory 151, proportional to the activity of the coded sub-pictures, is multiplied in a multiplier 152 by the stepsize Q, for supply to the quantizer 23 of the encoder 2. The other elements of Fig.5 have identical reference numerals as in Fig.2, and identical functions. Fig.6 shows another embodiment of the computing circuit shown in Fig.2, in which it is now considered that the only difference between input and output of the transcoder is the bitrate. The local target value T„ can then be computed as follows : T = -^ x S (12) In this formula (12), R„. is the total number of bits for the incoming picture, R^ the corresponding total number of bits at the output of the buffer 4, and S the number of bits spent to compress the incoming picture, given from the incoming bitstream. The modified computing circuit 109 of Fig.6 comprises therefore the same circuits 91 to 93 as in Fig.3, and a modified distribution circuit 196 which receives the output signal S of the counter 93, the input number of bits R,, (input signal of the decoding sub-assembly 201), and the output number of bits R^ (output signal of the encoding sub-assembly 202), and generates the local target value T B .

Claims: CLAIMS : 1. A method of transcoding coded video signals corresponding to a sequence of images subdivided into a plurality N of subpictures, comprising the operations of : - decoding said coded signals which are associated with each image of the sequence ; - quantizing with an applied stepsize the decoded signals thus obtained ; - encoding the quantized signals ; - modifying said stepsize according to the output bitrate of the coded signals thus obtained ; in which said modifying operation comprises the sub-steps of : - computing a local target value T B for the number of bits for encoding each o the N subpictures of each image ; - modifying the stepsize in view of said output bitrate and said computed local target value. 2. A transcoding method as claimed in Claim 1, in which said computing sub-ste comprises the sub-operations of : - counting the local number of bits generated for each of said subpictures and the total number of bits for an entire picture ; - multiplying said total number of bits by a quantization stepsize ; - in view of the output signal thus obtained and of a previously selected complexity value, computing a global target value for the number of bits for encoding the relevant entire picture ; - distributing said global target value among the subpictures in proportion to said local number of bits generated for each subpicture. 3. A transcoding method as claimed in Claim 1, in which said computing sub-ste comprises the sub-operations of : - counting the local number of bits generated for each of said subpictures and the total number of bits for an entire picture ; - defining said local target value T B by determining it according to the formul T B = S x R ou R β where S is the total number of bits spent to compress each incoming picture and R « , R ^ , are the total number of bits respectively before decoding operation and after encoding operation. 4. A transcoding method as claimed in Claim 2 or 3, in which said stepsize modifying operation comprises the sub-operations of : - determining for each subpicture the difference between said local target value and a desired average target value T,, ; - accumulating the obtained differences in the form of a desired packing density b' of an output buffer ; - generating a control signal related to the difference between said packing density and the actual one b ; - multiplying said control signal by two respective control factors ; - integrating one of the signals obtained after said multiplying sub-operation ; - adding said integrated signal and the other one of the signals obtained after said multiplying sub-operation. 5. A device for transcoding coded video signals corresponding to a sequence of images subdivided into a plurality of subpictures, which device comprises in cascade : - a decoding part for decoding said coded signals which are associated with each image of the sequence ; - an encoding part for encoding output decoded signals of said decoding sub- assembly, comprising quantizing means for quantizing the decoded signals with an applied step size, encoding means for encoding the quantized signals, and control means of the output bitrate of the coded signals thus obtained by modification of said stepsize ; in which said bitrate control means of the encoding part comprise, before said quantizing means, means for computing a local target value for the number of bits for encoding each subpicture and means for controlling said stepsize according to said output bitrate and said computed local target value. 6. A transcoding device as claimed in Claim 5, which device comprises in cascade: - a decoding sub-assembly for decoding said coded signals ; - an encoding sub-assembly for encoding said decoded signals, comprising a quantizer for quantizing the decoded signals with an applied stepsize and bitrate control means by modification of said stepsize ; in which said bitrate control means comprise a computing circuit for defining a local target value for the number of bits for encoding each of die N subpictures of each image and a control circuit for adjusting said stepsize in conformity with said output bitrate and said computed local target value. 7. A transcoding device as claimed in Claim 6, in which said computing circuit comprise : - counters for counting the local number of bits B„ generated for each of said subpictures and the total number of bits S = Σ B B for an entire picture ; - a multiplier of this total number by a quantization stepsize Oj ; - a computing circuit for receiving the output signal of this multiplier and a previously selected complexity value and computing a global target value T for the number of bits for encoding the relevant entire picture ; - a distribution circuit for distributing said global target value T among the subpictures. 8. A device as claimed in Claim 6, in which said computing circuit comprise : - counters for counting the local number of bits B, generated for each of said subpictures and the total number of bits S = Σ B B for an entire picture ; - a circuit for defining said local target value among the subpictures according to the formula T, = S x R-j u /Ri,, in which R. and R^ are the total number of bits at the input and the output of said transcoding device, and S is said total number of bits spent to compress each incoming picture. 9. A transcoding device as claimed in Claim 7 or 8, in which said stepsize contr circuit comprise : - a fust subtracter which determines, for each subpicture, the difference between the local target value T B and a desired average target value T„ ; - a third counter for accumulating obtained differences in the form of a desire packing density b' of an output buffer of the encoding sub-assembly ; - a second subtracter in which said packing density is compared with the actu packing density b of said buffer for supplying a control signal ; - second and third multipliers of said output control signal of said second subtracter by respective control factors ; - an integrator of the output of said third multiplier ; - an adder of the outputs of the second multiplier and the integrator. 10. A device as claimed in anyone of Claims 6 to 9, in which said bitrate control means also comprise, before said quantizer, a memory for converting the coded signal corresponding to the stepsize of each subpicture into said stepsize value and a fourth multiplier of the output signal of said memory by the output signal of said stepsize control circuit.

Inventors: KEESMAN GERRIT JOHAN, VAN OTTERLOO PETRUS JOHANNES, KEESMAN, GERRIT, JOHAN, VAN OTTERLOO, PETRUS, JOHANNES
Applicants: PHILIPS ELECTRONICS NV, PHILIPS NORDEN AB, PHILIPS ELECTRONICS N.V.
Application year: 1996
Main classification: H04N7
IPC codes: H03M7, H04N7