Unlock instant, AI-driven research and patent intelligence for your innovation.

Live broadcast recording method based on HLS protocol

A protocol and live source technology, applied in the field of live recording based on the HLS protocol, can solve the problems of low number of concurrent recordings, increased client resource consumption, complex machines, etc.

Active Publication Date: 2021-08-03
HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, if the ordinary HLS live recording is recorded in the screen recording method, the picture quality will be reduced, the resource consumption of the client will be increased, and the black screen caused by the interruption of the stream cannot be filtered, etc.
However, the professional HLS live recording service or machine is too large and complex, which requires high server hardware and the number of concurrent recordings is often not high.

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
  • Live broadcast recording method based on HLS protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] The embodiment of the present invention is a live broadcast source based on the HLS protocol, so it is necessary to understand some format specifications of the HLS live broadcast source first. The HLS protocol generally uses m3u8 as the suffix, and the m3u8 file is only a description file. The real live stream content generally uses TS as the encapsulation format , each TS file is also called a slice, the example is as follows, and part of ...

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 invention discloses a live broadcast recording method based on an HLS protocol. The method comprises the following steps of: a presetting step, which is implemented by defining parameters in a recording process; a live broadcast source requesting step, which is implemented by polling and requesting an m3u8 file of a live broadcast source, acquiring the content of the m3u8 file, entering a live broadcast source analysis step, and terminating polling to represent the end of live broadcast; a live broadcast source analysis step, which is implemented by analyzing the content of the m3u8 file of the live broadcast source, calculating a serial number and a time point of a current live broadcast clip, and judging whether a newly generated clip exists in the m3u8 file and whether the live broadcast is ended in combination with an updating mode, an ending mode and a final live broadcast identifier defined in the preset step, so as to trigger subsequent branch logic; a content downloading step; a recording file assembling step; a final live broadcast identification step, which is implemented by recording the finally analyzed clip information of each live broadcast source in the current recording system, including the serial number of the clip or the absolute time of the clip, so as to conveniently judge whether the next live broadcast source analysis is updated or not; and an ending step, which is implemented by finding logic triggered by the ending of the live broadcast in the live broadcast source analysis step.

Description

technical field [0001] The invention belongs to the technical field of video live recording, and in particular relates to a live recording method based on the HLS protocol. Background technique [0002] The HLS protocol (HTTP Live Streaming, HTTP-based adaptive bit rate streaming media transmission protocol) usually uses m3u8 as the encapsulation format, m3u8 is just a descriptive file, and the real file stream is the TS (Transport Stream, transport stream) declared internally. ) file (TS is also a commonly used video packaging format, encryption is to encrypt the file, TS is just a packaging format, and there are other formats, such as mp4). [0003] In the existing technology, if ordinary HLS live recording is recorded in the screen recording mode, the picture quality will be reduced, the resource consumption of the client will be increased, and the black screen caused by the interruption of the stream cannot be filtered. However, the professional HLS live recording servi...

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 Applications(China)
IPC IPC(8): H04N21/2187H04N21/43H04N21/433H04N21/454H04N21/6402H04N21/845H04L29/06H04L29/08
CPCH04N21/2187H04N21/4302H04N21/4334H04N21/454H04N21/6402H04N21/8456H04L67/06H04L65/65
Inventor 代存折李妃军刘国强王金华
Owner HANGZHOU ARCVIDEO TECHNOLOGY CO LTD