Live broadcast and time shifting playing method and system

A time-shift playback and time-shift technology, applied in image communication, selective content distribution, electrical components, etc., can solve the problems of complex development of time-shift functions, unstable performance, and time-consuming, saving labor and material costs, and developing and easy to achieve, performance-guaranteed effects

Inactive Publication Date: 2016-06-08
深圳市云宙多媒体技术有限公司
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present invention is to propose a live broadcast time-shift playback method, aiming at solving the problems of complex time-shift function development, time-consuming and unstable performance in the prior art network video live broadcast business

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 and time shifting playing method and system
  • Live broadcast and time shifting playing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a flow chart of a live broadcast time-shift playback method in a preferred embodiment of the present invention; the method includes the following steps:

[0031] S101, cutting the video uploaded to the nginx server into ts files of specified duration in advance, and modifying the live m3u8 file in real time;

[0032] The live m3u8 file is used to record the duration and playback path of the latest N ts files; the size of N is set by the user;

[0033] S102, creating a file and playing information recorder in advance;

[0034] The file and broadcast information recorder is used to record the ts file information generated by each live broadcast and the playback record of each live time shift request; then according to the live time shift request information, different live time shift requests are transmitted corresponding ts files ;

[0035] Described ts file information comprises creation time, duration, playing path of ts file;

[0036] The playback r...

Embodiment 2

[0049] figure 2 It is a structural diagram of a live time-shift playback system in a preferred embodiment of the present invention. Described system comprises nginx server, file and playing information recorder and player;

[0050] Described nginx server comprises video slicing module and HTTP service module;

[0051]The video slice module is used to cut the video uploaded to the nginx server into ts files of specified duration, and modify live m3u8 files in real time;

[0052] The live m3u8 file is used to record the duration and playback path of the latest N ts files; the size of N is set by the user;

[0053] The HTTP service module is used to receive the playback request submitted by the player, and judge the file type of the playback request. If it is a ts file (that is, an on-demand request), the content of the ts file will be returned to the player, otherwise, the playback request will be served through HTTP Module, forwarded to the file and playback information rec...

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 and time shifting playing method and system. The method comprises the following steps: using an open source nginx server to realize an http (Hyper Text Transport Protocol) service and a file slice function required by live broadcast and time shifting; through a rtmp protocol, uploading audio and video data to the nginx server by a video source, and slicing the audio and video data into ts files through a slice module, and generating an m3u8 file; and developing a file and play message record module to record ts file information generated by each live broadcast, and then transmitting required ts files to different play requests according to live broadcast and time shifting request information, play record information and file record information; therefore, an efficient live broadcast and time shifting server can be realized simply and rapidly.

Description

technical field [0001] The present invention relates to the technical field of live broadcast time shifting, in particular to a live broadcast time shifting playing method and system. Background technique [0002] The so-called time-shifting means that viewers can replay the live broadcast content in the past time arbitrarily. Time-shifting is a new service formed by the combination of live broadcast and on-demand broadcast, and it is a supplement to the live broadcast service. When watching a live program, users can pause in the middle, and then continue to watch from the paused point, so as not to miss some important plots. Technically, when a pause request is made, the playback server records the program, and when the playback continues, the recorded program is replayed in unicast form. [0003] For live programs, the streaming media live broadcast system with time-shift function can watch the program at any time later, and it does not have to be synchronized, and can b...

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/231H04N21/2387H04N21/239H04N21/433H04N21/845
CPCH04N21/23113H04N21/2387H04N21/2393H04N21/4334H04N21/8456
Inventor 彭红顺
Owner 深圳市云宙多媒体技术有限公司
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