×

Method and system for media file compression

  • US 8,761,244 B2
  • Filed: 06/28/2010
  • Issued: 06/24/2014
  • Est. Priority Date: 11/04/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method for media file compression, comprising:

  • extracting encoding parameters from an input media file, separating and decoding audio and video streams from the input media file, and extracting an original audio stream and an original video stream;

    computing transcoding parameters required for a compression according to the encoding parameters;

    encoding the original audio stream to output a new compressed audio stream, and encoding the original video stream to output a new compressed video stream, according to the transcoding parameters; and

    synthesizing the new compressed audio stream and the new compressed video stream to create a new media file;

    wherein the encoding parameter comprises video encoding parameter and audio encoding parameter, wherein the video encoding parameter comprises original video encoder type, original video encoding bit rate, original video encoding frame rate, and original video resolution; and

    the audio encoding parameter comprises original audio encoder type, original audio encoding bit rate, original audio channel number, and original audio sample rate;

    the transcoding parameter comprises video transcoding parameter and audio transcoding parameter, wherein the video transcoding parameter comprises target video encoder type, target video encoding bit rate, target video encoding frame rate, and target video resolution; and

    the audio transcoding parameter comprises target audio encoder type, target audio encoding bit rate, target audio channel number, and target audio sample rate;

    the method further comprises computing the target video encoding frame rate required for the compression;

    computing the target video encoding frame rate required for the compression is;

    comparing the original video encoding frame rate with a predetermined threshold value of the video encoding frame rate;

    if the original video encoding frame rate is larger than or equal to the threshold value, determining the target video encoding frame rate to be equal to the threshold value; and

    if the original video encoding frame rate is smaller than the threshold value, determining the target video encoding frame rate to be the same as the original video encoding frame rate.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×