Picture mode selection for video transcoding
AssigneesSony Corporation, Sony Electronics Inc.
InventorsXimin Zhang, Ming-Chang Liu
Life of this patent
Estimating the term…
Abstract
An adaptive picture mode selection transcoder selects an encoding mode in a second format for frames of video previously encoded in a first format by determining a magnitude of interlacing phenomenon in the using picture information obtained during decoding of the video from the first format. In one aspect, the picture information includes discrete cosine coefficients for macroblocks in the frame. In another aspect, the picture information includes an encoding mode for the macroblocks in the first format. In yet another aspect, the picture information includes motion vector information for the macroblocks. In still another aspect, the determining is specific to an encoding mode for the frame.
Claims16
A method of execution by a processor comprising:
- determining a magnitude of interlacing phenomenon in a frame of video using picture information obtained during decoding of the video from a first format, the frame divided into macroblocks and an interlacing counter indicating the magnitude of the interlacing phenomenon, wherein if the picture information comprises motion vector information for a macroblock, the determining comprises:
- calculating an average of motion vector values;
- and
- comparing the average to a threshold amount;
- and
- selecting an encoding mode in a second format in accordance with the magnitude for subsequently encoding the video in the second format by comparing the interlacing counter to a threshold amount.
A non-transitory machine-readable storage medium having embedded thereon instructions for execution by a processor, the instructions comprising:
- determining a magnitude of interlacing phenomenon in a frame of video using picture information obtained during decoding of the video from a first format, the frame divided into macroblocks and an interlacing counter indicating the magnitude of the interlacing phenomenon, wherein if the picture information comprises motion vector information for a macroblock, the determining comprises:
- calculating an average of motion vector values;
- and
- comparing the average to a threshold amount;
- and
- selecting an encoding mode in a second format in accordance with the magnitude for subsequently encoding the video in the second format by comparing the interlacing counter to a threshold amount.
A computer system comprising:
- a processor coupled to a memory through a bus;
- and
- instructions executed from the memory by the processor to cause the processor
- to determine a magnitude of interlacing, phenomenon in a frame of video using picture information obtained during decoding of the video from a first format, the frame divided into macroblocks and an interlacing counter indicating the magnitude of the interlacing phenomenon, wherein if the picture information comprises motion vector information for a macroblock, the instructions further cause the processor, when determining the magnitude, to calculate an average of motion vector values, and to compare the average to a threshold amount, and
- to select an encoding mode in a second format in accordance with the magnitude for subsequently encoding the video in the second format by comparing the interlacing counter to a threshold amount.
An apparatus comprising:
- means for determining a magnitude of interlacing phenomenon in a frame of video using picture information obtained during decoding of the video from a first format, the frame divided into macroblocks and an interlacing counter indicates the magnitude of the interlacing phenomenon, wherein if the picture information comprises motion vector information for a macroblock, the means for determining calculates an average of motion vector values and compares the average to a threshold amount;
- and
- means for selecting an encoding mode in a second format in accordance with the magnitude for subsequently encoding the video in the second format by comparing the interlacing counter to a threshold amount.
Dependencies are inferred from the claim text.