CN101917591B - Method and device for playing back live video - Google Patents

Method and device for playing back live video Download PDF

Info

Publication number
CN101917591B
CN101917591B CN2009102428145A CN200910242814A CN101917591B CN 101917591 B CN101917591 B CN 101917591B CN 2009102428145 A CN2009102428145 A CN 2009102428145A CN 200910242814 A CN200910242814 A CN 200910242814A CN 101917591 B CN101917591 B CN 101917591B
Authority
CN
China
Prior art keywords
live video
video
key frame
playback
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102428145A
Other languages
Chinese (zh)
Other versions
CN101917591A (en
Inventor
李军
夏永宏
温晓瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2009102428145A priority Critical patent/CN101917591B/en
Publication of CN101917591A publication Critical patent/CN101917591A/en
Application granted granted Critical
Publication of CN101917591B publication Critical patent/CN101917591B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a device for playing back a live video and aims to solve the problem that playback with any duration cannot be realized by the conventional direct broadcasting system. Direct broadcasting data is cached at a service end, so that a server can transmit corresponding video data to a user computer from a cache and play back the live video with no duration limitation when a user requests to play back the live video which is played. Therefore, the user can watch important contents repeatedly in real time without missing any wonderful clip.

Description

A kind of back method of live video and device
Technical field
The present invention relates to the living broadcast of programs technical field, particularly relate to a kind of back method and device of live video.
Background technology
Live is exactly the broadcast mode that the later stage is synthetic, broadcast is carried out simultaneously of broadcast TV program.Online Video is live to be exactly the live broadcast service of utilizing Internet resources to carry out, and the video capture through the scene uploads on the network synchronously, and the user can see the scene consulting of the very first time the same time on network.The live broadcast service of this network is widely used in network direct broadcasting services such as the news briefing carried out in real time, exhibition, product issue, product recommendations, sale outpost display, network concert, company's cocktail party, business meetings, celebration ceremony, program performance, movies-making, sports tournament, security analysis, long-distance education.
Now, many BroadVision WEBTVs are based on advanced stream media technology exploitation and form.So-called Streaming Media is meant the media formats that the mode of employing stream transmission is play at Internet.The stream transmission mode then is that multimedia files such as whole A/V and 3D are divided into compressed package one by one through special compress mode,, in real time transmission continuous to subscriber computer by video server.In the system that adopts the stream transmission mode; The user needn't wait until as adopting downloading mode that whole download of whole file finishes, and can behind multimedia file decompress(ion)s such as the A/V that utilizes decompression apparatus (hardware or software) to compression on the user's computer, 3D, play and watch but only need pass through the startup time-delay of seconds or tens of seconds.The remainder of multimedia file will continue to download in the server on backstage this moment.
Usually, adopt the live of stream media technology realization, the subscriber computer end is continuous, real-time reception live data, and the user can watch the current live video that transmits, and promptly watches along with live progress.But if the video that the user has broadcasted before having missed thinks that playback replays, present live broadcast system can't realize.Even some live broadcast systems can realize, also be since this live broadcast system at subscriber computer end buffer memory the sub-fraction live data, wait after this part data cached playing, have new live data in the buffer memory again and deposit in and override former data.Therefore, the sub-fraction live data of user in can only the playback buffer memory, and this part data is very limited, very short and small usually, can not satisfy the user and repeat to watch the demand of broadcast content.
Summary of the invention
Technical problem to be solved by this invention provides a kind of back method and device of live video, can't realize the problem of any duration playback to solve present live broadcast system.
In order to address the above problem, the invention discloses a kind of back method of live video, comprising:
Live video is divided into a plurality of sections according to key frame;
The buffer memory live video; Said buffer memory comprises sets up index information to each key frame in the said live video, and sets up the corresponding relation of index information and live video;
Receive the playback request that the user sends; The time point that comprises video playback in the described request, the time point of said video playback is corresponding with key frame;
According to described request, from buffer memory, obtain corresponding live video, and send to the user.
Preferably, said buffer memory also comprises:
Said index information and live video are carried out buffer memory respectively.
Preferably, according to described request, from buffer memory, obtain corresponding live video and comprise:
According to said index information, the corresponding key frame of video playback time point of searching and asking;
Begin to obtain live video from this key frame position.
Preferably, send to after the user, also comprise:
Begin to play live video from this key frame position.
The present invention also provides a kind of playback reproducer of live video, comprising:
Cache module is used for the buffer memory live video, and said live video is divided into a plurality of sections according to key frame; Said cache module comprises sets up indexing units, is used for each key frame of said live video is set up index information, and sets up the corresponding relation of index information and live video;
The request receiver module is used to receive the playback request that the user sends; The time point that comprises video playback in the described request, the time point of said video playback is corresponding with key frame;
Data acquisition module is used for according to described request, from cache module, obtains corresponding live video.
Data transmission module is used for the live video that is obtained is sent to the user.
Preferably, said cache module also comprises:
Buffer unit is used for said index information and live video are carried out buffer memory respectively.
Preferably, said data acquisition module comprises:
Retrieval unit is used for according to said index information, the corresponding key frame of video playback time point of searching and asking;
Data-reading unit is used for beginning to obtain live video from this key frame position.
Compared with prior art, the present invention has the following advantages:
The present invention has been owing to carried out buffer memory at server end to live data, and therefore when the user asked live video that playback broadcasted, server can be passed to subscriber computer with the corresponding video data from buffer memory, carry out unlimited long direct playing and playback.Like this, the user just can repeatedly repeat to watch important content in real time, and can not miss the fragment of any excellence.
Fig. 1 is the back method flow chart of the embodiment of the invention one said a kind of live video;
Fig. 2 is the back method flow chart of the embodiment of the invention two said a kind of live videos;
Fig. 3 is the playback reproducer structure chart of the embodiment of the invention three said a kind of live videos.
Description of drawings
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
Along with the development of network direct broadcasting, more and more users is watched various programme televised lives through network.But because live particularity, in a single day the user misses live time point, just can't review again, can only wait until that live finishing watches the fragment of missing with the mode of program request afterwards again.
The invention provides a kind of live scheme of time shift playback arbitrarily, the user can carry out the direct playing and playback of endless time shift distance in live process.Be elaborated through embodiment below.
Embodiment
Embodiment one:
With reference to Fig. 1, be the back method flow chart of the embodiment of the invention one said a kind of live video.
Live process is: collection in worksite audio, video data at first, then the audio, video data that collects is encoded, and generate files in stream media, direct broadcast server is passed to subscriber computer in real time with files in stream media and is play then.In this process, direct broadcast server is following for the processing of direct playing and playback:
Step 101, the buffer memory live video;
In live process, when direct broadcast server is directly passed to the subscriber computer broadcast with the files in stream media of making, also can be buffered in files in stream media on the server, this is the outstanding feature that the present invention is different from prior art.In the prior art, direct broadcast server does not carry out buffer memory to files in stream media.
Step 102 receives the playback request that the user sends;
The user if missed certain section live just now content, perhaps thinks to watch again live just now wonderful when watching live video, then can back drag the progress bar of player, and at this moment this player has just sent playback request to direct broadcast server.
Step 103 according to described request, is obtained corresponding live video from buffer memory;
After direct broadcast server is received playback request since in buffer memory, stored all just at live files in stream media, so can with just now the video of live mistake from buffer memory, read again, pass to the player on the subscriber computer.
Step 104 sends to the user with the live video that obtains.
In the above-mentioned flow process, the duration of video playback only receives the restriction of server buffer capacity, therefore under the enough big situation of server buffer capacity, can realize the direct playing and playback of any duration.Like this, the user just can repeatedly repeat to watch important content in real time, and can not miss the fragment of any excellence.
Embodiment two:
Present embodiment is a preferred embodiment, on the basis of embodiment one, a kind of caching technology based on the key frame index is provided, and has further realized the accurate location of time shift playback.
With reference to Fig. 2, be the back method flow chart of the embodiment of the invention two said a kind of live videos.
Step 201 is set up index information to each key frame in the live video, and sets up the corresponding relation of index information and live video;
Server at first was divided into a plurality of sections with file according to key frame before the buffer memory video file, said section is appreciated that and is data block, is about to a whole file and is divided into a plurality of data blocks through key frame.
Wherein, Frame is the least unit of stream medium data; Key frame is special frame, is used for defining the variation in the video image, is residing that frame of key operations in image motion or the variation; Comprise motion of objects and characteristics (like size and color), the interpolation that interpolation or deletion object and frame move in scene etc.Whenever, when hoping image, the user changes, perhaps hope to take place certain action, must use key frame.Picture frame between key frame and the key frame can be created by software.
Key frame in each video file is set up after the index, also needed corresponding video file set up secondary index, promptly first order index can find certain video file, and second level index can find certain key frame in this document.
Wherein, first order index can the video file name be set to indexing key words, and second level index can the key frame sign be set to indexing key words.
Step 202 is carried out buffer memory respectively with said index information and live video;
Step 203 receives the playback request that the user sends;
Comprise the time point of video labeling (like the video file name) and video playback in the described request, the time point of said video playback is corresponding with key frame.
Step 204, according to said index information, the corresponding key frame of video playback time point of searching and asking;
Retrieval first order index can find the live video file that the user asks according to video labeling; Retrieval second level index according to the time point of video playback, can find the key frame position of beginning playback in this video file.
Step 205 begins to obtain live video from this key frame position, and sends to the user;
Server directly begins from this key frame position, from the buffer memory reading video data, rather than reads the whole video file as prior art.
Step 206 begins to play live video from this key frame position.
After subscriber computer receives the server response,, promptly, play-over live just now video content from the time point of beginning playback from this key frame position.
Above-mentioned flow process has not only realized the direct playing and playback of any duration; And owing to adopted the stream microtomy during server buffer video file; Therefore when carry out the video playback of any duration, can accurately navigate to the playback duration point that the user needs, direct from key frame position that should time point is begun transmitting video data; The user need not take time and wait for the transmission and the broadcast of this key frame previous contents like this, just can be directly from live video arbitrary time point begin playback.
Embodiment three:
To said method embodiment, the present invention also provides corresponding device thereof embodiment.
With reference to Fig. 3, be the playback reproducer structure chart of the embodiment of the invention three said a kind of live videos.
Said device mainly is laid in the direct broadcast server end, can comprise with lower module:
Cache module 31 is used for the buffer memory live video;
Request receiver module 32 is used to receive the playback request that the user sends;
Data acquisition module 33 is used for according to described request, from cache module 31, obtains corresponding live video.
Data transmission module 34 is used for the live video that is obtained is sent to the user.
Said device has been owing to carried out buffer memory to live data, and therefore when the user asked live video that playback broadcasted, said device can be passed to subscriber computer with the corresponding video data from buffer memory, carry out unlimited long direct playing and playback.Like this, the user just can repeatedly repeat to watch important content in real time, and can not miss the fragment of any excellence.
Preferably, in another embodiment, the cache module 31 in the said device can also adopt the stream microtomy to carry out metadata cache, and therefore said cache module 31 can also comprise:
Set up indexing units, be used for each key frame of said live video is set up index information, and set up the corresponding relation of index information and live video;
Buffer unit is used for said index information and live video are carried out buffer memory respectively.
Like this, owing to comprise the time point of video playback in the said playback request, and the time point of said video playback is corresponding with key frame, and said data acquisition module 33 can further include:
Retrieval unit is used for according to said index information, the corresponding key frame of video playback time point of searching and asking;
Data-reading unit is used for beginning to obtain live video from this key frame position.
The described device of said preferred embodiment has not only been realized the direct playing and playback of any duration; But also quick, the accurate location of having realized live video; Can accurately navigate to the position of certain key frame; The user need not take time and wait for the transmission and the broadcast of this key frame previous contents, just can be directly from video arbitrary time point begin playback.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than to the back method and the device of a kind of live video provided by the present invention; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (7)

1. the back method of a live video is characterized in that, comprising:
Live video is divided into a plurality of sections according to key frame;
The buffer memory live video; Said buffer memory comprises sets up index information to each key frame in the said live video, and sets up the corresponding relation of index information and live video;
Receive the playback request that the user sends; The time point that comprises video playback in the described request, the time point of said video playback is corresponding with key frame;
According to described request, from buffer memory, obtain corresponding live video, and send to the user.
2. method according to claim 1 is characterized in that, said buffer memory also comprises:
Said index information and live video are carried out buffer memory respectively.
3. method according to claim 1 is characterized in that, according to described request, from buffer memory, obtains corresponding live video and comprises:
According to said index information, the corresponding key frame of video playback time point of searching and asking;
Begin to obtain live video from this key frame position.
4. method according to claim 3 is characterized in that, sends to after the user, also comprises:
Begin to play live video from this key frame position.
5. the playback reproducer of a live video is characterized in that, comprising:
Cache module is used for the buffer memory live video, and said live video is divided into a plurality of sections according to key frame; Said cache module comprises sets up indexing units, is used for each key frame of said live video is set up index information, and sets up the corresponding relation of index information and live video;
The request receiver module is used to receive the playback request that the user sends; The time point that comprises video playback in the described request, the time point of said video playback is corresponding with key frame;
Data acquisition module is used for according to described request, from cache module, obtains corresponding live video.
Data transmission module is used for the live video that is obtained is sent to the user.
6. device according to claim 5 is characterized in that, said cache module also comprises:
Buffer unit is used for said index information and live video are carried out buffer memory respectively.
7. device according to claim 5 is characterized in that, said data acquisition module comprises:
Retrieval unit is used for according to said index information, the corresponding key frame of video playback time point of searching and asking;
Data-reading unit is used for beginning to obtain live video from this key frame position.
CN2009102428145A 2009-12-17 2009-12-17 Method and device for playing back live video Expired - Fee Related CN101917591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102428145A CN101917591B (en) 2009-12-17 2009-12-17 Method and device for playing back live video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102428145A CN101917591B (en) 2009-12-17 2009-12-17 Method and device for playing back live video

Publications (2)

Publication Number Publication Date
CN101917591A CN101917591A (en) 2010-12-15
CN101917591B true CN101917591B (en) 2012-11-14

Family

ID=43324959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102428145A Expired - Fee Related CN101917591B (en) 2009-12-17 2009-12-17 Method and device for playing back live video

Country Status (1)

Country Link
CN (1) CN101917591B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6033541B2 (en) * 2011-11-24 2016-11-30 シャープ株式会社 REPRODUCTION DEVICE, REPRODUCTION METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
CN104469433B (en) * 2013-09-13 2018-09-07 深圳市腾讯计算机系统有限公司 Method and device is reviewed in a kind of net cast
CN103618912A (en) * 2013-11-26 2014-03-05 乐视网信息技术(北京)股份有限公司 Live telecast time shifting method and server
CN103699583B (en) * 2013-12-05 2018-08-03 乐视网信息技术(北京)股份有限公司 A kind of method and electronic equipment for realizing direct broadcast time-shift
CN104185072A (en) * 2014-03-28 2014-12-03 无锡天脉聚源传媒科技有限公司 Video playing method and device
CN103945231B (en) * 2014-05-19 2018-02-09 无锡天脉聚源传媒科技有限公司 A kind of Streaming Media reservation editing system and method
CN105227930B (en) * 2015-10-27 2018-12-07 浙江宇视科技有限公司 Video inspection method and device in a kind of video monitoring system
CN105554580A (en) * 2015-12-10 2016-05-04 深圳市科漫达智能管理科技有限公司 Streaming media file positioning method and device
CN106385619A (en) * 2016-09-14 2017-02-08 乐视控股(北京)有限公司 Replay method and device for live broadcast video stream
CN107580235A (en) 2017-09-01 2018-01-12 网宿科技股份有限公司 A kind of rebroadcasting method of live video, anti-replay service device and system
CN107580232A (en) * 2017-09-28 2018-01-12 郑州云海信息技术有限公司 A kind of video living transmission system and method
CN107786902A (en) * 2017-11-07 2018-03-09 Tcl海外电子(惠州)有限公司 Direct broadcast time-shift method, TV and computer-readable recording medium
CN108260024B (en) * 2018-04-12 2020-06-12 腾讯科技(深圳)有限公司 Live broadcast data processing method and device, computer equipment and storage medium
CN108600778B (en) * 2018-05-07 2020-11-03 广州酷狗计算机科技有限公司 Media stream transmitting method, device, system, server, terminal and storage medium
CN109168020A (en) * 2018-10-22 2019-01-08 广州虎牙科技有限公司 Method for processing video frequency, device, calculating equipment and storage medium based on live streaming
CN109348240A (en) * 2018-10-25 2019-02-15 网易(杭州)网络有限公司 Video broadcasting method, apparatus and system, electronic equipment and storage medium
CN112702617A (en) * 2020-12-15 2021-04-23 湖南新云网科技有限公司 Caching method and display method of live video page and related equipment
CN112988008A (en) * 2021-03-12 2021-06-18 北京高途云集教育科技有限公司 Information display method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794800A (en) * 2005-11-28 2006-06-28 深圳市同洲电子股份有限公司 Digital TV direct playing and playback system and method
CN101202900A (en) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 Method for switching living broadcast and playback of digital television and video server
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101202598A (en) * 2006-12-30 2008-06-18 深圳市同洲电子股份有限公司 Apparatus and method for audio playing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794800A (en) * 2005-11-28 2006-06-28 深圳市同洲电子股份有限公司 Digital TV direct playing and playback system and method
CN101202598A (en) * 2006-12-30 2008-06-18 深圳市同洲电子股份有限公司 Apparatus and method for audio playing
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101202900A (en) * 2007-03-12 2008-06-18 深圳市同洲电子股份有限公司 Method for switching living broadcast and playback of digital television and video server

Also Published As

Publication number Publication date
CN101917591A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN101917591B (en) Method and device for playing back live video
CN101917590A (en) Network live broadcasting system with playback function and player
US20220159349A1 (en) Methods and apparatus for presenting advertisements during playback of recorded television content
CN101523911B (en) Method and apparatus for downloading ancillary program data to dvr
CN106060578B (en) Generate the method and system of video data
CN101917390B (en) Multifunctional network player
RU2601446C2 (en) Terminal apparatus, server apparatus, information processing method, program and interlocked application feed system
KR102312755B1 (en) Reception apparatus, reception method, transmission apparatus and transmission method
CN103069769B (en) For the special-effect mode transmitted through the network crossfire of decoded video data
CN101917389B (en) Network television direct broadcasting system
US11451736B2 (en) Data segment service
US20090070324A1 (en) Related information transmission method, related information transmission server, terminal apparatus and related information transmission system
CN101909160A (en) Broadcast control switching method and device in network video live broadcast
CN101917388A (en) Streaming media data storage method and device
JP2016026424A (en) Method and system for sharing digital media content
JP6043089B2 (en) Broadcast communication cooperative receiver
KR101472013B1 (en) Server and method for providing music streaming include data of add image
CN101848367B (en) File-based video live webcasting method
CN101512517A (en) Personal content distribution network
CN101595724A (en) The broadcast system that utilizes local electronic service guide to generate
WO2012031143A1 (en) Method and apparatus for embedding media programs having custom user selectable thumbnails
KR102110623B1 (en) Transmission device, information processing method, program, reception device, and application linking system
KR20100018126A (en) Method for generating and providing multimedia contents related information, and apparatus thereof
CN102172035A (en) Manufacturing method and system of audio special
CN104661041A (en) Live broadcast time shift positioning method, server, terminal and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121114

Termination date: 20161217

CF01 Termination of patent right due to non-payment of annual fee