摘要 |
<p>The present disclosure provides a method of playing online video at a speed variable in real time, the method comprising: step S1: receiving multimedia source file chosen by the user; step S2: reading out the multimedia source file; step S3: separating audio stream and video stream from the multimedia source file; step S4: decoding the audio stream and the video stream separately; step S5: varying the speed of the audio stream; step S6: assigning audio clock of the audio stream whose speed has been varied to video clock of the decoded video stream, and reading out the video clock after assignment; step S7: outputting the audio stream and the video stream. The present disclosure also provides a system of playing online video at a speed variable in real time. The method and system of playing online video at a speed variable in real time provided by the present disclosure achieve the goal of playing at variable speed and audio-video synchronization.</p> |