Patent ID: 8126312

Claim:
A method comprising: editing a video clip comprising a sequence of video samples, the sequence of video samples comprising a finite quantity of samples; generating a decode timeline identifying a decode order associated with the sequence of video samples and a display timeline identifying a display order associated with the sequence of video samples, such that a decode start time of a first sample in the generated decode timeline is equal to a display start time of a first sample in the generated display timeline; determining, for each one of the sequence of video samples, a magnitude of a time period between a display start time and a decode end time associated with the one of the sequence of video samples; obtaining a time offset as a largest time period magnitude from among the determined time period magnitudes; offsetting the generated decode timeline from the generated display timeline such that the decode start time of the first sample in the offset decode timeline precedes the display start time of the first sample in the generated display timeline by the obtained time offset; and playing the edited video clip in accordance with the offset decode timeline and the generated display timeline.