A kind of SRS-based video file production method, background server and system

A technology for video files and production methods, applied in the field of video processing, can solve problems such as lag and video-on-demand service delay, and achieve the effects of improving delay and lag, improving user experience, and low playback compatibility

Active Publication Date: 2022-04-26
GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The second object of the present invention is to provide an SRS-based video file production background server, which can solve the problem that the provision of video-on-demand services can be seriously delayed and lagged

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 SRS-based video file production method, background server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Such as figure 1 Shown, in the present embodiment, a kind of video file production method based on SRS comprises the following steps:

[0037] S1: Obtain the live video stream, generate ts video files in a preset order, and number the ts files according to the start time and end time of the recorded video;

[0038] Specifically, after the SRS-based video file production background server obtains the live video stream uploaded by the live broadcast device, it will slice and save the live video stream to facilitate subsequent video on-demand. In this embodiment, the S1 Specifically, the following steps are implemented:

[0039] S11: Obtain the live video stream. By configuring the distribution method of SRS, preferably, the HLS distribution method is used to generate several ts video files according to the preset order of the live video stream, and at the same time, the start time and end time of the recorded video are matched according to the needs. ts files are number...

Embodiment 2

[0054] A background server for video file production based on SRS, including a storage device and a processor;

[0055] memory for storing program instructions;

[0056] The processor is configured to run the program instructions to execute the SRS-based video file production method described in the first embodiment.

Embodiment 3

[0058] An SRS-based video file production system includes the SRS-based video file production background server of embodiment 2, live broadcast equipment and playback equipment, and the live broadcast equipment and playback equipment are all connected to the SRS-based video file production background server.

[0059] In this embodiment, the live broadcast device transmits the live video stream to the SRS-based video file production background server through the Internet of Things, and then the SRS-based video file production background server starts the SRS-based video file production described in Embodiment 1 The steps of the method are to generate the ts video file and the first index file, and store them in a directory accessible to the HTTP server. Users can access the HTTP server through devices such as mobile phones, computers or tablet computers to store the ts video file and the first index file. The directory of the file, watch the video corresponding to the live video...

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 method for producing video files based on SRS, a background server and a system, including the following steps: S1: Acquire live video streams, and automatically generate ts video files and second index files by SRS in a preset order, and at the same time according to The ts file needs to be numbered with the start time and end time of the recorded video; S2: traverse the ts video file through the pre-recorded file analysis script, and then dynamically obtain the file feature information of the ts video file, assemble and generate the first index file; S3 : Copy the ts video file looped to in step S2 and the generated first index file to a specified directory. In the present invention, the first index file is generated by assembling the file feature information of the ts video file to play the ts video file, so that the ts video file can be adapted to the The terminal plays, avoiding spending a lot of time compositing or transcoding ts video files.

Description

technical field [0001] The invention relates to the technical field of video processing, in particular to an SRS-based video file production method, background server and system. Background technique [0002] SRS (Simple RTMP Server) is an excellent open source streaming media server software, which can be used in various scenarios such as live streaming / recording / video customer service, etc. It is positioned as an operational-level Internet live streaming server cluster. [0003] Currently, there are two methods for generating recording files in systems that provide both live streaming and on-demand playback services (deployed in non-CDN mode) on the market. The first one is to connect to a live broadcast device without recording function (such as a camera, a third-party live stream), and the live broadcast server needs to first record it as an MP4 file, and then it needs to be transcoded to other formats suitable for mobile playback in order to be compatible with the mobil...

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): H04N21/6437H04N21/858
CPCH04N21/6437H04N21/858
Inventor 朱正辉张常华赵定金
Owner GUANGZHOU BAOLUN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products