The invention discloses an embedded dynamic video playing control method and device based on a network
throughput. The method comprises the following steps: obtaining the network
throughput, an undownloaded data volume and a buffered video length of a current network video
stream; calculating the capacity of a target buffer area according to the calculated expected downloading time and the network bandwidth; calculating a fast playing threshold value and a slow playing threshold value according to the standard buffer area capacity of the previous
time frame, and determining the control time
delay of video
stream playing according to the target buffer area capacity and the fast playing threshold value and the slow playing threshold value; calculating a sliding mean value and a sliding relative adjacent difference according to the video
stream with the sliding window
throughput, and determining a switching
code rate of video playing according to the sliding mean value, the sliding relative adjacent difference and the current network throughput; and playing the video stream according to the control time
delay of video playing and the switching
code rate. According to the invention, the playing purpose of minimizing video lagging and maximizing the video
code rate can be considered, so that the
video quality is further improved, and the user experience is improved.