摘要 |
Provided are a network video playing method and device. The method comprises: receiving an MPD file of a video, and acquiring an access time point of a user request; according to the MPD file, determining a media fragment corresponding to the access time point; acquiring a fragment index of the media fragment, the fragment index containing position information about an independently decodable video frame and a non-independently decodable video frame which quotes the independently decodable video frame in the media fragment; according to the position information, determining a video frame which is closest to the access time point in the independently decodable video frame and the non-independently decodable video frame; if the closest video frame is a non-independently decodable video frame, acquiring an independently decodable video frame which is quoted by the closest video frame; and according to the quoted independently decodable video frame, starting decoding from the closest video frame and playing a video. By means of the present invention, the access accuracy of playing of a network video can be improved. |