Patent ID: 7408984
Filing Date: 2008-08-05
Classification: H04N

Abstract:
1. A method for real-time multi-pass encoding of a sequence of video frames comprising the steps of: calculating a look ahead window for determining a size of an input buffer and correlating said buffer size to a processing delay; simultaneously feeding, in real-time, a sequence of incoming video frames to said input buffer and a first encoder device; continuously collecting information from said first encoder device, in real-time, on the statistics and rate-quality characteristics of said sequence of incoming video frames; jointly determining, by a processing device, an optimal target bit allocation scheme for all frames in said look ahead window as a function of a calculated dynamic weighted picture complexity based on the information collected from said first encoder device and an available bit budget for all frames in the look ahead window; encoding, by a second encoder device, each current incoming frame using the target bit allocation for said current incoming frame; and continuously updating the said look ahead window by removing the current frame encoded by said second encoder device with a next frame from said sequence and repeating said look ahead window calculating through said second encoder device encoding steps, wherein said input buffer implements said correlated processing time delay of sufficient time such that sufficient information may be collected from said first encoder device for deriving said jointly determined optimal target bit allocation by said processing device.