摘要:
A statistical multiplexer for coding and multiplexing multiple channels of digital television data, or multiple panels of HDTV digital television data. A bit rate need parameter is determined for each encoder in a stat mux group, and an encoding bit rate is allocated to each channel based on its need parameter. A transmission bit rate is allocated to each channel as a time-lagged version of its need parameter to minimize a rate mismatch between the output and the input of a decoder buffer. A packet processor checks for impending decoder buffer overflow or underflow events to set minimum and maximum limits on the transmission bit rate. Moreover, these limits are set based on whether a new transmission bit rate can be implemented before the decoding time stamp (DTS) of the current or next frame.
摘要:
A statistical multiplexer for coding and multiplexing multiple channels of digital television data, or multiple panels of HDTV digital television data. A bit rate need parameter is determined for each encoder in a stat mux group by scaling the complexities of previous pictures of the same and different picture types. Scaling factors based on an activity level, motion estimation score, and number of pictures of a certain type in a GOP, may be used. Moreover, the scaling factors may be bounded based on a linear or non-linear operator to prevent large variations in the factors. An encoding bit rate is allocated to each channel based on its need parameter.
摘要:
A mechanism for splicing advertisements, local programming and the like into a digital video transport stream is provided. In order to achieve proper splicing, an appropriate number of frames is inserted between bitstreams to properly close a GOP of the first bitstream into which a second bitstream carrying the spliced content is inserted. Program clock references (PCRs) of the bitstreams are adjusted as necessary in order to force continuity between the bitstreams. For inserting advertisements, the PCR of the program stream and ad stream can be tracked, and the PCR of the program stream can be used both before and after splicing. For local program insertion (which are typically substantially longer than advertisements), the PCR of the local program can be used, after adjustment thereof with an offset to maintain continuity at the splice point. The PTS and/or DTS of the inserted bitstream can be modified to keep them continuous at the splice point for both video and audio streams. The spliced bitstream is transcoded to maintain a desired output bit rate, and to provide overflow/underflow protection of the video buffers.
摘要:
An efficient statistical remultiplexer for processing a number of channels that include video data. In one aspect, transcoding of the video data is delayed while statistical information is obtained from the data. Bit rate need parameters for the data are determined based on the statistical information, and the video data is transcoded based on the respective bit rate need parameters following the delay. In another aspect, a transcoding bit rate for video frames is updated a plurality of times at successive intervals to allow a closer monitoring of the bit rate. Minimum and maximum bounds for the transcoding bit rate, e.g., for buffer overflow and underflow protection, are also updated in each interval.
摘要:
The invention relates to an improved system and method for encoding digital images within frames for digital television transmission. Every anchor frame in a first pass encoder is encoded as a P-frame. Groups of macroblocks, such as slices in the P-frame, are alternately encoded as I-slices and P-slices. This allows both I and P encoding complexity to be computed in a single pass, without having to encode the same frame twice. Accordingly, the I-frame decision can be made at a second pass encoder instead of at the first pass encoder, thus taking advantage of a look-ahead pipeline architecture to more effectively align the I-frames with scene changes.
摘要:
Methods and apparatus for rate control in a dual pass encoding scheme are provided. A first pass encoder encodes alternate slices of anchor frames as I-slices and P-slices respectively in order to generate statistics for both I and P frame encoding for the same anchor frame. An initial complexity estimate for encoding a current frame is determined by the first pass encoder based on statistics from first pass encoding of the current frame and from first pass encoding of a prior encoded frame. A second pass encoder estimates an encoding complexity for the current frame based on the initial complexity and statistics from second pass encoding of the prior encoded frame. The second pass encoder then determines a bit budget for second pass encoding of the current frame based on the encoding complexity.
摘要:
An efficient statistical remultiplexer for processing a number of channels that include video data. In one aspect, transcoding of the video data is delayed while statistical information is obtained from the data. Bit rate need parameters for the data are determined based on the statistical information, and the video data is transcoded based on the respective bit rate need parameters following the delay. In another aspect, a transcoding bit rate for video frames is updated a plurality of times at successive intervals to allow a closer monitoring of the bit rate. Minimum and maximum bounds for the transcoding bit rate, e.g., for buffer overflow and underflow protection, are also updated in each interval. In another aspect, the pre-transcoding quantization scales of the macroblocks in a frame are scaled to provide corresponding new quantization scales for transcoding based on a ratio of a pre-transcoding amount of data in the frame and a target, post-transcoding amount of data for the frame. The quantization scales are adjusted for different portions of the frame as transcoding progresses to ensure that a minimum amount of transcoding bandwidth is allocated to each macroblock.
摘要:
Methods and apparatus are provided for allocating bandwidth among members of two statistical multiplexing groups having overlapping members. At least two groups of such services having overlapping members are defined. The members of a first one of the groups consume a first bandwidth and the members of a second one of the groups consume a second bandwidth. A total bandwidth of all the members of the groups together is restricted to be no more than a total available bandwidth. In order to accomplish this, the members of the first and second groups are statistically multiplexed based on bandwidth requirements of members common to both said first and second groups.
摘要:
Methods and apparatus for statistical multiplexing in a dual pass encoding scheme are provided. A first pass encoder encodes alternate slices of anchor frames as I-slices and P-slices respectively in order to generate statistics for both I and P frame encoding for the same anchor frame. A second pass encoder determines the encoding complexity estimates for a plurality of frames in a look-ahead pipeline and sums the encoding complexity estimates of selective frames in the look-ahead pipeline to determine the initial need parameter for a current frame to be encoded. The second pass encoder computes a need parameter for encoding the current frame based on the initial need parameter. The need parameter is used by a statmux processor to determine the encoding bit rate for second pass encoding of the current frame.
摘要:
An efficient processing system, such as for transcoding video data. In an embodiment that is suitable for single or multiple processor embodiments, a processing mode is set for each input video frame, e.g., as a full transcode mode, which uses motion compensation, a requantization mode, which avoids motion compensation, or a bypass mode. The processing mode selection is based on a number of processing cycles that are available to process a frame, and an expected processing requirement of the frame. The bypass or requantization modes are selected to avoid a buffer overflow of the processor.