CN105592369B - A kind of video frequency abstract processing method and processing device - Google Patents

A kind of video frequency abstract processing method and processing device Download PDF

Info

Publication number
CN105592369B
CN105592369B CN201410564633.5A CN201410564633A CN105592369B CN 105592369 B CN105592369 B CN 105592369B CN 201410564633 A CN201410564633 A CN 201410564633A CN 105592369 B CN105592369 B CN 105592369B
Authority
CN
China
Prior art keywords
file
level
frequency abstract
video frequency
video
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.)
Active
Application number
CN201410564633.5A
Other languages
Chinese (zh)
Other versions
CN105592369A (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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410564633.5A priority Critical patent/CN105592369B/en
Publication of CN105592369A publication Critical patent/CN105592369A/en
Application granted granted Critical
Publication of CN105592369B publication Critical patent/CN105592369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of video frequency abstract processing methods, which comprises the terminal obtains the first operation of user, and first operation is for indicating whether to need to play video frequency abstract;The terminal is based on first operation, judges whether to need to play video frequency abstract, obtains the first judging result;When first judging result demonstrates the need for playing video frequency abstract, the terminal to server requests video frequency abstract;The terminal receives the video frequency abstract that the server is sent, and plays the video frequency abstract;The terminal requests video main body to the server;The terminal receives the video main body that the server is sent, and plays the video main body.The present invention also discloses a kind of video frequency abstract processing units.

Description

A kind of video frequency abstract processing method and processing device
Technical field
The present invention relates to electronic technology more particularly to a kind of video frequency abstract processing method and processing devices.
Background technique
Web TV (NTV, Network Tele-Vision) technology is using broadband network as carrier, with the more matchmakers of video and audio Body is form, turns to characteristic to interact individual character, and the technology of the business of comprehensive paid service is provided for all wide-band terminal users. Web TV mainly includes Interactive Internet TV (IPTV), from technical pattern, Web TV be it is Internet-based, with Broadband ethernet (Ethernet) is transmission link, with PC (PC, Personal Computer) or and Digital Media The simulated television of adapter (DMA, Digital Media Adapter) connection is the TV of terminal.
For video as a kind of non-structured data, fast browsing and retrieval to people bring very big challenge.Especially It is the video data for having magnanimity in Internet service, and it will be very that people, which will browse and search in video specific event, Time-consuming thing.Currently, most of user is when starting to watch internet television video, if wanting to predict video frequency abstract (again Referred to as video content outline), it requires to drag player manually and carrys out preview video abstract.Since network just establishes connection, greatly Partial video content is downloaded not yet, and therefore, at every dragging one time, Web TV requires to re-download piece of video user Section;But also there is dragging point is not video highlight partial content, user does not see the content for oneself wanting to see, thus Cause to waste time, it is seen then that the experience of user's viewing video frequency abstract is poor in the prior art.
Summary of the invention
In view of this, the embodiment of the present invention is to solve the problems, such as existing in the prior art one of and provide a kind of video Abstract processing method and processing device is able to ascend the experience that user watches video frequency abstract.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of video frequency abstract processing method, which comprises
The terminal obtains the first operation of user, and first operation is for indicating whether to need to play video frequency abstract;
The terminal is based on first operation, judges whether to need to play video frequency abstract, obtains the first judging result;
When first judging result demonstrates the need for playing video frequency abstract, the terminal to server request video is plucked It wants;
The terminal receives the video frequency abstract that the server is sent, and plays the video frequency abstract.
Second aspect, the embodiment of the present invention provide a kind of video frequency abstract processing method, which comprises
Video main body is divided into video data (ts) fragment by the server, analyzes the characteristic information of each ts fragment, Video frequency abstract is generated according to the ts fragment that the characteristic information meets preset requirement;
The server records the identification information and sequence for generating each ts fragment in the video frequency abstract;
The server obtains the address URL of each ts fragment in the video frequency abstract;
The server generates the level-one m3u8 file of the video frequency abstract;
The server according in the video frequency abstract the address URL of each ts fragment, the identification information of ts fragment and Sequentially, second level m3u8 file corresponding with the level-one m3u8 file is generated.
The third aspect, the embodiment of the present invention provide a kind of video frequency abstract processing unit, and described device includes terminal, the end End includes first acquisition unit, the first judging unit, request unit and processing unit, in which:
The first acquisition unit, for obtaining the first operation of user, first operation is for indicating whether to need Play video frequency abstract;
First judging unit, for judging whether to need to play video frequency abstract, obtaining the based on first operation One judging result;When first judging result demonstrates the need for playing video frequency abstract, the request unit is triggered;
The request unit, for requesting video frequency abstract to server;
The processing unit, the video frequency abstract sent for receiving the server, and play the video frequency abstract.
Fourth aspect, the embodiment of the present invention provide a kind of video frequency abstract processing unit, and described device includes server, described Server includes the first generation unit, recording unit, third acquiring unit, the second generation unit and third generation unit, in which:
First generation unit analyzes the characteristic information of each ts fragment for video main body to be divided into ts fragment, Video frequency abstract is generated according to the ts fragment that the characteristic information meets preset requirement;
The recording unit, for recording the identification information and sequence of each ts fragment being used in the video frequency abstract;
The third acquiring unit, for obtaining the address URL of each ts fragment in the video frequency abstract;
Second generation unit, for generating the level-one m3u8 file of the video frequency abstract;
The third generation unit, for according to the address URL of each ts fragment in the video frequency abstract, ts fragment Identification information and sequence generate second level m3u8 file corresponding with the level-one m3u8 file.
Video frequency abstract processing method and processing device provided in an embodiment of the present invention, wherein the terminal obtains the first of user Operation, first operation is for indicating whether to need to play video frequency abstract;The terminal is based on first operation, and judgement is It is no to need to play video frequency abstract, obtain the first judging result;When first judging result demonstrates the need for playing video frequency abstract, The terminal to server requests video frequency abstract;The terminal receives the video frequency abstract that the server is sent, and described in broadcasting Video frequency abstract;The terminal requests video main body to the server;The terminal receives the video master that the server is sent Body, and play the video main body;It so, it is possible to promote the experience that user watches video frequency abstract.
Detailed description of the invention
Fig. 1-1 is the composed structure schematic diagram of video frequency abstract of embodiment of the present invention processing unit;
Fig. 1-2 is the implementation process schematic diagram of one video frequency abstract processing method of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of two video frequency abstract processing method of the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram one of step 203 and step 206 in the embodiment of the present invention two;
Fig. 4 is the implementation process schematic diagram two of step 203 and step 206 in the embodiment of the present invention two;
Fig. 5 is the composed structure schematic diagram of five server of the embodiment of the present invention;
Fig. 6-1 is the composed structure schematic diagram one of six video frequency abstract processing unit of the embodiment of the present invention;
Fig. 6-2 is the composed structure schematic diagram two of six video frequency abstract processing unit of the embodiment of the present invention;
Fig. 6-3 is the composed structure schematic diagram three of six video frequency abstract processing unit of the embodiment of the present invention.
Specific embodiment
Present inventor will propose a kind of video frequency abstract processing method in each embodiment below, can be applied to Video frequency abstract processing unit, as Figure 1-1, the device include at least one server 11 and at least one terminal 12, service Device 11 is located at video content provider side, and terminal 12 is located at user side, can be for example by all between terminal 12 and server 11 If internet is connected to the network, network can have network operator to provide, and the video content exported in terminal 12 is by content Provider is provided by server 11.Terminal 12 can receive video content from server, and play or execute the view Frequency content.Terminal 12 can be the outfit for being equipped with network module, the radio receiver of such as set-top box or such as networking telephone The TV of the display device of any other type of network module.Only for being easy explanation, illustrates receive broadcast singal herein Radio receiver.
In the present embodiment, the content supplier can be generation or distribute the plurality of kinds of contents that will be provided to terminal 12 Provider.Content supplier can be for example including video on demand (VOD) provider, game provider or other videos appropriate Content supplier.The terminal can be applied to television set, computer, mobile phone, personal digital assistant (PDA, Personal Digital Assistant), the video playing terminals such as tablet computer.
A kind of embodiment is provided by exemplary below, most of existing internet television framework is based on streaming media HLS (Http Live Streaming) agreement, in the case where not influencing the end-to-end framework of entire internet television, to improve Customer service experience, is set forth below a kind of video frequency abstract processing method based on HLS protocol, when terminal plays video, first plays For embodying the video frequency abstract of video highlight segment, to user with the general of the video body matter (hereinafter referred to as video main body) Preview after video frequency abstract finishes, then plays entire video main body, greatly improves user and watches internet television.
First briefly introduce HLS protocol, HLS protocol major video service provider at present used in transport protocol In occupy an important position.HLS protocol is Apple Inc.'s realization based on hypertext transfer protocol (HTTP, Hyper-Text Transfer Protocol) streaming media transmission protocol, the huge continuous media data of capacity are segmented by HLS protocol, point Large number of small documents are segmented into be transmitted.HLS adapts to the file transporting of web page server, and using a continuous renewal Lightweight index file come control segmentation after small media file downloading and broadcasting, live streaming and the point of Streaming Media may be implemented It broadcasts.HLS protocol has the advantage that 1) network transmission is convenient, and data are transmitted by http protocol, so it is anti-to completely dispense with consideration Wall with flues or the problem of act on behalf of;2) client can reduce core network load by way of progressive download;3) client can According to network load condition, dynamic adjusts video playing code rate.
Be divided into video data ts file and media data index m3u8 file after video data being handled by HLS protocol, Wherein, ts file is a kind of organizational form of file group, and the file name suffix of the video data file is " ts ", because of referred to herein as ts File;M3u8 file is actually also a kind of organizational form of file group, and by video data, group is woven in the form of playlist It downloads and plays for multimedia player together, the file name suffix of the media data index file is " m3u8 ", because being referred to herein as M3u8 file.Multiple uniform resource locator (URL, the Uniform of multiple video data ts are generally included in m3u8 file Resource Location).After multimedia player obtains m3u8 file, and then corresponding ts text is downloaded according to URL therein Part simultaneously plays out.
The embodiment of the present invention provides a kind of video frequency abstract processing method and processing device, wherein video main body is divided into ts points Piece, then according to ts fragment generate video frequency abstract, and record composition video frequency abstract in each ts identification information such as (title), Sequence and the address URL;And according to identification information, sequence and the URL of each ts in original video code rate information, video frequency abstract Location generates the level-one m3u8 file and second level m3u8 file about video frequency abstract.Video frequency abstract processing provided in an embodiment of the present invention Method and device has following features, and server does not need storage video frequency abstract video file, need to only generate m3u8 file; When terminal plays, the m3u8 file of video frequency abstract is still first obtained according to HLS protocol, then obtains the entire m3u8 text of video content Part can be realized and first play video frequency abstract, then plays video content.
From foregoing description as it can be seen that the embodiment of the present invention provides a kind of video frequency abstract processing method and processing device, seen in user When seeing video, can first preview can embody the video frequency abstract of video highlight segment, then video main body is played, to meet user Watch the psychology of video;And since video frequency abstract and video main body are all based on internet television system framework, two kinds of videos Linking smoothness is played, the user experience of viewing internet television video is greatly improved.In addition, most of technology in the related art In, video frequency abstract requires to carry out individually storage video frequency abstract independently of video main body after generating, to bring to server negative Load.The embodiment of the present invention is implemented simple while improving user's viewing internet television experience;It is multiplexed original video content Fragment generates video frequency abstract, does not need to store video frequency abstract file again in server side, directly generates respective index file i.e. Can, substantially reduce the storage pressure and system complexity of system.In addition, terminal is only needed to meet basic HLS protocol, It does not need to be transformed.
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of video frequency abstract processing method, and this method is applied in video frequency abstract processing unit Server side, Fig. 1-2 are the implementation process schematic diagram of one video frequency abstract processing method of the embodiment of the present invention, as shown in Figs. 1-2, should Method includes:
Step 101, video main body is divided into video data ts fragment by the server, analyzes the feature of each ts fragment Information generates video frequency abstract according to the ts fragment that the characteristic information meets preset requirement;
Here, the characteristic information can with face facial image information, natural scene image information, still life image information, Moving scene information etc., wherein moving scene information can be the generation of the scenes such as scene information, explosion when human or animal runs The scene information of acute variation;The preset requirement can be face facial image information, for example, each ts of server analysis points Piece is to belong to any in characteristic information, and is classified to each ts;When preset requirement is people's face facial image information, Those ts fragments that can embody face facial image information are ranked up by server according to chronological order, are regenerated Video frequency abstract, while the identification information of each ts of composition video frequency abstract is recorded, when the file name that identification information is ts fragment When, identification information is, for example, 10.ts, 60.ts, 140.ts, 343.ts ...;Then, by video frequency abstract and video content M3u8 file is integrated, and when terminal plays video, directly can obtain video content, therefore video frequency abstract according to index file Video content do not need extra storage.
Here, the video frequency abstract refers to the interested video clip of user according to feature information extraction, the step 101 can also be realized using conventional video abstraction generating method in the art, therefore be repeated no more.
Step 102, server record for generate each ts fragment in the video frequency abstract identification information and Sequentially;
Here, the identification information of the ts fragment can be the title (filename), the serial number of ts fragment, number of ts fragment Etc. information.
Here, the sequence can refer to the sequence using temporal information as representative, for example, a total of the 100 of one section of video A ts fragment, it is 001 to 100 that this 100 fragments, which are in chronological sequence sequentially numbered,;Wherein, the number of ts fragment be 003, 008 and 058 composition video frequency abstract, then the sequence of the ts fragment in video frequency abstract described here refers to 003,008 and 058.
Step 103, the server obtains the address URL of each ts fragment in the video frequency abstract;
Here, the address URL of each ts fragment refers to that original video divides the address URL of rear ts fragment.
Step 104, the server generates the level-one m3u8 file of the video frequency abstract;
Step 105, the server is according to the address URL of each ts fragment in the video frequency abstract, the mark of ts fragment Know information and sequence, generates second level m3u8 file corresponding with the level-one m3u8 file.
In general, video is stored in the form of ts fragment, under normal circumstances, the duration of ts fragment is provided according to HLS protocol It can be 10 seconds, m3u8 file is at least used to describe the address URL of ts fragment, wherein level-one m3u8 file relates generally to two Parameter, wherein first parameter is code rate, second parameter is URL address information corresponding with each code rate parameter;Second level M3u8 file is related to a parameter i.e. URL address parameter;
Terminal first obtains index file, then obtains ts fragment.Specifically, terminal first obtains level-one m3u8 file, according to certainly Body bandwidth situation selects a kind of suitable code stream to play out, i.e., the identification information of level-one m3u8 file is sent service by terminal Corresponding second level m3u8 file will be sent to terminal, such terminal according to the identification information of level-one m3u8 file by device, server Ts fragment can be downloaded according to the address URL in second level m3u8 file, and is carried out according to the sequencing in second level m3u8 file It plays.
Here is the level-one m3u8 file and second level m3u8 file example of video content:
Level-one m3u8 file: example index.m3u8
BANDWIDTH=1280000bps, URL11/low.m3u8;
BANDWIDTH=2560000bps, URL12/mid.m3u8;
BANDWIDTH=7680000bps, URL13/hi.m3u8;
By taking second level m3u8 file mid.m3u8 as an example, the content in mid.m3u8 is as follows:
URL12/01.ts;
URL12/02.ts;
URL12/03.ts;
URL12/04.ts;
URL12/05.ts;
URL12/06.ts;
……;
In above-mentioned example, the unit of bandwidth (BANDWIDTH) is bit/second (bps, bits per second), wherein URL URL11, URL12 and URL13 in address can indicate the same address URL, can also indicate the different address URL, URL " low.m3u8 ", " mid.m3u8 ", " hi.m3u8 " in location respectively indicate filename.
A kind of video frequency abstract processing method based on HLS protocol is proposed in the present embodiment, server first draws video main body It is divided into video data ts fragment, analyzes the characteristic information of each ts fragment, the ts of preset requirement is met according to the characteristic information Fragment generates video frequency abstract;Then, the identification information and sequence for generating each ts fragment in the video frequency abstract are recorded; The address URL of each ts fragment in the video frequency abstract is obtained again;Then the level-one m3u8 file of the video frequency abstract is generated, Finally according to the address URL of each ts fragment in the video frequency abstract, the identification information and sequence of ts fragment, generate with it is described The corresponding second level m3u8 file of level-one m3u8 file;In this way, first playing wonderful when terminal plays internet television video Video frequency abstract after video frequency abstract finishes, then plays in entire video to user with the general preview of the video content Hold, to improve the experience that user watches internet television.
Two kinds of methods for realizing the level-one m3u8 file for generating the video frequency abstract, both methods is provided below In do not need independently of video main body carry out individually storage video frequency abstract, wherein
First method are as follows:
In the embodiment of the present invention, the server generates the level-one m3u8 file of the video frequency abstract, comprising:
The server obtains the level-one m3u8 file of video main body, as the video frequency abstract with different code rates Level-one m3u8 file;
Accordingly, the server is according to the address URL of each ts fragment in the video frequency abstract, the mark of ts fragment Information and sequence generate second level m3u8 file corresponding with the level-one m3u8 file, comprising:
The server is by the address URL of each ts fragment in the video frequency abstract, the identification information of ts fragment and suitable The front of second level m3u8 file corresponding with the level-one m3u8 file of the video main body is written, so that terminal is being requested in sequence Video frequency abstract is first got when video main body.
Second method are as follows:
The server generates the level-one m3u8 file of the video frequency abstract, comprising:
The server generates the level-one m3u8 file of the video frequency abstract according to the code rate information of video main body.
In first method and level-one m3u8 file about video frequency abstract is not independently generated, but directlys adopt video master The level-one m3u8 file of body, i.e., write direct the ts burst information of video frequency abstract in the m3u8 file of video content, wherein regarding The level-one m3u8 file of frequency content is constant, before video content in the ts burst information write-in second level m3u8 file of video frequency abstract Face.Here, ts burst information mainly includes the address URL of each fragment, identification information such as title of ts fragment etc..Here is The level-one m3u8 file of video frequency abstract and the example of second level m3u8 file in a kind of method;
The level-one m3u8 file of video frequency abstract, i.e. the level-one m3u8 file of video main body, example index.m3u8:
BANDWIDTH=1280000bps, URL11/low.m3u8;
BANDWIDTH=2560000bps, URL12/mid.m3u8;
BANDWIDTH=7680000bps, URL13/hi.m3u8;
By taking second level m3u8 file mid.m3u8 as an example, the content in mid.m3u8 is as follows:
URL12/10.ts;
URL12/60.ts;
URL12/140.ts;
URL12/343.ts;
* * * or more is video frequency abstract, is video main body * * * * below
URL/01.ts;
URL/02.ts;
URL/03.ts;
……
In above-mentioned example, the unit of bandwidth (BANDWIDTH) is bps, wherein URL11, URL12 in the address URL and URL13 can indicate the same address URL, can also indicate the different address URL, " low.m3u8 " in the address URL, " mid.m3u8 ", " hi.m3u8 " state filename respectively.
In first method, since the ts burst information of video frequency abstract to be previously written to the second level m3u8 file of video main body In, so, for the second level m3u8 file of each middle code rate, server will record the real initial position of video main body, as above The address first four URL of the example stated, second level m3u8 file is all the ts fragment address of video frequency abstract, from the 5th address URL Start the ts fragment address for being only video main body.The real initial position for why recording video main body, this is because sometimes User may be not intended to play video frequency abstract, at this moment just need to directly acquire video body matter, since server is recorded The real initial position of video main body, such user can skip video frequency abstract, directly start to watch video main body.If clothes Business device does not record the real initial position of video main body, it would be possible that cause user that can not choose whether to play video frequency abstract, this Sample one, for user when program request plays video, first to play abstract could play video main body, alternatively, user can only be by dragging It is dynamic just to stop playing abstract;After abstract finishes, video content is played automatically.The real starting of video main body is not recorded This method and user interaction flow of position are few, but realize relatively easy.
In second method, the ts burst information of video frequency abstract is generated into level-one m3u8 file and second level m3u8 file, depending on The level-one m3u8 file of frequency abstract and the level-one m3u8 file of video content are independent.Here is to be plucked in second method according to video The ts burst information wanted generates the example of level-one m3u8 file and second level m3u8 file;
The level-one m3u8 file of video frequency abstract, example index_ad.m3u8:
BANDWIDTH=1280000bps, URL21/low_ad.m3u8;
BANDWIDTH=2560000bps, URL22/mid_ad.m3u8;
BANDWIDTH=7680000bps, URL23/hi_ad.m3u8;
By taking the second level m3u8 file mid_ad.m3u8 of video frequency abstract as an example, the content in mid.m3u8 is as follows:
URL22/10.ts;
URL22/60.ts;
URL22/140.ts;
URL22/343.ts;
Here is the level-one m3u8 file of video main body in second method, example index.m3u8:
BANDWIDTH=1280000bps, URL11/low.m3u8;
BANDWIDTH=2560000bps, URL12/mid.m3u8;
BANDWIDTH=7680000bps, URL13/hi.m3u8;
By taking the second level m3u8 file mid.m3u8 of video main body as an example, the file in second level m3u8 file mid.m3u8 is such as Under:
URL12/01.ts
URL12/02.ts
URL12/03.ts
URL12/04.ts;
URL12/05.ts;
URL12/06.ts;
……;
In second method, although video frequency abstract and video content share ts burst information, the fragment of the two indexes text Part (level-one m3u8 file and second level m3u8 file) is completely independent.Therefore, in the second approach, server needs to record video The storage address of the level-one m3u8 file of the level-one m3u8 file and video main body of abstract;In video request-program process, by user It chooses whether to play video frequency abstract, when being, then after video frequency abstract broadcasting, can directly play video main body, it can be again by user It chooses whether to play video content, it is seen then that second method is preferable in terms of user-interaction experience.
Embodiment two
The embodiment of the present invention provides a kind of video frequency abstract processing method, and this method is applied to video frequency abstract processing unit, institute Stating device includes server and terminal, and Fig. 2 is the implementation process schematic diagram of two video frequency abstract processing method of the embodiment of the present invention, such as Shown in Fig. 2, this method comprises:
Step 201, the terminal obtains the first operation of user;
Here, first operation is for indicating whether to need to play video frequency abstract;
Step 202, the terminal is based on first operation, judges whether to need to play video frequency abstract, obtains first and sentence Disconnected result;
Step 203, when first judging result demonstrates the need for playing video frequency abstract, the terminal to server request Video frequency abstract;
Here, terminal to server request video frequency abstract this can be implemented so that terminal can send request to server and disappear Breath, the request message carry first identifier information, and the first identifier information is for showing that terminal to server request video is plucked It wants;
Step 204, server receives the request for being used to request video frequency abstract of terminal transmission;
Here, for sending video frequency abstract to the terminal, the request in step 204 can be terminal to clothes for the request The request message that business device is sent.
Step 205, server sends video frequency abstract to terminal;
Step 206, the terminal receives the video frequency abstract that the server is sent, and plays the video frequency abstract.
Step 207, the terminal requests video main body to the server;
Step 208, server receives the request for being used to request video main body of terminal transmission;
Step 209, server sends video main body to terminal;
Step 210, the terminal receives the video main body that the server is sent, and plays the video main body.
In the embodiment of the present invention, step 201, step 202 have strict sequence between step 203, step 203, It 204, is also to have strict sequence between 205 and 206, but between step 207 and step 203,204,205 and 206 Stringent precedence relationship is had no, therefore, step 207, the terminal requests video main body to the server, can be described For terminal during playing the video frequency abstract, Xiang Suoshu server requests video main body;
Accordingly, step 210, the terminal receives the video main body that the server is sent, and plays the video master Body specifically includes:
Step 2101, the terminal receives the video that the server is sent during playing the video frequency abstract Main body;
Step 2102, it after playing the video frequency abstract, connects and plays the video main body.
Based on above description, step 207 can also be simultaneous with step 203, such step 203 and step 207, it may be assumed that the terminal requests video frequency abstract and video main body to the server simultaneously;
Accordingly, step 206, the terminal receives the video frequency abstract that the server is sent, and plays the video and pluck It wants, and, step 210, the terminal receives the video main body that the server is sent, and plays the video main body, comprising:
The terminal receives the video frequency abstract and video main body that the server is sent;
The terminal first plays the video frequency abstract, and puts the video master playing the video frequency abstract and being followed by continued broadcasting Body.
In the embodiment of the present invention, the method also includes:
Step S21, when first judging result shows not needing to play video frequency abstract, the terminal to server is asked Seek video main body.
In the embodiment of the present invention, after step 206, the video frequency abstract is played, the method also includes:
Step S22, the terminal obtain the second operation of user, and second operation plays video frequency abstract also for selecting It is video main body;
Step S23, the terminal are based on second operation, judge to play video frequency abstract or video main body, obtain the One judging result;
Step S24, when second judging result demonstrates the need for playing video frequency abstract, the terminal to server request Video frequency abstract;
Step S25, when second judging result demonstrates the need for playing video main body, the terminal to server request Video main body.
In the embodiment of the present invention, since the first operation is similar with the second operation, only said by taking the first operation as an example here It is bright, when terminal display unit be can touch-control display unit, it is described first operation may be such that terminal is shown in touch-control A dialog box is shown on unit, plays video frequency abstract for prompting the user whether, when user is shown by operating body in touch-control When clicking "Yes" on unit, i.e., click "Yes" can click "No" for the first operation in the present embodiment, certain user, that Clicking "No" is also the first operation in the present embodiment.Similarly, it when the display unit of terminal is not touch-display unit, uses Family can select "Yes" or "No" by ancillary equipment such as remote controler, mouse etc., and user is by selections such as remote controler, mouses "Yes" or "No" is it is also assumed that be the first operation in the present embodiment.Operating body described here can be stylus, finger Etc. the entity that can operate touch-display unit.
Embodiment three
Based on the above embodiments two, the embodiment of the present invention will be by taking HLS protocol as an example, how to illustrate terminal to clothes How business device request video frequency abstract and server send the process of video frequency abstract to terminal.In the embodiment of the present invention, the clothes It is engaged in using streaming media HLS protocol between device and the terminal;Fig. 3 is step 203 and step 206 in the embodiment of the present invention two Implementation process schematic diagram one, as shown in figure 3, the step 203 in embodiment two, the terminal to server request video is plucked It wants, comprising the following steps:
Step 301, the terminal requests level-one m3u8 file to the server;
Here, the level-one m3u8 file of terminal to server request video frequency abstract, terminal can send to server and request Message, second identifier information is carried in the request message, and the second identifier information is used to request the level-one of video frequency abstract M3u8 file.
Step 302, the request for being used to request level-one m3u8 file that the server receiving terminal is sent;
Here, the request in step 302 can be with the request message in step 301, due to carrying second in request message Identification information, server is by according to the level-one m3u8 file of the second identifier information searching video frequency abstract, and by video frequency abstract Level-one m3u8 file is sent to terminal;
Step 303, the server sends the level-one m3u8 file of video frequency abstract to terminal;
Here, the level-one m3u8 file of the video frequency abstract in step 303 specifically may refer to provide in embodiment one one Grade m3u8 file, therefore repeat no more.
Step 304, the terminal receives the level-one m3u8 file that the server is sent;
Step 305, the terminal selects the first code rate according to own bandwidth;
Here, first code rate is a code rate in different code rates described in level-one m3u8 file;
Here, referring to described in the previous embodiment one, generally comprising more than two different code rates in level-one m3u8 file, Such as the first code rate is 1 280 000bps, second of code rate is 2 560 000bps, the third code rate is 7 680 000bps;Terminal is according to a kind of itself code rate for being suitable for itself of bandwidth selection, such as terminal own bandwidth is 2 000 000, then the code rate parameter in level-one m3u8 file is compared by terminal with own bandwidth, select a kind of less than own bandwidth Code rate, that is, terminal will select code rate be 1 280 000bps.In addition to the selection method of the selection code rate described in step 305 Outside, those skilled in the art can also realize according to the various prior arts, how according to own bandwidth the first level-one of selection Code rate in m3u8 file, therefore repeat no more.
Step 306, the terminal sends the identification information of the first code rate to the server;
Here, the identification information of first code rate can be the first code rate, the address URL corresponding with the first code rate;Clothes It is engaged in after the identification information of device the first code rate of reception, second level m3u8 corresponding with first code rate can be searched according to the identification information File.
Step 307, the server receives the identification information for the first code rate that the terminal is sent;
Step 308, the identification information for the first code rate that the server is sent according to the terminal obtains the first second level M3u8 file;
Here, the first second level m3u8 file is second level m3u8 file corresponding with first code rate;
Step 309, server sends the first second level m3u8 file to terminal;
Here, the first second level m3u8 file of the video frequency abstract in step 309 specifically may refer to provide in embodiment one Second level m3u8 file, therefore repeat no more.
Accordingly, based on aforementioned step 301 to step 309, step 206 in embodiment two, the terminal receives clothes The video frequency abstract that business device is sent, and play the video frequency abstract, comprising the following steps:
Step 310, the terminal receives the first second level m3u8 file that the server is sent, and according to the described 1st Uniform resource position mark URL address in grade m3u8 file obtains video data ts fragment;
Step 311, the terminal is according to the corresponding ts fragment of played in order in the first second level m3u8 file.
Example IV
Based on the above embodiments two, the embodiment of the present invention will be by taking HLS protocol as an example, how to illustrate terminal to clothes How business device request video frequency abstract and server send the process of video frequency abstract to terminal.In the embodiment of the present invention, the clothes It is engaged in using streaming media HLS protocol between device and the terminal;Fig. 4 is step 203 and step 206 in the embodiment of the present invention two Implementation process schematic diagram two, as shown in figure 4, the step 203 in embodiment two, the terminal to server request video is plucked It wants, comprising the following steps:
Step 401, the terminal to the server request level-one media data index m3u8 file and with the level-one The corresponding second level m3u8 file of m3u8 file;
Here, terminal can send request message to server, carry third identification information in the request message, described Third identification information is used to request the level-one m3u8 file and second level m3u8 corresponding with the level-one m3u8 file of video frequency abstract File.
Step 402, the level-one m3u8 file and two for being used to request video frequency abstract that the server receiving terminal is sent The request of grade m3u8 file;
Here, the request in step 402 can be with the request message in step 401, due to carrying third in request message Identification information, server will search the level-one m3u8 file of video frequency abstract according to the third identification information, and by video frequency abstract Level-one m3u8 file and second level m3u8 file corresponding with the level-one m3u8 file and it is sent to terminal;
Step 403, the server to terminal send video frequency abstract level-one m3u8 file and with the level-one m3u8 The corresponding second level m3u8 file of file;
Here, the level-one m3u8 file of the video frequency abstract in step 403, second level m3u8 file specifically may refer to embodiment The level-one m3u8 file and second level m3u8 file provided in one, therefore repeat no more.
Step 404, the terminal receive level-one m3u8 file that the server is sent and with the level-one m3u8 text The corresponding second level m3u8 file of part;
Step 405, the terminal selects the first code rate according to own bandwidth;
Here, first code rate is one of the code rate in level-one m3u8 file;
Here, referring to described in the previous embodiment one, generally comprising more than two different code rates in level-one m3u8 file, Such as the first code rate is 1 280 000bps, second of code rate is 2 560 000bps, the third code rate is 7 680 000bps;Terminal is according to a kind of itself code rate for being suitable for itself of bandwidth selection, such as terminal own bandwidth is 2 000 000, then the code rate parameter in level-one m3u8 file is compared by terminal with own bandwidth, select a kind of less than own bandwidth Code rate, that is, terminal will select code rate be 1 280 000bps.In addition to the selection method of the selection code rate described in step 305 Outside, those skilled in the art can also realize according to the various prior arts, how according to own bandwidth the first level-one of selection Code rate in m3u8 file, therefore repeat no more.
Accordingly, based on aforementioned step 401 to step 405, step 206 in embodiment two, the terminal receives clothes The video frequency abstract that business device is sent, and play the video frequency abstract, comprising the following steps:
Step 406, the terminal obtains video according to the uniform resource position mark URL address in the first second level m3u8 file Data ts fragment;
Here, the first second level m3u8 file is second level m3u8 file corresponding with first code rate;
Step 407, the terminal is according to the corresponding ts fragment of played in order in the first second level m3u8 file.
The technical solution that the embodiment of the present invention three and example IV provide slight difference in realization, in embodiment three, nothing Any change need to be made to existing HLS protocol, and in example IV, need to make existing HLS protocol change, because just For existing HLS protocol, it is that point former and later two steps have been come that terminal, which obtains level-one m3u8 file and obtains second level m3u8 file, At (referring to embodiment three), but terminal disposably obtains level-one m3u8 file and second level from server in example IV M3u8 file, although by the comparison of embodiment three and example IV it can be found that example IV changes existing HLS Become, but due to the data volume very little of m3u8 file itself, thus once obtaining level-one m3u8 file and second level m3u8 file During, load can't be brought to bandwidth;And due to being level-one m3u8 file and second level m3u8 file is by primary Come from server request, can simplify the operating process of terminal and server.
Embodiment five
The embodiment of the present invention provides a kind of video frequency abstract processing unit, and described device includes server, and Fig. 5 is that the present invention is real The composed structure schematic diagram of five server of example is applied, as shown in figure 5, the server 500 includes the first generation unit 501, record Member 502, third acquiring unit 503, the second generation unit 504 and third generation unit 505, in which:
First generation unit 501 analyzes each ts fragment for video main body to be divided video data ts fragment Characteristic information generates video frequency abstract according to the ts fragment that the characteristic information meets preset requirement;
The recording unit 502, for recording the identification information of each ts fragment being used in the video frequency abstract and suitable Sequence;
The third acquiring unit 503, for obtaining the address URL of each ts fragment in the video frequency abstract;
Second generation unit 504, for generating the level-one m3u8 file of the video frequency abstract;
The third generation unit 505, for being divided according to the address URL of each ts fragment in the video frequency abstract, ts The identification information and sequence of piece generate second level m3u8 file corresponding with the level-one m3u8 file.
In the embodiment of the present invention, second generation unit, for obtaining the level-one m3u8 file of video main body, as institute State the level-one m3u8 file with different code rates of video frequency abstract;
Accordingly, the third generation unit, for by the address URL of each ts fragment in the video frequency abstract, ts The identification information and sequence of fragment, before second level m3u8 file corresponding with the level-one m3u8 file of the video main body is written Portion, so that terminal first gets video frequency abstract when requesting video main body.
In the embodiment of the present invention, second generation unit, for the server according to the code rate information of video main body, Generate the level-one m3u8 file of the video frequency abstract.
It need to be noted that: it is the description of video frequency abstract processing device embodiment in the present embodiment five above, and it is upper State the video frequency abstract processing method embodiment in embodiment one description be it is similar, having identical with embodiment of the method has Beneficial effect, therefore do not repeat them here.Undisclosed technical detail in example is applied for video frequency abstract processing unit in the present embodiment five, is asked Referring to the description of video frequency abstract of embodiment of the present invention processing method embodiment.
Embodiment six
The embodiment of the present invention provides a kind of video frequency abstract processing unit, and Fig. 6-1 is at six video frequency abstract of the embodiment of the present invention The composed structure schematic diagram one of device is managed, as in Figure 6-1, which includes terminal 610 and server 620, the terminal 610 packet First acquisition unit 611, the first judging unit 612, request unit 613 and processing unit 614 are included, which includes hair Send unit 621.Wherein:
The first acquisition unit 611, for obtaining the first operation of user, first operation is needed for indicating whether Play video frequency abstract;
First judging unit 612, for judging whether to need to play video frequency abstract, obtain based on first operation To the first judging result;When first judging result demonstrates the need for playing video frequency abstract, the request unit is triggered;
The request unit 613, for requesting video frequency abstract to server;
The transmission unit 621, the request for being used to request video frequency abstract for being sent according to terminal, Xiang Suoshu terminal hair Send video frequency abstract;
The processing unit 614, the video frequency abstract sent for receiving the server, and play the video frequency abstract.
In the embodiment of the present invention, the request unit is also used to show not needing to play view when first judging result When frequency is made a summary, the terminal to server requests video main body.
Accordingly, the transmission unit 621, the request for being used to request video main body for being sent according to terminal, to institute It states terminal and sends video frequency abstract;
In the embodiment of the present invention, the video frequency abstract is being played, the terminal further includes second acquisition unit and second Judging unit, in which:
The second acquisition unit, for obtaining the second operation of user, second operation plays video for selecting Abstract or video main body;
The second judgment unit, for judging to play video frequency abstract or video main body, obtain based on second operation To the first judging result;When second judging result demonstrates the need for playing video frequency abstract, the triggering request unit Video frequency abstract is requested to server;When second judging result demonstrates the need for playing video main body, it is single to trigger the request Member requests video main body to server.
In the embodiment of the present invention, the request unit, specifically for the terminal in the process for playing the video frequency abstract In, Xiang Suoshu server requests video main body;
Accordingly, the processing unit is specifically used for during playing the video frequency abstract, receives the server The video main body of transmission, and after playing the video frequency abstract, connect and play the video main body.
In the embodiment of the present invention, the request unit, for requesting video frequency abstract and video master to the server simultaneously Body;
Accordingly, the processing unit, for receiving the video frequency abstract and video main body that the server is sent, Yi Jixian It plays the video frequency abstract, and puts the video main body playing the video frequency abstract and being followed by continued broadcasting.
In the embodiment of the present invention, streaming media HLS protocol is used between the terminal and the server;
Accordingly, as in fig. 6-2, the request unit 613 includes the first request module 6131, the first receiving module 6132, first choice module 6133 and the second request module 6134, accordingly, the transmission unit 621 include the 4th reception mould Block 6211, the first sending module 6212, the 5th receiving module 6213, third obtain module 6214 and the second sending module 6215, Wherein:
First request module 6131, for requesting level-one m3u8 file to the server;
4th receiving module 6211, for receiving the request for being used to request level-one m3u8 file of terminal transmission;
First sending module 6212, for sending the level-one m3u8 file of video frequency abstract to terminal;
First receiving module 6132, the level-one m3u8 file sent for receiving the server;
The first choice module 6133, for selecting the first code rate according to own bandwidth;
Here, first code rate is a code rate in different code rates described in level-one m3u8 file;
Second request module 6134, for sending the identification information of the first code rate to the server;
5th receiving module 6213, for receiving the identification information for the first code rate that the terminal is sent;
The third obtains module 6214, the identification information of the first code rate for being sent according to the terminal, acquisition the One second level m3u8 file;
Here, the first second level m3u8 file is second level m3u8 file corresponding with first code rate;
Second sending module 6215, for sending the first second level m3u8 file to terminal;
Accordingly, the processing unit 614 includes that the second receiving module 6141, first obtains module 6142 and the first broadcasting Module 6143, in which:
Second receiving module 6141, the first second level m3u8 file sent for receiving the server;
Described first obtains module 6142, for according to the uniform resource locator in the first second level m3u8 file The address URL obtains video data ts fragment;
First playing module 6143, for according to the corresponding ts of played in order in the first second level m3u8 file Fragment.
In the embodiment of the present invention, streaming media HLS protocol is used between the terminal and the server;
Accordingly, as shown in Fig. 6-3, the request unit 613 includes third request module 6135, third receiving module 6136 and second selecting module 6137, the transmission unit 621 includes the 6th receiving module 6216, third sending module 6217, Wherein:
The third request module 6135, for the server request level-one media data index m3u8 file and with The corresponding second level m3u8 file of the level-one m3u8 file;
6th receiving module 6216, for receiving the level-one m3u8 text for being used to request video frequency abstract of terminal transmission The request of part and second level m3u8 file;
The third sending module 6217, for sending the level-one m3u8 file of video frequency abstract to terminal and with described one The corresponding second level m3u8 file of grade m3u8 file;
The third receiving module 6136, for receiving level-one m3u8 file that the server is sent and with described one The corresponding second level m3u8 file of grade m3u8 file;
Second selecting module 6137, for selecting the first code rate according to own bandwidth, first code rate is level-one One kind of code rate in m3u8 file;
Accordingly, the processing unit 614 includes the second acquisition module 6144 and the second playing module 6145, in which:
Described second obtains module 6144, for according to the uniform resource position mark URL in the first second level m3u8 file Location obtains video data ts fragment, and the first second level m3u8 file is second level m3u8 file corresponding with first code rate;
Second playing module 6145, for according to the corresponding ts of played in order in the first second level m3u8 file Fragment.
It need to be noted that: it is the description of video frequency abstract processing device embodiment in the present embodiment six above, and it is upper State embodiment two, three with the description of the video frequency abstract processing method embodiment in four be it is similar, have and embodiment of the method Identical beneficial effect, therefore do not repeat them here.Undisclosed skill in example is applied for video frequency abstract processing unit in the present embodiment six Art details please refers to the description of video frequency abstract processing method embodiment of the present invention.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read-Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (16)

1. a kind of video frequency abstract processing method, which is characterized in that the described method includes:
Terminal obtains the first operation of user, and first operation is for indicating whether to need to play video frequency abstract;
The terminal is based on first operation, judges whether to need to play video frequency abstract, obtains the first judging result;
When first judging result demonstrates the need for playing video frequency abstract, the terminal to server sends request message, institute State request message for request the video frequency abstract level-one media data index m3u8 file, and with the level-one m3u8 file Corresponding at least one second level m3u8 file;
The terminal receives the level-one m3u8 file and corresponding with the level-one m3u8 file at least one that the server is sent A second level m3u8 file;
The terminal determines the first code rate according to own bandwidth in the level-one m3u8 file;
The terminal determines the first second level m3u8 file according to the identification information of first code rate;The first second level m3u8 File is second level m3u8 file corresponding with first code rate at least one second level m3u8 file;
The terminal obtains video data ts according to the uniform resource position mark URL address in the first second level m3u8 file Fragment,
Wherein, the ts fragment of the video frequency abstract is written into the second level m3u8 file of video main body, for each code presupposition The second level m3u8 file of rate, server record the real initial position of the video main body;
The terminal plays corresponding ts fragment according to the playing sequence in the first second level m3u8 file.
2. the method according to claim 1, wherein the method also includes:
When first judging result shows not needing to play video frequency abstract, the terminal to server requests video main body.
3. method according to claim 1 or 2, which is characterized in that playing the video frequency abstract, the method is also wrapped It includes:
The terminal obtains the second operation of user, and second operation plays video frequency abstract or video main body for selecting;
The terminal is based on second operation, judges to play video frequency abstract or video main body, obtains the second judging result;
When second judging result demonstrates the need for playing video frequency abstract, the terminal to server requests video frequency abstract;
When second judging result demonstrates the need for playing video main body, the terminal to server requests video main body.
4. the method according to claim 1, wherein the method also includes:
Video main body is divided into video data ts fragment by server, the characteristic information of each ts fragment is analyzed, according to the spy The ts fragment that reference breath meets preset requirement generates video frequency abstract;
The server records the identification information and sequence for generating each ts fragment in the video frequency abstract;
The server obtains the address URL of each ts fragment in the video frequency abstract;
The server generates the level-one m3u8 file of the video frequency abstract;
The server according to the address URL of each ts fragment in the video frequency abstract, the identification information and sequence of ts fragment, Generate second level m3u8 file corresponding with the level-one m3u8 file.
5. according to the method described in claim 4, it is characterized in that, the server generates the level-one m3u8 of the video frequency abstract File, comprising:
The server obtains the level-one m3u8 file of video main body, the level-one with different code rates as the video frequency abstract M3u8 file;
Accordingly, the server is according to the address URL of each ts fragment in the video frequency abstract, the identification information of ts fragment And sequence, generate second level m3u8 file corresponding with the level-one m3u8 file, comprising:
The server writes the address URL of each ts fragment in the video frequency abstract, the identification information and sequence of ts fragment Enter the front of second level m3u8 file corresponding with the level-one m3u8 file of the video main body, so that terminal is in request video master Video frequency abstract is first got when body.
6. according to the method described in claim 4, it is characterized in that, the server generates the level-one m3u8 of the video frequency abstract File, comprising:
The server generates the level-one m3u8 file of the video frequency abstract according to the code rate information of video main body.
7. according to the described in any item methods of claim 4 to 6, which is characterized in that the method also includes:
The server sends video frequency abstract to the terminal according to the request of terminal, and the request to the terminal for sending Video frequency abstract.
8. the method according to the description of claim 7 is characterized in that being passed between the server and the terminal using Streaming Media Defeated HLS protocol;
Accordingly, the server sends video frequency abstract to the terminal according to the request of terminal, comprising:
The server according to the request of the terminal to the terminal send level-one m3u8 file and with the level-one m3u8 text The corresponding second level m3u8 file of part;
Alternatively,
The server sends level-one m3u8 file to the terminal according to the request of the terminal;
The identification information for the level-one m3u8 file that the server is sent according to terminal is obtained and is sent and the level-one m3u8 text The corresponding second level m3u8 file of part.
9. a kind of video frequency abstract processing unit, which is characterized in that described device includes terminal, and the terminal includes that the first acquisition is single Member, the first judging unit, request unit and processing unit, in which:
The first acquisition unit, for obtaining the first operation of user, first operation is for indicating whether to need to play Video frequency abstract;
First judging unit, for judging whether to need to play video frequency abstract, obtaining first and sentence based on first operation Disconnected result;When first judging result demonstrates the need for playing video frequency abstract, the request unit is triggered;
The request unit includes third request module, third receiving module and the second selecting module, in which:
The third request module, for sending request message to server, the request message is for requesting the video to be plucked The level-one media data index m3u8 file wanted, and second level m3u8 file corresponding with the level-one m3u8 file;
The third receiving module, for receive level-one m3u8 file that the server is sent and with the level-one m3u8 file Corresponding at least one second level m3u8 file;
Second selecting module, for determining the first code rate in the level-one m3u8 file according to own bandwidth;
The processing unit includes determining module, the second acquisition module and the second playing module, in which:
The determining module determines the first second level m3u8 file for the identification information according to first code rate;Described first Second level m3u8 file is second level m3u8 file corresponding with first code rate at least one second level m3u8 file;
Described second obtains module, for obtaining according to the uniform resource position mark URL address in the first second level m3u8 file Take video data ts fragment;Wherein, the ts fragment of the video frequency abstract is written into the second level m3u8 file of video main body, with right In the second level m3u8 file of each default code rate, server records the real initial position of the video main body;
Second playing module, it is ts points corresponding for being played according to the playing sequence in the first second level m3u8 file Piece.
10. device according to claim 9, which is characterized in that the request unit is also used to when the first judgement knot When fruit shows not needing to play video frequency abstract, the terminal to server requests video main body.
11. device according to claim 9 or 10, which is characterized in that playing the video frequency abstract, the terminal is also Including second acquisition unit and second judgment unit, in which:
The second acquisition unit, for obtaining the second operation of user, second operation plays video frequency abstract for selecting Or video main body;
The second judgment unit obtains for judging to play video frequency abstract or video main body based on second operation Two judging results;It is described to trigger the request unit to clothes when second judging result demonstrates the need for playing video frequency abstract Business device requests video frequency abstract;When second judging result demonstrate the need for play video main body when, trigger the request unit to Server requests video main body.
12. device according to claim 9, which is characterized in that described device further includes server, and the server includes First generation unit, recording unit, third acquiring unit, the second generation unit and third generation unit, in which:
First generation unit analyzes the feature letter of each ts fragment for video main body to be divided video data ts fragment Breath generates video frequency abstract according to the ts fragment that the characteristic information meets preset requirement;
The recording unit, for recording the identification information and sequence of each ts fragment being used in the video frequency abstract;
The third acquiring unit, for obtaining the address URL of each ts fragment in the video frequency abstract;
Second generation unit, for generating the level-one m3u8 file of the video frequency abstract;
The third generation unit, for the mark according to the address URL of each ts fragment in the video frequency abstract, ts fragment Information and sequence generate second level m3u8 file corresponding with the level-one m3u8 file.
13. device according to claim 12, which is characterized in that second generation unit, for obtaining video main body Level-one m3u8 file, the level-one m3u8 file with different code rates as the video frequency abstract;
Accordingly, the third generation unit, for by the address URL of each ts fragment in the video frequency abstract, ts fragment Identification information and sequence, the front of corresponding with the level-one m3u8 file of video main body second level m3u8 file is written, with So that terminal first gets video frequency abstract when requesting video main body.
14. device according to claim 12, which is characterized in that second generation unit is used for the server root According to the code rate information of video main body, the level-one m3u8 file of the video frequency abstract is generated.
15. 2 to 14 described in any item devices according to claim 1, which is characterized in that the server further includes sending list Member, for sending video frequency abstract to the terminal according to the request of terminal, the request is used for request server to the terminal Send video frequency abstract.
16. device according to claim 15, which is characterized in that use Streaming Media between the server and the terminal Transmit HLS protocol;
Accordingly, the transmission unit, for according to the request of the terminal to the terminal send level-one m3u8 file and with The corresponding second level m3u8 file of the level-one m3u8 file;
Alternatively, the transmission unit includes the first sending module and the second sending module, in which:
First sending module, for sending level-one m3u8 file to the terminal according to the request of the terminal;
Second sending module, the identification information of the level-one m3u8 file for being sent according to terminal are obtained and are sent and institute State the corresponding second level m3u8 file of level-one m3u8 file.
CN201410564633.5A 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device Active CN105592369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410564633.5A CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410564633.5A CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Publications (2)

Publication Number Publication Date
CN105592369A CN105592369A (en) 2016-05-18
CN105592369B true CN105592369B (en) 2019-11-05

Family

ID=55931529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410564633.5A Active CN105592369B (en) 2014-10-21 2014-10-21 A kind of video frequency abstract processing method and processing device

Country Status (1)

Country Link
CN (1) CN105592369B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360476B (en) * 2017-08-31 2019-09-20 苏州科达科技股份有限公司 Video abstraction generating method and device
CN108228829B (en) * 2018-01-03 2022-01-11 北京百度网讯科技有限公司 Method and apparatus for generating information
CN108305622B (en) * 2018-01-04 2021-06-11 海尔优家智能科技(北京)有限公司 Voice recognition-based audio abstract text creating method and device
CN108900851A (en) * 2018-06-19 2018-11-27 中兴通讯股份有限公司 The transmission method of file, the playback method and device of video are described
CN111614744A (en) * 2020-05-15 2020-09-01 武汉麦子科技有限公司 Large file downloading and transmitting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724550A (en) * 2012-06-12 2012-10-10 北京奇艺世纪科技有限公司 Video playback method and device
CN102819528A (en) * 2011-06-10 2012-12-12 中国电信股份有限公司 Method and device for generating video abstraction

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003230127A (en) * 2002-01-31 2003-08-15 Matsushita Electric Ind Co Ltd Digest image specifying system, digest image providing system, digest image specifying method, medium and program
CN102487456B (en) * 2009-11-30 2015-06-17 国际商业机器公司 Method for providing visit rate of online video and device thereof
JP2012039550A (en) * 2010-08-11 2012-02-23 Sony Corp Information processing device, information processing system, information processing method and program
CN104093045B (en) * 2014-07-17 2018-01-16 百视通网络电视技术发展有限责任公司 OTT TV playing requests processing methods and system based on Hui Yuan

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819528A (en) * 2011-06-10 2012-12-12 中国电信股份有限公司 Method and device for generating video abstraction
CN102724550A (en) * 2012-06-12 2012-10-10 北京奇艺世纪科技有限公司 Video playback method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《HTTP Live Streaming draft-pantos-http-live-streaming-00, https://tools.ietf.org/html/draft-pantos-http-live-streaming-00》;R.Pantos,Ed;《IETF Internet Draft》;20090501;(参见第4, 8-15页第1, 6-7节 *

Also Published As

Publication number Publication date
CN105592369A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US11468917B2 (en) Providing enhanced content
CN105900438B (en) System and method for optimizing the defragmentation of content in content delivery network
US10225590B2 (en) Method and system of dynamic routing of aggregated online media streams
CN103379362B (en) VOD method and system
CN105592369B (en) A kind of video frequency abstract processing method and processing device
CN106489150A (en) For recognize and preserve media asset a part system and method
CN102598622B (en) Assembling streamed content for on-demand presentation
CN101588493A (en) System and method for adaptive segment prefetching of streaming media
KR101422527B1 (en) Data highlighting and extraction
JP2011130018A (en) Content distribution system, content distribution apparatus, content playback terminal and content distribution method
JP5833114B2 (en) Method and apparatus for providing streaming media programs and targeted advertisements to be compatible with HTTP live streaming
CN102845072A (en) Media content improved playback quality
CN111512635A (en) Method and system for selectively skipping media content
WO2017185601A1 (en) Method and device for providing and downloading video
JP5495386B2 (en) Content reproduction method, content distribution apparatus, terminal and program for changing presentation method of advertisement information
Zhang et al. KaaS: A standard framework proposal on video skimming
Van Deursen et al. On media delivery protocols in the web
CN103139601A (en) Achieving method and device for Internet protocol television (IPTV) services
CN114631324A (en) System and method for real-time delivery of targeted content in streaming content
US11765442B2 (en) Information processing apparatus, information processing method, and program for presenting reproduced video including service object and adding additional image indicating the service object
CN109587517A (en) Multimedia file playing method and device, server and storage medium
KR20120040717A (en) Method for interactive delivery of multimedia content, content production entity and server entity for realizing such a method
KR100869895B1 (en) System and method for providing vod service of possible watching without delay
JP2008048113A (en) Dynamic image data distribution system, dynamic image data distribution method, dynamic image data providing method, dynamic image data distribution program, dynamic image data providing program, and computer-readable recording medium recorded with these programs
US20230276105A1 (en) Information processing apparatus, information processing apparatus, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant