KR20030063706A - Method for controlling of encoding in a moving picture system - Google Patents

Method for controlling of encoding in a moving picture system Download PDF

Info

Publication number
KR20030063706A
KR20030063706A KR1020020003955A KR20020003955A KR20030063706A KR 20030063706 A KR20030063706 A KR 20030063706A KR 1020020003955 A KR1020020003955 A KR 1020020003955A KR 20020003955 A KR20020003955 A KR 20020003955A KR 20030063706 A KR20030063706 A KR 20030063706A
Authority
KR
South Korea
Prior art keywords
bit rate
gop
average bit
encoding
gop interval
Prior art date
Application number
KR1020020003955A
Other languages
Korean (ko)
Other versions
KR100851251B1 (en
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 KR1020020003955A priority Critical patent/KR100851251B1/en
Publication of KR20030063706A publication Critical patent/KR20030063706A/en
Application granted granted Critical
Publication of KR100851251B1 publication Critical patent/KR100851251B1/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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/114Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames
    • 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/146Data rate or code amount at the encoder output
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/177Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]

Landscapes

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

Abstract

PURPOSE: A method for controlling encoding in a moving picture system is provided to add or subtract a bit rate in real time for the next GOP interval by calculating a VBR and unused bits, thereby improving the compression efficiency. CONSTITUTION: A VBR(Variable Bit Rate), an ABR(Average Bit Rate), and an MBR(Maximum Bit Rate) are set up, and the total number of unused bits is initialized as 0. An A/V encoder module(200) encodes input audio and video data at the MBR(Maximum Bit Rate) for generating an MPEG(Moving Picture Experts Group) GOP(Group Of Picture). It is judged whether the GOP is compressed. The compressed data is stored in a loader engine(230) through a stream control module(220). A microprocessor(210) receives time and the number of bytes of initially generated GOP and calculates a bit rate for the next GOP interval.

Description

동영상 시스템에서의 엔코딩 제어 방법{Method for controlling of encoding in a moving picture system}Method for controlling of encoding in a moving picture system}

본 발명은 동영상 압축 시스템에서의 엔코딩 제어 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to an encoding control method in a moving picture compression system and a computer readable recording medium having recorded thereon a program for realizing the method.

일반적으로, 동영상 데이터를 압축하는데는 관리가 편한 CBR(Contant Bit Rate : 이하 "항등 비트율"이라고 칭함)을 사용하여 비트율을 설정하고, 상기 설정된 비트율에 의하여 입력되는 실시간 오디오 및 비디오 데이터의 평균 비트율을 만족하도록 사용하고 있다.In general, to compress video data, a bit rate is set using a convenient management bit rate (hereinafter referred to as "identity bit rate"), and the average bit rate of real-time audio and video data input by the set bit rate is determined. I use it to be satisfied.

도 1은 일반적인 동영상 압축 시스템에서의 엔코딩 방법에 대한 예시 흐름도이다.1 is an exemplary flowchart of an encoding method in a general video compression system.

도 1에 도시된 바와 같이, 상기 동영상 압축 시스템은 초기화 상태에서 CBR을 설정하고(S10), 사용자의 키 입력을 통해 엔코딩 명령이 입력되면(S11), 입력되는 오디오 및 비디오 데이터를 항등 비트율의 값에 의해 스트림 형태로 엔코딩하여 압축한다(S12).As shown in FIG. 1, the video compression system sets a CBR in an initial state (S10), and when an encoding command is input through a user's key input (S11), the input audio and video data is set to a value of an identity bit rate. Encode in stream form by compression (S12).

이때, 엔코딩되는 스트립 데이터는 GOP(Group Of Picture) 구간 단위로 압축되는데, GOP 구간 단위로 압축이 완료되었는지를 판단한다(S13).In this case, the encoded strip data is compressed in units of GOP sections, and it is determined whether compression is completed in units of GOP sections (S13).

상기 과정(S13)에서 판단한 결과, GOP 구간 단위로 압축이 완료되지 않을 경우에는 계속적으로 압축 완료 상태를 확인하고, GOP 단위로 압축의 완료가 확인되면, 압축 완료된 기록 데이터를 하드디스크 또는 광 스토리지를 포함한 저장 장치에 저장한다(S14). 그리고, 상기 엔코딩 동작이 사용자의 키 입력 신호에 의해 종료되는지를 판단한다(S15).As a result of the determination in step S13, when the compression is not completed in units of GOP sections, the compression completion state is continuously checked. When compression is confirmed in units of GOP units, the compressed data is stored in the hard disk or optical storage. It stores in the storage device included (S14). In operation S15, it is determined whether the encoding operation is terminated by a user's key input signal.

상기 과정(S15)에서 판단한 결과, 입력되는 사용자의 키 입력 신호에 의해 종료될 경우에는 본 루프를 종료하고, 입력되는 사용자의 종료 키 입력 신호가 없을 경우에는 과정(12)으로 복귀하여 입력되는 오디오 및 비디오 데이터를 항등 비트율에 의해 데이터를 압축하며 반복 수행한다.As a result of the determination in the step S15, if it is terminated by the input key input signal of the user, the loop ends, and when there is no input key of the end user input, the process returns to the step 12 and the audio is input. And repeating the video data by compressing the data by the constant bit rate.

그러나, 종래의 오디오 및 비디오 압축에 사용되는 엔코더는 CBR(Constant Bit Rate)을 사용하여 잉여 비트(Redundancy Bit)가 많이 삽입되어, 결과적으로 압축 효율이 떨어짐은 물론 압축된 화질에 영향을 주게 되는 문제점이 있었다.However, the encoder used in the conventional audio and video compression has a lot of redundancy bits inserted using a constant bit rate (CBR), resulting in a decrease in compression efficiency and affect the compressed picture quality. There was this.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위해 안출된 것으로서, 압축 효율을 최대로 하면서 동시에 평균 비트율을 만족하기 위하여 가변 비트율과 미 사용된 비트를 계산하여 다음 GOP 구간에 실시간으로 비트를 가감하여 압축율을 높이기 위한 동영상 압축 시스템에서의 엔코딩 제어 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-described problems, and in order to maximize the compression efficiency and at the same time to satisfy the average bit rate, a variable bit rate and an unused bit are calculated to calculate the bit in the next GOP period in real time. It is an object of the present invention to provide an encoding control method in a moving picture compression system for adding or subtracting a compression rate and a computer readable recording medium storing a program for realizing the method.

도 1은 일반적인 동영상 압축 시스템에서의 엔코딩 방법에 대한 예시 흐름도.1 is an exemplary flowchart of an encoding method in a general video compression system.

도 2는 본 발명이 적용되는 동영상 압축 시스템에 대한 구성 예시도.2 is an exemplary configuration diagram of a video compression system to which the present invention is applied.

도 3은 본 발명에 따른 동영상 시스템에서의 엔코딩 제어 방법에 대한 일실시예 흐름도.3 is a flowchart illustrating an encoding control method in a video system according to the present invention.

도 4는 도 3에 도시된 다음 GOP 구간의 계산 과정에 대한 일실시예 상세 흐름도.4 is a detailed flowchart of an embodiment of a calculation process of a next GOP interval shown in FIG. 3.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

200 : A/V 엔코더 모듈 210 : 마이크로 프로세서200: A / V encoder module 210: microprocessor

220 : 스트림 제어 모듈 230 : 로더 엔진220: stream control module 230: loader engine

240 : A/V 디코더 모듈240: A / V decoder module

상기와 같은 목적을 달성하기 위한 본 발명은, 동영상 압축 시스템에서의 엔코딩 제어 방법에 있어서, 평균 비트율을 최대로 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 1 GOP(Group Of Picture) 구간을 압축하는 제 1 단계; 상기 제 1 GOP 구간의 압축에 사용된 시간과 생성된 비트수를 참조하여 제 2 GOP 구간에 적용될 평균 비트율을 계산하는 제 2 단계; 및 상기 계산된 평균 비트율을 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 2 GOP 구간을 압축하는 제 3 단계를 포함하는 것을 특징으로 한다.According to the present invention for achieving the above object, in the encoding control method in a video compression system, the first GOP (Group Of Picture) section is compressed by encoding the input video and audio data by applying the maximum average bit rate A first step of making; A second step of calculating an average bit rate to be applied to the second GOP interval by referring to the time used for the compression of the first GOP interval and the number of generated bits; And a third step of compressing the second GOP section by encoding the input video and audio data by applying the calculated average bit rate.

한편, 본 발명은, 동영상의 엔코딩을 위해, 프로세서를 구비한 동영상 압축 시스템이 읽을 수 있는 기록매체에, 평균 비트율을 최대로 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 1 GOP 구간을 압축하는 제 1 기능; 상기 제 1 GOP 구간의 압축에 사용된 시간(T(k))과 생성된 비트수(GOP(k)를 참조하여 제 2 GOP 구간에 적용될 평균 비트율을 계산하는 제 2 기능; 및 상기 계산된 평균 비트율을 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 2 GOP 구간을 압축하는 제 3 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention, to encode the video, to compress the first GOP interval by encoding the input video and audio data by applying the maximum average bit rate to a recording medium that can be read by a video compression system having a processor First function; A second function of calculating an average bit rate to be applied to a second GOP interval with reference to the time T (k) used for the compression of the first GOP interval and the number of generated bits GOP (k); and the calculated average A computer-readable recording medium having recorded thereon a program for realizing a third function of compressing a second GOP section by encoding input video and audio data by applying a bit rate.

이하, 본 발명에 따른 동영상 압축 시스템에서의 엔코딩 제어 방법에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of an encoding control method in a video compression system according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명이 적용되는 동영상 압축 시스템에 대한 구성 예시도이다.2 is an exemplary configuration diagram of a video compression system to which the present invention is applied.

도 2에 도시된 바와 같이, 상기 동영상 압축 시스템은, A/V 엔코더 모듈(200), 마이크로 프로세서(210), 스트림 제어 모듈(220), 로더 엔진(230) 및 A/V 디코더 모듈(240)을 포함한다.As shown in FIG. 2, the video compression system includes an A / V encoder module 200, a microprocessor 210, a stream control module 220, a loader engine 230, and an A / V decoder module 240. It includes.

상기 A/V 엔코더 모듈(200)은 입력되는 오디오 및 비디오 데이터를 마이크로 프로세서의 제어에 의해 최대 비트율(Max Bit Rate)로 엔코딩하며, 상기 엔코딩에 의해 MPEG GOP(Group Of Picture)을 생성한다.The A / V encoder module 200 encodes input audio and video data at a maximum bit rate under the control of a microprocessor, and generates an MPEG group of picture (GOP) by the encoding.

상기 마이크로 프로세서(210)는 레코딩 시작 명령에 의해 가변 비트율(VBR : Variable Bit Rate), 평균 비트율(ABR : Average Bit Rate) 및 최대 비트율(MBR : Max Bit Rate)을 설정하고, 미 사용된 총 비트수를 제로로 한다.The microprocessor 210 sets a variable bit rate (VBR), an average bit rate (ABR), and a maximum bit rate (MBR) according to a recording start command, and total unused bits. Zero the number.

이후, 상기 A/V 엔코더 모듈(200)로 실시간으로 입력되는 오디오 및 비디오 데이터의 엔코딩 동작을 설정된 비트율에 따라 제어를 수행하는데, 즉, 최초 사용자가 의도하는 평균 비트율을 최대 비트율로 하여 이를 입력되는 데이터에 적용한다.Subsequently, the A / V encoder module 200 controls the encoding operation of the audio and video data input in real time according to a set bit rate, that is, the average bit rate intended by the first user is input as the maximum bit rate. Applies to the data.

그리고, 상기 마이크로 프로세서(210)는 A/V 엔코더 모듈(200)로부터 초기 생성된 GOP에 대한 시간(T(k)) 및 GOP에 대한 바이트 수(GOP(k))를 제공받고, 다음 GOP 구간의 비트율을 계산한다.The microprocessor 210 receives the time T (k) for the GOP and the number of bytes GOP (k) for the GOP generated from the A / V encoder module 200 and the next GOP interval. Calculate the bit rate.

따라서, 다음 GOP구간은 최초의 최대 비트율이 아닌 계산된 비트율에 의해 엔코딩이 수행된다.Therefore, the next GOP section is encoded by the calculated bit rate rather than the first maximum bit rate.

즉, 먼저, 초기에 의도했던 평균 비트율에 비하여 실제 사용된 비트수(GOP(k))의 양을 확인하여, 현재 구간에서 미 사용된 비트수(Delta(k))를 구한다. 그리고, 상기 구한 미 사용된 비트수를 실제 경과 시간(T(k))으로 나눈 값에 평균 비트율(AVR)을 더하여 최종적으로 다음 GOP 구간의 비트율을 구할 수 있다.That is, first, the amount of bits actually used (GOP (k)) is compared to the originally intended average bit rate, and the number of unused bits Delta (k) is obtained in the current section. The bit rate of the next GOP interval may be finally obtained by adding the average bit rate AVR to a value obtained by dividing the obtained number of unused bits by the actual elapsed time T (k).

따라서, A/V 엔코더 모듈(200)은 조정된 최대 압축 비트율에 의해 입력되는 오디오 및 비디오 데이터를 엔코딩하여 이를 압축 스트림 1으로 스트림 제어 모듈(220)을 통하여 로더 엔진(230)에 저장된다. 여기서, 상기 로더 엔진(230)은 HDD(Hadr Disk Drive) 및 광 스토리지를 의미하고, 상기 스트림 제어 모듈()에 의해 읽기 및 쓰기가 가능하다.Accordingly, the A / V encoder module 200 encodes the audio and video data input by the adjusted maximum compression bit rate and stores it as the compressed stream 1 through the stream control module 220 in the loader engine 230. Here, the loader engine 230 refers to a hard disk drive (HDD) and an optical storage, and can be read and written by the stream control module ().

따라서, 상기 스트림 제어 모듈(220)은 재생시에는 로더 엔진(230)에 최대 압축율로 기록된 스트림을 읽어내어 A/V 디코더 모듈(240)을 통하여 디코딩하여 출력한다.Accordingly, the stream control module 220 reads out the stream recorded at the maximum compression ratio to the loader engine 230 during decoding, and decodes the output stream through the A / V decoder module 240.

도 3은 본 발명에 따른 동영상 압축 시스템에서의 엔코딩 제어 방법에 대한 일실시예 흐름도이다.3 is a flowchart illustrating an encoding control method in a video compression system according to the present invention.

도 3에 도시된 바와 같이, 동영상 압축 및 재생 시스템에서는 먼저 가변 비트율(VBR), 평균 비트율(ABR) 및 최대 비트율(MBR)의 설정과 함께 미 사용된 총 비트수를 제로로 초기화 한다(S30). 여기서, 상기 평균 비트율을 최대 비트율로 한다.As shown in FIG. 3, the video compression and reproduction system first initializes the total number of unused bits to zero with the setting of the variable bit rate (VBR), the average bit rate (ABR), and the maximum bit rate (MBR) (S30). . Here, the average bit rate is the maximum bit rate.

그리고, 사용자의 엔코딩 명령에 의해 입력되는 오디오 및 비디오 데이터를 평균 비트율(최대 비트율)로 엔코딩을 수행하여 GOP를 생성한다(S31,S32).In addition, the GOP is generated by encoding the audio and video data input by the user's encoding command at an average bit rate (maximum bit rate) (S31 and S32).

이때, GOP의 압축이 완료되었는지를 판단하여(S33), 상기 과정(S33)에서 판단한 결과, 최초 설정된 평균 비트율에 의해 GOP가 압축되었을 경우에는 압축 완료된 데이터를 스트림 제어 모듈을 통해 저장 수단에 저장한다(S34).At this time, it is determined whether the compression of the GOP is completed (S33), and as a result of the determination in step S33, when the GOP is compressed by the initially set average bit rate, the compressed data is stored in the storage means through the stream control module. (S34).

이후, 평균 비트율을 만족하기 위한 가변 비트율과 미 사용된 비트를 계산하여 다음 구간의 비트율을 가감 적용하여 다음 GOP 구간에 적용하고(S36), 엔코딩 종료를 수행하는지를 판단한다(S37).Subsequently, the variable bit rate to satisfy the average bit rate and unused bits are calculated to apply the bit rate of the next section to the next GOP section (S36), and it is determined whether to end the encoding (S37).

여기서, 상기 가감된 다음 GOP 구간의 비트율은 최초 주어진 최대 비트율과의 비교를 통해 정해지고, 이때 정해진 비트율이 다음 GOP 구간에 적용되는 평균 비트율이 된다.Here, the bit rate of the next subtracted GOP interval is determined by comparing with the maximum bit rate initially given, and the determined bit rate becomes an average bit rate applied to the next GOP interval.

따라서, 상기 과정(S37)에서 판단한 결과, 엔코딩이 종료되지 않을 경우에는 과정(S32)으로 복귀하여 다음 GOP 구간에 적용되는 평균 비트율에 의해 스트림 형태로 데이터를 엔코딩하며 루프를 반복 수행한다.Therefore, as a result of the determination in the step S37, when the encoding is not finished, the process returns to the step S32 and encodes the data in the form of a stream by the average bit rate applied to the next GOP section and repeats the loop.

도 4는 도 3에 도시된 다음 GOP 구간의 계산 과정에 대한 일실시예 상세 흐름도이다.FIG. 4 is a detailed flowchart illustrating an example of calculating a next GOP interval shown in FIG. 3.

도 4에 도시된 바와 같이, 먼저, 다음 구간의 비트율을 계산하기 앞서 변수를 설정한다.As shown in FIG. 4, first, a variable is set before calculating the bit rate of the next section.

즉, GOP 실제 사용 비트를 GOP(k)로, K 번째 GOP 구간의 사용 시간을 T(k), K 구간에 적용되는 비트율을 TVR(k), K 구간의 미사용 된 비트수를 Delta(k)로, 미 시용된 총 비트수를 T_delta로 정의한다(S41).That is, the GOP actual use bit is GOP (k), the usage time of the Kth GOP section is T (k), the bit rate applied to the K section is TVR (k), and the number of unused bits of the K section is Delta (k). For example, the total number of unused bits is defined as T_delta (S41).

그리고, 상기 정의된 변수에 의해 K 구간의 미 사용된 비트수(Delta(k))를 먼저 구한다. 이때, K 구간의 미 사용된 비트수(Delta(k))는 평균 비트율(AVR)과 K 번째의 GOP 구간의 사용시간(T(k))을 곱하여, 상기 곱한 결과값에 GOP 실제 사용 비트수를 빼어서 구한다(S42).Then, the unused number of bits (Delta (k)) of the K section is first determined by the defined variable. In this case, the number of unused bits (Delta (k)) of the K section is multiplied by the average bit rate (AVR) and the usage time (T (k)) of the Kth GOP section, and the multiplied result is the number of GOP actual use bits. Obtain by subtracting (S42).

그리고, 미 사용된 총 비트수(Delta(k))를 구하고자 현재 미 사용된 총 비트수에 K구간의 미 사용된 비트수를 구한다(S43). 이때, 최초 미 사용된 총 비트수는 제로이므로, 결국 K구간의 미 사용된 비트수와 미 사용된 총 비트수는 동일하게 된다.In order to obtain the total number of unused bits (Delta (k)), the number of unused bits of the K section is obtained from the total number of unused bits (S43). At this time, since the total number of first unused bits is zero, the number of unused bits and the number of unused bits of the K section are the same.

그리고, 상기 과정(S43)에서 구한 미 사용된 총 비트수를 k번째 GOP 구간의 사용 시간으로 나누고, 상기 나누어 발생된 결과값에 평균 비트율을 더하여 임시 버퍼에 그 값을 저장한다(S44).The total number of unused bits obtained in the step S43 is divided by the usage time of the k-th GOP interval, and the average bit rate is added to the divided result value to store the value in the temporary buffer (S44).

이때, 상기 임시 버퍼에 저장된 값이 최대 비트율보다 큰지를 판단하는데(S45), 상기 과정(S45)에서 판단한 결과, 임시 버퍼에 저장된 값이 최대 비트율보다 클 경우에는 다음 GOP 구간의 비트율을 최초 설정한 최대 비트율로 적용하고(S46), 엔코딩 종료 여부를 판단하는 과정(S37)으로 진행한다.At this time, it is determined whether the value stored in the temporary buffer is greater than the maximum bit rate (S45). If the value stored in the temporary buffer is greater than the maximum bit rate as a result of the determination in step S45, the bit rate of the next GOP section is initially set. The application proceeds at the maximum bit rate (S46) and determines whether to end encoding (S37).

한편, 상기 과정(S45)에서 판단한 결과, 임시 버퍼에 저장된 값이 최대 비트율보다 크지 않을 경우에는 현재 임시 버퍼에 저장된 값을 다음 GOP 구간의 비트율로 적용하고(S47), 엔코딩 종료 여부를 판단하는 과정(S37)으로 진행한다.On the other hand, as a result of the determination in step S45, if the value stored in the temporary buffer is not greater than the maximum bit rate, the process of applying the value stored in the current temporary buffer as the bit rate of the next GOP interval (S47) and determining whether to end encoding Proceed to S37.

여기서, 상기 동작에서는 GOP 구간 단위로 비트율을 계산하고 있으나, 보다 바람직하게는 N(N은 자연수)개의 GOP 구간(GOP(k), GOP(k+1),....GOP(k+10))단위로도 계산할 수 있도록 함이 바람직하다.In the above operation, the bit rate is calculated in units of GOP intervals, but more preferably, N (N is a natural number) GOP intervals (GOP (k), GOP (k + 1),... GOP (k + 10) It is desirable to be able to calculate the unit.

상기와 같이 이루어지는 동영상 압축 시스템에서의 엔코딩 제어 방법은, GOP 단위로 체크를 하여 GOP당 사용된 시간과 비트수를 계산하여 다음 GOP 구간에서 사용 가능한 최대 비트율을 산출함으로서, 압축 효율을 상승시킬 수 있는 유용한 발명이다.In the encoding control method of the video compression system as described above, the compression efficiency can be increased by calculating the maximum bit rate that can be used in the next GOP section by calculating the time and the number of bits used per GOP by checking in units of GOP. It is a useful invention.

Claims (4)

동영상 압축 시스템에서의 엔코딩 제어 방법에 있어서,In the encoding control method in a video compression system, 평균 비트율을 최대로 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 1 GOP(Group Of Picture) 구간을 압축하는 제 1 단계;A first step of compressing a first group of picture (GOP) section by encoding input video and audio data by applying an average bit rate to a maximum; 상기 제 1 GOP 구간의 압축에 사용된 시간과 생성된 비트수를 참조하여 제 2 GOP 구간에 적용될 평균 비트율을 계산하는 제 2 단계; 및A second step of calculating an average bit rate to be applied to the second GOP interval by referring to the time used for the compression of the first GOP interval and the number of generated bits; And 상기 계산된 평균 비트율을 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 2 GOP 구간을 압축하는 제 3 단계A third step of compressing the second GOP interval by encoding the input video and audio data by applying the calculated average bit rate; 를 포함하는 동영상 압축 시스템에서 엔코딩 제어 방법.Encoding control method in a video compression system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 평균 비트율에 제 1 GOP 구간의 사용 시간을 곱한 값에 제 1 GOP 구간에서의 실제 사용 비트를 차감하여 제 1 GOP 구간에서 미 사용된 비트수 및 미 사용된 총 비트수를 계산하는 제 4 단계;A fourth step of calculating the number of unused bits and the total number of unused bits in the first GOP interval by subtracting the actual use bits in the first GOP interval by the average bit rate multiplied by the usage time of the first GOP interval; 상기 제 4 단계에서 계산된 미 사용된 총 비트수를 제 1 GOP 구간으 사용 시간으로 나누고, 상기 나눈 값에 평균 비트율을 합쳐 임시 저장하는 제 5 단계;A fifth step of dividing the total number of unused bits calculated in the fourth step by the use time in the first GOP interval, and temporarily storing the divided bit values by adding the average bit rate; 상기 임시 저장된 비트율 값과 상기 제 1 단계에서 설정된 평균 비트율의 크기를 확인하는 제 6 단계;A sixth step of checking the temporarily stored bit rate value and the magnitude of the average bit rate set in the first step; 상기 임시 저장된 비트율이 상기 제 1 단계에서 설정된 평균 비트율보다 클 경우 제 1 단계에서 설정된 평균 비트율을 다음 GOP 구간의 평균 비트율로 적용하는 제 7 단계; 및A seventh step of applying the average bit rate set in the first step as the average bit rate of the next GOP interval when the temporarily stored bit rate is larger than the average bit rate set in the first step; And 상기 임시 저장된 비트율이 상기 제 1 단계에서 설정된 평균 비트율보다 작을 경우 임시 저장된 비트율을 다음 GOP 구간의 평균 비트율로 적용하는 제 8 단계An eighth step of applying the temporarily stored bit rate as the average bit rate of the next GOP interval when the temporarily stored bit rate is smaller than the average bit rate set in the first step; 를 포함하는 동영상 압축 시스템에서 엔코딩 제어 방법.Encoding control method in a video compression system comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 다음 구간의 비트율 계산은,Bit rate calculation of the next section, 적어도 하나의 GOP 구간 단위인 것을 특징으로 하는 동영상 압축 시스템에서 엔코딩 제어 방법.Encoding control method in a video compression system, characterized in that the unit of at least one GOP interval. 동영상의 엔코딩을 위해, 프로세서를 구비한 동영상 압축 시스템에,In order to encode a video, a video compression system with a processor, 평균 비트율을 최대로 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 1 GOP 구간을 압축하는 제 1 기능;A first function of compressing a first GOP interval by encoding input video and audio data by applying an average bit rate to a maximum; 상기 제 1 GOP 구간에 사용된 시간(T(k))과 생성된 비트수(GOP(k)를 참조하여 제 2 GOP 구간에 적용될 평균 비트율을 계산하는 제 2 기능; 및A second function of calculating an average bit rate to be applied to a second GOP interval by referring to the time T (k) used in the first GOP interval and the number of generated bits GOP (k); and 상기 계산된 평균 비트율을 적용하여 입력되는 비디오 및 오디오 데이터를 엔코딩하여 제 2 GOP 구간을 압축하는 제 3 기능A third function of compressing the second GOP interval by encoding the input video and audio data by applying the calculated average bit rate 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020020003955A 2002-01-23 2002-01-23 Apparatus and method for controlling of encoding in a moving picture system KR100851251B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020003955A KR100851251B1 (en) 2002-01-23 2002-01-23 Apparatus and method for controlling of encoding in a moving picture system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020003955A KR100851251B1 (en) 2002-01-23 2002-01-23 Apparatus and method for controlling of encoding in a moving picture system

Publications (2)

Publication Number Publication Date
KR20030063706A true KR20030063706A (en) 2003-07-31
KR100851251B1 KR100851251B1 (en) 2008-08-08

Family

ID=32219065

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020003955A KR100851251B1 (en) 2002-01-23 2002-01-23 Apparatus and method for controlling of encoding in a moving picture system

Country Status (1)

Country Link
KR (1) KR100851251B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100837410B1 (en) * 2006-11-30 2008-06-12 삼성전자주식회사 Method and apparatus for visually lossless image data compression
WO2014146055A3 (en) * 2013-03-15 2015-02-26 Ning Lu Encoding of video data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09224245A (en) * 1996-02-19 1997-08-26 Matsushita Electric Ind Co Ltd Video signal coder
US6167084A (en) 1998-08-27 2000-12-26 Motorola, Inc. Dynamic bit allocation for statistical multiplexing of compressed and uncompressed digital video signals
EP1118225A1 (en) 1998-10-02 2001-07-25 General Instrument Corporation Method and apparatus for providing rate control in a video encoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100837410B1 (en) * 2006-11-30 2008-06-12 삼성전자주식회사 Method and apparatus for visually lossless image data compression
WO2014146055A3 (en) * 2013-03-15 2015-02-26 Ning Lu Encoding of video data

Also Published As

Publication number Publication date
KR100851251B1 (en) 2008-08-08

Similar Documents

Publication Publication Date Title
US7389237B2 (en) Recording and reproducing apparatus for use with optical recording medium having real-time, losslessly encoded data
KR100834322B1 (en) Image encoding apparatus, picture encoding method and image editing apparatus
US6697567B1 (en) Dynamic image encoding apparatus
US8260122B2 (en) MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
JP3305999B2 (en) Image compression stream editing apparatus and method
JP2001189940A (en) Video data formatting device and video data storage device
KR20060050664A (en) Information processing apparatus and information processing method, recording medium, and program
US20060044163A1 (en) Image reproduction apparatus, control method thereof, program and storage medium
KR100851251B1 (en) Apparatus and method for controlling of encoding in a moving picture system
EP0881839A2 (en) Variable bit rate encoder.
JP3066301B2 (en) Recording medium reproducing apparatus, reproducing method, recording method, and recording apparatus
JPH11196410A (en) Method and device for dynamic picture encoding and dynamic picture signal record medium
KR100630645B1 (en) Data recording device, data recording method, and recording control program
US6970642B1 (en) Method and electronic device for decoding compressed image data and auxiliary recording device
JP3312597B2 (en) Variable length coding method
JP3899727B2 (en) Image playback device
KR100214578B1 (en) Real time variable bit rate encoding method and apparatus of image information
JP2002300585A (en) Compression coding apparatus
JPH114444A (en) Image coder and its method
JP4295658B2 (en) Re-encoding device
JP3807776B2 (en) Compressed recorded image playback device
KR100700518B1 (en) Recording space secure method for disc
JPH07327200A (en) Decoder
JP2001094936A (en) Digital recorder
JPH10285592A (en) Image encoding device and method, computer readable recording medium recording program for image encoding control and data preparation device for recording

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee