US2012230415A1PendingUtilityA1
Method and apparatus for mpeg-2 to h.264 video transcoding
Est. expiryAug 5, 2025(expired)· nominal 20-yr term from priority
H04N 19/16H04N 19/112H04N 19/51H04N 19/513H04N 19/40H04N 19/42H04N 19/176H04N 19/61
55
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
A method for transcoding from an MPEG-2 format to an H.264 format is disclosed. The method generally comprises the steps of (A) decoding an input video stream in the MPEG-2 format to generate a plurality of macroblocks; (B) determining a plurality of indicators from a pair of the macroblocks, the pair of the macroblocks being vertically adjoining; and (C) coding the pair of the macroblocks into an output video stream in the H.264 format using one of (i) a field mode coding and (ii) a frame mode coding as determined from the indicators.
Claims
exact text as granted — not AI-modified1 . A method for transcoding from an MPEG-2 format to an H.264 format, comprising the steps of:
(A) buffering an input video stream in said MPEG-2 format, wherein data in said input video stream represents a picture; (B) generating a first macroblock in a first row of said picture by decoding a first portion of said data; (C) generating a second macroblock in a second row of said picture by decoding a second portion of said data; and (D) coding said first macroblock and said second macroblock together into an output video stream in said H.264 format using an H.264 macroblock adaptive field/frame coding.
2 . The method according to claim 1 , further comprising the step of:
detecting an MPEG-2 startcode of said first row before generating said first macroblock.
3 . The method according to claim 2 , further comprising the step of:
marking said first macroblock as decoded by storing a first location of said first portion of said data in said input video stream.
4 . The method according to claim 3 , further comprising the step of:
detecting said MPEG-2 startcode of said second row before completing said generating of said first row.
5 . The method according to claim 4 , further comprising the step of:
marking said second macroblock as decoded by storing a second location of said second portion of said data in said input video stream.
6 . The method according to claim 5 , further comprising the steps of:
generating a third macroblock sequentially following said first location in said picture; and generating a fourth macroblock sequentially following said second location in said picture.
7 . The method according to claim 6 , further comprising the step of:
coding said third macroblock and said fourth macroblock together into said output video stream using said H.264 macroblock adaptive field/frame coding.
8 . The method according to claim 1 , further comprising the step of:
determining a quantization parameter from said first macroblock and said second macroblock.
9 . The method according to claim 8 , further comprising the step of:
controlling an encoder rate of said output video stream using said quantization parameter as an H.264 macroblock complexity indicator.
10 . The method according to claim 1 , wherein said method is implemented in a transcoder circuit comprising a decoder, an encoder and a memory coupled between said encoder and said decoder.
11 . A method for transcoding from an MPEG-2 format to an H.264 format, comprising the steps of:
(A) buffering an input video stream in said MPEG-2 format, wherein data in said input video stream represents a picture; (B) generating a plurality of macroblocks by decoding said data; (C) determining at least one item from a given one of said macroblocks; and (D) coding said given macroblock into an output video stream in said H.264 format using said at least one item to refine an H.264 motion vector of said given macroblock.
12 . The method according to claim 11 , wherein said at least one item comprises an MPEG-2 motion vector of said given macroblock, the method further comprising the step of:
generating an H.264 motion vector of said given macroblock using said MPEG-2 motion vector as a search center in a motion estimation.
13 . The method according to claim 11 , wherein (i) said given macroblock is decoded from an MPEG-2 intra-frame and coded into an H.264 predicted-frame and (ii) said at least one item comprises an MPEG-2 intra-frame concealment motion vector used as a starting point to determine said H.264 motion vector.
14 . The method according to claim 11 , wherein said at least one item comprises an MPEG-2 fcode, the method further comprising the step of:
determining a size of said refinement of said H.264 motion vector based on said MPEG-2 fcode.
15 . The method according to claim 11 , wherein said at least one item comprises an MPEG-2 fcode, the method further comprising the step of:
determining a direct mode selection based on said MPEG-2 fcode.
16 . The method according to claim 15 , wherein said coding of said given macroblock in said H.264 format uses a spatial direct selection in response to said fcode being large.
17 . The method according to claim 15 , wherein said coding of said given macroblock in said H.264 format uses a temporal direct selection in response to said fcode not being large.
18 . The method according to claim 11 , further comprising the step of:
determining a quantization parameter of said given macroblock.
19 . The method according to claim 18 , further comprising the step of:
controlling an encoder rate of said output video stream using said quantization parameter as an H.264 macroblock complexity indicator.
20 . The method according to claim 11 , wherein said method is implemented in a transcoder circuit comprising a decoder, an encoder and a memory coupled between said encoder and said decoder.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.