Claims
- 1. A method of video bitrate transcoding comprising:
extracting information comprising motion vectors and picture/macroblock (MB) type for all frames in a GOP from a bitstream; calculating a number of bits for encoding discrete cosine transform (DCT) coefficients by VLC decoding and transforming the bitstream into a DCT bitstream; determining a bitrate difference; and dropping DCT coefficients based upon the information in order to achieve the bitrate difference in the DCT bitstream.
- 2. A method in accordance with claim 1 further comprising using a TM5 rate control to ensure the bitrate difference is achieved.
- 3. A method in accordance with claim 1 wherein the bitrate difference D is distributed into Intra-MB and Inter-MB groups based upon
D=Dintra-MB+Dinter-MB3(Dintra-MB)(Dinter-MB)=(A′p+A′b)(Ai+Ap+Ab)where A is the average bit count, i represents anchor frames, p represents predicted frames and b represents block frames.
- 4. A method in accordance with claim 3 wherein the bitrate difference is determined by a dynamic recurrence algorithm
- 5. A method in accordance with claim 4 further comprising pre-analyzing the bitstream by parsing the bitstream and calculating coding complexity for the DCT bitstream.
- 6. A method method in accordance with claim 6 wherein the bitrate difference is achieved by proportionally distributing DCT coefficients to be dropped among anchor frames, predicted frames and block frames.
- 7. A method in accordance with claim 7 wherein priority for proportionally distributing the DCT coefficients to be dropped is anchor frame<predicted frame<block frame.
- 8. A method in accordance with claim 5 wherein the coding complexity is determined with average bits for frame types by a dynamic recurrence algorithm
A{i,p,b}=T{i,p,b}/N{i.p.b} and A′{p,b}=T′{p,b}/N′{p,b}where T(i,p,b) (T′(i,p,b)) are the total bit counts for an intra-MB (inter-MB) in frame I, P and B, respectively, N(i,p,b) (N′(i,p,b)) are the total number of intra-MBs (inter-MBs) in frame I, P and B, respectively, and I represents anchor frames, P represents predicted frames and B represents block frames.
- 9. A method in accordance with claim 8 wherein reference links are calculated for each picture/macroblock (MB) type based upon the motion vectors and the bitrate difference is determined by a dynamic recurrence algorithm
Di=di1+di2+ . . . +din, and di1·m1=di2·m2= . . . =di1·mn, where n is the number of MBs in category i, 1≦i≦5 and mi is the number of reduction bits.
- 10. A method in accordance with claim 1 wherein the bitstream is a MPEG bitstream.
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Application No. 60/355,187 (Attorney Docket No. 020699-002700US) filed Feb. 8, 2002 which is herein incorporated by reference for all purposes.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60355187 |
Feb 2002 |
US |