摘要 |
The present disclosure provides a method and an apparatus for smoothing videos. With the solution above according to the present disclosure, if the player starts playing, then the Vsync event detecting thread is initiated, if the Vsync event detecting thread is resumed (awoken), then whether a frame of videos to be played which satisfies a predetermined condition is stored in the first queue is detected (checked) according to the timestamps corresponding to the frames of videos to be played in the first queue, and if the frame of videos to be played which satisfies the predetermined condition is detected, then the frame of videos to be played is rendered, which can which can reduce the jitter phenomena of videos in the process of playing the videos. |