KR20050076245A - Method for controlling transmission bit-rate - Google Patents

Method for controlling transmission bit-rate Download PDF

Info

Publication number
KR20050076245A
KR20050076245A KR1020040004150A KR20040004150A KR20050076245A KR 20050076245 A KR20050076245 A KR 20050076245A KR 1020040004150 A KR1020040004150 A KR 1020040004150A KR 20040004150 A KR20040004150 A KR 20040004150A KR 20050076245 A KR20050076245 A KR 20050076245A
Authority
KR
South Korea
Prior art keywords
picture
complexity
scene change
calculated
encoded
Prior art date
Application number
KR1020040004150A
Other languages
Korean (ko)
Inventor
서병찬
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040004150A priority Critical patent/KR20050076245A/en
Publication of KR20050076245A publication Critical patent/KR20050076245A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 MPEG 계열의 동영상 부호화에 의해 생성되는 가변 비트를 고정 비트로 전송하기 위한 비트율 제어 방법에 관한 것이다. 특히 본 발명은 별도의 장면 전환 검출 장치 없이 장면 전환 시점에서 인코딩된 픽쳐의 복잡도를 이용하여 장면 전환을 검출한다. 그리고, 장면 전환 이후 인코딩할 픽쳐의 복잡도는 장면 전환 이후의 픽쳐를 참조하여 계산하도록 함으로써, 장면 전환 발생 후 픽처의 화질 열화를 최소화하고 하드웨어 복잡성, 연산량, 및 지연을 최소화한다. 특히 비트 버퍼의 오버플로우를 방지할 수 있다. 또한, 장면 전환 검출 장치를 이용하지 않으므로 하드웨어가 단순해지고 연산량이 많지 않아 지연이 최소화됨과 동시에 비용 절감 효과도 있다. The present invention relates to a bit rate control method for transmitting variable bits generated by MPEG video encoding as fixed bits. In particular, the present invention detects a scene change by using the complexity of the encoded picture at the scene change time point without a separate scene change detection device. The complexity of the picture to be encoded after the scene change is calculated by referring to the picture after the scene change, thereby minimizing image quality deterioration and minimizing hardware complexity, computation amount, and delay after the scene change occurs. In particular, the overflow of the bit buffer can be prevented. In addition, since the scene change detection device is not used, hardware is simplified and the amount of computation is not large, thereby minimizing delay and reducing costs.

Description

전송 비트율 제어 방법{Method for controlling transmission bit-rate}Method for controlling transmission bit-rate}

본 발명은 MPEG 계열의 동영상 부호화에 의해 생성되는 가변 비트를 고정 비트로 전송하기 위한 비트율 제어 방법에 관한 것이다.The present invention relates to a bit rate control method for transmitting variable bits generated by MPEG video encoding as fixed bits.

동영상의 저장 및 전송에는 많은 자원이 요구되기 때문에 이를 압축 부호화하여 저장 및 전송하는 기술이 필요하다. Since a lot of resources are required for storing and transmitting a video, a technique for compressing, storing, and transmitting the video is required.

이러한 용도로 널리 사용되는 규격으로 MPEG(Moving Picture Experts Group)이 있다. 즉, 동영상을 압축 부호화하는 MPEG 부호화기는 크게 이산 여현 변환기(DCT) 후 양자화, 움직임 추정 및 보상 기법 및 부호의 발생 확률에 의한 가변장 부호화를 근간으로 이루어져 있고, 여기에 고정 비트율 전송을 위한 비트율 제어가 포함된다.A widely used standard for this purpose is the Moving Picture Experts Group (MPEG). In other words, the MPEG encoder for compressing and encoding a video is largely based on a discrete cosine transform (DCT) quantization, a motion estimation and compensation technique, and a variable length encoding based on a code occurrence probability, and includes bit rate control for transmission of a fixed bit rate. Included.

이때, 상기 MPEG 부호화기에 주로 사용되는 알고리즘은 ISO(International Organization for Standardization)의 산하 기구인 IS/IEC JTC1/SC29/WG11에서 국제 표준화 진행중인 MPEG-2의 자료(문서번호 AVC-491인 TEST MODEL 5)에서 제안한 방법이다.At this time, the algorithm mainly used in the MPEG coder is the material of MPEG-2 under international standardization in IS / IEC JTC1 / SC29 / WG11, which is an organization of ISO (International Organization for Standardization) (document number AVC-491, TEST MODEL 5) This is the suggested method.

도 1은 이러한 일반적인 MPEG 부호화기의 구성 블록도로서, 인코딩부(100)와 비트율 제어부(200), 및 상기 인코딩부(100)의 움직임 보상을 제어하는 MC 제어부(300)로 구성된다.FIG. 1 is a block diagram illustrating a general MPEG encoder, and includes an encoder 100, a bit rate controller 200, and an MC controller 300 that controls motion compensation of the encoder 100.

즉, 감산기(101)는 입력되는 데이터가 I 픽쳐이면 그대로, P나 B 픽쳐이면 움직임 보상부(109)에서 움직임 보상된 데이터와의 차분 데이터를 DCT부(102)로 출력한다. 상기 DCT부(102)는 입력되는 데이터를 DCT한 후 양자화부(103)로 출력하여 양자화한다. That is, the subtractor 101 outputs the difference data with the motion-compensated data from the motion compensation unit 109 to the DCT unit 102 if the input data is an I picture or the P or B picture. The DCT unit 102 DCTs the input data and outputs the quantized unit to the quantization unit 103.

여기서, 상기 DCT부(102)는 2차원 축변환을 통해서 데이터의 상관성을 제거하는데, 이를 위해 픽쳐를 블록 단위로 나눈 후 나누어진 각각의 블록을 DCT 방식에 따라 축변환시킨다. 이렇게 축변환된 데이터들은 한쪽 방향(저역 쪽)으로 몰리는 경향이 있는데 이렇게 몰려진 데이터들만을 양자화부(103)에서 양자화한 후 가변 길이 코딩(Variable Length Coding ; VLC)부(104)로 출력한다. 상기 VLC부(104)는 자주 나오는 값은 적은 수의 비트로, 드물게 나오는 값은 많은 수의 비트로 표시하여 전체 비트 수를 줄인 후 버퍼(110)로 출력한다. 상기 버퍼(110)는 VLC된 데이터를 일시적으로 저장한 후 전송 또는 저장을 위해 출력함과 동시에, 버퍼의 충만도를 계산하여 비트율 제어부(200)로 출력한다.Here, the DCT unit 102 removes the correlation of data through two-dimensional axis transformation. To this end, after dividing the picture into block units, the DCT unit 102 transforms each block according to the DCT scheme. The axially transformed data tends to converge in one direction (lower frequency side). Only the collected data are quantized by the quantization unit 103 and then output to the variable length coding (VLC) unit 104. The VLC unit 104 outputs the frequently-valued values to the buffer 110 after reducing the total number of bits by displaying a small number of bits and a rare value to a large number of bits. The buffer 110 temporarily stores the VLC data and outputs the data for transmission or storage. The buffer 110 calculates the fullness of the buffer and outputs the buffer to the bit rate controller 200.

또한, 상기 양자화부(103)에서 양자화된 DCT 계수는 다시 IQ부(105)로 입력되어 역양자화된 후 IDCT부(106)로 출력된다. 상기 IDCT부(106)는 역 양자화된 DCT 계수를 IDCT하여 가산기(107)로 출력한다. 상기 가산기(107)는 IDCT된 값과 움직임 보상된 값을 더하여 최종 픽셀값인 완전한 영상으로 복원한 후 움직임 보상을 위해 메모리(108)에 저장한다. 상기 움직임 보상부(109)는 MC 제어부(300)에 따라 메모리(108)로부터 읽어온 이전 프레임을 이용하여 움직임 보상을 수행한 후 감산기(101)와 가산기(107)로 출력한다.In addition, the DCT coefficients quantized by the quantization unit 103 are input to the IQ unit 105 again, dequantized, and then output to the IDCT unit 106. The IDCT unit 106 IDCTs the inverse quantized DCT coefficients and outputs them to the adder 107. The adder 107 adds the IDCT value and the motion compensated value to restore the complete image, which is the final pixel value, and then stores the result in the memory 108 for motion compensation. The motion compensator 109 performs motion compensation using the previous frame read from the memory 108 according to the MC controller 300 and then outputs the motion compensation to the subtractor 101 and the adder 107.

한편, MPEG 규격은 전술된 바와 같이 가변장 부호화(VLC)를 사용한다. 이로 인해, 부호화기에 발생되는 비트도 가변적이다. 따라서, 고정 비트율 전송이나 부호화된 영상의 크기를 필요로 하는 응용에 사용하기 위해 비트율 제어부(200)에서 비트율 제어를 한다.On the other hand, the MPEG standard uses variable length coding (VLC) as described above. For this reason, the bits generated by the encoder are also variable. Therefore, the bit rate control unit 200 controls bit rate for use in applications requiring fixed bit rate transmission or the size of an encoded image.

상기 비트율 제어부(200)는 주로 버퍼(110)의 충만도(buffer fullness)에 따라 양자화부(103)의 스텝 사이즈를 가변시켜 데이터의 발생량을 조절한다. 즉, 발생한 비트 수가 기준치 이상이면 버퍼(110)에 채워지는 데이터량이 증가하므로 양자화 스텝 사이즈를 증가시켜 다음에 발생할 비트수를 감소시키고, 기준치 이하로 데이터가 발생하면 그 반대로 양자화 스텝 사이즈를 감소시켜 발생 비트수를 증가시켜 전체적으로 버퍼(110)의 상태가 일정치를 유지할 수 있도록 조절한다. 양자화 스텝에 의해 발생 비트를 제어한다. 이러한 비트율 제어에 따라 영상 화질이 크게 좌우된다.The bit rate controller 200 adjusts the generation amount of data by varying the step size of the quantization unit 103 mainly according to the buffer fullness of the buffer 110. That is, if the number of bits generated is greater than or equal to the reference value, the amount of data to be filled in the buffer 110 is increased. Therefore, the quantization step size is increased to reduce the number of bits to be generated later. The number of bits is increased to adjust the state of the buffer 110 as a whole. The generation bit is controlled by the quantization step. The image quality is greatly influenced by the bit rate control.

이때, TM5를 참조하면 비트율 제어부(200)는 다음의 3단계의 동작을 수행한다. At this time, referring to TM5, the bit rate controller 200 performs the following three steps.

먼저, 제 1 단계는 비트 할당(bit allocation) 단계로서, 복잡도를 예측하고 목표 비트를 할당하는 단계이다. 즉, 전송 비트율에 따라 GOP(Group Of Picture) 단위로 일정한 비트를 할당하고 GOP 내부에서 각 픽쳐에 할당할 비트들은 각 픽쳐(I,P,B 프레임)의 복잡도(complexity)에 따라 결정한다. 다시 말해, GOP 내부에서 픽쳐 타입과 복잡도에 의해 픽쳐 단위로 비트가 할당된다. First, the first step is a bit allocation step, in which the complexity is predicted and the target bit is allocated. That is, bits are allocated in GOP (Group Of Picture) units according to the transmission bit rate, and bits to be allocated to each picture in the GOP are determined according to the complexity of each picture (I, P, B frame). In other words, bits are allocated on a picture-by-picture basis by picture type and complexity in the GOP.

이때, I, P, B 픽쳐가 인코딩부(100)에서 인코딩된 후에 I,P,B 픽쳐 각각의 복잡도(X)는 다음과 같은 수학식 1과 같이 구한다.In this case, after the I, P, and B pictures are encoded by the encoding unit 100, the complexity X of each of the I, P, and B pictures is obtained as shown in Equation 1 below.

여기서, 는 각각 이전의 I,P,B 픽쳐를 인코딩한 후 발생된 비트량이고, 는 각 픽쳐의 모든 매크로 블록을 인코딩하는 동안 사용된 양자화 파라미터의 평균값(The average quantization parameter computed by averaging the actual quantization values)이다.here, Are the amount of bits generated after encoding the previous I, P, and B pictures, respectively. Is the average quantization parameter computed by averaging the actual quantization values used during encoding of all macroblocks of each picture.

초기 복잡도는 Xi = 160 * 비트율/115, Xp = 60 * 비트율/115, Xb = 42 * 비트율/115로 주어지고, 이때의 비트율은 비트수/초로 구해진다.The initial complexity is given by X i = 160 * bit rate / 115, X p = 60 * bit rate / 115, X b = 42 * bit rate / 115, and the bit rate at this time is obtained by the number of bits / second.

즉, 영상 부호화 형태인 I, P, B 픽쳐의 비트율에 따라 인코딩할 I,P 또는 B 픽쳐의 각 목표 비트(Ti,Tb,Tp)는 다음의 수학식 2에 의해 할당된다.That is, each target bit Ti , T b , T p of an I, P, or B picture to be encoded is allocated according to Equation 2 below according to the bit rate of the I, P, B picture, which is an image encoding form.

상기 수학식 2에서 Kp, Kb는 양자화 행렬에 의존하는 상수로서, Kp=1.0으로 하고, Kb=1.4로 하며, R은 GOP 할당한 비트들 중 이전 픽쳐들을 인코딩하고 남은 비트수이다. 그리고, bit_rate는 채널 전송율(bit/sec)이고, picture_rate는 초당 복호화되는 픽쳐수이다. GOP 시작시 R(비트율 : bit rate)값은 0으로 한다.In Equation 2, Kp and Kb are constants depending on the quantization matrix, and Kp = 1.0, Kb = 1.4, and R is the number of bits remaining after encoding previous pictures among the GOP allocated bits. Bit_rate is a channel rate (bit / sec), and picture_rate is the number of pictures decoded per second. At the start of GOP, the R (bit rate) value is set to zero.

그리고, 매 GOP마다 R은 R+GOP_target으로 하며, 매 GOP마다 발생된 비트량을 R에서 뺀 다음 이 값을 R로 갱신한다. For every GOP, R is set to R + GOP_target, and the amount of bits generated for every GOP is subtracted from R, and then this value is updated to R.

여기서, G=bit_rate * N/picture_rate, N은 GOP 크기이다. 그리고, Np,Nb는 현재 GOP 내에 엔코딩될 P,B 픽쳐의 수이다.Here, G = bit_rate * N / picture_rate, and N is a GOP size. Np, Nb is the number of P, B pictures to be encoded in the current GOP.

제 2 단계는 전송율(즉, 비트율)을 조절(rate control)하는 단계로서, 비트율 제어는 매크로 블록 단위로 수행된다. 즉, 가상 버퍼(virtual buffer)(110)의 충만도에 따라 각 매크로 블록에 대한 기준 양자화 파라미터를 계산한다. 그리고, 각 픽쳐를 상기 제 1 단계에서 할당받은 비트에 맞게 현재 픽쳐를 인코딩할 수 있도록 비트율을 제어한다. 이때, 현재 매크로 블록에 대한 기준 양자화 파라미터는 이전 매크로 블록까지의 발생 비트에 의한 가상 버퍼 충만도에 의해 결정된다.The second step is to adjust the rate (i.e., bit rate), and the bit rate control is performed in units of macro blocks. That is, the reference quantization parameter for each macro block is calculated according to the fullness of the virtual buffer 110. The bit rate is controlled so that each picture can be encoded according to the bit allocated in the first step. In this case, the reference quantization parameter for the current macroblock is determined by the virtual buffer fullness by the generation bits up to the previous macroblock.

여기에서는, 각 픽쳐마다 임의의 가상적인 버퍼를 가지고 있다고 가정하고, 상기 버퍼의 상태에 따라 양자화 파라미터를 조절하는 방법을 사용한다.Here, it is assumed that each picture has an arbitrary virtual buffer, and a method of adjusting the quantization parameter according to the state of the buffer is used.

제 3 단계는 적응 양자화(adaptive quantization) 단계로서, 입력 영상으로부터 현재 인코딩할 매크로 블록의 활성도(activity)를 구하여 정규화한 후 이 정규화된 활성도와 상기 제 2 단계에서 구한 기준 양자화 파라미터를 곱하여 실제로 양자화부(103)에서 양자화에 사용할 양자화 스텝을 결정하게 된다. 즉, 적응 양자화는 주관적 화질을 높일 수 있는 방법으로 상기 기준 양자화 파라미터를 현재의 매크로 블록의 복잡도에 따라 변화시키는 방법이다.The third step is an adaptive quantization step, in which an activity of a macroblock to be currently encoded is obtained from an input image, and normalized. At 103, a quantization step to be used for quantization is determined. In other words, adaptive quantization is a method of increasing the subjective picture quality and changing the reference quantization parameter according to the complexity of the current macroblock.

이와 같이 상기 비트율 제어부(200)는 현재 픽쳐의 비트율 제어를 위해 복잡도를 계산하려면 이전 픽쳐의 정보를 이용하여야 한다.As described above, the bit rate controller 200 should use information of the previous picture to calculate the complexity for bit rate control of the current picture.

즉, 제 1 단계에서 비트 할당은 GOP 단위로 일정한 비트를 할당하고, 이 할당된 비트 안에서 픽쳐 타입과 복잡도에 의해 픽처 단위로 비트가 할당된다. That is, in the first step, bit allocation allocates a predetermined bit in GOP units, and bits are allocated in picture units by picture type and complexity in the allocated bits.

이때, 현재 인코딩할 픽쳐의 복잡도는 현재 픽처와 동일한 픽처 타입을 갖는 이전 픽처로부터 가져온다. 따라서, 이 방법은 장면 전환 발생시 치명적이다.In this case, the complexity of the picture to be encoded currently is obtained from a previous picture having the same picture type as the current picture. Thus, this method is fatal when a scene change occurs.

도 2는 TM5에서 현재 인코딩에 사용되어지는 픽쳐의 복잡도를 이전 픽처에서 어떻게 가져오는지를 도식적으로 나타낸 것이다. Figure 2 shows how the complexity of the picture currently used for encoding in TM5 is taken from the previous picture.

도 2를 보면, 현재 인코딩되는 픽처의 복잡도는 같은 픽처 타입의 이전 픽처로부터 얻어진다. 이것은 장면 전환이 고려되지 않은 경우이다. 2, the complexity of the currently encoded picture is obtained from the previous picture of the same picture type. This is the case when transitions are not considered.

따라서, 장면 전환 발생 후 픽처 단위의 목표 비트 할당시 심각한 화질의 열화를 가져온다. Therefore, serious picture quality deterioration occurs when the target bit is allocated in units of pictures after a scene change occurs.

즉, 장면 전환이 발생하게 되면 발생된 시점의 P 픽처는 I 픽처로, B 픽처는 단 방향의 움직임 추정에 의해 P 픽쳐로 인코딩된다. 도 2를 예로 들 경우, 장면 전환 후 P 픽쳐(6)는 I 픽처로, B 픽처(7)는 P 픽처로 인코딩된다. 그런데, 상기 P 픽쳐(6)는 인코딩시 이전 P 픽쳐(3)로부터 가져와 목표 비트를 할당하게 된다.That is, when a scene change occurs, the P picture at the generated time point is encoded as an I picture, and the B picture is encoded as a P picture by unidirectional motion estimation. 2, after the scene change, the P picture 6 is encoded as an I picture, and the B picture 7 is encoded as a P picture. However, the P picture 6 is allocated from the previous P picture 3 and assigned a target bit during encoding.

따라서, 픽처의 목표 비트의 할당에 있어 현재 픽처 타입과 비교할 때 더 많은 비트가 할당되게 된다. 이는 GOP 내의 다른 픽쳐에 할당되는 비트가 줄어듦을 의미한다. 왜냐하면 이미 전송 비트율에 따라 GOP 단위로 일정한 비트를 할당받았기 때문이다.Thus, more bits are allocated in the allocation of the target bits of the picture compared to the current picture type. This means that bits allocated to other pictures in the GOP are reduced. This is because a certain bit is already allocated in GOP units according to the transmission bit rate.

따라서, 도 2와 같이 장면 전환이 발생된 GOP에서 장면 전환을 고려하지 않고 이전 픽처로부터 복잡도를 가져와 인코딩을 하게 되면, 장면 전환에 의한 화질 열화가 심각하며 또한, 그 영향이 계속 GOP 내의 다른 픽쳐에도 영향을 미쳐 화질 열화가 더욱 심각해지게 된다. 그로 인해 비트 버퍼(bit buffer)의 오버플로우(overflow)를 유발시킬 수도 있다.Therefore, if the encoding is obtained by taking the complexity from the previous picture without considering the scene change in the GOP in which the scene change has occurred, as shown in FIG. 2, the image quality deterioration due to the scene change is severe, and the influence is continuously applied to other pictures in the GOP. This affects the image quality even worse. This may cause an overflow of the bit buffer.

한편, 이러한 문제점을 해결하기 위한 장면 전환을 검출하고, 장면 전환시 이를 고려하여 비트율을 조절하는 방법이 있다. Meanwhile, there is a method of detecting a scene change to solve such a problem and adjusting a bit rate in consideration of the scene change.

즉, 장면 전환 발생시 비트율 제어 방법으로 가장 널리 사용되는 것은 장면 전환이 발생한 픽쳐를 기준으로 새로운 GOP로 간주하는 것이다. 그리고, 새로운 GOP에 새롭게 비트 할당을 하고 그 픽쳐를 I(Intra) 픽쳐로 부호화하는 방법이다. That is, the most widely used bit rate control method when a scene change occurs is regarded as a new GOP based on the picture where the scene change occurs. Then, a new bit is allocated to a new GOP, and the picture is encoded into an I (Intra) picture.

그러나, 이 방법은 장면 전환을 미리 검출해야만 한다. 이것은 프레임 메모리가 추가로 요구되어지며 프레임 지연이 발생하게 된다. 또한 장면 전환 검출을 위한 연산량이 증가하는 문제점이 있다. However, this method must detect scene transitions in advance. This requires additional frame memory and introduces frame delay. In addition, there is a problem in that the amount of calculation for scene change detection increases.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 MPEG 계열의 동영상 부호화에 의해 생성되는 가변 비트를 고정 비트로 전송하고자 할 때 복잡도를 최소화하는 비트율 제어 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a bit rate control method for minimizing complexity when transmitting a variable bit generated by MPEG video encoding as a fixed bit.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 전송 비트율 제어 방법은, MPEG 계열의 동영상 인코딩시 전송 비트율에 따라 GOP 단위로 일정한 비트를 할당한 후 상기 GOP 내에서는 각 픽쳐마다 복잡도를 예측하고 예측된 복잡도를 이용하여 각 픽처마다 목표 비트를 할당하는 전송 비트율 제어 방법에 있어서, In the transmission bit rate control method according to the present invention for achieving the above object, after assigning a predetermined bit in a GOP unit according to the transmission bit rate when encoding a video of MPEG series, the complexity is predicted and predicted for each picture in the GOP In the transmission bit rate control method for assigning a target bit to each picture using the complexity,

인코딩 순서에 의해 상기 GOP 내의 픽쳐들을 인코딩할 때 현재 인코딩할 픽쳐의 복잡도는 현재 픽처와 동일한 픽처 타입을 갖는 이전 픽처의 복잡도를 이용하여 계산하는 단계; 상기 단계에서 특정 픽처의 인코딩시 장면 전환이 발생하면 장면 전환 발생 후 I나 P 픽쳐 후에 인코딩되는 픽처의 복잡도는 장면 전환 후의 픽처의 복잡도를 이용하여 계산하는 단계; 그리고 상기 단계에서 특정 픽처의 인코딩시 장면 전환이 발생하면 장면 전환이 발생한 시점의 B 픽처의 복잡도는 과거 참조 픽쳐 이전의 마지막 B 픽처의 복잡도를 이용하여 계산하는 단계를 포함하여 이루어지는 것을 특징으로 한다.Calculating the complexity of a picture to be encoded currently using the complexity of a previous picture having the same picture type as the current picture when encoding pictures in the GOP according to an encoding order; Calculating a complexity of a picture encoded after an I or P picture after the scene change is generated using the complexity of the picture after the scene change when a scene change occurs when encoding a specific picture in the above step; If the scene transition occurs when encoding a specific picture in this step, the complexity of the B picture at the time when the scene transition occurs is calculated using the complexity of the last B picture before the past reference picture.

본 발명의 제 1 실시예에 따른 비트율 제어 방법은, B 픽쳐와 P 픽처 사이에서 장면 전환이 발생한 경우 In the bit rate control method according to the first embodiment of the present invention, when a scene change occurs between a B picture and a P picture

상기 P 픽처의 복잡도는 이전 P 픽처의 복잡도를 이용하여 계산하고, The complexity of the P picture is calculated using the complexity of the previous P picture,

상기 B 픽쳐의 복잡도는 이전 B 픽쳐 전의 마지막 B 픽처의 복잡도를 이용하여 계산하고, The complexity of the B picture is calculated using the complexity of the last B picture before the previous B picture,

상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도의 1/4배 값을 이용하여 계산하고, The complexity of the B picture after the P picture is calculated using a 1/4 times the complexity of the P picture,

상기 P 픽쳐 이후의 P 픽쳐의 복잡도도 상기 P 픽쳐의 복잡도의 1/2.5배 값을 이용하여 계산하고,The complexity of the P picture after the P picture is calculated using a value of 1 / 2.5 times the complexity of the P picture,

상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처의 복잡도는 장면 전환 후 처음 인코딩된 P 픽처의 복잡도를 이용하여 계산하는 것을 특징으로 한다.The complexity of the first I picture after the scene change occurs is calculated by using the complexity of the first encoded P picture after the scene change.

본 발명의 제 2 실시예에 따른 전송 비트율 제어 방법은, B 픽쳐와 B 픽처 사이에서 장면 전환이 발생한 경우 In the transmission bit rate control method according to the second embodiment of the present invention, when a scene change occurs between a B picture and a B picture

상기 장면 전환전 B 픽쳐의 복잡도는 이전 B 픽처의 복잡도를 이용하여 계산하고,The complexity of the B picture before the scene change is calculated using the complexity of the previous B picture,

상기 장면 전환후 B 픽쳐의 복잡도는 이전 B 픽쳐 전의 마지막 B 픽처의 복잡도를 이용하여 계산하고, The complexity of the B picture after the scene change is calculated using the complexity of the last B picture before the previous B picture,

상기 장면 전환 후 P 픽쳐의 복잡도는 이전 P 픽처의 복잡도를 이용하여 계산하고,The complexity of the P picture after the scene change is calculated using the complexity of the previous P picture,

상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도의 1/4배 값을 이용하여 계산하고,The complexity of the B picture after the P picture is calculated using a 1/4 times the complexity of the P picture,

상기 P 픽쳐 이후의 P 픽쳐의 복잡도도 상기 P 픽쳐의 복잡도를 이용하여 계산하고, The complexity of the P picture after the P picture is calculated using the complexity of the P picture,

상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처의 복잡도는 장면 전환 후 처음 인코딩된 P 픽처의 복잡도를 이용하여 계산하는 것을 특징으로 한다.The complexity of the first I picture after the scene change occurs is calculated by using the complexity of the first encoded P picture after the scene change.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 첨부된 도면을 참조하여 본 발명의 실시예의 구성과 그 작용을 설명하며, 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 상기한 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.Hereinafter, with reference to the accompanying drawings illustrating the configuration and operation of the embodiment of the present invention, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, By the technical spirit of the present invention described above and its core configuration and operation is not limited.

통상, HVS(Human Visual System)의 측면에서 볼 때 장면 전환 후의 영상의 화질 열화는 사람의 눈이 민감하게 반응하지 않는다. In general, in view of the human visual system (HVS), the deterioration of the image quality of the image after the scene change is not sensitive to the human eye.

따라서 본 발명은 장면 전환이 발생한 픽쳐의 화질을 낮추고, 장면 전환시 사용되는 복잡도를 다르게 적용함으로써, 장면 전환 발생 후 픽처의 화질 열화를 최소화하고 하드웨어 복잡성, 연산량, 지연을 최소화한다. 이로 인해 비트 버퍼의 오버플로우를 방지할 수 있다. Therefore, the present invention lowers the image quality of a picture in which a scene change occurs and applies a complexity used in the scene change, thereby minimizing image quality deterioration after the scene change occurs and minimizing hardware complexity, calculation amount, and delay. This prevents the bit buffer from overflowing.

즉, 본 발명은 장면 전환 발생시 현재 인코딩할 픽쳐의 복잡도를 가져올 이전 픽쳐를 새롭게 설정하여 장면 전환의 영향을 최소화하는 것이다. That is, the present invention minimizes the effects of the scene change by newly setting a previous picture to bring the complexity of the picture to be currently encoded when the scene change occurs.

P 픽처의 경우 장면 전환이 발생하게 되면 대부분의 매크로 블록이 인트라로 인코딩되고, B 픽처의 경우 장면 전환이 발생하면 단 방향의 움직임 벡터에 의해 인코딩 된다. In the case of a P picture, most of the macro blocks are encoded intra if a scene change occurs, and in the case of a B picture, a scene change is encoded by a unidirectional motion vector.

이때, 인코딩시 인코딩 순서에 의해 B 픽처의 참조가 되는 P 또는 I 픽처가 먼저 인코딩된다. 따라서 P 또는 I 픽쳐의 인코딩이 끝난 후 B 픽처를 인코딩하게 되는데 이때 장면 전환이 발생하게 되면 B 픽처의 복잡도는 과거 참조 픽쳐 이전의 마지막 B 픽처의 복잡도를 사용한다. In this case, P or I pictures, which are references to B pictures, are encoded first in encoding order. Therefore, after the encoding of the P or I picture is finished, the B picture is encoded. When scene transition occurs, the complexity of the B picture uses the complexity of the last B picture before the past reference picture.

그리고, 장면 전환 발생 후의 I 또는 P 픽처 후에 인코딩되는 픽처의 복잡도는 장면 전환 후의 픽처로부터 얻어지는 복잡도의 값으로부터 계산하여 사용한다.The complexity of the picture encoded after the I or P picture after the scene change occurs is calculated and used from the value of the complexity obtained from the picture after the scene change.

이때, 본 발명에서는 장면 전환 검출 장치를 이용하지 않는다. 본 발명에서는 장면 전환의 여부는 인코딩된 픽쳐의 복잡도로 판단한다. 즉, 인코딩된 픽쳐의 복잡도가 기 설정된 임계값보다 크다고 판별되면 장면 전환이 발생하였다고 판단하고 그 이후의 픽쳐들에 대해서는 새로운 복잡도를 적용한다.At this time, the scene change detection apparatus is not used in the present invention. In the present invention, whether to change scenes is determined as the complexity of the encoded picture. That is, if it is determined that the complexity of the encoded picture is larger than the preset threshold, it is determined that a scene change has occurred, and new complexity is applied to subsequent pictures.

도 3과 도 4는 본 발명에 따른 비트율 제어 과정에서 장면 전환에 따른 복잡도 이용 예들을 구체적으로 보이고 있다. 3 and 4 illustrate examples of using complexity according to scene change in a bit rate control process according to the present invention.

도 3에서는 P 픽처 이전에 바로 장면 전환이 발생된 경우를 나타내는 것이다. 그러면, 인코딩 순서에 의해 6번 P 픽쳐가 4번, 5번 B 픽처보다 먼저 인트라로 인코딩될 것이다. 상기 6번 픽쳐를 인코딩할 때 아직 장면이 전환되었는지를 알 수 없으므로 상기 6번 픽쳐는 이전 P 픽쳐 즉, 3번 P 픽처로부터 복잡도를 가져 와 인트라로 인코딩한다. 이때, 상기 6번 픽처는 이전 P 픽쳐로부터 복잡도를 가져와 인트라로 인코딩하였으므로 인코딩 후의 복잡도는 기 설정된 임계값보다 커질 것이다. 이는 상기 6번 픽쳐가 P 픽쳐이지만 I 픽쳐로 인코딩되므로 복잡도가 I 픽쳐의 특성을 갖기 때문이다. 따라서, 이때는 장면 전환이 발생하였다고 판단한다. 3 illustrates a case where a scene change occurs immediately before a P picture. Then, the P picture No. 6 will be encoded intra before the No. 4 and No. 5 B pictures according to the encoding order. When encoding the picture 6, it is not known whether the scene has been changed yet, so the picture 6 is intra coded with the complexity from the previous P picture, that is, the P picture 3. In this case, since the picture 6 is encoded intra by taking the complexity from the previous P picture, the complexity after encoding will be larger than the preset threshold. This is because the sixth picture is a P picture, but since the picture is encoded as an I picture, the complexity has the characteristics of the I picture. Therefore, it is determined at this time that a scene change has occurred.

하지만 이 시점에서는 아직 4번과 5번 픽처가 인코딩 되지 않았으므로 정확한 장면 전환 시점은 알 수 없다. At this point, however, the 4 and 5 pictures have not been encoded yet, so the exact transition time is unknown.

따라서, 그 후 4번 픽처는 2번 B 픽처의 복잡도를 가져와 P 픽쳐로 인코딩이된다. 이때, 상기 4번 픽처는 B 픽처이지만 단 방향의 움직임 보상에 의해 인코딩 되므로 복잡도는 P 픽쳐의 특성을 갖는다. 따라서 5번 B 픽처의 인코딩시에는 4번 픽처의 복잡도 대신 2번 픽처의 복잡도를 사용한다. 즉, 상기 5번 B 픽처의 인코딩시에는 과거 참조 픽쳐(즉, 4번 P 픽쳐) 이전의 마지막 B 픽처(즉, 2번 픽처)의 복잡도를 사용한다. Therefore, picture 4 is then encoded into a P picture taking the complexity of picture 2 B. In this case, the fourth picture is a B picture, but since it is encoded by unidirectional motion compensation, the complexity has the characteristics of the P picture. Therefore, when encoding the B picture 5, the complexity of the picture 2 is used instead of the complexity of the picture 4. That is, the encoding of the B picture 5 uses the complexity of the last B picture (ie, picture 2) before the past reference picture (ie, P picture 4).

이것은 화질의 열화를 가져오지만 비트열의 오버플로우 측면에서 볼 때 매우 로버스트(Robust)한 결과를 가져온다.This results in deterioration of picture quality but very robust in terms of overflow of the bit stream.

그리고 나서, 인코딩 순서에 의해 9번 픽처가 5번, 6번 픽처보다 먼저, P 픽처로 인코딩된다. 이때는 이전 동일한 픽처 타입인 6번 P 픽처에서 얻어진 복잡도를 사용하여 인코딩한다. 그러나, 상기 6번 픽처는 장면 전환에 의해 인트라로 인코딩되었으므로 복잡도는 I 픽쳐의 특성을 갖고 있다. 따라서, 이때는 6번 픽처의 복잡도의 1/2.5 배의 값을 이용하여 9번 픽처를 P 픽처로 인코딩한다.Then, the picture 9 is encoded into the P picture before the pictures 5 and 6 according to the encoding order. In this case, encoding is performed using the complexity obtained from P picture 6, which is the same picture type. However, since the picture 6 is encoded intra by scene change, the complexity has the characteristic of an I picture. Therefore, in this case, picture 9 is encoded into a P picture by using a value 1 / 2.5 times the complexity of picture 6.

이어서 7번, 8번 픽쳐의 인코딩이 이루어진다. 이때, 7번 픽처의 인코딩은 역시 6번 픽처에서 얻어진 복잡도의 1/4 배의 값을 사용한다. 이 후의 인코딩에 있어서는 TM5와 동일하게 이전 동일한 픽처 타입의 복잡도를 사용하면 된다. Subsequently, pictures 7 and 8 are encoded. In this case, encoding of picture 7 uses a value of 1/4 times the complexity obtained from picture 6 as well. In the subsequent encoding, the same picture type complexity may be used as in TM5.

상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처 즉, 15번 픽처는 장면 전환 후 처음 인코딩된 P 픽처 즉, 6번 P 픽처의 복잡도를 사용하여 인코딩한다.The first I picture, that is, picture 15, that comes after the scene change occurs is encoded using the complexity of the P picture that is first encoded after the scene change, that is, P picture 6.

도 4는 B 픽처 사이에서 장면 전환이 발생된 경우를 나타내는 것이다. 이 경우에도 인코딩 순서는 상기된 도 3에서 설명한 순서와 동일하다. 4 illustrates a case where a scene change occurs between B pictures. Even in this case, the encoding order is the same as that described in FIG.

단, 9번 픽처의 인코딩에 사용되어지는 복잡도는 5번 픽쳐에서 가져온다. 이것은 5번 픽처가 장면 전환 때문에 단 방향 움직임 보상에 의해 인코딩 되었으므로 이때 계산된 복잡도가 P 픽처의 특성을 갖기 때문이다. However, the complexity used for encoding picture 9 is taken from picture 5. This is because picture 5 has been encoded by unidirectional motion compensation due to scene transition, and thus the calculated complexity has the characteristics of P picture.

이때, 6번 픽처는 장면 전환 때문에 3번 픽처에서 복잡도를 가져와 인트라로 인코딩된다. 따라서, 상기 6번 픽쳐가 P 픽쳐이지만 인트라로 인코딩되므로 복잡도가 I 픽쳐의 특성을 갖는다. At this time, the picture 6 is encoded intra intra picture with complexity in the picture 3 because of the scene change. Therefore, the picture number 6 is a P picture, but since it is encoded in intra, the complexity has the characteristics of an I picture.

그러므로, 상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처 즉, 15번 픽처는 장면 전환 후 처음 인코딩된 6번 P 픽처의 복잡도를 사용하여 인코딩한다.Therefore, the first I picture, that is, picture 15, that comes after the scene change occurs, is encoded using the complexity of P picture 6 that is first encoded after the scene change.

한편, 본 발명에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로써 이는 당분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본 발명의 전반에 걸친 내용을 토대로 내려져야 할 것이다. On the other hand, the terms used in the present invention (terminology) are terms defined in consideration of the functions in the present invention may vary according to the intention or practice of those skilled in the art, the definitions are the overall contents of the present invention It should be based on.

또한, 본 발명에서는 본 발명의 바람직한 실시예를 통해 본 발명을 설명했으므로 본 발명의 기술적인 난이도 측면을 고려할 때, 당분야에 통상적인 기술을 가진 사람이면 용이하게 본 발명에 대한 또 다른 실시예와 다른 변형을 가할 수 있다. 따라서 상술한 설명에서 사상을 인용한 실시예와 변형은 모두 본 발명의 청구 범위에 모두 귀속됨은 명백하다.In addition, since the present invention has been described through the preferred embodiment of the present invention, in view of the technical difficulty aspects of the present invention, those having ordinary skill in the art can easily and other embodiments of the present invention. Other variations can be made. Therefore, it is apparent that all of the embodiments and variations cited in the above description belong to the claims of the present invention.

이상에서와 같이 본 발명에 따른 전송 비트율 제어 방법에 의하면, 별도의 장면 전환 검출 장치 없이 장면 전환 시점에서 인코딩된 픽쳐의 복잡도를 이용하여 장면 전환을 검출하고, 이후 인코딩할 픽쳐의 복잡도를 새롭게 설정함으로써, 장면 전환 발생 후 픽처의 화질 열화를 최소화하고 하드웨어 복잡성, 연산량, 및 지연을 최소화한다. 특히 비트 버퍼의 오버플로우를 방지할 수 있다. 또한, 장면 전환 검출 장치를 이용하지 않으므로 하드웨어가 단순해지고 연산량이 많지 않아 지연이 최소화됨과 동시에 비용 절감 효과도 있다. As described above, according to the transmission rate control method according to the present invention, a scene change is detected by using a complexity of an encoded picture at a scene change time without a separate scene change detection device, and then the complexity of a picture to be encoded is newly set. This minimizes picture quality degradation after scene transitions and minimizes hardware complexity, computation, and delay. In particular, the overflow of the bit buffer can be prevented. In addition, since the scene change detection device is not used, hardware is simplified and the amount of computation is not large, thereby minimizing delay and reducing costs.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다. Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

도 1은 일반적인 MPEG 엔코더의 구성 블록도1 is a block diagram of a typical MPEG encoder

도 2는 종래의 각 픽쳐들의 인코딩시 복잡도를 가져오는 픽쳐들과의 관계를 보인 도면FIG. 2 is a diagram illustrating a relationship between pictures that result in complexity when encoding respective pictures.

도 3은 본 발명에 따른 각 픽쳐들의 인코딩시 복잡도를 가져오는 픽쳐들과의 관계를 보인 일 실시예를 보인 도면3 is a view showing an embodiment showing a relationship with pictures bringing complexity when encoding pictures of the present invention;

도 4는 본 발명에 따른 각 픽쳐들의 인코딩시 복잡도를 가져오는 픽쳐들과의 관계를 보인 다른 실시예를 보인 도면4 is a view showing another embodiment showing a relationship with pictures resulting in complexity when encoding pictures in accordance with the present invention;

도면의 주요부분에 대한 부호의 설명Explanation of symbols for main parts of the drawings

100 : 인코딩부 200 : 비트율 제어부100: encoding unit 200: bit rate control unit

300 : MC 제어부300: MC control unit

Claims (9)

MPEG 계열의 동영상 인코딩시 전송 비트율에 따라 GOP 단위로 일정한 비트를 할당한 후 상기 GOP 내에서는 각 픽쳐마다 복잡도를 예측하고 예측된 복잡도를 이용하여 각 픽처마다 목표 비트를 할당하는 전송 비트율 제어 방법에 있어서, In the transmission bit rate control method of assigning a predetermined bit in each GOP unit according to the transmission bit rate when encoding a video of MPEG series, and predicting the complexity for each picture in the GOP and assigning a target bit for each picture using the predicted complexity , 인코딩 순서에 의해 상기 GOP 내의 픽쳐들을 인코딩할 때 현재 인코딩할 픽쳐의 복잡도는 현재 픽처와 동일한 픽처 타입을 갖는 이전 픽처의 복잡도를 이용하여 계산하는 단계;Calculating the complexity of a picture to be encoded currently using the complexity of a previous picture having the same picture type as the current picture when encoding pictures in the GOP according to an encoding order; 상기 단계에서 특정 픽처의 인코딩시 장면 전환이 발생하면 장면 전환 발생 후 I나 P 픽쳐 후에 인코딩되는 픽처의 복잡도는 장면 전환 후의 픽처의 복잡도를 이용하여 계산하는 단계; 그리고 Calculating a complexity of a picture encoded after an I or P picture after the scene change is generated using the complexity of the picture after the scene change when a scene change occurs when encoding a specific picture in the above step; And 상기 단계에서 특정 픽처의 인코딩시 장면 전환이 발생하면 장면 전환이 발생한 시점의 B 픽처의 복잡도는 과거 참조 픽쳐 이전의 마지막 B 픽처의 복잡도를 이용하여 계산하는 단계를 포함하여 이루어지는 것을 특징으로 하는 전송 비트율 제어 방법.In this step, when a scene change occurs when encoding a specific picture, the complexity of the B picture at the time when the scene change occurs is calculated using the complexity of the last B picture before the past reference picture. Control method. 제 1 항에 있어서, The method of claim 1, 특정 픽처의 인코딩시 장면 전환의 발생 여부는 인코딩된 픽쳐의 복잡도를 이용하여 판단하는 것을 특징으로 하는 전송 비트율 제어 방법.And determining whether a scene change occurs when encoding a specific picture using the complexity of the encoded picture. 제 1 항에 있어서, The method of claim 1, B 픽쳐와 P 픽처 사이에서 장면 전환이 발생한 경우 When a transition occurs between the B picture and the P picture 상기 P 픽처의 복잡도는 이전 P 픽처의 복잡도를 이용하여 계산하고,The complexity of the P picture is calculated using the complexity of the previous P picture, 상기 B 픽쳐의 복잡도는 이전 B 픽쳐 전의 마지막 B 픽처의 복잡도를 이용하여 계산하고, The complexity of the B picture is calculated using the complexity of the last B picture before the previous B picture, 상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도를 이용하여 계산하고,The complexity of the B picture after the P picture is calculated using the complexity of the P picture, 상기 P 픽쳐 이후의 P 픽쳐의 복잡도도 상기 P 픽쳐의 복잡도를 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the P picture after the P picture is calculated using the complexity of the P picture. 제 3 항에 있어서, The method of claim 3, wherein 상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도의 1/4배의 값을 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the B picture after the P picture is calculated using a value that is 1/4 of the complexity of the P picture. 제 3 항에 있어서, The method of claim 3, wherein 상기 P 픽쳐 이후의 P 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도의 1/2.5배의 값을 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the P picture after the P picture is calculated using a value 1 / 2.5 times the complexity of the P picture. 제 3 항에 있어서, The method of claim 3, wherein 상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처의 복잡도는 장면 전환 후 처음 인코딩된 P 픽처의 복잡도를 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the first I picture after the scene change occurs is calculated using the complexity of the first encoded P picture after the scene change. 제 1 항에 있어서, The method of claim 1, B 픽쳐와 B 픽처 사이에서 장면 전환이 발생한 경우 When a transition occurs between B picture and B picture 상기 장면 전환전 B 픽쳐의 복잡도는 이전 B 픽처의 복잡도를 이용하여 계산하고,The complexity of the B picture before the scene change is calculated using the complexity of the previous B picture, 상기 장면 전환후 B 픽쳐의 복잡도는 이전 B 픽쳐 전의 마지막 B 픽처의 복잡도를 이용하여 계산하고, The complexity of the B picture after the scene change is calculated using the complexity of the last B picture before the previous B picture, 상기 장면 전환 후 P 픽쳐의 복잡도는 이전 P 픽처의 복잡도를 이용하여 계산하고,The complexity of the P picture after the scene change is calculated using the complexity of the previous P picture, 상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도를 이용하여 계산하고,The complexity of the B picture after the P picture is calculated using the complexity of the P picture, 상기 P 픽쳐 이후의 P 픽쳐의 복잡도도 상기 P 픽쳐의 복잡도를 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the P picture after the P picture is calculated using the complexity of the P picture. 제 7 항에 있어서, The method of claim 7, wherein 상기 P 픽쳐 이후의 B 픽쳐의 복잡도는 상기 P 픽쳐의 복잡도의 1/4배의 값을 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the B picture after the P picture is calculated using a value that is 1/4 of the complexity of the P picture. 제 7 항에 있어서, The method of claim 7, wherein 상기 장면 전환이 발생하고 나서 오는 첫 번째 I 픽처의 복잡도는 장면 전환 후 처음 인코딩된 P 픽처의 복잡도를 이용하여 계산하는 것을 특징으로 하는 전송 비트율 제어 방법.The complexity of the first I picture after the scene change occurs is calculated using the complexity of the first encoded P picture after the scene change.
KR1020040004150A 2004-01-20 2004-01-20 Method for controlling transmission bit-rate KR20050076245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040004150A KR20050076245A (en) 2004-01-20 2004-01-20 Method for controlling transmission bit-rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040004150A KR20050076245A (en) 2004-01-20 2004-01-20 Method for controlling transmission bit-rate

Publications (1)

Publication Number Publication Date
KR20050076245A true KR20050076245A (en) 2005-07-26

Family

ID=37264193

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040004150A KR20050076245A (en) 2004-01-20 2004-01-20 Method for controlling transmission bit-rate

Country Status (1)

Country Link
KR (1) KR20050076245A (en)

Similar Documents

Publication Publication Date Title
US5686964A (en) Bit rate control mechanism for digital image and video data compression
US6823008B2 (en) Video bitrate control method and device for digital video recording
EP0883963B1 (en) Dynamic coding rate control in a block-based video coding system
EP1063851B1 (en) Apparatus and method of encoding moving picture signal
US6141380A (en) Frame-level rate control for video compression
US7903732B2 (en) Method and apparatus for encoding a moving-picture signal by calculating the complexity of the moving-picture signal
EP1086593B1 (en) Sequence adaptive bit allocation for pictures encoding
JPH07184196A (en) Picture coder
US20120002724A1 (en) Encoding device and method and multimedia apparatus including the encoding device
JP2004274236A (en) Encoding apparatus, encoding method, program, and recording medium
KR20040076034A (en) Method and apparatus for encoding video signal with variable bit rate
JPH08102938A (en) Image coder
JP2006295535A (en) Dynamic image coding apparatus, and method
JP4362795B2 (en) Video encoding apparatus and method
US8792562B2 (en) Moving image encoding apparatus and method for controlling the same
KR20010030362A (en) Apparatus and method for encoding
JP2004328150A (en) Moving picture coding apparatus and method
KR20070034869A (en) Apparatus and method for controlling bit rate of video encoder
JP3858520B2 (en) Video encoding apparatus and method
JP2000358247A (en) Rate controller, rate control method and coder
JP3812269B2 (en) Video encoding apparatus and method
JP2001238215A (en) Moving picture coding apparatus and its method
KR20050076245A (en) Method for controlling transmission bit-rate
KR100480698B1 (en) MPEG encoding method
KR0123243B1 (en) Bit rate control method in a scene conversion

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination