Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A kind of hls network video download optimization method and device

A network video and optimization method technology, which is applied in the field of HLS network video download optimization, can solve the problems of network bandwidth waste, slow start, playback freeze, etc., and achieve the effect of increasing download speed, reducing fluctuation, and reducing freeze

Active Publication Date: 2021-10-08
HISENSE VISUAL TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides an HLS network video download optimization method and device to solve the current technical problems of network bandwidth waste, slow start and playback freeze when downloading video clips of HLS network video

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A kind of hls network video download optimization method and device
  • A kind of hls network video download optimization method and device
  • A kind of hls network video download optimization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0029] HLS (HTTP Live Streaming, hypertext live streaming) is a streaming media protocol defined by Apple. When playing an HLS source, it usually downloads an m3u8 file first, and then parses all the ts fragments in it from the m3u8 file. These ts fragments form a playlist, and then the player downloads these ts fragments and plays them. M3u...

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

PUM

No PUM Login to View More

Abstract

The present application discloses a method and device for optimizing HLS network video downloading. The method includes: obtaining and parsing the m3u8 file of the video to be played, obtaining the ts segment in the m3u8 file; starting multiple threads to download the ts segment, and judging the currently needed download Whether the ts segment meets the concurrent download condition; if so, use multi-thread to download the ts segment corresponding to each thread concurrently, and judge whether the subsequent ts segment still meets the concurrent download condition according to the playback progress and download progress, and perform single-thread or Multi-threaded download; if not, use a single thread to download the current ts segment, and judge whether the subsequent ts segment meets the concurrent download condition according to the playback progress and download progress, and perform single-thread or multi-thread download according to the judgment result. The download optimization method flexibly selects multi-thread or single-thread download data according to the playback progress and download progress, which reduces the waste of network bandwidth and the situation of playback freeze.

Description

technical field [0001] The present application relates to the technical field of network video download, in particular to a method and device for optimizing HLS network video download. Background technique [0002] HLS (HTTP Live Streaming, Hypertext Live Streaming) protocol is a streaming media transmission interaction protocol based on HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol) defined by Apple. When playing an HLS source, it usually downloads an m3u8 file first. , and then parse all the ts fragments from the m3u8 file, arrange all the ts fragments in the order of playback, and then the player downloads and plays these ts fragments in sequence. [0003] Currently, there are two main methods for downloading ts segments: one is to use a single thread to download ts segments sequentially, and when the video starts playing, start the thread to download ts segments one by one, such as image 3 As shown, an HLS network video includes x ts segments, and each ...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04N21/845
CPCH04L67/06H04N21/8456
Inventor 魏勇邦
Owner HISENSE VISUAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products