The present invention relates generally to methods, systems and techniques for video encoding, and more particularly relates to advanced video encoding using constant bit rate.
Prior art video encoders are designed to operate in one of two distinct ways: variable bit rate mode (VBR) or constant bit rate mode (CBR) mode. In basic terms, a CBR stream is created by adapting or varying the quantization parameters to produce a constant bit rate. With VBR mode, the quantization parameters are nearly static to produce a variable rate stream. DVDs, for instance, are encoded using VBR mode and produce very consistent quality. The fundamental principle is that simple scenes require less bandwidth than scenes with a lot of motion and detail.
In an ideal world, without bandwidth constraints, VBR would universally be used. However, most applications have bandwidth constraints and, therefore, they do not have the luxury of being able to support VBR. These applications require rate control mechanisms that constrain the bit rate within a predefined setting. Various methods such as statistical multiplexing have been developed to allow multiple VBR services to be delivered over a fixed channel by ensuring that the combined bit rate from the encoders does not exceed the bandwidth available from a channel of a fixed size, or, stated differently, does not over subscribe the fixed channel size. However, in a switched broadcast application such as IPTV, services are delivered to a home on an individual basis and statistical multiplexing (statmux) is not an option.
The present invention provides a CBR/VBR hybrid implementation for encoding video data streams that can be thought of as Constrained Fidelity CBR. The invention identifies low complexity content which requires less bandwidth to encode with acceptable quality, and reduces below the maximum bandwidth accordingly. This frees additional bandwidth to the channel for use by other services.
The invention may be better appreciated from the following Detailed Description taken in conjunction with the appended Figures.
The present invention is a CBR/VBR hybrid implementation which may be thought of as Constrained fidelity CBR. The present invention may be described, generally, as CBR that will not encode video with more bits than it needs (or constrained fidelity CBR). Alternatively, in at least some implementations, the present invention may also be thought of as VBR with a cap (or capped VBR.)
The present invention delivers to the IPTV environment at least some of the benefits of a statmux solution. CF-CBR allows the video rate to be reduced during less complex sections of video, thereby freeing up bandwidth for data services which must co-exist on the channel to provide acceptable performance. Unlike conventional network constraints which are designed to ensure that the combined bit rates of the UDP/IP video services never exceed a fixed amount, one aspect of the present invention is to identify low complexity content which is comparatively easy to encode and therefore requires less bandwidth to provide acceptable quality. When such content is found, the bit rate will drop below its maximum rate, freeing additional capacity, or bandwidth, in the channel that can be used to augment TCP/IP data services. In this manner, additional bandwidth can be provided for video services, while maintaining at least nominal bandwidth for traditional TCP/IP services. In at least some implementations, bandwidth reclamation on the order of 20% or greater is possible with no perceived drop in the quality of the video service.
The CF-CBR system of the present invention is effectively a hybrid implementation. The system behaves as a fixed quantitative implementation until it hits the CBR max rate. In a first implementation, the CF-CBR control parameters include a maximum bit rate and a bandwidth reclamation strength. The maximum bit rate establishes the a bit rate that is not be exceeded, even for complex scenes such as those with substantial motion. Bandwidth reclamation strength is a factor related to how aggressively bandwidth is to be reclaimed, such that when the CBR stream of the present invention reaches a certain threshold the system will produce a variable bit rate transport stream output. The bandwidth reclamation strength may be configured in any of a variety of ways, including sliding scale, fixed increment, or any other suitable approach. In one implementation, the bandwidth reclamation strength can be a pull-down menu of five increments, for example.
In addition, for at least some embodiments, the ability to enable null packets may be included for, for example, applications that want to fix the bit rate at one point in the network so that bandwidth reclamation can be performed in downstream devices.
Referring now to
The video analyzer 110 makes a determination concerning the complexity of a video frame relative to a prior frame or frames 120 and, if the complexity is above a preset threshold, the frame is encoded by use of a CBR encoder 125, which can be an encoding process that operates using the same processor 115 or a different processor. These process steps are shown at 200, 205 and 210 in
It will also be appreciated that the maximum bit rate of those frames encoded by the CBR encoder 125 may be preset by means of a CBR maximum setting 135 associated with the CBR encoder 125, shown at 220 in
Having fully described an implementation of the invention, it will be appreciated by those skilled in the art that the foregoing description is exemplary and not limiting and that numerous alternatives exist which do not depart from the invention. As a result, the invention is not to be limited by the foregoing description, but only by the appended claims.
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/810,223 filed May 31, 2006, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60810223 | May 2006 | US |