Transcoder Unit and Method
A transcoder is provided that achieves lower complexity without picture quality loss. The transcoder may be either an open loop transcoder or a closed loop transcoder.
The unit and method relate generally to converting compressed video from one format to another different format.
BACKGROUNDThe process of transcoding converts a compressed video from one format into another compressed video with a different format. The traditional approach is to perform transcoding in the pixel domain referred to as the cascaded pixel domain approach. This traditional approach involves decoding the original signal, perform the intermediate processing, and fully re-encoding the processed signal subject to any new constraints. This traditional transcoding is very costly (from a computing resources stand-point and a length of time standpoint) to do. Thus, the major area of research in transcoding now focuses on increasing the efficiency, i.e. decreasing the computational time. However, any gains in efficiency should have a minimal impact on the quality of the transcoded video.
Thus, it is desirable to achieve bit rate reduction using low-complexity, faster transcoding methods and it is to this end that the unit and method are directed.
The unit and method are particularly applicable to transcoding compressed digital video data and it is in this context that the unit and method will be described. It will be appreciated, however, that the unit and method has greater utility since it can also be used to transcode other types of digital data or other compressed bitstreams and may be implemented differently than the example shown in the diagrams and described below, and these different uses of the transcoding and the different implementations are within the scope of the disclosure.
The closed loop transcoder 30 may decode the variable length coding using the VLD unit 22, inverse quantize the output of the VLD using the inverse quantizer 24 which results in a stream of coefficients. The stream of coefficients may then be combined with frame motion compensation changes by a combiner unit 36 and the resultant signal is quantized by the quantizer 26, combined with any motion vectors and variable length coded by the VLC unit 28 to generate the second compressed bit stream 16. The closed loop transcoder 30 may implement, using a number of components, a first transcoder loop 32, a second transcoder loop 34 and a third transcoder loop 36 as shown by the dotted lines in
The second transcoder loop 34 may perform motion compensation between on each frame of data wherein the quantized coefficients output from quantizer 26 are inverse quantized using an inverse quantizer unit 40 to generate coefficients, summed together with unquantized coefficients output from the summer 36 to generate a coefficient stream. The coefficient stream may have an inverse DCT process performed using an inverse DCT unit 44 to generate uncompressed video data that is compared to a prior frame (Fn-1) using a unit 46 and a motion compensation unit 48 to generate new motion compensated frames. The new motion compensated frame have discrete cosine transforms performed by a DCT unit 50 and a stream of DCT coefficients for the new motion compensated frame are fed into the summer unit 36 to perform motion compensation between frames.
The third transcoder loop 36 may remove drift caused by any bit rate change (such as the bit rate change caused by quantizer 26) by summing the original coefficients to the second quanitzer coefficients during the motion compensation. Thus, this closed loop transcoder performs transcoding with minimal DCT/IDCT conversions.
While the foregoing has been with reference to a particular embodiment of the invention, it will be appreciated by those skilled in the art that changes in this embodiment may be made without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims.
Claims
1-5. (canceled)
6: A transcoder for transcoding a first compressed bit stream having a first bit rate to a second compressed bit stream having a second bit rate, the transcoder comprising:
- a receiver configured to receive the first compressed bit stream having a motion vector and the first bit rate corresponding to a first quantization level;
- a quantizer configured to quantize a stream of coefficients generated from the first compressed bit stream, at a second quantization level, for generating a stream of coefficients at the second quantization level; and
- wherein the transcoder is configured to generate, based on the stream of coefficients at the second quantization level, the second compressed bit stream having the second hit rate, and wherein the second compressed bit stream includes the motion vector without modification.
7: The transcoder of claim 6, wherein the transcoder further comprises a variable length coder that, based on the stream of coefficients at the second quantization level, generates the second bit stream having the second bit rate.
8: The transcoder of claim 6, wherein each coefficient further comprises a discrete transform coefficient.
9: A method of transcoding a first compressed bit stream having a first bit rate to a second compressed bit stream having a second bit rate, the method comprising:
- receiving the first compressed bit stream having a motion vector and the first bit rate corresponding to a first quantization level;
- quantizing a stream of coefficients generated from the first compressed bit stream, at a second quantization level, for generating a stream of coefficients at the second quantization level; and
- generating, based on the stream of coefficients at the second quantization level, the second compressed bit stream having the second bit rate, and wherein the second compressed bit stream includes the motion vector without modification.
10: The method of claim 9, wherein the transcoder further comprises:
- generating, using a variable length coder, the second bit stream having the second bit rate based on the stream of coefficients at the second quantization level.
11: The method of claim 9, wherein each coefficient further comprises a discrete transform coefficient.
Type: Application
Filed: Sep 27, 2012
Publication Date: May 16, 2013
Inventor: Brainerd Sathianathan (San Jose, CA)
Application Number: 13/629,403