摘要 |
A multimedia file skipping method. The skipping method adds obtained increased amount of time to a current decoding time stamp to determine a target time stamp, determines a PCR (Program Clock Reference) corresponding to the target time stamp as a PCR prediction value; determines a position offset corresponding to the PCR prediction value as a target position offset according to a linear relationship between the PCR and position offset of the multimedia file; and skips to the target position offset and plays the multimedia file from this position. By the aforementioned, it is not necessary to set a time stamp index file, and calculation is performed by utilizing the linear relationship between the PCR and the position offset, and thus the amount of calculation is reduced, time cost is reduced, and skipping speed is significantly improved. |