HLS (http live streaming) protocol-based video downloading method and device

A video and protocol technology, applied in the field of video communication, can solve the problem of slow video download speed, reduce the waiting time for error video clips, and improve the download speed
CN103702176AActive Publication Date: 2014-04-02LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Publication Date
2014-04-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an HLS (http live streaming) protocol-based video downloading method and device. The method comprises the following steps: S1, acquiring an m3u8 file for downloading a target video from a cloud server; S2, judging whether a video clip corresponding to a URL (uniform resource locator) to be downloaded in the m3u8 file can be downloaded; if so, returning to S3; otherwise, entering S4; S3, downloading a corresponding video clip according to the URL to be downloaded, and respectively storing the various downloaded video clips at an appointed position in a local disk; S4, taking the next URL of URL to be downloaded as a new URL to be downloaded, and returning to the step S2. By the adoption of the method and the device, the time for waiting an error video clip in the video downloading process is reduced, and the downloading speed is increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of video communication, in particular to an HLS protocol-based video download method and device thereof. Background technique

[0002] The HLS (Http live streaming) protocol is a streaming media transmission protocol based on the hypertext transfer protocol Http implemented by Apple. The HLS protocol segments the continuous media data with a huge capacity and divides it into a large number of small files for transmission, which caters to the needs of web pages. The file transmission of the server uses a constantly updated lightweight index file to control the download and playback of small media files after division, which can realize live streaming and on-demand streaming. The HLS protocol supports automatic switching of the bit rate on the premise of giving priority to fluency, and is currently widely used by major video websites.

[0003] Through the HLS protocol, the video data is divided into video cli...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More