Supercharge Your Innovation With Domain-Expert AI Agents!

Serial number generation method of HLS multi-code-rate stream slice, server and storage medium

A serial number generation and serial number technology, applied in the field of live broadcast, can solve the problems of serial number rollback, abnormal HLS player, and out-of-sync title and serial number.

Active Publication Date: 2021-05-28
CHINANETCENT TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In practical applications, the data timestamp in the code stream is usually used to calculate the serial number of the slice. This method will cause the serial number of the slice to roll back when the data timestamp overflows or goes backwards, so that the serial number-sensitive When the player plays these code streams, playback exceptions will occur
In addition, the serial number of the slice is calculated by the system time. Although the serial number can be avoided to a certain extent, the rollback of the serial number can be avoided. However, for HLS multi-bit-rate streams, simply using the system time to calculate the serial number of the slice may cause differences between sub-streams of different bit rates. The title and serial number of the title are not synchronized, which may cause the HLS player to be abnormal

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
  • Serial number generation method of HLS multi-code-rate stream slice, server and storage medium
  • Serial number generation method of HLS multi-code-rate stream slice, server and storage medium
  • Serial number generation method of HLS multi-code-rate stream slice, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0032] The first embodiment of the present invention relates to a method for generating a sequence number of HLS multi-rate stream slicing, and the method is applied to a server providing slicing function, hereinafter referred to as a slicing server for short. Such as figure 1 As shown, the sequence number ...

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 embodiment of the invention relates to the technical field of live broadcast, and discloses an HLS multi-code-rate stream slice serial number generation method, a server and a storage medium. The method comprises the following steps: respectively slicing each received HLS multi-code-rate sub-stream, setting a slice name and a serial number of a slice, and storing a corresponding relationship between the slice name and the serial number; generating the serial number of the first slice based on the current system time, and progressively increasing the serial number of the non-first slice by a second step length; if metadata change occurs in the substream to trigger the slice, searching a serial number corresponding to the slice name of the first slice after metadata change in the corresponding relation; if the corresponding serial number is found, setting the serial number of the first slice after the metadata is changed as the corresponding serial number; and progressively setting the serial number of the non-first slice after the metadata is changed according to the second step length, so the problem that the serial number of the generated slice is reversed during HLS slicing can be effectively solved, and the synchronization of the slice names and the serial numbers among the sub-streams of the HLS multi-code-rate stream is ensured.

Description

technical field [0001] The embodiment of the present invention relates to the field of live broadcast technology, and in particular to a method and server for generating a sequence number of HLS multi-bit-rate stream slices. Background technique [0002] HLS (full name HTTP Live Streaming) is an HTTP-based streaming media network transmission protocol. This protocol supports the client to play videos with different bit rates and resolutions under different network bandwidth environments. [0003] The implementation of HLS is to cut the entire multimedia file into small HTTP-based resources (files in MPEG-2Transport Stream format), also known as "slicing", and generate an extended M3U (M3U8) Playlist file containing the slice file uri , only some resources in the list are downloaded each time, and the client can choose different resources to download and play according to the bandwidth environment. In the HLS protocol, each slice has a corresponding sequence number, and ide...

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/2662H04N21/434H04N21/845H04N21/8547
CPCH04N21/2662H04N21/4342H04N21/845H04N21/8547Y02D10/00
Inventor 张晴晴郑建文庄晓川
Owner CHINANETCENT TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More