US20080232469A1 - Rate Control for a Multimedia Compression and Encoding System - Google Patents

Rate Control for a Multimedia Compression and Encoding System Download PDF

Info

Publication number
US20080232469A1
US20080232469A1 US12/045,587 US4558708A US2008232469A1 US 20080232469 A1 US20080232469 A1 US 20080232469A1 US 4558708 A US4558708 A US 4558708A US 2008232469 A1 US2008232469 A1 US 2008232469A1
Authority
US
United States
Prior art keywords
frame
video
video frame
intra
bit
Prior art date
Legal status (The legal status 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 status listed.)
Abandoned
Application number
US12/045,587
Inventor
Xiaochun Nie
Thomas Pun
Roger Kumar
Hsi-Jung Wu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to US12/045,587 priority Critical patent/US20080232469A1/en
Publication of US20080232469A1 publication Critical patent/US20080232469A1/en
Abandoned legal-status Critical Current

Links

Images

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/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • 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/115Selection of the code volume for a coding unit prior to coding
    • 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/146Data rate or code amount at the encoder output
    • H04N19/149Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
    • 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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/172Methods 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 an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Definitions

  • the present invention relates to the field of multi-media compression and encoding systems.
  • the present invention discloses methods and systems for implementing a rate controller that efficiently allocates an available bit budget for multimedia streams to be compressed.
  • Digital based electronic media formats are finally on the cusp of largely replacing all of the older analog electronic media formats.
  • digital compact discs CDs
  • Analog magnetic cassette tapes are becoming increasingly rare and will eventually share the same fate of 8-track tapes.
  • Second and third generation digital audio systems such as digital Mini-discs and W3 (MPEG Audio-layer 3) files are now taking market share away from the first generation digital audio format of compact discs.
  • the video media has been slower to move from analog storage and transmission formats to digital storage and transmission formats than audio.
  • the reason for this slower analog to digital transition is largely due to the massive amounts of digital information required to accurately represent video images in digital form.
  • the massive amounts of information require very high-capacity digital storage systems with high bit-rate outputs and high-bandwidth transmission systems.
  • cost of switching from analog video equipment to digital video equipment is significantly higher than the cost of switching from analog audio equipment to digital audio equipment.
  • VHS and Beta analog storage
  • NTSC and PAL digital storage
  • MPEG digital transmission formats
  • ATSC digital transmission formats
  • the DVD Digital Versatile Disc
  • VCRs Video-Cassette Recorders
  • a new generation of intelligent Personal Video Records (PVRs) such as TiVo and Replay have emerged that take advantage of digital video technology.
  • the antiquated analog NTSC National Television Standards Committee
  • ATSC Advanced Television Standards Committee
  • Computer systems have been using various different digital video storage and transmission formats for a number of years.
  • digital video compression and encoding systems used by computer systems have been the series of digital video encoding systems backed by the Motion Pictures Expert Group, better known as MPEG.
  • the three most well known and widely used digital video encoding systems from MPEG are known simply as MPEG-1, MPEG-2, and MPEG-4.
  • the MPEG-1 format was used by VideoCDs.
  • the MPEG-2 digital video compression and encoding system is used by DVDs and the ATSC digital television system.
  • the MPEG-2 and MPEG-4 standards compress a series of video frames (or fields) and encode the compressed frames (or fields) into a digital stream.
  • the video frames may be compressed as Intra-frames or Inter-frames.
  • An Intra-frame independently defines a complete video frame without any reference to any other information.
  • An Inter-frame defines a video frame with reference to other video frames such as previous video frames or video frames subsequent to the current video frame.
  • an MPEG-2 and MPEG-4 encoder When compressing video frames, an MPEG-2 and MPEG-4 encoder usually implements a ‘rate controller’ that is used to allocate a ‘bit budget’ for each video frame that will be compressed and encoded. Specifically, the bit budget specifies the number of bits that have been allocated to encode the video frame.
  • the rate controller attempts generate the highest quality compressed video stream without overflowing buffers (sending more video frame information than can be stored in the target device's buffers) or underflowing buffers (not sending frames fast enough such that the decoder runs out of video frames to display).
  • a digital video encoder should have a rate controller that makes very wise decisions on how to allocate the available bandwidth.
  • the present invention introduces several different methods and systems for implementing a rate controller for a digital video encoder.
  • a rate controller for allocating a bit budget for video frames to be encoded is disclosed.
  • the rate controller of the present invention considers many different factors when determining the frame bit budget including: desired video quality, target bit rate, frame type (intra-frame or inter-frame), frame duration, intra-frame frequency, frame complexity, intra-block frequency within an intra-frame, buffer overflow, buffer underflow, and the encoded video frame quality for a possible second pass.
  • FIG. 1 illustrates a block diagram of a digital video encoder.
  • FIG. 2 a illustrates a temporal conceptual diagram of a video frame.
  • FIG. 2 b illustrates a temporal conceptual diagram of a video frame that takes longer to transmit than it will be displayed.
  • FIG. 2 c illustrates a highly compressed video frame that is transmitted much faster than.
  • FIG. 3A illustrates a conceptual video frame transmission model created from a sequence of right-angled triangular video frame models.
  • FIG. 3B illustrates the video frame transmission model of FIG. 3A wherein a buffer underflow occurs.
  • FIG. 3C illustrates the video frame transmission model of FIG. 3A wherein a buffer overflow occurs.
  • FIG. 4 illustrates the conceptual video frame transmission model of FIG. 3 with a shifting coordinate system.
  • FIG. 5 illustrates a conceptual illustration of a series of encoded video frames having different sizes (in number of bytes) and an average frame size.
  • a method and system for performing rate control in a multi-media compression and encoding system is disclosed.
  • specific nomenclature is set forth to provide a thorough understanding of the present invention.
  • these specific details are not required in order to practice the present invention.
  • the present invention has been described with reference to the MPEG-4 multimedia compression and encoding system.
  • the same techniques can easily be applied to other types of compression and encoding systems that include a rate controller type of function for allocating bandwidth.
  • FIG. 1 illustrates a high-level block diagram of a typical digital video encoder 100 as is well known in the art of digital video.
  • the digital video encoder 100 receives incoming stream of video frames 105 at the left of the block diagram.
  • Each incoming video frame is processed by a Discrete Cosine Transformation (DCT) unit 110 .
  • DCT Discrete Cosine Transformation
  • the frame may be processed independently (an intra-frame) or with reference to information from other frames received from the motion compensation unit 150 (an inter-frame).
  • a Quantizer (Q) unit 120 quantizes the digital video information from the Discrete Cosine Transformation unit 110 .
  • the quantized frame information is then encoded with an entropy encoder (H) unit 180 to produce a final encoded bit stream.
  • an inter-frame encoded video frame is defined with reference to other nearby video frames
  • the digital video encoder 100 needs to create a copy of how each digital video frame will appear within a digital video decoder such that inter-frames may be encoded.
  • the lower portion of the digital video encoder 100 is essentially the same as a digital video decoder unit.
  • an Inverse quantizer (Q ⁇ 1 ) 130 first reverses the quantization of the frame information.
  • an inverse Discrete Cosine Transformation (DCT ⁇ 1 ) unit 140 reverses the Discrete Cosine Transformation of the frame information.
  • the motion compensation unit will use the information, along with the motion vectors, to reconstruct the video frame.
  • the reconstructed video frame may then be used as a reference frame for lie motion estimation of other video frames.
  • the reconstructed video frame may then be used to encode inter-frames that are defined relative to information in the reconstructed video frame.
  • a motion compensation NC) unit 150 and a motion estimation (ME) unit 160 are used to determine motion vectors and generate differential values used to encode inter-frames based upon the reconstructed video frame.
  • a rate controller 190 in a digital video encoder 100 receives information from many different components of the digital video encoder 100 .
  • the rate controller 190 uses the information to allocate a bit budget for each video frame to be encoded.
  • the bit budget should be allocated in a manner that will generate the highest quality digital video bit stream that that complies with a specified set of restrictions.
  • the rate controller 190 attempts generate the highest quality compressed video stream without overflowing buffers of a digital video decoding unit (exceeding the amount of available memory by sending more information than can be stored) or underflowing buffers (not sending frames fast enough such that the digital video decoding unit runs out of video frames to display).
  • a transmission model may be used to model the timing of video frame transmissions and memory buffer occupancy.
  • Rate distortion models are used to select a quantizer value in the Quantizer (Q) unit 120 of a digital video encoder.
  • Various different rate distortion models may be used for inter-frame quantizer selection and intra-frame quantizer selection.
  • the rate transmission model simulates digital video transmission across a communication channel (such as a computer network) and buffer occupancy in the digital video decoder of the digital video player.
  • a communication channel such as a computer network
  • the compressed video data is transmitted from a server computer and then through a network with a constant amount of bandwidth.
  • a digital video player has a limited memory buffer to cache digital video information received across the network from the server.
  • the digital video player in the client system can be required to cache certain amount of digital video information before digital video player begins to play the video stream.
  • the digital video player in the client system will not be able to start playing the video until at least all of the information defining the first video frame arrives.
  • the digital video player should not immediately begin playing the video stream even after having received the first video frame. For example, what if the second frame takes longer time to arrive than the intended display duration of the first frame? In such a situation, the memory buffer of the digital video player lacks the needed video information to display the next video frame. This condition is referred to as ‘buffer underflow’ in the digital video player since the player has reached the bottom of the buffered frames available for display.
  • there should be a minimum digital video player buffer occupancy requirement The minimum digital video player buffer occupancy will allow the player to accommodate the fluctuation in frame sizes and network bandwidth limits.
  • a server system may send video frames at a faster rate than the video player will display the video frames such that the sent video frames exceed the physically limited amount of memory buffer space available in the client system of the digital video player.
  • a ‘buffer overflow’ condition occurs.
  • the digital video player may have to discard the digital video frame that was being received when the memory buffer limitation was exceeded since there is no place to store the incoming information.
  • the memory buffer restriction is more critical than in a desktop computer system with a hard drive available as secondary memory.
  • the transmission model conceptually illustrates the transmission and display of a sequence of video frames with reference to the available network bandwidth and digital video player's memory buffer resources.
  • Each digital video frame to be transmitted has two temporal properties: frame display duration and video frame transmission duration. These two temporal properties are very important to the rate controller that must allocate video frame bit budgets in a manner that obtains high quality video yet avoids the problems of memory buffer underflow and memory buffer overflow.
  • FIG. 2 a illustrates a conceptual temporal frame model for a video frame that illustrates the frame display duration and video frame transmission duration properties.
  • the video frame display duration the amount of time to display this particular frame on the digital video player, is represented along the horizontal axis. The longer that the video frame must be displayed, the longer the line along the horizontal axis.
  • the video frame transmission duration the time it takes to transmit the compressed video frame across the communication channel (for example, from a server across a network to player), is represented along the vertical axis.
  • the relation of these two properties (frame display duration and video frame transmission duration) of a frame can be illustrated as a right-angled triangle with the frame display duration along the horizontal access and the video frame transmission duration along the vertical axis. If a video frame has a frame display duration that equals the video frame transmission duration, the triangle will be an isosceles triangle with forty-five degree angles as illustrated in FIG. 2 a.
  • a video frame has a transmission duration that is longer than the frame display duration then the frame triangle will have an angle greater than forty-five degree in the lower left corner as illustrated in FIG. 2 b .
  • An intra-frame a video frame that completely defines the video frame appearance independently without reference to other video frames, typically has a longer transmission time than display time as shown in the video frame representation illustrated in FIG. 2 b.
  • a video frame has a video frame transmission duration that is shorter than the frame display duration then the video frame triangle will have an angle less than forty-five degrees from the lower left corner as illustrated in FIG. 2 c .
  • An efficiently compressed inter-frame a video frame that is defined with reference to information from other temporally proximate video frames, typically has a temporal frame representation as illustrated in FIG. 2 c.
  • a sequence of transmitted frames can be represented by linking together a series of right-angled video frame triangles of the type illustrated in FIGS. 2 a to 2 c .
  • FIG. 3A illustrates a conceptual video frame transmission model created from a sequence of right-angled triangular video frame models.
  • a snaking video frame sequence transmission path is represented.
  • the horizontal axis represents the display time of the series of video frames.
  • the vertical axis represents the transmission time of the series of video frames.
  • the snaking actual video frame sequence transmission path is overlaid on top of a target transmission path that is illustrated as a forty-five degree line.
  • the target transmission path represents a transmission path wherein the high quality video bit stream is achieved by transmitting a series of video frames having a summation of transmission times equal to the summation of the display times of the video frames.
  • the target transmission path is not actually an ideal transmission path since the compression system will compress some frames better than others such that video frames that are easily compressed should be allocated less bits and frames that do not easily should be allocated more bits (and thus have a larger transmission time). However, an ideal transmission path should closely follow the target transmission path or else problems will occur.
  • the digital video player's memory buffer size limitations and minimum player buffer occupancy requirement can also be represented as proportional time quantified values on the transmission model of FIG. 3A .
  • the player buffer size limitation and minimum player buffer occupancy requirement can be illustrated on FIG. 3A .
  • the minimum player buffer occupancy can be interpreted as the digital video player's waiting time along the horizontal axis before the first frame is played in order to prevent buffer underflow. If the digital video player does not wait a needed minimum amount of time along the horizontal access then the digital video player may display all the available video frames such that the digital video player will be forced to wait for the transmission of the next video frame in the video frame sequence.
  • a buffer underflow can also occur if the encoder transmits too many video frames that are large in size (in terms of bytes).
  • the underflow occurs because the small play duration of a few large video frames causes the player to quickly display and remove all the available video frames from the buffer until the player exhausts all the available video frames before receiving subsequent video frames.
  • An example of such a buffer underflow is graphically illustrated in FIG. 3B .
  • a forty-five degree ‘buffer bottom’ line 320 places an upper bound on the allowed transmission path and thus limits the transmission time (and thus size) of a subsequent video frame to be transmitted. By limiting the transmission path cross the buffer bottom line 320 , the digital video player will not become starved for new video frames to display.
  • a buffer alarm line 325 may be used to inform the encoder that it should allocate fewer bits to next few frames in order to prevent the undesirable buffer underflow condition.
  • the digital video player's memory buffer size limitation can be interpreted as the time to fill up the player memory buffer (along the horizontal axis) if no frame information is taken out of the memory buffer. If video frames are not displayed and then subsequently removed from the digital video player's memory buffer at a fast enough rate, the limited memory buffer will overflow with frame information. Thus, a ‘buffer top’ line 350 limits the rate at which the digital encoder will create video frames that have short transmission times but have long display times. If the creation of frames having short transmission times but long display times is not limited, then the memory buffer in the digital video player will overflow as illustrated in FIG. 3C .
  • the origin of the coordinate system coincides with the current buffer position.
  • the horizontal axis represents the video frame display time and the vertical axis represents the video frame transmission time.
  • the origin of the coordinate system will be updated to a new position on the transmission model as illustrated in FIG. 4 .
  • the origin always slides to the right to the end of the previous frame's play duration and is aligned vertically on the forty-five degree angle target transmission path. Since the duration of the next video frame to be encoded is known to the digital video encoder, and the vertical axis always passes the position of the new frame, the updated coordinate system can be determined.
  • FIG. 4 illustrates a series of video frame coordinate systems F 0 , F 1 , F 2 , F 3 and F 4 as updated coordinate systems as time progresses.
  • the goal is to find a vertical position (transmission duration which is proportional to the frame size) of the new video frame so that the position of the next node fulfills the memory buffer restrictions. Specifically, the next node must fall between the buffer top 450 and the buffer bottom 420 limit lines.
  • FIG. 5 illustrates a conceptual illustration of a series of encoded video frames having different sizes (in number of bytes) and an average frame size. Note that the Intra-frames generally use a significantly larger number of bytes than the inter-frames that obtain higher compression rations since such inter-frames reference information in other proximate video frames.
  • the video frame transmission model set forth in the previous section provides a very useful tool that may be used predict the memory buffer condition in a digital video player that would receive and decode the transmitted video stream.
  • a rate controller may use the video frame transmission model to prevent memory buffer overflow or memory buffer underflow in the digital video player.
  • the rate controller should allocate target bit budgets for each video frame in such a manner as to achieve maximum video image quality while satisfying the memory buffer restrictions that prevent memory buffer overflow or memory buffer underflow in the digital video player.
  • the digital video encoder of the with the rate controller system of the present invention also uses the following available information when allocating a bit budget to a video frame to be encoded:
  • the rate controller of the present invention allocates a bit budget for each video frame based on these several different factors.
  • the video quality level is used to place a particular video frame into an arbitrary quality level category.
  • the video quality level represents the number of bits per pixel per frame.
  • the budget of target bits for intra-frames and inter-frames can be different.
  • the ratio of intra-frame size (in bytes) to inter-frame size (in bytes) in lower quality setting is larger than the ratio in a higher quality setting.
  • four different levels of quality settings are used (High, Medium, Low, and Bad) depending on the compression settings from user:
  • qualityHi 1, qualityMd, qualityLo, qualityBad ⁇ ;
  • the rate controller first calculates the number of bits per pixel per frame using the following formula:
  • bitsPerPixPerFrame bitRate/(width*height)*averageFrameDur;
  • the video quality level is determined using threshold values with the following pseudo-code:
  • the MPEG-2 and MPEG-4 compression systems take advantage of the redundancy between most video frames to efficiently compress and encode digital video.
  • These digital video systems work by having periodic Intra-frames (also known as “key frames”) that completely and independently describe a video frame and more common Inter-frames that describe a video frame by referencing redundant information from other temporally proximate frames.
  • intra-frames do not have the luxury of being able to refer to information in other temporally proximate frames, the intra-frames generally require more bytes for digital encoding.
  • bit budget for intra-frames must be significantly larger than the bit budget for inter-frames since intra-frames must contain much more information.
  • the present invention operates using a pair of distinct frame ratios: an intra-frame ratio and an inter-frame ratio.
  • the frame ratios specify a multiple of the average frame size.
  • the default intra-frame and inter-frame target size can be obtained.
  • the rate controller calculates the intra-frame ratio and the inter-frame ratio as follows:
  • the frame size may be determined in a number of bytes (that will be used to encode the video frame) or in a transmission duration (in seconds) which is directly proportional to the frame size in bytes using the transmission rate (in bytes per second).
  • the following code determines a transmission given the frame ratios from the preceding code:
  • the default intra-frame size (in bytes) and inter-frame size (in bytes) may be calculated by multiplying the transmission duration (defaultIntraDur or defaultInterDur) by the transmission rate in bytes per second.
  • the default intra-frame size (in bytes) and inter-frame size (in bytes) is used to determine target bit budgets for intra-frames and inter-frames, respectively. However, these roughly allocated bit budgets may be modified by a number of other factors as will be shown.
  • the incoming video frames may vary in the intended frame display duration.
  • the rate controller of the present invention adapts to varying frame durations. Specifically, the rate controller updates the default target bit budgets for the intra-frames and inter-frames. Using a general heuristic, the longer the display duration of each frame, the more bits should be allocated to the bit budget for that video frame provided that the transmission rate stays within a certain target bit rate.
  • the average frame duration can be calculated by doing weighted average of the duration of a new frame (newDuration) and the historical average frame duration (averageFrameDur).
  • the historical average is given a weight of 80% and the new frame is given a weight of 20%.
  • the weighted average frame duration may be calculated as follows:
  • Very dynamic video sources such as explosions or video with a large number of very fast scene changes will require a larger number of intra-frames since the amount of redundancy between frames is very limited.
  • the rate controller may run out of memory buffer space if the rate controller continues to allocate the same amount of bits to all the intra-frames.
  • the rate controller should reduce bit budget for key frames.
  • a suggested Intra-frame duration (suggestedIntraDur) and a suggested Inter-frame duration (suggestedInterDur) may be calculated by taking the intra-frame frequency into account as follows:
  • each individual inter-frame or intra-frame within the same video sequence may need a different number of bits in order to achieve the same level of visual quality.
  • the mean average difference (MAD) of a video frame is the mean of all the Sum of Absolute Differences (SAD) values for all the individual macroblocks that comprise the video frame.
  • SAD Sum of Absolute Differences
  • an average MAD value may be calculated across the history of a number of video frames.
  • the average MAD (avgMAD) can be calculated by doing weighted average of the MAD of a current frame (curMAD) and the historical average MAD (avgMAD) as follows:
  • targetBitsHint represents how much deviation there is between the current frame and the average frame in terms of bits needed to encode the current frame for a specified visual quality.
  • target bit hint (targetBitsHint) may be calculated as follows:
  • targetBitsHint (curMAD ⁇ avgMAD)/avgMAD;
  • intra-frame cannot refer to information in other video frames
  • the individual macroblocks within an intra-frame may refer to other macroblocks in the same intra-frame.
  • Such macroblocks that refer to other macroblocks in the same frame are referred to as ‘intra-blocks’.
  • Inter-frames may also contain up to certain percentage of intra blocks. Using a general heuristic, the more intra-blocks within an intra-frame, the more bits should be allocated to that frame.
  • One embodiment of the rate controller of the present invention uses the percentage of intra-blocks within a video frame to adjust a target bit hint value (targetBitsHint).
  • targetBitsHint a target bit hint value
  • the adjustment to the target bit hint value is performed as follows:
  • targetBitsHint targetBitsHint+(intraPercentage ⁇ 0.3)*0.3;
  • the encoder must carefully allocate bit budgets to each individual video frame in a manner that avoids memory buffer problems in the digital video player system. This is a ‘hard’ limit such that the rate controller should always stay within the buffer top 450 and the buffer bottom 420 lines of FIG. 4 to prevent memory buffer overflow or memory buffer underflow in the digital video player, respectively.
  • the rate controller detects that the memory buffer condition is getting close to the level of overflow or underflow, the rate controller should make an adjustment of the target size to compensate it.
  • a rate controller may calculate a final bit budget for the next video frame based upon those defined factors.
  • the various different factors are generally not considered equally.
  • the buffer anxiety level defines a very important value that must be taken seriously in order to prevent a buffer overflow.
  • the target bit hint value (targetBitsHint) and the selected quality level (qualityLevel) are merely used to adjust the bit budget.
  • an initial target frame size (or transmission duration) candidate is generated with the following equation which begins with an average intra-frame size or inter-frame size depending on if the frame is an Intra-frame or an inter-frame:
  • the rate controller may have the option to check the quality of the compressed video frame. This may occur if a very fast processing system is used in a real-time encoding application. This may also occur when the digital video encoder is not being used in a real time application. For example, if the video encoder is being used to generate a piece of media that will be duplicated, the encoder may wish to make more than one pass in order to achieve a more optimal result.
  • the digital video encoder may wish to make certain adjustments if the desired quality has not been achieved. For example, if the quality of the encoded video frame is below certain threshold quality value, then the rate controller may choose to increase the bit budget for the video frame and redo the compression in order to improve the quality of that video frame. Furthermore, the digital video encoder may wish to make more aggressive assumptions on the first pass and then adjust to more conservative levels if the aggressive assumptions do not produce an acceptable result.

Abstract

A rate controller for allocating a bit budget for video frames to be encoded is disclosed. The rate controller of the present invention considers many different factors when determining the frame bit budget including: desired video quality, target bit rate, frame type (intra-frame or inter-frame), frame duration, intra-frame frequency, frame complexity, intra-block frequency within an intra-frame, buffer overflow, buffer underflow, and the encoded video frame quality for a possible second pass.

Description

    RELATED APPLICATIONS
  • This application claims the benefit under title 35, United States Code, Section 119(e) of the U.S. provisional application having Ser. No. 60/395,972 that was filed on Jul. 15, 2002.
  • FIELD OF THE INVENTION
  • The present invention relates to the field of multi-media compression and encoding systems. In particular the present invention discloses methods and systems for implementing a rate controller that efficiently allocates an available bit budget for multimedia streams to be compressed.
  • BACKGROUND OF THE INVENTION
  • Digital based electronic media formats are finally on the cusp of largely replacing all of the older analog electronic media formats. In the audio media arena, digital compact discs (CDs) replaced analog vinyl records long ago. Analog magnetic cassette tapes are becoming increasingly rare and will eventually share the same fate of 8-track tapes. Second and third generation digital audio systems such as digital Mini-discs and W3 (MPEG Audio-layer 3) files are now taking market share away from the first generation digital audio format of compact discs.
  • The video media has been slower to move from analog storage and transmission formats to digital storage and transmission formats than audio. The reason for this slower analog to digital transition is largely due to the massive amounts of digital information required to accurately represent video images in digital form. The massive amounts of information require very high-capacity digital storage systems with high bit-rate outputs and high-bandwidth transmission systems. Furthermore, cost of switching from analog video equipment to digital video equipment is significantly higher than the cost of switching from analog audio equipment to digital audio equipment.
  • However, video is now finally rapidly moving from analog storage (VHS and Beta) and analog transmission formats (NTSC and PAL) to digital storage (MPEG) and digital transmission formats (ATSC). The DVD (Digital Versatile Disc), a digital video system, has been one of the fastest selling consumer electronic products in years. DVDs have been rapidly supplanting VHS and Beta Video-Cassette Recorders (VCRs) as the pre-recorded video playback system of choice due their high video quality, very high audio quality, convenience, and extra features. A new generation of intelligent Personal Video Records (PVRs) such as TiVo and Replay have emerged that take advantage of digital video technology. The antiquated analog NTSC (National Television Standards Committee) video transmission system is now being replaced with the digital ATSC (Advanced Television Standards Committee) video transmission system that provides for 5.1 channels of CD-quality digital audio and beautiful high-definition television (HDTV) images.
  • Computer systems have been using various different digital video storage and transmission formats for a number of years. Among the best digital video compression and encoding systems used by computer systems have been the series of digital video encoding systems backed by the Motion Pictures Expert Group, better known as MPEG. The three most well known and widely used digital video encoding systems from MPEG are known simply as MPEG-1, MPEG-2, and MPEG-4. The MPEG-1 format was used by VideoCDs. The MPEG-2 digital video compression and encoding system is used by DVDs and the ATSC digital television system.
  • The MPEG-2 and MPEG-4 standards compress a series of video frames (or fields) and encode the compressed frames (or fields) into a digital stream. The video frames may be compressed as Intra-frames or Inter-frames. An Intra-frame independently defines a complete video frame without any reference to any other information. An Inter-frame defines a video frame with reference to other video frames such as previous video frames or video frames subsequent to the current video frame.
  • When compressing video frames, an MPEG-2 and MPEG-4 encoder usually implements a ‘rate controller’ that is used to allocate a ‘bit budget’ for each video frame that will be compressed and encoded. Specifically, the bit budget specifies the number of bits that have been allocated to encode the video frame. By efficiently allocating a bit budget to each video frame, the rate controller attempts generate the highest quality compressed video stream without overflowing buffers (sending more video frame information than can be stored in the target device's buffers) or underflowing buffers (not sending frames fast enough such that the decoder runs out of video frames to display). Thus, to efficiently compress and encode a digital video stream, a digital video encoder should have a rate controller that makes very wise decisions on how to allocate the available bandwidth. The present invention introduces several different methods and systems for implementing a rate controller for a digital video encoder.
  • SUMMARY OF THE INVENTION
  • A rate controller for allocating a bit budget for video frames to be encoded is disclosed. The rate controller of the present invention considers many different factors when determining the frame bit budget including: desired video quality, target bit rate, frame type (intra-frame or inter-frame), frame duration, intra-frame frequency, frame complexity, intra-block frequency within an intra-frame, buffer overflow, buffer underflow, and the encoded video frame quality for a possible second pass.
  • Other objects, features, and advantages of present invention will be apparent from the company drawings and from the following detailed description.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The objects, features, and advantages of the present invention will be apparent to one skilled in the art, in view of the following detailed description in which:
  • FIG. 1 illustrates a block diagram of a digital video encoder.
  • FIG. 2 a illustrates a temporal conceptual diagram of a video frame.
  • FIG. 2 b illustrates a temporal conceptual diagram of a video frame that takes longer to transmit than it will be displayed.
  • FIG. 2 c illustrates a highly compressed video frame that is transmitted much faster than.
  • FIG. 3A illustrates a conceptual video frame transmission model created from a sequence of right-angled triangular video frame models.
  • FIG. 3B illustrates the video frame transmission model of FIG. 3A wherein a buffer underflow occurs.
  • FIG. 3C illustrates the video frame transmission model of FIG. 3A wherein a buffer overflow occurs.
  • FIG. 4 illustrates the conceptual video frame transmission model of FIG. 3 with a shifting coordinate system.
  • FIG. 5 illustrates a conceptual illustration of a series of encoded video frames having different sizes (in number of bytes) and an average frame size.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • A method and system for performing rate control in a multi-media compression and encoding system is disclosed. In the following description, for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. For example, the present invention has been described with reference to the MPEG-4 multimedia compression and encoding system. However, the same techniques can easily be applied to other types of compression and encoding systems that include a rate controller type of function for allocating bandwidth.
  • Multimedia Compression and Encoding Overview
  • FIG. 1 illustrates a high-level block diagram of a typical digital video encoder 100 as is well known in the art of digital video. The digital video encoder 100 receives incoming stream of video frames 105 at the left of the block diagram. Each incoming video frame is processed by a Discrete Cosine Transformation (DCT) unit 110. The frame may be processed independently (an intra-frame) or with reference to information from other frames received from the motion compensation unit 150 (an inter-frame).
  • Next, a Quantizer (Q) unit 120 quantizes the digital video information from the Discrete Cosine Transformation unit 110. Finally, the quantized frame information is then encoded with an entropy encoder (H) unit 180 to produce a final encoded bit stream.
  • Since an inter-frame encoded video frame is defined with reference to other nearby video frames, the digital video encoder 100 needs to create a copy of how each digital video frame will appear within a digital video decoder such that inter-frames may be encoded. Thus the lower portion of the digital video encoder 100 is essentially the same as a digital video decoder unit. Specifically, an Inverse quantizer (Q−1) 130 first reverses the quantization of the frame information. Next, an inverse Discrete Cosine Transformation (DCT−1) unit 140 reverses the Discrete Cosine Transformation of the frame information. After all the DCT coefficients are reconstructed from iDCT, the motion compensation unit will use the information, along with the motion vectors, to reconstruct the video frame. The reconstructed video frame may then be used as a reference frame for lie motion estimation of other video frames.
  • The reconstructed video frame may then be used to encode inter-frames that are defined relative to information in the reconstructed video frame. Specifically, a motion compensation NC) unit 150 and a motion estimation (ME) unit 160 are used to determine motion vectors and generate differential values used to encode inter-frames based upon the reconstructed video frame.
  • A rate controller 190 in a digital video encoder 100 receives information from many different components of the digital video encoder 100. The rate controller 190 uses the information to allocate a bit budget for each video frame to be encoded. The bit budget should be allocated in a manner that will generate the highest quality digital video bit stream that that complies with a specified set of restrictions. Specifically, the rate controller 190 attempts generate the highest quality compressed video stream without overflowing buffers of a digital video decoding unit (exceeding the amount of available memory by sending more information than can be stored) or underflowing buffers (not sending frames fast enough such that the digital video decoding unit runs out of video frames to display).
  • Models Used for Rate Controller Creation
  • Various different models can be used to illustrate the various problems that must be handled by the rate controller in a digital video encoder such as an MPEG-4 encoder. For example, a transmission model may be used to model the timing of video frame transmissions and memory buffer occupancy. Rate distortion models are used to select a quantizer value in the Quantizer (Q) unit 120 of a digital video encoder. Various different rate distortion models may be used for inter-frame quantizer selection and intra-frame quantizer selection.
  • The rate transmission model simulates digital video transmission across a communication channel (such as a computer network) and buffer occupancy in the digital video decoder of the digital video player. Typically, in a computer system embodiment, the compressed video data is transmitted from a server computer and then through a network with a constant amount of bandwidth. On the client side, a digital video player has a limited memory buffer to cache digital video information received across the network from the server. The digital video player in the client system can be required to cache certain amount of digital video information before digital video player begins to play the video stream.
  • When digital video information is streamed from a server system across a network, the digital video player in the client system will not be able to start playing the video until at least all of the information defining the first video frame arrives. However, the digital video player should not immediately begin playing the video stream even after having received the first video frame. For example, what if the second frame takes longer time to arrive than the intended display duration of the first frame? In such a situation, the memory buffer of the digital video player lacks the needed video information to display the next video frame. This condition is referred to as ‘buffer underflow’ in the digital video player since the player has reached the bottom of the buffered frames available for display. To prevent this situation, there should be a minimum digital video player buffer occupancy requirement. The minimum digital video player buffer occupancy will allow the player to accommodate the fluctuation in frame sizes and network bandwidth limits.
  • On the other hand, a server system may send video frames at a faster rate than the video player will display the video frames such that the sent video frames exceed the physically limited amount of memory buffer space available in the client system of the digital video player. In such a case wherein the amount of the transmitted digital video frame information exceeds the available memory buffers in the digital video player, a ‘buffer overflow’ condition occurs. When such a buffer overflow occurs, the digital video player may have to discard the digital video frame that was being received when the memory buffer limitation was exceeded since there is no place to store the incoming information. For handheld devices with very limited amounts of memory, the memory buffer restriction is more critical than in a desktop computer system with a hard drive available as secondary memory.
  • To conceptually illustrate when such buffer underflow and buffer overflow conditions may occur, a video frame transmission model has been created. The transmission model conceptually illustrates the transmission and display of a sequence of video frames with reference to the available network bandwidth and digital video player's memory buffer resources.
  • Temporal Video Frame Transmission Model
  • Each digital video frame to be transmitted has two temporal properties: frame display duration and video frame transmission duration. These two temporal properties are very important to the rate controller that must allocate video frame bit budgets in a manner that obtains high quality video yet avoids the problems of memory buffer underflow and memory buffer overflow.
  • FIG. 2 a illustrates a conceptual temporal frame model for a video frame that illustrates the frame display duration and video frame transmission duration properties. The video frame display duration, the amount of time to display this particular frame on the digital video player, is represented along the horizontal axis. The longer that the video frame must be displayed, the longer the line along the horizontal axis. The video frame transmission duration, the time it takes to transmit the compressed video frame across the communication channel (for example, from a server across a network to player), is represented along the vertical axis. The length of the video frame transmission duration vertical line is actually generated from two values: the size of a video frame (in bits) and the amount of bandwidth (in bits per second) of the communication channel. Since the size of a frame in bits is allocated by the rate controller and the bandwidth of the communication channel is known, the transmission time of a frame can be determined from the relation: Transmission time=(frame size)/(communication channel bandwidth).
  • As illustrated in FIG. 2 a, the relation of these two properties (frame display duration and video frame transmission duration) of a frame can be illustrated as a right-angled triangle with the frame display duration along the horizontal access and the video frame transmission duration along the vertical axis. If a video frame has a frame display duration that equals the video frame transmission duration, the triangle will be an isosceles triangle with forty-five degree angles as illustrated in FIG. 2 a.
  • If a video frame has a transmission duration that is longer than the frame display duration then the frame triangle will have an angle greater than forty-five degree in the lower left corner as illustrated in FIG. 2 b. An intra-frame, a video frame that completely defines the video frame appearance independently without reference to other video frames, typically has a longer transmission time than display time as shown in the video frame representation illustrated in FIG. 2 b.
  • If a video frame has a video frame transmission duration that is shorter than the frame display duration then the video frame triangle will have an angle less than forty-five degrees from the lower left corner as illustrated in FIG. 2 c. An efficiently compressed inter-frame, a video frame that is defined with reference to information from other temporally proximate video frames, typically has a temporal frame representation as illustrated in FIG. 2 c.
  • The Video Frame Sequence Transmission Model
  • A sequence of transmitted frames can be represented by linking together a series of right-angled video frame triangles of the type illustrated in FIGS. 2 a to 2 c. Specifically, FIG. 3A illustrates a conceptual video frame transmission model created from a sequence of right-angled triangular video frame models.
  • By connecting the right-angled triangular video frame models, a snaking video frame sequence transmission path is represented. The horizontal axis represents the display time of the series of video frames. The vertical axis represents the transmission time of the series of video frames. The snaking actual video frame sequence transmission path is overlaid on top of a target transmission path that is illustrated as a forty-five degree line. The target transmission path represents a transmission path wherein the high quality video bit stream is achieved by transmitting a series of video frames having a summation of transmission times equal to the summation of the display times of the video frames. Thus, the entire available communication channel bandwidth is efficiently used.
  • The target transmission path is not actually an ideal transmission path since the compression system will compress some frames better than others such that video frames that are easily compressed should be allocated less bits and frames that do not easily should be allocated more bits (and thus have a larger transmission time). However, an ideal transmission path should closely follow the target transmission path or else problems will occur.
  • The digital video player's memory buffer size limitations and minimum player buffer occupancy requirement can also be represented as proportional time quantified values on the transmission model of FIG. 3A. Thus, the player buffer size limitation and minimum player buffer occupancy requirement can be illustrated on FIG. 3A.
  • Buffer Underflow
  • The minimum player buffer occupancy can be interpreted as the digital video player's waiting time along the horizontal axis before the first frame is played in order to prevent buffer underflow. If the digital video player does not wait a needed minimum amount of time along the horizontal access then the digital video player may display all the available video frames such that the digital video player will be forced to wait for the transmission of the next video frame in the video frame sequence.
  • A buffer underflow can also occur if the encoder transmits too many video frames that are large in size (in terms of bytes). The underflow occurs because the small play duration of a few large video frames causes the player to quickly display and remove all the available video frames from the buffer until the player exhausts all the available video frames before receiving subsequent video frames. An example of such a buffer underflow is graphically illustrated in FIG. 3B.
  • To prevent this undesirable buffer underflow situation, a forty-five degree ‘buffer bottom’ line 320 places an upper bound on the allowed transmission path and thus limits the transmission time (and thus size) of a subsequent video frame to be transmitted. By limiting the transmission path cross the buffer bottom line 320, the digital video player will not become starved for new video frames to display. A buffer alarm line 325 may be used to inform the encoder that it should allocate fewer bits to next few frames in order to prevent the undesirable buffer underflow condition.
  • Buffer Overflow
  • The digital video player's memory buffer size limitation can be interpreted as the time to fill up the player memory buffer (along the horizontal axis) if no frame information is taken out of the memory buffer. If video frames are not displayed and then subsequently removed from the digital video player's memory buffer at a fast enough rate, the limited memory buffer will overflow with frame information. Thus, a ‘buffer top’ line 350 limits the rate at which the digital encoder will create video frames that have short transmission times but have long display times. If the creation of frames having short transmission times but long display times is not limited, then the memory buffer in the digital video player will overflow as illustrated in FIG. 3C.
  • Starting from the first video frame, the origin of the coordinate system coincides with the current buffer position. The horizontal axis represents the video frame display time and the vertical axis represents the video frame transmission time. After the encoder creates each new video frame, the origin of the coordinate system will be updated to a new position on the transmission model as illustrated in FIG. 4. The origin always slides to the right to the end of the previous frame's play duration and is aligned vertically on the forty-five degree angle target transmission path. Since the duration of the next video frame to be encoded is known to the digital video encoder, and the vertical axis always passes the position of the new frame, the updated coordinate system can be determined. FIG. 4 illustrates a series of video frame coordinate systems F0, F1, F2, F3 and F4 as updated coordinate systems as time progresses. For each new video frame, the goal is to find a vertical position (transmission duration which is proportional to the frame size) of the new video frame so that the position of the next node fulfills the memory buffer restrictions. Specifically, the next node must fall between the buffer top 450 and the buffer bottom 420 limit lines.
  • Overview of a Rate Controller that Considers Multiple Factors
  • As previously set forth, a real transmission path will have a certain amount of deviation about the target transmission path. Normally, the compressed frame sizes vary within a certain range. For example, FIG. 5 illustrates a conceptual illustration of a series of encoded video frames having different sizes (in number of bytes) and an average frame size. Note that the Intra-frames generally use a significantly larger number of bytes than the inter-frames that obtain higher compression rations since such inter-frames reference information in other proximate video frames.
  • The video frame transmission model set forth in the previous section provides a very useful tool that may be used predict the memory buffer condition in a digital video player that would receive and decode the transmitted video stream. Thus, a rate controller may use the video frame transmission model to prevent memory buffer overflow or memory buffer underflow in the digital video player. Specifically, the rate controller should allocate target bit budgets for each video frame in such a manner as to achieve maximum video image quality while satisfying the memory buffer restrictions that prevent memory buffer overflow or memory buffer underflow in the digital video player.
  • The digital video encoder of the with the rate controller system of the present invention also uses the following available information when allocating a bit budget to a video frame to be encoded:
      • A target bit rate in bits per second—The target bit rate is determined from the available bandwidth of the communication channel that will be used such as a computer network connection. The target bit rate may also be dictated by the bit rate offered by a particular storage medium.
      • Video frame display duration of each video frame in seconds—The video frame duration is dependent upon the incoming video stream.
      • The frame type of each frame, inter frame or intra frame—The type of video frame that is created will generally be determined by the motion estimation and motion compensation systems in the digital video encoder. The rate controller will use this selection to help determine the bit budget to be allocated to the video frame.
      • The maximum digital video player memory buffer size (in bytes)—The maximum digital video player buffer size is either known or estimated. If the actual memory buffer size of a digital video player is smaller than the buffer size anticipated by the digital video encoder, then the digital video player will drop video frames when memory buffer overflow occurs.
      • The minimum digital video player buffer occupancy in bytes—The minimum digital video player buffer occupancy is either known or estimated. If the actual buffer occupancy of a digital video player is less than the buffer occupancy anticipated by the digital video encoder, then the digital video player may play video frames for a longer than intended duration as memory buffer underflow occurs. Alternatively, the digital video player may wait idle for the next frame or drop the next frame until it gets any frames that can be played in time.
  • The rate controller of the present invention allocates a bit budget for each video frame based on these several different factors.
  • Video Quality Level
  • The video quality level is used to place a particular video frame into an arbitrary quality level category. The video quality level represents the number of bits per pixel per frame. Under different video quality settings, the budget of target bits for intra-frames and inter-frames can be different. Usually, the ratio of intra-frame size (in bytes) to inter-frame size (in bytes) in lower quality setting is larger than the ratio in a higher quality setting.
  • In one particular embodiment, four different levels of quality settings are used (High, Medium, Low, and Bad) depending on the compression settings from user:
  • enum
    {
      qualityHi = 1,
      qualityMd,
      qualityLo,
      qualityBad
    };
  • To select a video quality level, the rate controller first calculates the number of bits per pixel per frame using the following formula:

  • bitsPerPixPerFrame=bitRate/(width*height)*averageFrameDur;
  • Next, depending on the value of bitsPerPixPerFrame, the video quality level is determined using threshold values with the following pseudo-code:
  • if ( bitsPerPixPerFrame > kBitsPerPixPerFrameHi )
      qualityLevel = qualityHi;
    else if( bitsPerPixPerFrame > kBitsPerPixPerFrameLo &&
        bitsPerPixPerFrame < kBitsPerPixPerFrameHi )
      qualityLevel = qualityMd;
    else if( bitsPerPixPerFrame > kBitsPerPixPerFrameBad &&
        bitsPerPixPerFrame < kBitsPerPixPerFrameLo )
      qualityLevel = qualityLo;
    else
      qualityLevel = qualityBad;
  • Some exceptions may affect the video quality level. In one embodiment, certain exceptions are handled with the following pseudo-code:
  • if( bitRate < 56000 && ( 1 / averageFrameDur ) > 5 &&
      pixNum > 20000 ) qualityLevel = qualityBad;
    if( bitRate < 320000 && ( 1 / averageFrameDur ) > 5 &&
      pixNum > 20000 )
      if( qualityLevel == qualityHi )
        qualityLevel = qualityMd;
    if( bitRate >= 1000000 && ( 1 / averageFrameDur ) <= 35  &&
      pixNum <= 4250000  )
      if( qualityLevel != qualityHi )
        qualityLevel = qualityMd;
    if( bitRate >= 800000 && ( 1 / averageFrameDur ) <= 35  &&
       pixNum <= 4250000  )
      if( qualityLevel != qualityHi &&
      qualityLevel !=qualityMd )
      qualityLevel  = qualityMd;
  • Video Frame Type
  • As previously set forth, the MPEG-2 and MPEG-4 compression systems take advantage of the redundancy between most video frames to efficiently compress and encode digital video. These digital video systems work by having periodic Intra-frames (also known as “key frames”) that completely and independently describe a video frame and more common Inter-frames that describe a video frame by referencing redundant information from other temporally proximate frames.
  • Since the intra-frames do not have the luxury of being able to refer to information in other temporally proximate frames, the intra-frames generally require more bytes for digital encoding. Thus, the bit budget for intra-frames must be significantly larger than the bit budget for inter-frames since intra-frames must contain much more information.
  • The present invention operates using a pair of distinct frame ratios: an intra-frame ratio and an inter-frame ratio. The frame ratios specify a multiple of the average frame size. Depending on the quality level (as described in a previous section), the default intra-frame and inter-frame target size can be obtained. First, the rate controller calculates the intra-frame ratio and the inter-frame ratio as follows:
  • #define kAverageIntraFrameRatioHiQ 3.8
        //in multiple of average frame size
    #define kAverageIntraFrameRatioMdQ 5.0
        //in multiple of average frame size
    #define kAverageIntraFrameRatioLoQ 7.3
        //in multiple of average frame size
    #define kAverageIntraFrameRatioBadQ 10.0
        //in multiple of average frame size
      if( keyRate <= 1 )
      {
      intraFrameRatio = 1;
      interFrameRatio = 1;
    }
    else if( keyRate > 1  )
    {
      if( qualityLevel == qualityHi  )
        intraFrameRatio = kAverageIntraFrameRatioHiQ;
      else if(qualityLevel == qualityMd)
        intraFrameRatio = kAverageIntraFrameRatioMdQ;
      else if(qualityLevel == qualityLo)
        intraFrameRatio = kAverageIntraFrameRatioLoQ;
      else
        intraFrameRatio =kAverageIntraFrameRatioBadQ;
      interFrameRatio= ( keyRate−intraFrameRatio )
              / ( keyRate − 1  );
      if( interFrameRatio < kAverageInterFrameRatioMin )
      {
        interFrameRatio = kAverageInterFrameRatioMin;
        intraFrameRatio = kAverageInterFrameRatioMin
      + ( 1 − kAverageInterFrameRatioMin ) * keyRate;
      }
    }
  • After determining the intra-frame ratio and the inter-frame ratio (relative to the average frame size) then the default intra-frame size and inter-frame size are determined. The frame size may be determined in a number of bytes (that will be used to encode the video frame) or in a transmission duration (in seconds) which is directly proportional to the frame size in bytes using the transmission rate (in bytes per second). The following code determines a transmission given the frame ratios from the preceding code:
  • if( averageFrameDur / minBuffOccupy < 0.3 )
    { //normal case
     defaultIntraDur   = averageFrameDur * intraFrameRatio;
     defaultInterDur   = averageFrameDur * interFrameRatio;
     underFlowPAlarmLevel = minBuffOccupy
      − defaultInterDur * kInterFrameSizeEstimateError
      − curDur;
     underFlowIAlarmLevel = minBuffOccupy
      − defaultIntraDur * kIntraFrameSizeEstimateError
      − curDur;
    }
    else
    {//when frame duration is close to buffer delay size
     defaultIntraDur   = averageFrameDur * 1.0;
     defaultInterDur   = averageFrameDur * 0.5;
     underFlowPAlarmLevel = minBuffOccupency*0.9 − curDur;
     underFlowIAlarmLevel = minBuffOccupency*0.9 − curDur;
    }
    // Set alarm level based on frame type (Intra or inter)
    if( keyFrame ) // if an intra-frame
      underFlowAlarmLevel = underFlowIAlarmLevel
    else
      underFlowAlarmLevel = underFlowPAlarmLevel
  • The default intra-frame size (in bytes) and inter-frame size (in bytes) may be calculated by multiplying the transmission duration (defaultIntraDur or defaultInterDur) by the transmission rate in bytes per second. The default intra-frame size (in bytes) and inter-frame size (in bytes) is used to determine target bit budgets for intra-frames and inter-frames, respectively. However, these roughly allocated bit budgets may be modified by a number of other factors as will be shown.
  • Video Frame Duration
  • The incoming video frames may vary in the intended frame display duration. The rate controller of the present invention adapts to varying frame durations. Specifically, the rate controller updates the default target bit budgets for the intra-frames and inter-frames. Using a general heuristic, the longer the display duration of each frame, the more bits should be allocated to the bit budget for that video frame provided that the transmission rate stays within a certain target bit rate.
  • The average frame duration (averageFrameDur) can be calculated by doing weighted average of the duration of a new frame (newDuration) and the historical average frame duration (averageFrameDur). In one particular embodiment, the historical average is given a weight of 80% and the new frame is given a weight of 20%. Thus, the weighted average frame duration (averageFrameDur) may be calculated as follows:
  • #define kDurWeight 0.8 //Weight assigned to historical avg
    avgFrameDur = avgFrameDur*kDurWeight +
    newDuration*(1 − kDurWeight)
  • Intra-Frame Frequency
  • Very dynamic video sources such as explosions or video with a large number of very fast scene changes will require a larger number of intra-frames since the amount of redundancy between frames is very limited. In such situations where the video encoder requires a large number of intra-frames (also known as key frames) within a short period of time, the rate controller may run out of memory buffer space if the rate controller continues to allocate the same amount of bits to all the intra-frames. Thus, in such high intra-frame rate situations, the rate controller should reduce bit budget for key frames.
  • In one embodiment, where a default Intra-frame duration (defaultIntraDur) and default Inter-frame duration (defaultInterDur) are known, then a suggested Intra-frame duration (suggestedIntraDur) and a suggested Inter-frame duration (suggestedInterDur) may be calculated by taking the intra-frame frequency into account as follows:
  • keyNum = 0;
    //Determine a key frame number
    for( i = kKeyFrameHistoryNum; i−−; )
      if( keyFrameHistory[ i − 1 ] == 1 ) keyNum++;
    if( keyNum <= 0 )
     { // Use defaults if too few key frames
      curKeyRate = keyRate;
      suggestedIntraDur = defaultIntraDur;
      suggestedInterDur = defaultInterDur;
     }
    else
     {
      newIntraFrameRatio = intraFrameRatio;
      curKeyRate = kKeyFrameHistoryNum / keyNum;
      if( curKeyRate > keyRate ) curKeyRate = keyRate;
      newInterFrameRatio = (curKeyRate − intraFrameRatio )
              / ( curKeyRate − 1 );
      if(newInterFrameRatio < kAverageInterFrameRatioMin)
     {
      newInterFrameRatio = kAverageInterFrameRatioMin;
      newIntraFrameRatio = kAverageInterFrameRatioMin +
       (1 − kAverageInterFrameRatioMin ) * curKeyRate;
     }
      suggestedIntraDur=averageFrameDur * newIntraFrameRatio;
      suggestedInterDur=averageFrameDur * newInterFrameRatio;
     }
  • Video Frame Complexity
  • The content of different video sequences can vary significantly. However, even a series of video frames within the same video sequence can vary quite significantly within that sequence. Thus, each individual inter-frame or intra-frame within the same video sequence may need a different number of bits in order to achieve the same level of visual quality.
  • One well-known measure of a video frame complexity is known as the mean average difference (MAD) for the video frame. The mean average difference (MAD) of a video frame is the mean of all the Sum of Absolute Differences (SAD) values for all the individual macroblocks that comprise the video frame. To prevent a large change from occurring quickly, an average MAD value may be calculated across the history of a number of video frames. The average MAD (avgMAD) can be calculated by doing weighted average of the MAD of a current frame (curMAD) and the historical average MAD (avgMAD) as follows:
  • #define kMADWeight 0.8  // Make historical MAD 80% of weight
    avgMAD = avgMAD * kMADWeight  +  ( 1− kMADWeight  )  *
    curMAD
    e
  • Then, using this historical average MAD, a target bit hint (targetBitsHint) may be created. The target bit hint (targetBitsHint) represents how much deviation there is between the current frame and the average frame in terms of bits needed to encode the current frame for a specified visual quality. The target bit hint (targetBitsHint) may be calculated as follows:

  • targetBitsHint=(curMAD−avgMAD)/avgMAD;
  • Intra-Block Frequency within an Intra-Frame
  • Although an intra-frame cannot refer to information in other video frames, the individual macroblocks within an intra-frame may refer to other macroblocks in the same intra-frame. Such macroblocks that refer to other macroblocks in the same frame are referred to as ‘intra-blocks’. Inter-frames may also contain up to certain percentage of intra blocks. Using a general heuristic, the more intra-blocks within an intra-frame, the more bits should be allocated to that frame.
  • One embodiment of the rate controller of the present invention uses the percentage of intra-blocks within a video frame to adjust a target bit hint value (targetBitsHint). In one embodiment, the adjustment to the target bit hint value is performed as follows:

  • targetBitsHint=targetBitsHint+(intraPercentage−0.3)*0.3;
  • Current Memory Buffer Limitations
  • As set forth with reference to FIGS. 2, 3A, 3B and 3C, the encoder must carefully allocate bit budgets to each individual video frame in a manner that avoids memory buffer problems in the digital video player system. This is a ‘hard’ limit such that the rate controller should always stay within the buffer top 450 and the buffer bottom 420 lines of FIG. 4 to prevent memory buffer overflow or memory buffer underflow in the digital video player, respectively. When the rate controller detects that the memory buffer condition is getting close to the level of overflow or underflow, the rate controller should make an adjustment of the target size to compensate it.
  • We define a unified variable bufferAnxiety to measure the current buffer condition. The bufferAnxiety quantifies whether there is a danger of a buffer underflow or buffer overflow. If the current path is above the target path (curY>=0), then there is a buffer underflow risk (the player might hit the bottom of the memory buffer) as illustrated in FIG. 3B. If the current path is below the target path (curY<0), then there is a buffer overflow risk (the player might go over the top of the memory buffer) as illustrated in FIG. 3C.
  • // Determine the Buffer anxiety condition, 0=optimal
    if( curY > = 0 ) // Determine anxiety with underflow risk
      bufferAnxiety = curY / underFlowAlarmLevel
    else // Else determine the anxiety with overflow risk
      bufferAnxiety = curY
          /(maxerBufferDur − underFlowAlarmLevel)
  • Bit Budget Calculation in a Rate Controller that Considers Multiple Factors
  • After considering all the factors defined in the previous section, a rate controller may calculate a final bit budget for the next video frame based upon those defined factors. Note that the various different factors are generally not considered equally. For example, the buffer anxiety level defines a very important value that must be taken seriously in order to prevent a buffer overflow. On the other hand, the target bit hint value (targetBitsHint) and the selected quality level (qualityLevel) are merely used to adjust the bit budget.
  • In one embodiment, an initial target frame size (or transmission duration) candidate is generated with the following equation which begins with an average intra-frame size or inter-frame size depending on if the frame is an Intra-frame or an inter-frame:
      • dur=keyFrame ? averageIntraDur : averageInterDur;
  • Then, the rate controller adjusts the initial frame size (dur) value to calculate a target frame duration value (targetDur). As will be described in the next section, the calculation is different if only one attempt will be made to create a bit budget (onePass=TRUE).
  • if( onePass )
    { // Set conservative target bit hit if only 1 pass
      if( qualityLevel == qualityHi )
        targetBitsHint *= 0.3;
      else if( qualityLevel == qualityMd )
        targetBitsHint *= 0.3;
      else if( qualityLevel == qualityLo )
        targetBitsHint *= 0.3;
      else targetBitsHint *= 0.3;
    }
    else
    { // Set aggressive target bit hint if more than 1 try
      if( qualityLevel == qualityHi )
        targetBitsHint *= 1.0;
      else if( qualityLevel == qualityMd )
        targetBitsHint *= 1.0;
      else if( qualityLevel == qualityLo )
        targetBitsHint *= 0.8;
      else targetBitsHint *= 0.3;
    }
    if( keyFrame )
     { //This section handles Intra-frames (AKA key frames)
      if( bufferAnxiety < 0 )
      { // Adjust for the buffer overflow risk
      if( bufferAnxiety >= −0.3 )
        { // Slightly increase frame size
          if( dur < 0.7 * defaultIntraDur )
            dur *= 1.05;
        }
        else if( bufferAnxiety >= −0.7 )
        {
          if( dur < 0.8 * defaultIntraDur )
            dur *= 1.1;
          if(onePass) averageIntraDur *= 1.1;
        }
        else if( bufferAnxiety >= −0.9 )
        {
          if( dur < defaultIntraDur )
            dur = defaultIntraDur;
          if( targetBitsHint < 0 )
            targetBitsHint = 0;
          if(onePass)
            averageIntraDur *= 1.2;
          else
            dur *= 1.3;
        }
        else
        {
          if( dur < 1.1 * defaultIntraDur )
            dur = 1.1 * defaultIntraDur;
          if( targetBitsHint < 0 )
            targetBitsHint = 0;
        if(onePass)
          averageIntraDur *= 1.2;
        else
          dur *= 1.5;
      }
    }
    else
    {// Adjust for the buffer underflow risk
      if( bufferAnxiety <= 0.3 )
      {
        dur *= 0.95;
        if( dur > 0.9 * suggestedIntraDur )
          dur *= 0.9;
      }
      else if( bufferAnxiety <= 0.5 )
      {
        dur *= 0.90;
        if( dur > 0.8 * suggestedIntraDur )
          dur *= 0.8;
        //if(onePass)
        //   averageIntraDur /= 1.1;
      }
      else if( bufferAnxiety <= 0.8 )
      {
        dur *= 0.85;
        if( dur > 0.8 * suggestedIntraDur )
          dur = 0.8 * suggestedIntraDur;
        if(onePass)
        {
          averageIntraDur *= 0.8;
          suggestedIntraDur *= 0.8;
        }
      }
      else if( bufferAnxiety <= 0.9 )
      {
        dur *= 0.80;
        if( dur > 0.7*suggestedIntraDur )
          dur = 0.7*suggestedIntraDur;
        if( targetBitsHint > 0 )
          targetBitsHint = 0;
        if(onePass)
        {
            averageIntraDur  *= 0.6;
            suggestedIntraDur *= 0.6;
          }
        }
        else
        {
          dur *= 0.75;
          if( dur > 0.4*suggestedIntraDur )
            dur = 0.4*suggestedIntraDur;
          if( targetBitsHint > 0 )
            targetBitsHint = 0;
          if(onePass)
          {
            averageIntraDur  *= 0.4;
            suggestedIntraDur *= 0.4;
          }
        }
      }
    }
    else
    { //This area handles Inter-frames (AKA P- or B-frames)
      if( bufferAnxiety < 0 )
      { // Adjust for the buffer overflow risk
        if( bufferAnxiety >= −0.3 )
        {
          if( dur < 0.7 * defaultInterDur )
            dur *= 1.05;
        }
        else if( bufferAnxiety >= −0.7 )
        {
          if( dur < 0.7 * defaultInterDur )
            dur *= 1.1;
          if(onePass)
            averageInterDur *= 1.1;
        }
        else if( bufferAnxiety >= −0.9 )
        {
          if( dur < defaultInterDur )
            dur = defaultInterDur;
          if( targetBitsHint < 0 )
            targetBitsHint = 0;
          if(onePass)
          averageInterDur *= 1.2;
        else
          dur *= 1.3;
      }
      else
      {
        if( dur < 1.1 * defaultInterDur )
          dur = 1.1 * defaultInterDur;
        if( targetBitsHint < 0 )
          targetBitsHint = 0;
        if(onePass)
          averageInterDur *= 1.2;
        else
          dur *= 1.5;
      }
    }
    else
    { // Adjust for the buffer underflow risk
      if( bufferAnxiety <= 0.3 )
      {
        dur *= 0.95;
        if( dur > 0.9 * suggestedInterDur )
          dur *= 0.9;
      }
      else if( bufferAnxiety <= 0.5 )
      {
        dur *= 0.90;
        if( dur > 0.8 * suggestedInterDur )
          dur *= 0.8;
        //if(onePass)
        //   averageInterDur /= 1.1;
      }
      else if( bufferAnxiety <= 0.8 )
      {
        dur *= 0.85;
        if( dur > 0.8 * suggestedInterDur )
          dur = 0.8 * suggestedInterDur;
        if(onePass)
        {
          averageInterDur *= 0.8;
          suggestedInterDur *= 0.8;
        }
      }
          else if( bufferAnxiety <= 0.9 )
          {
            dur *= 0.80;
            if( dur > 0.6 * suggestedInterDur )
              dur = 0.6 * suggestedInterDur;
            if( targetBitsHint > 0 )
              targetBitsHint = 0;
            if(onePass)
            {
              averageInterDur  *= 0.6;
              suggestedInterDur *= 0.6;
            }
          }
          else
          {
            dur *= 0.75;
            if( dur > 0.4 * suggestedInterDur )
              dur = 0.4 * suggestedInterDur;
            if( targetBitsHint > 0 )
              targetBitsHint = 0;
            if(onePass)
            {
              averageInterDur  *= 0.4;
              suggestedInterDur *= 0.4;
            }
          }
        }
      }
      scale = 1 + targetBitsHint;
      if( scale < 0.3 ) scale = 0.3;
      if( scale > 1.5 ) scale = 1.5;
      // Determine the next origin location
      nextY = curY + dur * scale;
      if( nextY > curYHi ) nextY = curYHi;
      if( nextY < curYLo ) nextY = curYLo;
      targetDur = nextY − curY;
  • Encoded Quality Looping
  • After a bit budget has been allocated to a video frame and the video frame has been compressed, the rate controller may have the option to check the quality of the compressed video frame. This may occur if a very fast processing system is used in a real-time encoding application. This may also occur when the digital video encoder is not being used in a real time application. For example, if the video encoder is being used to generate a piece of media that will be duplicated, the encoder may wish to make more than one pass in order to achieve a more optimal result.
  • So, if the digital video encoder has the luxury of being able to check the video quality, then the digital video encoder may wish to make certain adjustments if the desired quality has not been achieved. For example, if the quality of the encoded video frame is below certain threshold quality value, then the rate controller may choose to increase the bit budget for the video frame and redo the compression in order to improve the quality of that video frame. Furthermore, the digital video encoder may wish to make more aggressive assumptions on the first pass and then adjust to more conservative levels if the aggressive assumptions do not produce an acceptable result.
  • The foregoing has described a system for performing rate control in a multi-media compression and encoding system. It is contemplated that changes and modifications may be made by one of ordinary skill in the art, to the materials and arrangements of elements of the present invention without departing from the scope of the invention.

Claims (47)

1. A method of encoding digital video information into a bit stream, said method comprising:
determining a default bit budget for a video frame to be digitally encoded into said bit stream;
examining a plurality of factors related to said video frame or said bit stream; and
adjusting said default bit budget according to said plurality of factors to generate a target bit budget for said video frame.
2. The method as claimed in claim 1 wherein said default bit budget is based upon a frame ratio.
3. The method as claimed in claim 2 wherein said frame ratio is relative to an average frame size.
4. The method as claimed in claim 2 wherein said frame ratio is determined by a video image quality level.
5. The method as claimed in claim 4 wherein said video image quality level is based upon a bits per pixel per frame value.
6. The method as claimed in claim 5 wherein said bits per pixel per frame value is calculated by
generating an intermediate result by dividing a bit rate by a width times height of said video frame; and
multiplying said intermediate result by an average frame duration.
7. The method as claimed in claim 6 wherein said bit rate comprises a channel bandwidth.
8. The method as claimed in claim 6 wherein said bit rate comprises a media read bit rate.
9. The method as claimed in claim 1 wherein said default bit budget is dependent on a frame type.
10. The method as claimed in claim 9 wherein said frame type may be an intra-frame or an inter-frame.
11. The method as claimed in claim 2 wherein said frame ratio is dependent on a frame type.
12. The method as claimed in claim 11 wherein said frame type may be an intra-frame or an inter-frame.
13. The method as claimed in claim 3 wherein said average frame size comprises a historical weighted average.
14. The method as claimed in claim 1 wherein one of said plurality of factors comprises a memory buffer condition.
15. The method as claimed in claim 14 wherein said memory buffer condition comprises a ratio between a current buffer condition and a warning buffer condition.
16. The method as claimed in claim 14 wherein said memory buffer condition comprises a buffer underflow warning condition.
17. The method as claimed in claim 14 wherein said memory buffer condition comprises a buffer overflow warning condition.
18. The method as claimed in claim 1 wherein said one of said plurality of factors comprises a video frame duration.
19. The method as claimed in claim 18 wherein said video frame duration comprises a weighted historical average.
20. The method as claimed in claim 1 wherein one of said plurality of factors comprises a video frame complexity.
21. The method as claimed in claim 20 wherein said video frame complexity comprises a mean average difference (MAD) for said video frame.
22. The method as claimed in claim 21 wherein said mean average difference (MAD) comprises a mean of sum of absolute differences (SAD).
23. The method as claimed in claim 1 wherein one of said plurality of factors comprises an intra-block frequency in said video frame.
24. A method of encoding digital video information into a bit stream, said method comprising:
examining a plurality of factors related to said bit stream or a next video frame in said bit stream; and
setting a bit budget for said next video frame to be digitally encoded into said bit stream wherein said bit budget is dependent upon said plurality of factors.
25. The method as claimed in claim 24 wherein said bit budget is comprises of a default bit budget that is subsequently adjusted.
26. The method as claimed in claim 25 wherein said default bit budget is based upon a frame ratio.
27. The method as claimed in claim 26 wherein said frame ratio is relative to an average frame size.
28. The method as claimed in claim 26 wherein said frame ratio is determined by a video image quality level.
29. The method as claimed in claim 28 wherein said video image quality level is based upon a bits per pixel per frame value.
30. The method as claimed in claim 29 wherein said bits per pixel per frame value is calculated by
generating an intermediate result by dividing a bit rate by a width times height of said video frame, and
multiplying said intermediate result by an average frame duration.
31. The method as claimed in claim 30 wherein said bit rate comprises a channel bandwidth.
32. The method as claimed in claim 30 wherein said bit rate comprises a media read bit rate.
33. The method as claimed in claim 24 wherein said wherein one of said plurality of factors comprises a frame type.
34. The method as claimed in claim 33 wherein said frame type may be an intra-frame or an inter-frame.
35. The method as claimed in claim 26 wherein said frame ratio is dependent on a frame type.
36. The method as claimed in claim 35 wherein said frame type may be an intra-frame or an inter-frame.
37. The method as claimed in claim 37 wherein said average frame size comprises a historical weighted average.
38. The method as claimed in claim 24 wherein one of said plurality of factors comprises a memory buffer condition.
39. The method as claimed in claim 38 wherein said memory buffer condition comprises a ratio between a current buffer condition and a warning buffer condition.
40. The method as claimed in claim 38 wherein said memory buffer condition comprises a buffer underflow warning condition.
41. The method as claimed in claim 38 wherein said memory buffer condition comprises a buffer overflow warning condition.
42. The method as claimed in claim 24 wherein one of said plurality of factors comprises a video frame duration.
43. The method as claimed in claim 42 wherein said video frame duration comprises a weighted historical average.
44. The method as claimed in claim 24 wherein one of said plurality of factors comprises a video frame complexity.
45. The method as claimed in claim 44 wherein said video frame complexity comprises a mean average difference (MAD) for said video frame.
47. The method as claimed in claim 45 wherein said mean average difference (MAD) comprises a mean of sum of absolute differences (SAD).
48. The method as claimed in claim 24 wherein one of said plurality of factors comprises an intra-block frequency in said next video frame.
US12/045,587 2002-07-15 2008-03-10 Rate Control for a Multimedia Compression and Encoding System Abandoned US20080232469A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/045,587 US20080232469A1 (en) 2002-07-15 2008-03-10 Rate Control for a Multimedia Compression and Encoding System

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US39597202P 2002-07-15 2002-07-15
US10/427,669 US7418037B1 (en) 2002-07-15 2003-04-30 Method of performing rate control for a compression system
US12/045,587 US20080232469A1 (en) 2002-07-15 2008-03-10 Rate Control for a Multimedia Compression and Encoding System

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/427,669 Continuation US7418037B1 (en) 2002-07-15 2003-04-30 Method of performing rate control for a compression system

Publications (1)

Publication Number Publication Date
US20080232469A1 true US20080232469A1 (en) 2008-09-25

Family

ID=39711277

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/427,669 Active 2025-05-10 US7418037B1 (en) 2002-07-15 2003-04-30 Method of performing rate control for a compression system
US12/045,587 Abandoned US20080232469A1 (en) 2002-07-15 2008-03-10 Rate Control for a Multimedia Compression and Encoding System
US12/165,625 Expired - Fee Related US8428127B2 (en) 2002-07-15 2008-06-30 Method of performing rate control for a compression system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/427,669 Active 2025-05-10 US7418037B1 (en) 2002-07-15 2003-04-30 Method of performing rate control for a compression system

Family Applications After (1)

Application Number Title Priority Date Filing Date
US12/165,625 Expired - Fee Related US8428127B2 (en) 2002-07-15 2008-06-30 Method of performing rate control for a compression system

Country Status (1)

Country Link
US (3) US7418037B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100309985A1 (en) * 2009-06-05 2010-12-09 Apple Inc. Video processing for masking coding artifacts using dynamic noise maps
US20100333148A1 (en) * 2009-06-24 2010-12-30 Hitachi Consumer Electronics Co., Ltd. Wireless video distribution system, content bit rate control method, and computer readable recording medium having content bit rate control program stored therein
US7940843B1 (en) 2002-12-16 2011-05-10 Apple Inc. Method of implementing improved rate control for a multimedia compression and encoding system
US20110211629A1 (en) * 2008-11-04 2011-09-01 Telefonaktiebolaget Lm Ericsson (Publ) Method and System for Determining a Quality Value of a Video Stream
US20120307881A1 (en) * 2010-03-03 2012-12-06 Megachips Corporation Image coding device, image coding/decoding system, image coding method, and image display method
KR20140062465A (en) * 2011-08-16 2014-05-23 밴트릭스 코오퍼레이션 Dynamic bit rate adaptation over bandwidth varying connection
US9338259B2 (en) * 2014-02-05 2016-05-10 Sergio Ammirata User defined protocol for zero-added-jitter and error free transmission of layer-2 datagrams across lossy packet-switched network links
US20170295216A1 (en) * 2016-04-12 2017-10-12 Harmonic, Inc. Statistical multiplexing using a plurality of encoders operating upon different sets of unique and shared digital content
US10904635B2 (en) * 2015-11-04 2021-01-26 Samsung Electronics Co., Ltd Method and device for providing data in multimedia system

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7274857B2 (en) * 2001-12-31 2007-09-25 Scientific-Atlanta, Inc. Trick modes for compressed video streams
US7418037B1 (en) 2002-07-15 2008-08-26 Apple Inc. Method of performing rate control for a compression system
US7769084B1 (en) 2002-07-15 2010-08-03 Apple Inc. Method for implementing a quantizer in a multimedia compression and encoding system
US7804897B1 (en) 2002-12-16 2010-09-28 Apple Inc. Method for implementing an improved quantizer in a multimedia compression and encoding system
JP4789401B2 (en) * 2003-06-25 2011-10-12 トヨタ自動車株式会社 Content distribution system
US8600217B2 (en) 2004-07-14 2013-12-03 Arturo A. Rodriguez System and method for improving quality of displayed picture during trick modes
JP2006311366A (en) * 2005-04-28 2006-11-09 Matsushita Electric Ind Co Ltd Image recorder and method for driving image recorder
US8358693B2 (en) * 2006-07-14 2013-01-22 Microsoft Corporation Encoding visual data with computation scheduling and allocation
US8311102B2 (en) * 2006-07-26 2012-11-13 Microsoft Corporation Bitstream switching in multiple bit-rate video streaming environments
US8340193B2 (en) * 2006-08-04 2012-12-25 Microsoft Corporation Wyner-Ziv and wavelet video coding
US8340192B2 (en) * 2007-05-25 2012-12-25 Microsoft Corporation Wyner-Ziv coding with multiple side information
US20090033791A1 (en) * 2007-07-31 2009-02-05 Scientific-Atlanta, Inc. Video processing systems and methods
EP2094014A1 (en) * 2008-02-21 2009-08-26 British Telecommunications Public Limited Company Video streaming
CN101778192B (en) * 2010-02-25 2012-02-01 昆山锐芯微电子有限公司 Image processing method and device
US9369772B1 (en) * 2010-04-21 2016-06-14 Marvell International Ltd. Dual PID controller based bit allocation and rate control for video coding
US20110302334A1 (en) * 2010-06-07 2011-12-08 Lakshmi Kantha Reddy Ponnatota Flow Control in Real-Time Transmission of Non-Uniform Data Rate Encoded Video Over a Universal Serial Bus
GB2481576B (en) * 2010-06-22 2013-04-03 Canon Kk Encoding of a video frame for transmission to a plurality of clients
EP2469774A1 (en) * 2010-12-23 2012-06-27 British Telecommunications public limited company Video streaming over data networks
US8751565B1 (en) 2011-02-08 2014-06-10 Google Inc. Components for web-based configurable pipeline media processing
US8681866B1 (en) 2011-04-28 2014-03-25 Google Inc. Method and apparatus for encoding video by downsampling frame resolution
US9106787B1 (en) * 2011-05-09 2015-08-11 Google Inc. Apparatus and method for media transmission bandwidth control using bandwidth estimation
WO2013087793A1 (en) 2011-12-14 2013-06-20 Tp Vision Holding B.V. Streaming video data having adaptable bit rate
US9185429B1 (en) 2012-04-30 2015-11-10 Google Inc. Video encoding and decoding using un-equal error protection
EP2856757B1 (en) * 2012-06-01 2018-04-11 NXP USA, Inc. Method and apparatus for performing compression of image data
US20140192898A1 (en) * 2013-01-04 2014-07-10 Intel Corporation Coding unit bit number limitation
CN104854865B (en) * 2013-01-04 2018-11-20 英特尔公司 The limitation of coding unit bit number
US9172740B1 (en) 2013-01-15 2015-10-27 Google Inc. Adjustable buffer remote access
US9311692B1 (en) 2013-01-25 2016-04-12 Google Inc. Scalable buffer remote access
US9225979B1 (en) 2013-01-30 2015-12-29 Google Inc. Remote access encoding
US9998750B2 (en) 2013-03-15 2018-06-12 Cisco Technology, Inc. Systems and methods for guided conversion of video from a first to a second compression format
KR20180053028A (en) 2016-11-11 2018-05-21 삼성전자주식회사 Video processing device encoding frames comprised of hierarchical structure
CN107027030B (en) * 2017-03-07 2018-11-09 腾讯科技(深圳)有限公司 A kind of code rate allocation method and its equipment
KR20190065792A (en) 2017-12-04 2019-06-12 삼성전자주식회사 Electronic device and method for transmitting image data thereof
CN110012292B (en) * 2018-01-05 2022-02-08 澜至电子科技(成都)有限公司 Method and apparatus for compressing video data
US10798335B2 (en) * 2018-05-14 2020-10-06 Adobe Inc. Converting variable frame rate video to fixed frame rate video
CN110876060B (en) * 2018-08-31 2022-07-15 网宿科技股份有限公司 Code rate adjusting method and device in coding process
CN109831693B (en) * 2019-01-25 2021-06-04 晶晨半导体(上海)股份有限公司 Method for reporting video frame information data and judging data underflow
US20230078190A1 (en) * 2021-09-15 2023-03-16 Synaptics Incorporated Image compression method and apparatus

Citations (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164828A (en) * 1990-02-26 1992-11-17 Sony Corporation Video signal transmission and method and apparatus for coding video signal used in this
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
US5241383A (en) * 1992-05-13 1993-08-31 Bell Communications Research, Inc. Pseudo-constant bit rate video coding with quantization parameter adjustment
US5333012A (en) * 1991-12-16 1994-07-26 Bell Communications Research, Inc. Motion compensating coder employing an image coding control method
US5469208A (en) * 1993-05-26 1995-11-21 Intel Corporation Dequantization using decrements and multiply
US5623308A (en) * 1995-07-07 1997-04-22 Lucent Technologies Inc. Multiple resolution, multi-stream video system using a single standard coder
US5650860A (en) * 1995-12-26 1997-07-22 C-Cube Microsystems, Inc. Adaptive quantization
US5654760A (en) * 1994-03-30 1997-08-05 Sony Corporation Selection of quantization step size in accordance with predicted quantization noise
US5726711A (en) * 1993-01-13 1998-03-10 Hitachi America, Ltd. Intra-coded video frame data processing methods and apparatus
US5790196A (en) * 1997-02-14 1998-08-04 Mitsubishi Electric Information Technology Center America, Inc. Adaptive video coding method
US5872598A (en) * 1995-12-26 1999-02-16 C-Cube Microsystems Scene change detection using quantization scale factor rate control
US5929914A (en) * 1995-11-15 1999-07-27 U.S. Philips Corporation Method and device for global bitrate control of a plurality of encoders
US5937138A (en) * 1995-09-29 1999-08-10 Matsushita Electric Industrial Co., Ltd. Method and an apparatus for system encoding bitstreams for seamless connection
US5986712A (en) * 1998-01-08 1999-11-16 Thomson Consumer Electronics, Inc. Hybrid global/local bit rate control
US5990956A (en) * 1996-12-30 1999-11-23 Daewoo Electronics, Inc. Method and apparatus for padding a video signal for shape adaptive transformation
US6014181A (en) * 1997-10-13 2000-01-11 Sharp Laboratories Of America, Inc. Adaptive step-size motion estimation based on statistical sum of absolute differences
US6125147A (en) * 1998-05-07 2000-09-26 Motorola, Inc. Method and apparatus for reducing breathing artifacts in compressed video
US6141448A (en) * 1997-04-21 2000-10-31 Hewlett-Packard Low-complexity error-resilient coder using a block-based standard
US6160846A (en) * 1995-10-25 2000-12-12 Sarnoff Corporation Apparatus and method for optimizing the rate control in a coding system
US20010000704A1 (en) * 1997-07-29 2001-05-03 Etienne Fert Variable bitrate video coding method and corresponding video coder.
US6324217B1 (en) * 1998-07-08 2001-11-27 Diva Systems Corporation Method and apparatus for producing an information stream having still images
US20020085636A1 (en) * 2000-11-20 2002-07-04 Tsutomu Uenoyama Picture coding method, picture coding apparatus and image relaying apparatus
US20020094082A1 (en) * 2000-12-13 2002-07-18 Eastman Kodak Company Method and system for embedding message data in a digital image sequence
US20020163964A1 (en) * 2001-05-02 2002-11-07 Nichols James B. Apparatus and method for compressing video
US6480539B1 (en) * 1999-09-10 2002-11-12 Thomson Licensing S.A. Video encoding method and apparatus
US6510176B1 (en) * 1998-09-29 2003-01-21 Matsushita Electric Industrial Co., Ltd. Variable-bit-rate coding apparatus
US20030142751A1 (en) * 2002-01-23 2003-07-31 Nokia Corporation Coding scene transitions in video coding
US6639942B1 (en) * 1999-10-21 2003-10-28 Toshiba America Electronic Components, Inc. Method and apparatus for estimating and controlling the number of bits
US6694060B2 (en) * 2000-12-21 2004-02-17 General Instrument Corporation Frame bit-size allocation for seamlessly spliced, variable-encoding-rate, compressed digital video signals
US6763067B2 (en) * 2000-10-10 2004-07-13 Sarnoff Corporation Rate control for bitstream re-encoding
US6944221B1 (en) * 1994-12-28 2005-09-13 Koninklijke Philips Electronics N.V. Buffer management in variable bit-rate compression systems
US6963308B2 (en) * 2003-01-15 2005-11-08 Filtronic Lk Oy Multiband antenna
US7079581B2 (en) * 2002-04-18 2006-07-18 Samsung Electronics Co., Ltd. Apparatus and method for controlling variable bit rate in real time
US7103099B1 (en) * 1998-07-27 2006-09-05 Microsoft Corporation Selective compression

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5038209A (en) * 1990-09-27 1991-08-06 At&T Bell Laboratories Adaptive buffer/quantizer control for transform video coders
US5677969A (en) * 1995-02-23 1997-10-14 Motorola, Inc. Method, rate controller, and system for preventing overflow and underflow of a decoder buffer in a video compression system
US5801779A (en) * 1995-12-26 1998-09-01 C-Cube Microsystems, Inc. Rate control with panic mode
US5682204A (en) * 1995-12-26 1997-10-28 C Cube Microsystems, Inc. Video encoder which uses intra-coding when an activity level of a current macro-block is smaller than a threshold level
US5929916A (en) * 1995-12-26 1999-07-27 Legall; Didier J. Variable bit rate encoding
EP0883965B1 (en) * 1996-03-02 2000-03-22 Deutsche Thomson-Brandt Gmbh Method and apparatus for encoding or decoding digital video data
WO1997039588A1 (en) * 1996-04-12 1997-10-23 Sony Corporation Image encoder, image encoding method and medium on which image encoding program is recorded
FR2748623B1 (en) * 1996-05-09 1998-11-27 Thomson Multimedia Sa VARIABLE FLOW ENCODER
US6263020B1 (en) * 1996-12-24 2001-07-17 Intel Corporation Method and apparatus for bit rate control in a digital video system
US5990958A (en) * 1997-06-17 1999-11-23 National Semiconductor Corporation Apparatus and method for MPEG video decompression
US6023296A (en) * 1997-07-10 2000-02-08 Sarnoff Corporation Apparatus and method for object based rate control in a coding system
US6167085A (en) * 1997-07-31 2000-12-26 Sony Corporation Image data compression
US6185253B1 (en) * 1997-10-31 2001-02-06 Lucent Technology, Inc. Perceptual compression and robust bit-rate control system
WO1999030505A1 (en) * 1997-12-08 1999-06-17 Sony Corporation Encoder and encoding method
WO1999030504A1 (en) * 1997-12-08 1999-06-17 Sony Corporation Encoder and encoding method
US6963608B1 (en) * 1998-10-02 2005-11-08 General Instrument Corporation Method and apparatus for providing rate control in a video encoder
US6310915B1 (en) * 1998-11-20 2001-10-30 Harmonic Inc. Video transcoder with bitstream look ahead for rate control and statistical multiplexing
US6661840B1 (en) 1999-04-23 2003-12-09 Sony Corporation Image encoder and method of the same
US6535251B1 (en) * 1999-10-26 2003-03-18 Sharplabs Of America, Inc. Video encoder and method for adjusting quantization step in real time
EP1098526A3 (en) * 1999-11-02 2004-09-15 Matsushita Electric Industrial Co., Ltd. Video editing apparatus and method
GB0013273D0 (en) * 2000-06-01 2000-07-26 Philips Electronics Nv Video signal encoding and buffer management
KR100341063B1 (en) * 2000-06-28 2002-06-20 송문섭 Rate control apparatus and method for real-time video communication
JP4256574B2 (en) * 2000-08-04 2009-04-22 富士通株式会社 Image signal encoding method and image signal encoding apparatus
US6847656B1 (en) * 2000-09-25 2005-01-25 General Instrument Corporation Statistical remultiplexing with bandwidth allocation among different transcoding channels
US6831947B2 (en) * 2001-03-23 2004-12-14 Sharp Laboratories Of America, Inc. Adaptive quantization based on bit rate prediction and prediction error energy
WO2002096120A1 (en) 2001-05-25 2002-11-28 Centre For Signal Processing, Nanyang Technological University Bit rate control for video compression
US6961376B2 (en) * 2002-06-25 2005-11-01 General Instrument Corporation Methods and apparatus for rate control during dual pass encoding
US7418037B1 (en) 2002-07-15 2008-08-26 Apple Inc. Method of performing rate control for a compression system
US7804897B1 (en) 2002-12-16 2010-09-28 Apple Inc. Method for implementing an improved quantizer in a multimedia compression and encoding system
US7940843B1 (en) 2002-12-16 2011-05-10 Apple Inc. Method of implementing improved rate control for a multimedia compression and encoding system
US7277595B1 (en) 2003-01-06 2007-10-02 Apple Inc. Method and apparatus for digital image manipulation to remove image blemishes
US8406293B2 (en) * 2004-06-27 2013-03-26 Apple Inc. Multi-pass video encoding based on different quantization parameters
US8005139B2 (en) * 2004-06-27 2011-08-23 Apple Inc. Encoding with visual masking

Patent Citations (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164828A (en) * 1990-02-26 1992-11-17 Sony Corporation Video signal transmission and method and apparatus for coding video signal used in this
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
US5333012A (en) * 1991-12-16 1994-07-26 Bell Communications Research, Inc. Motion compensating coder employing an image coding control method
US5241383A (en) * 1992-05-13 1993-08-31 Bell Communications Research, Inc. Pseudo-constant bit rate video coding with quantization parameter adjustment
US5726711A (en) * 1993-01-13 1998-03-10 Hitachi America, Ltd. Intra-coded video frame data processing methods and apparatus
US5469208A (en) * 1993-05-26 1995-11-21 Intel Corporation Dequantization using decrements and multiply
US5654760A (en) * 1994-03-30 1997-08-05 Sony Corporation Selection of quantization step size in accordance with predicted quantization noise
US6944221B1 (en) * 1994-12-28 2005-09-13 Koninklijke Philips Electronics N.V. Buffer management in variable bit-rate compression systems
US5623308A (en) * 1995-07-07 1997-04-22 Lucent Technologies Inc. Multiple resolution, multi-stream video system using a single standard coder
US5937138A (en) * 1995-09-29 1999-08-10 Matsushita Electric Industrial Co., Ltd. Method and an apparatus for system encoding bitstreams for seamless connection
US6160846A (en) * 1995-10-25 2000-12-12 Sarnoff Corporation Apparatus and method for optimizing the rate control in a coding system
US5929914A (en) * 1995-11-15 1999-07-27 U.S. Philips Corporation Method and device for global bitrate control of a plurality of encoders
US5872598A (en) * 1995-12-26 1999-02-16 C-Cube Microsystems Scene change detection using quantization scale factor rate control
US5650860A (en) * 1995-12-26 1997-07-22 C-Cube Microsystems, Inc. Adaptive quantization
US5990956A (en) * 1996-12-30 1999-11-23 Daewoo Electronics, Inc. Method and apparatus for padding a video signal for shape adaptive transformation
US5790196A (en) * 1997-02-14 1998-08-04 Mitsubishi Electric Information Technology Center America, Inc. Adaptive video coding method
US6141448A (en) * 1997-04-21 2000-10-31 Hewlett-Packard Low-complexity error-resilient coder using a block-based standard
US20010000704A1 (en) * 1997-07-29 2001-05-03 Etienne Fert Variable bitrate video coding method and corresponding video coder.
US6014181A (en) * 1997-10-13 2000-01-11 Sharp Laboratories Of America, Inc. Adaptive step-size motion estimation based on statistical sum of absolute differences
US5986712A (en) * 1998-01-08 1999-11-16 Thomson Consumer Electronics, Inc. Hybrid global/local bit rate control
US6125147A (en) * 1998-05-07 2000-09-26 Motorola, Inc. Method and apparatus for reducing breathing artifacts in compressed video
US6324217B1 (en) * 1998-07-08 2001-11-27 Diva Systems Corporation Method and apparatus for producing an information stream having still images
US7103099B1 (en) * 1998-07-27 2006-09-05 Microsoft Corporation Selective compression
US6510176B1 (en) * 1998-09-29 2003-01-21 Matsushita Electric Industrial Co., Ltd. Variable-bit-rate coding apparatus
US6480539B1 (en) * 1999-09-10 2002-11-12 Thomson Licensing S.A. Video encoding method and apparatus
US6639942B1 (en) * 1999-10-21 2003-10-28 Toshiba America Electronic Components, Inc. Method and apparatus for estimating and controlling the number of bits
US6763067B2 (en) * 2000-10-10 2004-07-13 Sarnoff Corporation Rate control for bitstream re-encoding
US20020085636A1 (en) * 2000-11-20 2002-07-04 Tsutomu Uenoyama Picture coding method, picture coding apparatus and image relaying apparatus
US20020094082A1 (en) * 2000-12-13 2002-07-18 Eastman Kodak Company Method and system for embedding message data in a digital image sequence
US6694060B2 (en) * 2000-12-21 2004-02-17 General Instrument Corporation Frame bit-size allocation for seamlessly spliced, variable-encoding-rate, compressed digital video signals
US20020163964A1 (en) * 2001-05-02 2002-11-07 Nichols James B. Apparatus and method for compressing video
US20030142751A1 (en) * 2002-01-23 2003-07-31 Nokia Corporation Coding scene transitions in video coding
US7079581B2 (en) * 2002-04-18 2006-07-18 Samsung Electronics Co., Ltd. Apparatus and method for controlling variable bit rate in real time
US6963308B2 (en) * 2003-01-15 2005-11-08 Filtronic Lk Oy Multiband antenna

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940843B1 (en) 2002-12-16 2011-05-10 Apple Inc. Method of implementing improved rate control for a multimedia compression and encoding system
US20150215649A1 (en) * 2008-11-04 2015-07-30 Telefonaktiebolaget Lm Ericsson (Publ) Method and System for Determining a Quality Value of a Video Stream
US20110211629A1 (en) * 2008-11-04 2011-09-01 Telefonaktiebolaget Lm Ericsson (Publ) Method and System for Determining a Quality Value of a Video Stream
US9723329B2 (en) * 2008-11-04 2017-08-01 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for determining a quality value of a video stream
US8923411B2 (en) * 2008-11-04 2014-12-30 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for determining a quality value of a video stream
US10477249B2 (en) 2009-06-05 2019-11-12 Apple Inc. Video processing for masking coding artifacts using dynamic noise maps
US20100309985A1 (en) * 2009-06-05 2010-12-09 Apple Inc. Video processing for masking coding artifacts using dynamic noise maps
US20100333148A1 (en) * 2009-06-24 2010-12-30 Hitachi Consumer Electronics Co., Ltd. Wireless video distribution system, content bit rate control method, and computer readable recording medium having content bit rate control program stored therein
US20120307881A1 (en) * 2010-03-03 2012-12-06 Megachips Corporation Image coding device, image coding/decoding system, image coding method, and image display method
EP2745523A4 (en) * 2011-08-16 2015-03-18 Vantrix Corp Dynamic bit rate adaptation over bandwidth varying connection
EP2745523A1 (en) * 2011-08-16 2014-06-25 Vantrix Corporation Dynamic bit rate adaptation over bandwidth varying connection
KR101996877B1 (en) * 2011-08-16 2019-07-08 밴트릭스 코오퍼레이션 Dynamic bit rate adaptation over bandwidth varying connection
KR20140062465A (en) * 2011-08-16 2014-05-23 밴트릭스 코오퍼레이션 Dynamic bit rate adaptation over bandwidth varying connection
US10499071B2 (en) 2011-08-16 2019-12-03 Vantrix Corporation Dynamic bit rate adaptation over bandwidth varying connection
US9338259B2 (en) * 2014-02-05 2016-05-10 Sergio Ammirata User defined protocol for zero-added-jitter and error free transmission of layer-2 datagrams across lossy packet-switched network links
US10904635B2 (en) * 2015-11-04 2021-01-26 Samsung Electronics Co., Ltd Method and device for providing data in multimedia system
US20170295216A1 (en) * 2016-04-12 2017-10-12 Harmonic, Inc. Statistical multiplexing using a plurality of encoders operating upon different sets of unique and shared digital content
US10491649B2 (en) * 2016-04-12 2019-11-26 Harmonic, Inc. Statistical multiplexing using a plurality of encoders operating upon different sets of unique and shared digital content

Also Published As

Publication number Publication date
US7418037B1 (en) 2008-08-26
US20090010325A1 (en) 2009-01-08
US8428127B2 (en) 2013-04-23

Similar Documents

Publication Publication Date Title
US7418037B1 (en) Method of performing rate control for a compression system
US8477843B2 (en) Method of implementing improved rate control for a multimedia compression and encoding system
US7822118B2 (en) Method and apparatus for control of rate-distortion tradeoff by mode selection in video encoders
US6023553A (en) Method and apparatus for achieving video data reduction through the use of re-encoding
EP1372113B1 (en) Variable bit rate video encoding method and device
EP0660612B1 (en) Image encoding apparatus
US8345773B2 (en) Image coding and decoding method and apparatus considering human visual characteristics
US7406124B1 (en) Systems and methods for allocating bits to macroblocks within a picture depending on the motion activity of macroblocks as calculated by an L1 norm of the residual signals of the macroblocks
US20100166060A1 (en) Video transcoder rate control
JP2005073245A (en) Method for selecting encode mode of macroblock in video encoder, video encoder designed to select mode for encoding macroblock, computer program loaded on concrete medium composed of module with instruction for selecting mode for encoding macroblock, and circuit designed to select mode for encoding macroblock
JP2005102170A (en) Method and system for filtering adaptive to discrete cosine transformation factor in video encoder
KR100987911B1 (en) Method and apparatus for variable accuracy inter-picture timing specification for digital video encoding
US6314139B1 (en) Method of inserting editable point and encoder apparatus applying the same
JP2002320228A (en) Signal processor
US7388912B1 (en) Systems and methods for adjusting targeted bit allocation based on an occupancy level of a VBV buffer model
US20030174771A1 (en) Method, apparatus, and program for variable bit rate encoding
JP3487205B2 (en) Image data editing device
US6940902B2 (en) Code quantity assignment device and method
JP3521794B2 (en) Data encoding method and apparatus
JP2002027362A (en) Method and apparatus for image processing
KR100335435B1 (en) Compression coder and / or decoder of video signal and method thereof
JP2001169290A (en) Method, device and system for encoding moving image
Venkatesh et al. A pruning based fast rate control algorithm for MPEG coding
Conover PixelTools Corporation Cupertino California USA
JP2001186528A (en) Bit stream frequency converter for image signal and method therefor

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: EXPRESSLY ABANDONED -- DURING EXAMINATION