SYSTEM FOR TRANSMITTING A PLURALITY OF VIDEO PROGRAMS SIMULTANEOUSLY THROUGH A TRANSMISSION CHANNEL

Abstract: System for transmitting n video programs simultaneously through a transmission channel having a predetermined bitrate, comprising in cascade a decoding assembly and an encoding assembly. The decoding assembly consists of n parallel decoding means provided in parallel for decoding the coded input signals corresponding to said programs, and the encoding assembly consists of n encoding means being in cascade with each of said decoding means and each comprising a quantizer having a variable step size and a variable length encoder. The system also comprises means for controlling the step sizes of said encoding means in dependence upon their respective output bitrates, and these control means are also provided for controlling the output bitrates of said encoding means in dependence upon complexity values associated to the coded input signals of each decoding means with respect to the joint complexity of the plurality of said coded signals.

Description: "System for transmitting a plurality of video programs simultaneously through a transmission channel" Description The invention relates to a system for transmitting a plurality of video programs simultaneously through a transmission channel having a predetermined total bitrate, comprising : (a) in cascade a decoding assembly and an encoding assembly, said decoding assembly consisting of an identical plurality of decoding means provided in parallel for decoding n coded input signals corresponding to said programs and each comprising in cascade a demultiplexing circuit and a decoder, and said encoding assembly consisting of an identical plurality of encoding means being in cascade with said decoding means and each comprising in series a quantizer having a controllable step size and a variable length encoder ; (b) means for combining the output bitstreams of said encoding means to an output channel bitstream ; (c) control means for controlling respective step sizes of said plurality of encoding means in dependance upon the respective output bitrates of said encoding means. Television programs are often composed by means of a combination of video material from different sources, and particularly it may occur that they are available in an encoded digital form. If the bitstreams corresponding to each of these digital signals are merely switched, there will be no guarantee that the buffer states are correct. Moreover, when different programs are combined, the bitrates can be very different per program. In practice, such situations lead to bitrate peaks, and the picture quality of the encoded television signals will consequently often vary, being noticeably poor for complicated picture scenes. The patent of the United States of America n° 115 309 describes a system for transmitting simultaneously a plurality of digital video data within a transmission channel having a predetermined bitrate. This system indeed comprises a plurality of parallel encoders, a circuit for controlling in dependency upon the output bitrates of these encoders the step size of a quantization step implemented in each encoder before the encoding step, and a device for combining the output bitstreams of said encoders to a single channel bitstream. However, when the video data to be transmitted are already available in the form of digital programs with very different output bitrates and the achievement of the combining step without impairing the final picture quality is consequently more difficult, such a system does not indicate any practical technical solution which could be implemented in that situation. It is an object of the invention to propose a system for transmitting a plurality of video programs simultaneously through a transmission channel with which a higher picture quality is achieved whatever the discrepancy between the bitrates of the programs to be combined and the complexity of the picture scenes. To this end the system according to the invention is characterized in that said control means are also provided for controlling the output bitrates of said encoding means in dependance upon complexity values associated to the coded input signals of each decoding means with respect to the joint complexity of the plurality of said coded signals. The invention is based on the recognition that, in spite of the possible very different input bitrates of the programs, bitrate peaks can be avoided and the sum of the output bitrates can be kept constant if transcoders with an appropriate accurate bitrate control, including an improved complexity estimation, are implemented. In a first advantageous embodiment, in which each picture of said video programs is, according to the MPEG standard, an intraframe coded or a predictively coded or a bidirectionally predictive coded picture, said system is characterized in that it comprises a common bitrate adjusting circuit for applying a respective bitrate target value to each of the control means in dependance upon the complexities of the corresponding video programs, said adjusting circuit comprising computing means for gathering bitstreams and quantization parameters available in said input bitstreams and determining said complexities, a summing device for adding these complexities, dividers of each complexity by their sum, and multipliers of the obtained ratios by the channel bitrate computed for each of said three types of picture in said computing means, the respective outputs of said multipliers being the target values sent to said control means of each of said encoding means. In another embodiment, in which each input picture of said programs is, according to the MPEG-standard, an intraframe coded or a predictively coded or a bidirectionally predictive coded picture, said system is characterized in that it comprises a common bitrate adjusting circuit for applying a respective bitrate target value to each of the control means in dependance upon the complexities of the corresponding video programs, said adjusting circuit comprising computing means for gathering bitstreams and quantization parameters available at the outputs of said demultiplexing circuits and of said decoding devices and determining the complexity of each of said decoded signals, a summing device for adding these complexities, dividers of each complexity by their sum, and multipliers of the obtained ratios by the channel bitrate computed for each of said three types of picture in said computing means, the respective outputs of said multipliers being the target values sent to said control means of each of said encoding means. These aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. In the drawings : Fig.l shows an embodiment of a system for transmitting a plurality of video programs according to the invention ; Figs.2, 3 and 4 show further embodiments of a joint bitrate adjusting circuit for such a transmitting system. The system shown in Fig.l is intended to allow the transmission of two digital programs over one channel, but it must be understood that an increased number of such programs should be transmitted in the same manner without departing from the scope of the invention. The illustrated system comprises two transcoding devices, to which digital programs in the form of encoded signals P., and P are applied. Each transcoding device comprises in cascade a decoding device (11, 61) and an encoding device (12, 62). Said decoding devices 11 and 61 constitute a decoding sub-assembly, and said encoding devices 12 and 62 constitute an encoding sub-assembly. Each decoding device (11 and 61) comprises in cascade a demultiplexing circuit (13. 63) and a decoder (14, 6*1). The demultiplexing circuits 13 and 63 generate bitstreams BS, and BS 2 - The decoders 14 and 64 are conventional and comprise for example, in series, a variable length decoder, an inverse quantizing circuit and a motion compensation stage (not shown). Each encoding device (12 and 62) comprises for example a frequency transformer (15, 20), a quantizer (16, 21) having a variable step size, a variable length encoder (17, 22) , an output buffer (18, 23) and a bitrate control circuit (19. 2 ) . The bitrate control circuits 19 and 24 are known per se and no longer described. The two output bitstreams of the transcoding devices (11-12) and (61-62) are combined in a multiplexer 3 to one channel bitstream having a channel bitrate T and applied to a transmission channel 4. This bitrate T corresponds, for a picture, to the addition of the target values T. and T of each encoding device (i.e. the average number of applied bits per picture for each encoding device 12 or 62). To these transcoding devices (11-12) and (61-62), intented to suppress or minimize the bitrate peaks of original digital programs, a joint bitrate adjusting circuit is associated. This adjusting circuit 5 determines for the decoded input signal of each encoding device 12 or 62 a complexity value (X, for the first encoding device 12 and X p for the second encoding device 62) , which usually equals the product of the number of bits used for a picture and the average step size over it, and is representative of the complexity of the current picture scenes of each program. This complexity value will modify the target value of each transcoding device (of each of the N transcoding devices for a system comprising in parallel N transcoding devices in view of the transmission of N digital programs within a single transmission channel). In a possible embodiment of the adjusting circuit 5, the complexity values X. and X p should be obtained by subjecting each applied television signal to a preanalysis, in preanalysis circuits 1 and 52. Such preanalysis circuits then comprise in series, for example a picture transformer, a quantizer having a fixe step size, a variable length encoder, and a counter for counting the number of bits obtained for each picture (not shown) . The two complexity values X. and X p thus obtained are added together in a summing device 53- Subsequently, the relative complexity for each transcoding device is determined in dividers 54 and 55, which compute : X X 1 and — respectively. X 1+ X 2 X 1+ X 2 Finally, the target values T. and T2 (T^ to T N when the system includes N transcoding devices) are computed by means of multipliers 6 and 57. by multiplying the available channel bitrate T (expressed in bits/picture) by said relative complexity, and applied to the control circuits 19 and 24. It now holds that the target values are : X X T- = -— - . T and T, = — . T (1) 1 X + X 2 2 ^ι + X 2 If there are N digital programs, it holds for the target value T (n = 1...N) which is applied to the n-th encoding device (of the n-th transcoding device) (2) X. n»ι The transmitting system therefore allows to compensate for the temporarily too high or too low bitrates of the programs and to allocate a bitrate to each of these programs in proportion with the current complexity and according to the available channel bitrate. A picture quality is then obtained which is substantially equal for all signals. Obviously, it is alternatively possible to allocate a distinct picture quality to the programs. This is achieved by influencing the relative complexity of the signals in a predetermined manner, for example by modifying the relative complexities in the following manner : 1 λ and ≤—=— respectively, (3) α ι x ι +α 2 χ 2 «ι x ι " α 2 X 2 in which α 1 and α 2 are constants. Fig.2 shows a further embodiment of the joint bitrate adjusting circuit, now referenced 25- The decoding and encoding devices (not further shown) are assumed to be for example MPEG decoders and encoders. 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, is described in many documents, and for example in the article "La norme MPEG est prete pour la diffusion TV et TVHD" , published by the french review "Electronique International Hebdo", Feb.2nd, 1995, n° 167, pp. 20-21. As may be known, the digital signals, according to this standard, are transmitted in the form of Groups ρ_f Pictures (GOPs), each GOP comprising an intraframe coded picture, or I picture, a number of predictively coded pictures, or P pictures, and a number of bidirectionally predictive coded pictures, or B pictures. In this case, the adjusting circuit 25 may now comprise : (A) computing means 8 and 59 for computing the complexities X.. and X p (the complexities X., to X„ if there are N digital programs) of each input signal of the encoders. As an alternative to the preanalysis circuits 51 and 52 shown in Fig.l, the complexity value is now determined with reference to the number of bits S which is spent on coding the previous picture and a quantization parameter Q which is representative of the average step size with which this picture is quantized (the product of S and Q is a representative measure of the complexity of said input signals). Both values (S. , OX and (S p . Q p ) are applied to the adjusting circuit 25 by the bitrate control circuits 19 and 24 of each encoder. By separately determining this product for each type of picture (I, P and B) , three complexity values X γ , X p and X-, are obtained for each transcoding device (n = 1, 2 when only two transcoding devices are considered, and n = 1 to N with N transcoding devices) : X In = S In x Q ln' X Pn = S Pn x Q Pn md X Bn = S Bn x Q Bn <"> Alternative formulas are possible. It is for example possible to emphasize the influence of the quantization value on the complexity value as in, for example : X(D) = S(D) x Q(D) α (α>l) or in : X(D) = S(D) x e Q(D) (5) in which the index D refers to the type of picture (I, P, B) . (B) a summing device 53 and dividers 54, 55 for determining, for each type of picture, the relative complexity of each input signal in accordance with the formula : Xln , Xpn , and XBΠ (6) X In l Pn X Bn n=l n=ι n=ι (C) computing means 50 for computing, for each type of picture, the total number of bits T for the subsequent image of the joint signals. For example the following computations can be performed : in which n„ and ng represent the number of P and B pictures still to be encoded in the GOP and Kp and K β are specific system constants. In formula (7). X j . Xp and Xg represent a joint complexity of the signals corresponding to the programs (the pictures corresponding to each program are then considered to jointly form a superpicture) . This joint complexity value can be constituted by : N N N x ι = ∑ S In xQ In , X p = ∑ S Pn xQ Pn and X B = ∑ S Bn xQ Bn ( 8 ) n«l n-l n-1 or by: N N N N x ι = ∑ S In x ∑ Q In , X P =∑ S pn x ∑ Q pn and n=l n=ι n=ι n=l B =∑ S Bn x ∑ Q Bn (9) n-l n-l To this end, the computing means 50 receive from each encoder its spent number of bits (S, and S p ) and the average step size (Q. and Q p ). In said formula (7), R is the remaining number of bits which is allocated to the joint GOPs, or super GOPs (its initial value is the number of available bits/super GOP) . (D) multipliers 56 and 57 for distributing the target value T for the superpicture among the two encoders (the N encoders if N transcoding devices are considered) in proportion with the relative complexity of the picture of the corresponding programs. In a formula (9) this is expressed by : T Ia = x T I# T pn = N Xpn x T p , and T Bn = N Xsn x T Σ X ln ∑ X Pn ∑ X Bn n-l n-l n-l In the manner thus described, the bitrate control circuit 19 of the encoding device 12 receives a target value T H' " P1 and ^Bl * *or eacn fc y e °f picture (I, P or B) and will attempt to meet this target. In a corresponding manner, the bitrate control circuit 24 of the encoding device 62 receives a target value T j p, Tpp and Tg p and also attempts to meet this target. Thus it holds for each encoder that the applied target value is dependent on the relative complexity of the picture of one program with respect to the other one (to the (N-l) other ones if more than two programs are considered) . Fig.3 then shows an alternative embodiment of the adjusting circuit, for use in place of the circuit 2 shown in Fig.2 (identical reference numerals represent identical functions). The adjusting circuit, now referenced 35, differs from the one shown in Fig.2 in that the computing means 50 of Fig.2 are now split up into two identical computing devices 501 and 502 which compute, for each program, the number of bits for the next picture as if the full channel bitrate were available for one program. The afore-mentioned formula (7) applies to the computation, in which X γ , Xp and Xg now represent the complexity value (instead of the joint complexity) of the corresponding signal. The number of bits thus computed is denoted by T'« and T'p in Fig.3. It is this number which is multiplied (in mutipliers 56 and 57) by the relative complexity of the corresponding signal. The relative complexity is obtained in the same manner (summing device 531 dividers 5 and 55) as in Fig.2. Another embodiment of the adjusting circuit is possible, as illustrated for example in Fig.4 showing an adjusting circuit for use in the place of the circuit shown in Fig.2 or Fig.3. Each encoding device 12 or 62 was using a preanalysis predicting how many bits were required for each subdivision of the current picture to be coded. Since the transcoding devices receive already coded signals, sent to the decoding devices of these transcoding devices, the computing means (58,59) of Fig.2 or the computing means (501,502) of Fig.3 can now be replaced, in the adjusting circuit 45 of Fig.4, by modified computing means 48 and 49, the inputs of which are now connected to receive these coded signals, for gathering the bitstreams and quantization parameters, for example by reading the values of S and Q available in output buffers (not shown) of the previous encoders with which the input coded signals have been obtained. Then the computing means 48 and 49, using these values S.,, Q«, S p , Q- > , generate X., and X p , or T'« and TX as previously indicated with reference to the adjusting circuit 2 or 35 respectively. Another alternative embodiment of the adjusting circuit is also possible. As an MPEG-compatible transcoding device includes a decoding sub-assembly comprising in cascade a demultiplexing circuit, which generates a coefficient bitstream (and other signals not useful here) , and a decoding device, which uses the quantization parameters included in said bitstream, the inputs of the computing means 48 and 49 of Fig.4 may now be connected to appropriate outputs of said demultiplexing circuits and said decoding devices, for gathering the bitstreams and quantization parameters. Then the computing means 48 and 49 compute S^ , Q^, S-,, Q 2 , and generate X 1 and Xp, or T'.. and TX as previously indicated. With these alternative embodiments, the previous preanalysis is no longer required, the necessary data being already available at the input of or in the decoding part of the transcoding devices. In Fig. , the other circuits than computing means 48 and 49 have the same references as for example in Fig.2, identical reference numerals representing identical functions. It is thus possible to obtain a more accurate estimation of the complexity of the current picture. Because the incoming pictures of the system will be decoded, it is indeed possible for each of them (for example for each picture i) to obtain its average stepsize Q. and the number of bits S. used to compress this picture, and then to compute the complexity of the picture i, defined as : x ± = Q -i s ± (10) This number, computed for the current picture by using an advanced information available at the input of the system, needs no longer to be estimated in the system itself. The present invention is not limited to the described embodiments, from which modifications or improvements can be deduced without departing from the scope of the invention. For example, it is clear that the invention can be implemented either with the aid of wired electronic modules or under the form of implementations including a microprocessor which ensures the performance of series of instructions corresponding to the functions of some or all circuits in said embodiments.

Claims: Claims 1. A system for transmitting a plurality of video programs simultaneously through a transmission channel having a predetermined total bitrate, comprising : (a) in cascade a decoding assembly and an encoding assembly, said decoding assembly consisting of an identical plurality of decoding means provided in parallel for decoding n coded input signals corresponding to said programs and each comprising in cascade a demultiplexing circuit and a decoder, and said encoding assembly consisting of an identical plurality of encoding means being in cascade with said decoding means and each comprising in series a quantizer having a controllable step size and a variable length encoder ; (b) means for combining the output bitstreams of said encoding means to an output channel bitstream ; (c) control means for controlling respective step sizes of said plurality of encoding means in dependance upon the respective output bitrates of said encoding means ; characterized in that : said control means are also provided for controlling the output bitrates of said encoding means in dependance upon complexity values associated to the coded input signals of each decoding means with respect to the joint complexity of the plurality of said coded signals. 2. A system as claimed in Claim 1, each picture of said video programs being, according to the MPEG standard, an intraframe coded or a predictively coded or a bidirectionally predictive coded picture, characterized in that it comprises a common bitrate adjusting circuit for applying a respective bitrate target value to each of the control means in dependence upon the complexities of the corresponding video programs, said adjusting circuit comprising computing means for gathering bitstreams and quantization parameters available in said input bitstreams and determining said complexities, a summing device for adding these complexities, dividers of each complexity by their sum, and multipliers of the obtained ratios by the channel bitrate computed for each of said three types of picture in said computing means, the respective outputs of said multipliers being the target values sent to said control means of each of said encoding means. 3- A system as claimed in Claim 1, each picture of said video programs being, according to the MPEG standard, an intraframe coded or a predictively coded or a bidirectionally predictive coded picture, characterized in that it comprises a common bitrate adjusting circuit for applying a respective bitrate target value to each of the control means in dependence upon the complexities of the corresponding video programs, said adjusting circuit comprising computing means for gathering bitstreams and quantization parameters available at the outputs of said demultiplexing circuits and of said decoding devices and determining the complexity of each of said decoded signals, a summing device for adding these complexities, dividers of each complexity by their sum, and multipliers of the obtained ratios by the channel bitrate computed for each of said three types of picture in said computing means, the respective outputs of said multipliers being the target values sent to said control means of each of said encoding means.

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