Constant bitrate media encoding techniques
First Claim
1. In an audio encoder, a computer-implemented method of audio encoding according to a control strategy, the method comprising:
- encoding a sequence of audio data using a trellis to produce an output bitstream of the audio data at constant or relatively constant bitrate, wherein the trellis include plural transitions, and wherein each of the plural transitions corresponds to an encoding of a chunk of plural samples of the audio data at a quality level; and
outputting the bitstream.
2 Assignments
0 Petitions
Accused Products
Abstract
CBR control strategies provide constant or relatively constant bitrate output with variable quality. The control strategies include various techniques and tools, which can be used in combination or independently. For example, an audio encoder uses a trellis in two-pass or delayed-decision CBR encoding. The trellis nodes are states derived by quantizing buffer fullness values. The transitions between nodes of a previous stage and nodes of a current stage depend on encoding a current chunk of audio at different quality levels. When pruning the trellis, the encoder uses a cost function that considers smoothness in quality as well as quality in absolute terms. The encoder may store compressed data at different quality levels, then output the compressed data after simplification of the trellis to a suitable point. If the two-pass or delayed-decision CBR encoding fails, the encoder uses one-pass CBR encoding for the sequence or part of the sequence.
-
Citations
50 Claims
-
1. In an audio encoder, a computer-implemented method of audio encoding according to a control strategy, the method comprising:
-
encoding a sequence of audio data using a trellis to produce an output bitstream of the audio data at constant or relatively constant bitrate, wherein the trellis include plural transitions, and wherein each of the plural transitions corresponds to an encoding of a chunk of plural samples of the audio data at a quality level; and
outputting the bitstream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
in a first pass, encoding a sequence of media data using a trellis to determine a trace through the sequence of media data, wherein the media data includes plural portions, and wherein the trace includes a determination of a quality level for each of the plural portions of the media data;
in a second pass, encoding the sequence of media data along the trace to produce an output bitstream of the media data at constant or relatively constant bitrate; and
outputting the bitstream. - View Dependent Claims (18, 19, 20)
-
-
21. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
encoding a sequence of media data using a trellis to produce an output bitstream of the media data at constant or relatively constant bitrate, wherein the encoding includes pruning the trellis according to a cost function that considers quality according to noise to excitation ratio; and
outputting the bitstream. - View Dependent Claims (22, 23)
-
-
24. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
encoding a sequence of media data using a trellis to produce an output bitstream of the media data at constant or relatively constant bitrate, wherein the encoding includes pruning the trellis according to a cost function that considers both quality and smoothness in quality changes; and
outputting the bitstream. - View Dependent Claims (25, 26)
-
-
27. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
encoding a sequence of media data, including encoding each of plural portions of the sequence at each of multiple different quality levels;
storing encoded data for the plural portions encoded at each of the multiple different quality levels;
determining a trace through the sequence of media data, wherein the trace includes a determination of a selected quality level for each of the plural portions;
stitching together parts of the stored encoded data for the sequence along the trace to produce an output bitstream of the media data at constant or relatively constant bitrate; and
outputting the bitstream. - View Dependent Claims (28, 29, 30)
-
-
31. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
selecting between a two-pass encoding mode and a delayed-decision encoding mode;
if the two-pass encoding mode is selected, in a first pass, encoding a sequence of media data to determine coding decisions for the sequence of media data; and
in a second pass, encoding the sequence of media data to produce an output bitstream of the media data at constant or relatively constant bitrate;
if the delayed-decision encoding mode is selected, encoding the sequence of media data, including enforcing simplification of a trace through the sequence of media data, if necessary, outside of a window of allowable latency; and
outputting the bitstream. - View Dependent Claims (32, 33, 34, 35)
-
-
36. In a media encoder, a computer-implemented method of media encoding according to a delayed-decision control strategy, the method comprising:
-
encoding a sequence of media data using a trellis to produce an output bitstream of the media data at constant or relatively constant bitrate, wherein the encoding includes simplifying the trellis according to one or more criteria, if necessary, as the trellis exits a latency window, wherein the one or more criteria are based upon a candidate node exiting the latency window and one or more current nodes that descend from the candidate node; and
outputting the bitstream. - View Dependent Claims (37, 38, 39, 40, 41)
-
-
42. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
encoding a sequence of media data using a trellis to produce an output bitstream of the media data at constant or relatively constant bitrate, wherein the trellis includes plural nodes based upon quantization of buffer fullness levels; and
outputting the bitstream. - View Dependent Claims (43, 44, 45, 46, 47, 48)
-
-
49. In a media encoder, a computer-implemented method of media encoding according to a control strategy, the method comprising:
-
performing either two-pass or delayed-decision encoding of a sequence of media data;
checking whether the encoding has succeeded and, if the encoding has not succeeded, performing one-pass encoding of at least part of the sequence; and
outputting a bitstream of the encoded media data at constant or relatively constant bitrate. - View Dependent Claims (50)
-
Specification