KR101647072B1 - Apparatus for Encoding, Driving Method and Encoding Method Thereof - Google Patents
Apparatus for Encoding, Driving Method and Encoding Method Thereof Download PDFInfo
- Publication number
- KR101647072B1 KR101647072B1 KR1020100017456A KR20100017456A KR101647072B1 KR 101647072 B1 KR101647072 B1 KR 101647072B1 KR 1020100017456 A KR1020100017456 A KR 1020100017456A KR 20100017456 A KR20100017456 A KR 20100017456A KR 101647072 B1 KR101647072 B1 KR 101647072B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- bit rate
- encoding
- input image
- image
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/152—Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/15—Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
Abstract
An embodiment of the present invention relates to an encoding apparatus, a driving method thereof, and a coding method. An encoding apparatus according to an embodiment of the present invention includes an image analyzer for receiving and analyzing an input image and outputting the input image and analysis information; An input image and analysis information buffer for storing the input image and the analysis information and providing the stored input image and the analysis information in different paths; A database unit receiving the information related to the output amount of the output bitstream and / or the analysis information, and selecting and providing encoding related prediction information according to the output amount related information of the bitstream and the analysis information; A bit rate controller for generating bit rate allocation information for allocating a bit rate of the input image using the analysis information, the encoding related prediction information, and the output status information of the output bitstream; And an encoding unit for encoding the input image using the encoding related prediction information, the bit rate allocation information, and the output state information of the bitstream, and outputting the encoded information, ; And an output state information buffer for receiving and storing the output state information of the bitstream and providing the output state information to the bitrate controller and / or the encoding unit.
Description
An embodiment of the present invention relates to an encoding apparatus, a driving method thereof, and a coding method. More specifically, it can efficiently use the bit rate by using the image analysis technique and the adaptive control method of the bit rate for a specific interval within a given buffering time, and it is possible to maintain the stable and optimal image quality, The present invention relates to a coding apparatus, a driving method, and a coding method of the coding apparatus.
Digital television is becoming more and more popular because of the integration of various functions together with the realization of high quality. These various functions include information and entertainment such as pay-per-view, electronic program guide, VOD, weather and stock information, and Internet hyperlinks. do.
In digital television, data is communicated to a user via a satellite or cable television network or via a computer network.
However, the television data is transmitted in the form of a compressed bit stream due to the bandwidth limitation of the communication channel, and the bit rate is adjusted while being encoded and multiplexed for transmission. The purpose of this bit rate adjustment is to overcome constraints on the overall bit rate of the multiplexed stream while maintaining a satisfactory video quality for each program.
Thus, various types of statistical multiplexers have been developed that evaluate the statistical information of the source video data to be encoded and accordingly allocate bits to encode different video channels. Such a multiplexer can allocate many bits to a video channel having a vastly changing video, such as, for example, a fast moving scene, while a few bits can be assigned to a channel having a small variation of video, such as a stationary or slow moving scene Can be assigned.
Such a multiplexing system must use a plurality of individual encoders which encode data provided on a plurality of channels on a channel-by-channel basis. Such a system dynamically allocates bits to individual encoders to encode the video data. In addition, the system must distinguish between encoding bit rate assignment and transmission bit rate assignment.
The system must assign a transmission bit rate to each video channel to prevent mismatch between the input and output bits of the decoder buffer. In addition, the system checks the overflow or underflow status of the input data to set the minimum and maximum limits on the transmission bit rate. Here, the minimum and maximum limits should be set based on whether the new transmission bit rate can be realized before the DTS (Decoding Time Stamp) of the current or next frame. The DTS indicates information on the decoding execution time.
In addition, such a system should be suitable for application to various types of video data, including high definition (HD) and standard definition (SD) televisions.
BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a block diagram showing a coding apparatus according to the prior art; FIG.
1, the encoding apparatus according to the related art includes buffer / request
Here, the buffer /
The
The
The
The
The
According to this configuration, the
However, the conventional configuration increases the data processing speed by adjusting the bit rate for each encoder, but does not improve the image quality of the image finally displayed on a television or the like in comparison with the input image provided to the encoder.
Furthermore, it does not satisfy the desire to adaptively select and adjust the output image according to the demands of viewers who prefer different colors, for example, when watching TV.
The embodiment of the present invention applies a bit rate control method and an adaptive database utilization method to a coding apparatus in an image analysis technique, a buffering time interval, and the like, so that a more efficient use of a bit rate and stable and optimal objective and subjective image quality The present invention provides a coding apparatus, a method of driving the same, and a coding method that can be maintained.
An encoding apparatus according to an embodiment of the present invention includes an image analyzer for receiving and analyzing an input image and outputting the input image and analysis information; An input image and analysis information buffer for storing the input image and the analysis information and providing the stored input image and the analysis information in different paths; A database unit receiving the information related to the output amount of the output bitstream and / or the analysis information, and selecting and providing encoding related prediction information according to the output amount related information of the bitstream and the analysis information; A bit rate controller for generating bit rate allocation information for allocating a bit rate of the input image using the analysis information, the encoding related prediction information, and the output status information of the output bitstream; And an encoding unit for encoding the input image using the encoding related prediction information, the bit rate allocation information, and the output state information of the bitstream, and outputting the encoded information, ; And an output state information buffer for receiving and storing the output state information of the bitstream and providing the output state information to the bitrate controller and / or the encoding unit.
According to another aspect of the present invention, there is provided a method of driving an encoding apparatus, the method including receiving and analyzing an input image and outputting the input image and analysis information; Storing the input image and the analysis information, and providing the stored input image and the analysis information in different paths; Receiving information related to the amount of output of the output bitstream and / or the analysis information, and selecting and providing information related to the amount of output of the bitstream and encoding-related prediction information according to the analysis information; Generating bit rate allocation information for allocating a bit rate of the input image using the analysis information, the encoding related prediction information, and the output state information of the output bitstream; Providing the output amount related information and the output state information, encoding the input image using the encoding related prediction information, the bit rate allocation information, and the output state information, and outputting the encoded bit stream; Receiving the output state information and storing the output state information, and providing the output state information when generating the bit rate allocation information and encoding the input image.
According to another aspect of the present invention, there is provided a coding method of an encoding apparatus, including: receiving an image; Receiving bit rate allocation information generated using analysis information on the image and encoding-related prediction information associated with the analysis information; Receiving the encoding related prediction information; Encoding the image using the bit rate allocation information and the encoding related prediction information; Receiving corrected bit rate allocation information generated using bitstream information of an encoded image and the encoding related prediction information associated with information related to an output bit amount of the bitstream; Receiving the bitstream information; And encoding the image using the corrected bit rate allocation information and the bitstream information.
According to an embodiment of the present invention, a plurality of encoders can guarantee a target image quality on the basis of image analysis and adaptive database prediction information for each input image, and calculate a future bit rate usage for an entire encoding target video sequence in a buffering time interval And allocates each bit rate for the current frames to be coded based on the prediction, and each encoder performs coding so that each encoder maintains subjective and objective image quality compared with the case where each encoder operates independently while controlling the bit rate. ~ 40% bit rate reduction effect can be obtained.
In addition, in the method of using the image analysis information, the bit rate correction method using the feedback information in the encoder, and the encoding method using the database information, the subjective bit rate reduction effect and the subjective image quality can be improved.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a conventional encoding apparatus,
2 is a block diagram illustrating a structure of a coding apparatus according to an embodiment of the present invention,
3 is a diagram showing the data structure of the analysis information of FIG. 2,
4 is a diagram illustrating a data structure of input image and analysis information stored in the input image and analysis information buffer unit of FIG. 2,
5 is a flowchart showing an operation procedure of the encoding apparatus shown in FIG.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference numerals as possible, as they can be displayed on different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.
In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected to or connected to the other component, It should be understood that an element may be "connected," "coupled," or "connected."
2 is a block diagram illustrating a structure of an encoding apparatus according to an embodiment of the present invention. FIG. 3 is a diagram illustrating a data structure of the analysis information of FIG. 2. FIG. And the data structure of the stored input image and analysis information.
2 to 4, an encoding apparatus according to an embodiment of the present invention includes an
The
The
As shown in FIG. 3, the analysis information of the image output through the
The input image and analysis
The
Accordingly, the
As a result, the
The
At this time, the bit rate allocation for the current frame is performed together with the bit rate control for the video sequence of the entire specific time interval being buffered. In particular, the bit rate allocation for the current frame is performed by using the image analysis information for the input video sequence of each encoder over the entire buffered specific time interval So that the bit rate distribution for the current input video frame is first performed based on the bit rate usage information for a specific time interval corresponding to the buffering time, It is possible to distribute the bit rate considering the characteristics on the time axis of the input image, that is, the input image in frame units. For example, if it is predicted that the bit rate usage in a specific time interval corresponding to the buffering time will exceed the target bit rate, the current bit rate allocation is minimized in a range where the reference quality can be maintained, The bit rate allocation can be controlled so as to improve the image quality.
The
The
At the same time, the
The
The output
5 is a flowchart showing an operation procedure of the encoding apparatus shown in FIG.
Referring to FIG. 5 together with FIG. 2, the
The
The analysis information and images output from the
The
The
The
The output state information buffer 260 stores the output state information provided by the
As a result, the
Meanwhile, in the encoding apparatus according to the embodiment of the present invention shown in FIG. 2, one of the N encoders may be a master encoder and the remaining encoder may be a slave encoder. At this time, the master encoder holds the bit rate controller and the output state information buffer, collects information necessary for the coding bit rate allocation, and can assign the bit rate to each encoder. On the other hand, the slave encoder may transmit the image analysis information, the adaptive database information, and the output status information to the master encoder to perform the role of receiving the bit rate or obtaining the correction information for the current encoding process.
The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
The terms "include", "comprise", or "have" in the specification do not exclude other components, unless the context clearly indicates otherwise. But should be construed to include other elements. All terms, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. Commonly used terms, such as predefined terms, should be interpreted to be consistent with the contextual meanings of the related art, and are not to be construed as ideal or overly formal, unless expressly defined to the contrary.
The embodiments of the present invention are applicable to an encoder, a driving method thereof, and a coding method thereof. When a plurality of encoders perform encoding based on bit rate information allocated to each input image while assuring a target image quality based on image analysis and adaptive database prediction information, each of the encoders performs subjective and objective It is possible to achieve a bit rate reduction effect of about 30 to 40% while maintaining image quality. In addition, in the method of using the image analysis information, the bit rate correction method using the feedback information in the encoder, and the encoding method using the database information, the subjective bit rate reduction effect and the subjective image quality can be improved.
200: image input unit 210: image analysis unit
220: input image and analysis information buffer 230:
231: Adaptive information database 233: Initialization information section
240: bit rate controller 250:
260: output status information buffer
Claims (8)
A database unit for selecting encoding-related prediction information for each input image using analysis information for each input image;
A bit rate controller for generating bit rate allocation information for allocating a bit rate for each input image using the input image analysis information and the encoding related prediction information;
An encoding unit encoding the image sequence using the encoding related prediction information and the bit rate allocation information and outputting the encoded image sequence; And
And an output state information buffer for providing the bit rate controller with the output bit rate information of the bit stream output from the encoding unit
≪ / RTI &
Wherein the bit rate controller regenerates bit rate allocation information on the basis of information on an output bit rate of the video sequence output from the encoder and provides the bit rate allocation information to the encoder,
Wherein the encoding unit encodes the video sequence using the regenerated bit rate allocation information, and outputs the encoded video sequence.
Wherein the database unit comprises an initialization information unit for initializing analysis information for each input image and the encoding-related prediction information, and for enabling input of new information.
The analysis information for each input image may include information on the complexity of the input image, inter or intra prediction cost information calculated based on a data amount of a difference image indicating a difference between the current image and a previous image, The boundary detection information, the scene change detection information, and the scene change detection information.
The encoding-related prediction information includes at least one of a quantization factor for each encoding block, a weight for each region characteristic, and an encoding mode prediction value, or an output bit rate prediction value when the predicted encoding parameter is used. .
Wherein the analysis information for each input video includes buffering time related information for the video sequence.
Selecting encoding-related prediction information for each input image using analysis information for each input image;
Generating bit rate allocation information for assigning a bit rate to the input image using the input image analysis information and the encoding related prediction information;
Encoding the video sequence using the encoding related prediction information and the bit rate allocation information, and outputting the encoded bitstream;
And generating output bit rate information of the bit stream
≪ / RTI &
Wherein the step of generating the bit rate allocation information regenerates the bit rate allocation information on the basis of the output bit rate information of the bit stream,
Wherein the step of outputting the encoded bit stream comprises encoding the video sequence using the regenerated bit rate allocation information, and outputting the encoded video sequence.
Selecting encoding-related prediction information for each input image using analysis information for each input image;
Generating bit rate allocation information for assigning a bit rate to the input image using the input image analysis information and the encoding related prediction information;
Encoding the video sequence using the bit rate allocation information and the encoding related prediction information, and outputting the encoded bitstream;
Generating output bit rate information of the bit stream;
Regenerating bit rate allocation information on the basis of the output bit rate information of the bit stream; And
Encoding the video sequence using the regenerated bit rate allocation information and the bitstream information,
And encoding the encoded data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100017456A KR101647072B1 (en) | 2010-02-26 | 2010-02-26 | Apparatus for Encoding, Driving Method and Encoding Method Thereof |
PCT/KR2011/001379 WO2011105867A2 (en) | 2010-02-26 | 2011-02-28 | Encoding apparatus, method for driving same, and encoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100017456A KR101647072B1 (en) | 2010-02-26 | 2010-02-26 | Apparatus for Encoding, Driving Method and Encoding Method Thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110098037A KR20110098037A (en) | 2011-09-01 |
KR101647072B1 true KR101647072B1 (en) | 2016-08-09 |
Family
ID=44507471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100017456A KR101647072B1 (en) | 2010-02-26 | 2010-02-26 | Apparatus for Encoding, Driving Method and Encoding Method Thereof |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR101647072B1 (en) |
WO (1) | WO2011105867A2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023017928A1 (en) * | 2021-08-12 | 2023-02-16 | Samsung Electronics Co., Ltd. | Video recording method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100677128B1 (en) | 2004-08-30 | 2007-02-02 | 삼성전자주식회사 | Rate control apparatus and method in video encoder |
KR100708182B1 (en) | 2005-09-26 | 2007-04-16 | 삼성전자주식회사 | Rate control apparatus and method in video encoder |
KR100802180B1 (en) | 2005-12-08 | 2008-02-12 | 한국전자통신연구원 | Method for controlling bit rate of MPEG-4 video signal according to dynamic network variation |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010046145A (en) * | 1999-11-10 | 2001-06-05 | 박종섭 | Method and apparatus for controlling bit rate of a MPEG decoder |
-
2010
- 2010-02-26 KR KR1020100017456A patent/KR101647072B1/en active IP Right Grant
-
2011
- 2011-02-28 WO PCT/KR2011/001379 patent/WO2011105867A2/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100677128B1 (en) | 2004-08-30 | 2007-02-02 | 삼성전자주식회사 | Rate control apparatus and method in video encoder |
KR100708182B1 (en) | 2005-09-26 | 2007-04-16 | 삼성전자주식회사 | Rate control apparatus and method in video encoder |
KR100802180B1 (en) | 2005-12-08 | 2008-02-12 | 한국전자통신연구원 | Method for controlling bit rate of MPEG-4 video signal according to dynamic network variation |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023017928A1 (en) * | 2021-08-12 | 2023-02-16 | Samsung Electronics Co., Ltd. | Video recording method and device |
US11917163B2 (en) | 2021-08-12 | 2024-02-27 | Samsung Electronics Co., Ltd. | ROI-based video coding method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2011105867A3 (en) | 2011-12-08 |
KR20110098037A (en) | 2011-09-01 |
WO2011105867A2 (en) | 2011-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8687114B2 (en) | Video quality adaptation based upon scenery | |
US6038256A (en) | Statistical multiplexed video encoding using pre-encoding a priori statistics and a priori and a posteriori statistics | |
KR19990042668A (en) | Video encoding apparatus and method for multiple video transmission | |
US6643327B1 (en) | Statistical multiplexer and remultiplexer that accommodates changes in structure of group of pictures | |
CA2422131C (en) | Method and apparatus for determining a transmission bit rate in a statistical multiplexer | |
KR101014451B1 (en) | Video on demand server system and method | |
KR19990088475A (en) | Control strategy for dynamically encoding multiple streams of video data in parallel for multiplexing onto a constant bit rate channel | |
US20040090996A1 (en) | Methods and apparatus for statistical multiplexing with distributed multiplexers | |
KR20110124161A (en) | Method and apparatus for transmitting and receiving layered coded video | |
US20100034256A1 (en) | Video frame/encoder structure to increase robustness of video delivery | |
US10412424B2 (en) | Multi-channel variable bit-rate video compression | |
JP2017520940A5 (en) | Method and apparatus for multiplexing layered coded content | |
WO2014182389A1 (en) | Methods and apparatuses including a statistical multiplexer with bitrate smoothing | |
US8532174B2 (en) | Method and apparatus for distributing video program material | |
KR101647072B1 (en) | Apparatus for Encoding, Driving Method and Encoding Method Thereof | |
US20100272170A1 (en) | Image encoding apparatus, image encoding method and medium on which image encoding program is recorded | |
Changuel et al. | Joint encoder and buffer control for statistical multiplexing of multimedia contents | |
US10225211B2 (en) | Statistical multiplexer with service priority weighting | |
EP2643954A1 (en) | Method and device for buffering data for multiplexing | |
JP5592913B2 (en) | Video encoding apparatus, video encoding method, and video encoding program | |
EP2285110A1 (en) | Joint encoder and buffer regulation for statistical multiplexing of multimedia contents | |
JP5391899B2 (en) | Digital signal multiplexing method and digital signal multiplexing apparatus | |
JP2005151096A (en) | Multichannel statistical multiplex system | |
JP4277415B2 (en) | Bit rate control device, bit rate control method, program transmission system, and program transmission method | |
JP2006074332A (en) | Multiplex transmission apparatus and method |
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 |