CN106791925A - Video generation method and device - Google Patents

Video generation method and device Download PDF

Info

Publication number
CN106791925A
CN106791925A CN201710071402.4A CN201710071402A CN106791925A CN 106791925 A CN106791925 A CN 106791925A CN 201710071402 A CN201710071402 A CN 201710071402A CN 106791925 A CN106791925 A CN 106791925A
Authority
CN
China
Prior art keywords
video
live
order
definition
segment
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.)
Granted
Application number
CN201710071402.4A
Other languages
Chinese (zh)
Other versions
CN106791925B (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.)
Alibaba China Co Ltd
Original Assignee
1Verge Internet Technology Beijing 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 1Verge Internet Technology Beijing Co Ltd filed Critical 1Verge Internet Technology Beijing Co Ltd
Priority to CN201710071402.4A priority Critical patent/CN106791925B/en
Publication of CN106791925A publication Critical patent/CN106791925A/en
Application granted granted Critical
Publication of CN106791925B publication Critical patent/CN106791925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution

Abstract

This disclosure relates to video generation method and device.The method includes:During live video is live, the mark of the video segment of the live video current live and the video segment of current live is obtained;The mark of the video segment of the mark and live completion of the video segment according to current live, generates the corresponding newest program request fragment identification collection of the live video;In the case where the video segment of current live is last video segment of the live video, using newest program request fragment identification collection as the corresponding order video identification sets of the live video;Corresponding each video segment of order video identification sets is spliced, the first order video is generated.The video generation of each side according to the disclosure and device can the corresponding order video of release quickly live video, substantially reduce the time delay of the issue corresponding order video of live video, and the persistent storage of the corresponding order video of live video can be realized.

Description

Video generation method and device
Technical field
This disclosure relates to multimedia technology field, more particularly to a kind of video generation method and device.
Background technology
Live video can be including live television programs and network direct broadcasting video etc..After the live end of live video, depending on Frequency website operation personnel would generally be uploaded complete live video, transcoding, examination & verification and issue, live video is changed It is order video.If the time of live video is more long, after live end user need wait the long period could be in video See the corresponding order video of live video in website.For example, the live video of 90 minutes is uploaded, transcoding, examination & verification and hair Cloth, probably needs 1 time of hour.Therefore, for the live video of 90 minutes, if 00:00 live end, then user 01:00 or so the order video that can just see correlation, time delay is larger.
The content of the invention
In view of this, the present disclosure proposes a kind of video generation method and device, to solve to be regarded by live in correlation technique The speed of frequency generation order video is slower, the problem for causing video distribution time delay larger.
According to the one side of the disclosure, there is provided a kind of video generation method, including:
During live video is live, the video segment of the live video current live and described current is obtained The mark of live video segment;
The mark of the video segment of the mark and live completion of the video segment according to the current live, generates described straight Broadcast the corresponding newest program request fragment identification collection of video;
In the case where the video segment of the current live is last video segment of the live video, by institute Newest program request fragment identification collection is stated as the corresponding order video identification sets of the live video;
Corresponding each video segment of the order video identification sets is spliced, the first order video is generated.
In a kind of possible implementation, methods described also includes:
Generate the corresponding check information of the order video identification sets;
The check information is associated with first order video.
In a kind of possible implementation, the video of corresponding each video segment of the newest program request fragment identification collection Definition is the first definition, and first order video is that the program request of corresponding first definition of the live video is regarded Frequently.
In a kind of possible implementation, after the first order video is generated, methods described also includes:
In the case of the order video that there are corresponding other definition of the live video, first program request is regarded Frequency is associated with the order video of other definition, obtains the corresponding order video collection of the live video.
In a kind of possible implementation, after the corresponding order video collection of the live video is obtained, the side Method also includes:
Obtain the corresponding upload voucher of the order video collection;
The corresponding target video of the order video collection is generated according to the upload voucher.
According to another aspect of the present disclosure, there is provided a kind of video-generating device, including:
First acquisition module, for during live video is live, obtaining regarding for the live video current live The mark of the video segment of frequency fragment and the current live;
First generation module, for the mark and the video segment of live completion of the video segment according to the current live Mark, generate the corresponding newest program request fragment identification collection of the live video;
Determining module, in last video segment that the video segment of the current live is the live video In the case of, using the newest program request fragment identification collection as the corresponding order video identification sets of the live video;
Second generation module, for corresponding each video segment of the order video identification sets to be spliced, generation First order video.
In a kind of possible implementation, described device also includes:
3rd generation module, for generating the corresponding check information of the order video identification sets;
First relating module, for the check information to be associated with first order video.
In a kind of possible implementation, the video of corresponding each video segment of the newest program request fragment identification collection Definition is the first definition, and first order video is that the program request of corresponding first definition of the live video is regarded Frequently.
In a kind of possible implementation, described device also includes:
Second relating module, for the situation in the order video that there are corresponding other definition of the live video Under, first order video and the order video of other definition are associated, obtain the corresponding point of the live video Broadcast video set.
In a kind of possible implementation, described device also includes:
Second acquisition module, for obtaining the corresponding upload voucher of the order video collection;
4th generation module, for generating the corresponding target video of the order video collection according to the upload voucher.
According to another aspect of the present disclosure, there is provided a kind of video-generating device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
During live video is live, the video segment of the live video current live and described current is obtained The mark of live video segment;
The mark of the video segment of the mark and live completion of the video segment according to the current live, generates described straight Broadcast the corresponding newest program request fragment identification collection of video;
In the case where the video segment of the current live is last video segment of the live video, by institute Newest program request fragment identification collection is stated as the corresponding order video identification sets of the live video;
Corresponding each video segment of the order video identification sets is spliced, the first order video is generated.
According to another aspect of the present disclosure, there is provided a kind of non-volatile computer readable storage medium storing program for executing, when the storage Instruction in medium by terminal and/or server computing device when so that terminal and/or server are able to carry out one kind and regard Frequency generation method, methods described includes:
During live video is live, the video segment of the live video current live and described current is obtained The mark of live video segment;
The mark of the video segment of the mark and live completion of the video segment according to the current live, generates described straight Broadcast the corresponding newest program request fragment identification collection of video;
In the case where the video segment of the current live is last video segment of the live video, by institute Newest program request fragment identification collection is stated as the corresponding order video identification sets of the live video;
Corresponding each video segment of the order video identification sets is spliced, the first order video is generated.
By during live video is live, obtaining the video segment of the live video current live and current straight The mark of the video segment broadcast, the mark of the video segment of the mark and live completion of the video segment according to current live is raw It is last of the live video in the video segment of current live into the corresponding newest program request fragment identification collection of the live video In the case of individual video segment, using newest program request fragment identification collection as the corresponding order video identification sets of the live video, and Corresponding each video segment of order video identification sets is spliced, the first order video is generated, according to each side of the disclosure Face video generation and device can the corresponding order video of release quickly live video, substantially reduce issue live video correspondence Order video time delay, and obtain the first order video by splice each video segment of live video, can Realize the persistent storage of the corresponding order video of live video.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the further feature and aspect of the disclosure will become It is clear.
Brief description of the drawings
Comprising in the description and accompanying drawing and the specification of the part that constitutes specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principle of the disclosure.
Fig. 1 shows the flow chart of the video generation method according to the embodiment of the disclosure one.
Fig. 2 shows an exemplary flow chart of the video generation method according to the embodiment of the disclosure one.
Fig. 3 shows the flow chart of the another exemplary of the video generation method according to the embodiment of the disclosure one.
Fig. 4 shows the block diagram of the video-generating device according to the embodiment of the disclosure one.
Fig. 5 goes out an exemplary block diagram of the video-generating device according to the embodiment of the disclosure one.
Fig. 6 is a kind of block diagram of the device 800 for video generation according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the device 1900 for video generation according to an exemplary embodiment.
Specific embodiment
Describe various exemplary embodiments, feature and the aspect of the disclosure in detail below with reference to accompanying drawing.It is identical in accompanying drawing Reference represent the same or analogous element of function.Although the various aspects of embodiment are shown in the drawings, remove Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details are given in specific embodiment below. It will be appreciated by those skilled in the art that without some details, the disclosure can equally be implemented.In some instances, for Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the disclosure.
Embodiment 1
Fig. 1 shows the flow chart of the video generation method according to the embodiment of the disclosure one.As shown in figure 1, the video is generated Method includes:
In step s 11, during live video is live, obtain the video segment of the live video current live with And the mark of the video segment of current live.
In the present embodiment, during live video is live, can continue to obtain the live video current live The mark of the video segment of video segment and current live, such that it is able to get multiple video segments of the live video with And the mark of each video segment.
Wherein, the mark of video segment can be the ID (Identification, identification number) of video segment, not make herein Limit.
In step s 12, the mark of the video segment of the mark and live completion of the video segment according to current live, raw Into the corresponding newest program request fragment identification collection of the live video.
As an example of the present embodiment, can be according to reproduction time order from front to back, by regarding for live completion The mark of frequency is serially spliced with the mark of the video segment of current live, to generate the corresponding newest program request of the live video Fragment identification collection.
In the present embodiment, each mark that newest program request fragment identification is concentrated corresponds respectively to a video segment.Root According to the mark that newest program request fragment identification is concentrated, corresponding video segment can be found.
In step s 13, the video segment in current live is the situation of last video segment of the live video Under, using newest program request fragment identification collection as the corresponding order video identification sets of the live video.
In the case where the video segment of current live is last video segment of the live video, may indicate that Obtain all video segments of the live video and the mark of all video segments.Therefore, in the video segment of current live For the live video last video segment in the case of, newest program request fragment identification collection can be defined as this and live regarded Frequently corresponding order video identification sets.That is, the order video identification sets include the mark of all video segments.
In step S14, corresponding each video segment of the order video identification sets is spliced, generated the first program request Video.
In the present embodiment, corresponding each video segment of the order video identification sets is carried out into physics splicing, generation the One order video.First order video can be used for persistent storage.
As an example of the present embodiment, corresponding each video segment of the order video identification sets can be spelled Connect and transcoding, generate the first order video.
As an example of the present embodiment, can be in the case where physics splicing task be detected, by the order video Corresponding each video segment of identification sets is spliced, and generates the first order video.
The present embodiment can the corresponding order video of release quickly live video, substantially reduce issue live video it is corresponding The time delay of order video, and obtain the first order video, Neng Goushi by splice each video segment of live video The persistent storage of the corresponding order video of existing live video.
Fig. 2 shows an exemplary flow chart of the video generation method according to the embodiment of the disclosure one.As shown in Fig. 2 The video generation method includes:
In the step s 21, during live video is live, obtain the video segment of the live video current live with And the mark of the video segment of current live.
Description to step S11 is seen above to step S21.
In step S22, the mark of the video segment of the mark and live completion of the video segment according to current live is raw Into the corresponding newest program request fragment identification collection of the live video.
Description to step S12 is seen above to step S22.
In step S23, in the situation of last video segment that the video segment of current live is the live video Under, using newest program request fragment identification collection as the corresponding order video identification sets of the live video.
Description to step S13 is seen above to step S23.
In step s 24, corresponding each video segment of the order video identification sets is spliced, is generated the first program request Video.
Description to step S14 is seen above to step S24.
In step s 25, the corresponding check information of order video identification sets is generated.
Wherein it is possible to should using MD5 (Message Digest Algorithm 5, Message Digest Algorithm 5) generations The corresponding check information of order video identification sets.The check information can be the MD5 letters forged for the order video identification sets Breath, is not limited thereto.
In step S26, the check information is associated with the first order video.
Wherein, the check information can be used for uniquely determining the first order video.
In a kind of possible implementation, the video of corresponding each video segment of newest program request fragment identification collection is clear Degree is the first definition, and the first order video is the order video of corresponding first definition of the live video.In the realization In mode, the video definition of corresponding each video segment of newest program request fragment identification collection is identical, is the first definition.Root According to the newest point that the newest program request fragment identification collection of the mark generation of each video segment of the first definition is the first definition Broadcast fragment identification collection.
In a kind of possible implementation, the method also includes:There are corresponding other definition of the live video Order video in the case of, the first order video is associated with the order video of other definition, obtain this and live regard Frequently corresponding order video collection.In the implementation, the source file of live video including the first definition except that can also wrap Include other definition.In the case where the source file of the live video includes other definition, other definition can be generated Order video.For example, the first definition can be SD (Standard Definition, single-definition), other definition High definition (High Definition), super clear (Super Definition) or 3GPP (3 can be includedrd Generation Partnership Project, third generation cooperative partner program plan) file format high definition etc. in one or more, This is not construed as limiting.Those skilled in the art can determine the resolution ratio of each definition according to practical application scene, not limit herein It is fixed.
Fig. 3 shows the flow chart of the another exemplary of the video generation method according to the embodiment of the disclosure one.Such as Fig. 3 institutes Show, the method includes:
In step S31, during live video is live, obtain the live video the first definition it is current straight The video segment and the mark of the video segment of the current live of the first definition broadcast.
For example, the first definition can be SD, it is not limited thereto.
In step s 32, the mark of the video segment of the current live according to the first definition is straight with the first definition The mark of the video segment for finishing, generates the newest program request fragment identification collection of corresponding first definition of the live video.
In this example, the video segment of the current live according to identical definition and the video segment of live completion The corresponding newest program request fragment identification collection of mark generation.For example, can be according to the video segment of the current live of the first definition Mark and the first definition live completion video segment mark, generate corresponding first definition of the live video Newest program request fragment identification collection.
In this example, each mark that the newest program request fragment identification of the first definition is concentrated corresponds respectively to one the The video segment of one definition.The mark that newest program request fragment identification according to the first definition is concentrated, can find corresponding The video segment of the first definition.
In step S33, in the first definition that the video segment of the current live of the first definition is the live video Last video segment in the case of, using the newest program request fragment identification collection of the first definition as the live video correspondence The first definition order video identification sets.
Last in the first definition that the video segment of the current live of the first definition is the live video is regarded In the case of frequency fragment, show to have obtained all video segments of the first definition of the live video and the first definition The mark of all video segments.Therefore, the video segment in the current live of the first definition is the first clear of the live video In the case of last video segment of clear degree, the newest program request fragment identification collection of the first definition can be defined as this straight Broadcast the order video identification sets of corresponding first definition of video.That is, the order video identification sets bag of the first definition The mark of all video segments of the first definition is included.
In step S34, corresponding each video segment of the order video identification sets of the first definition is spliced, it is raw Into the first order video, the first order video is the order video of corresponding first definition of the live video.
In this example, corresponding each video segment of the order video identification sets of the first definition can be carried out physics Splicing, generates the first order video.First order video can be used for persistent storage.
In step s 35, the corresponding check information of order video identification sets of the first definition is generated.
Wherein it is possible to generate the corresponding check information of order video identification sets of the first definition using MD5.The verification is believed Breath can be the MD5 information forged for the order video identification sets of the first definition, be not limited thereto.
In step S36, the check information is associated with the first order video.
The corresponding check information of order video identification sets according to the first definition, can also generate the point of the first definition Broadcast the corresponding order video mark bag of video labeling collection.Wherein, the check information can be used for uniquely determining the first definition The corresponding order video mark bag of order video identification sets.
In step S37, in the case of the order video that there are corresponding other definition of the live video, by first Order video is associated with the order video of other definition, obtains the corresponding order video collection of the live video.
Used as an example of the present embodiment, the source file of live video includes the first definition, the second definition and the Three definition.For example, the first definition can be SD, the second definition can be high definition, the 3rd definition can for super clear, It is not limited thereto.Three process tasks can be generated, the first definition of splicing, the second definition and the 3rd is respectively used to clear The mark of the video segment of degree.For example, the live video includes the video segments of 5 the first definition, 5 the second definition Video segment and 5 video segments of the 3rd definition.Wherein, the mark of 5 video segments of the first definition is respectively FilID 01, FilID 02, FilID 03,05,5 marks of the video segment of the second definition of FilID 04 and FilID point Wei not FilID 001, FilID 002, FilID 003,005,5 piece of video of the 3rd definition of FilID 004 and FilID The mark of section is respectively FilID 0001, FilID 0002, FilID 0003, FilID 0004 and FilID 0005.According to 5 The mark of the video segment of the first definition, can generate the order video identification sets of the first definition;It is second clear according to 5 The mark of the video segment of degree, can generate the order video identification sets of the second definition;According to 5 videos of the 3rd definition The mark of fragment, can generate the order video identification sets of the 3rd definition.The order video mark of the first definition can be generated Know collection corresponding check information MD5 1, the corresponding check information MD5 2 and the 3rd of order video identification sets of the second definition The corresponding check information MD5 3 of order video identification sets of definition.Order video identification sets correspondence according to the first definition Check information MD5 1, the order video identification sets corresponding order video mark bag of the first definition can be generated (MediaID 1);The corresponding check information MD5 2 of order video identification sets according to the second definition, can generate second clear Corresponding order video mark bag (MediaID 2) of order video identification sets of clear degree;According to the order video of the 3rd definition The corresponding check information MD5 3 of identification sets, can generate the corresponding order video mark of order video identification sets of the 3rd definition Know bag (MediaID 3).According to 5 video segments of the first definition, the first order video, i.e. the first definition can be generated Order video;According to 5 video segments of the second definition, the point of the second order video, i.e. the second definition can be generated Broadcast video;According to 5 video segments of the 3rd definition, can generate and thirdly broadcast video, be i.e. the program request of the 3rd definition is regarded Frequently.Broadcast the first order video, the second order video and thirdly video and be associated, the live video can be obtained corresponding Order video collection.
In step S38, the corresponding upload voucher of the order video collection is obtained.
Wherein, upload voucher (upload token) and can be used for transcoding.
In step S39, the corresponding target video of order video collection is generated according to voucher is uploaded.
Wherein, target video can be the corresponding complete order video of live video.By generating target video, Ke Yishi The persistent storage of the corresponding complete order video of existing live video, and without manually being recorded to live video again Corresponding complete order video, can reduce the recording cost and human cost for generating complete order video.
Embodiment 2
Fig. 4 shows the block diagram of the video-generating device according to the embodiment of the disclosure one.As shown in figure 4, the device includes:The One acquisition module 41, for during live video is live, obtain the video segment of the live video current live with And the mark of the video segment of the current live;First generation module 42, for the video segment according to the current live Mark and live completion video segment mark, generate the corresponding newest program request fragment identification collection of the live video;Really Cover half block 43, for the situation in last video segment that the video segment of the current live is the live video Under, using the newest program request fragment identification collection as the corresponding order video identification sets of the live video;Second generation module 44, for corresponding each video segment of the order video identification sets to be spliced, generate the first order video.
Fig. 5 goes out an exemplary block diagram of the video-generating device according to the embodiment of the disclosure one.As shown in Figure 5:
In a kind of possible implementation, described device also includes:3rd generation module 45, for generating the program request The corresponding check information of video labeling collection;First relating module 46, for by the check information and first order video It is associated.
In a kind of possible implementation, the video of corresponding each video segment of the newest program request fragment identification collection Definition is the first definition, and first order video is that the program request of corresponding first definition of the live video is regarded Frequently.
In a kind of possible implementation, described device also includes:Second relating module 47, for exist it is described straight In the case of broadcasting the order video of corresponding other definition of video, by the program request of first order video and other definition Video is associated, and obtains the corresponding order video collection of the live video.
In a kind of possible implementation, described device also includes:Second acquisition module 48, for obtaining the program request The corresponding upload voucher of video set;4th generation module 49, for generating the order video set pair according to the upload voucher The target video answered.
The present embodiment can the corresponding order video of release quickly live video, substantially reduce issue live video it is corresponding The time delay of order video, and obtain the first order video, Neng Goushi by splice each video segment of live video The persistent storage of the corresponding order video of existing live video.
Embodiment 3
Fig. 6 is a kind of block diagram of the device 800 for video generation according to an exemplary embodiment.For example, dress It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to put 800 Equipment, body-building equipment, personal digital assistant etc..
Reference picture 6, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction for any application program or method operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in one screen of output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, radio frequency identification (RF marks) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.
Embodiment 4
Fig. 7 is a kind of block diagram of the device 1900 for video generation according to an exemplary embodiment.For example, dress Put 1900 and may be provided in a server.Reference picture 7, device 1900 includes processing assembly 1922, and it further includes one Or multiple processors, and the memory resource as representated by memory 1932, can holding by processing assembly 1922 for storing Capable instruction, such as application program.The application program stored in memory 1932 can include one or more each It is individual to correspond to one group of module of instruction.Additionally, processing assembly 1922 is configured as execute instruction, to perform above-mentioned video generation side Method.
Device 1900 can also include that a power supply module 1926 is configured as the power management of performs device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system in memory 1932, such as Windows ServerTM, Mac based on storage OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing including instructing, example are additionally provided Such as include the memory 1932 of instruction, above-mentioned instruction can be performed to complete the above method by the processing assembly 1922 of device 1900.
The disclosure can be system, method and/or computer program product.Computer program product can include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer-readable recording medium can be the tangible of the instruction that holding and storage are used by instruction execution equipment Equipment.Computer-readable recording medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer-readable recording medium More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon Be stored with instruction punch card or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above Machine readable storage medium storing program for executing is not construed as instantaneous signal in itself, the electromagnetic wave of such as radio wave or other Free propagations, logical Cross electromagnetic wave (for example, the light pulse for passing through fiber optic cables) that waveguide or other transmission mediums propagate or by wire transfer Electric signal.
Computer-readable program instructions as described herein can from computer-readable recording medium download to each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network can include copper transmission cable, Optical Fiber Transmission, be wirelessly transferred, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for storing the meter in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For perform the disclosure operation computer program instructions can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming language Source code or object code that any combination is write, programming language of the programming language including object-oriented-such as Smalltalk, C++ etc., and routine procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can perform fully on the user computer, partly perform on the user computer, as one solely Vertical software kit is performed, part performs or completely in remote computer on the remote computer on the user computer for part Or performed on server.In the situation for being related to remote computer, remote computer can be by the network-bag of any kind LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer (such as profit With ISP come by Internet connection).In certain embodiments, by using computer-readable program instructions Status information carry out personalized customization electronic circuit, such as PLD, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to realize each side of the disclosure Face.
Referring herein to the method according to the embodiment of the present disclosure, device (system) and computer program product flow chart and/ Or block diagram describes various aspects of the disclosure.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/ Or in block diagram each square frame combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special-purpose computer or other programmable datas The processor of processing unit, so as to produce a kind of machine so that these instructions are by computer or other programmable datas During the computing device of processing unit, work(specified in one or more square frames realized in flow chart and/or block diagram is generated The device of energy/action.Can also be the storage of these computer-readable program instructions in a computer-readable storage medium, these refer to Order causes that computer, programmable data processing unit and/or other equipment work in a specific way, so that, be stored with instruction Computer-readable medium then includes a manufacture, and it includes realizing in one or more square frames in flow chart and/or block diagram The instruction of the various aspects of the function/action of regulation.
Can also computer-readable program instructions be loaded into computer, other programmable data processing units or other In equipment so that perform series of operation steps on computer, other programmable data processing units or miscellaneous equipment, to produce The computer implemented process of life, so that performed on computer, other programmable data processing units or miscellaneous equipment Instruct function/action specified in one or more square frames realized in flow chart and/or block diagram.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of the multiple embodiments according to the disclosure The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation One part for module, program segment or instruction of table a, part for the module, program segment or instruction is used comprising one or more In the executable instruction of the logic function for realizing regulation.In some realizations as replacement, the function of being marked in square frame Can occur with different from the order marked in accompanying drawing.For example, two continuous square frames can essentially be held substantially in parallel OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or The combination of the square frame in each square frame and block diagram and/or flow chart in flow chart, can use the function of performing regulation or dynamic The special hardware based system made is realized, or can be realized with the combination of computer instruction with specialized hardware.
It is described above the presently disclosed embodiments, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport Best explaining principle, practical application or the technological improvement to the technology in market of each embodiment, or lead this technology Other those of ordinary skill in domain are understood that each embodiment disclosed herein.

Claims (11)

1. a kind of video generation method, it is characterised in that including:
During live video is live, the video segment and the current live of the live video current live are obtained Video segment mark;
The mark of the video segment of the mark and live completion of video segment according to the current live, generates described live regard Frequently corresponding newest program request fragment identification collection;
In the case where the video segment of the current live is last video segment of the live video, by described in most New program request fragment identification collection is used as the corresponding order video identification sets of the live video;
Corresponding each video segment of the order video identification sets is spliced, the first order video is generated.
2. method according to claim 1, it is characterised in that methods described also includes:
Generate the corresponding check information of the order video identification sets;
The check information is associated with first order video.
3. method according to claim 1, it is characterised in that corresponding each video of the newest program request fragment identification collection The video definition of fragment is the first definition, and first order video is corresponding first definition of the live video Order video.
4. method according to claim 3, it is characterised in that after the first order video is generated, methods described is also wrapped Include:
In the case of the order video that there are corresponding other definition of the live video, by first order video with The order video of other definition is associated, and obtains the corresponding order video collection of the live video.
5. method according to claim 4, it is characterised in that obtain the corresponding order video collection of the live video it Afterwards, methods described also includes:
Obtain the corresponding upload voucher of the order video collection;
The corresponding target video of the order video collection is generated according to the upload voucher.
6. a kind of video-generating device, it is characterised in that including:
First acquisition module, for during live video is live, obtaining the piece of video of the live video current live The mark of the video segment of section and the current live;
First generation module, for the mark of the video segment of the mark and live completion of the video segment according to the current live Know, generate the corresponding newest program request fragment identification collection of the live video;
Determining module, for the feelings in last video segment that the video segment of the current live is the live video Under condition, using the newest program request fragment identification collection as the corresponding order video identification sets of the live video;
Second generation module, for corresponding each video segment of the order video identification sets to be spliced, generation first Order video.
7. device according to claim 6, it is characterised in that described device also includes:
3rd generation module, for generating the corresponding check information of the order video identification sets;
First relating module, for the check information to be associated with first order video.
8. device according to claim 6, it is characterised in that corresponding each video of the newest program request fragment identification collection The video definition of fragment is the first definition, and first order video is corresponding first definition of the live video Order video.
9. device according to claim 8, it is characterised in that described device also includes:
Second relating module, in the case of the order video that there are corresponding other definition of the live video, inciting somebody to action First order video is associated with the order video of other definition, obtains the corresponding order video of the live video Collection.
10. device according to claim 9, it is characterised in that described device also includes:
Second acquisition module, for obtaining the corresponding upload voucher of the order video collection;
4th generation module, for generating the corresponding target video of the order video collection according to the upload voucher.
A kind of 11. video-generating devices, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
During live video is live, the video segment and the current live of the live video current live are obtained Video segment mark;
The mark of the video segment of the mark and live completion of video segment according to the current live, generates described live regard Frequently corresponding newest program request fragment identification collection;
In the case where the video segment of the current live is last video segment of the live video, by described in most New program request fragment identification collection is used as the corresponding order video identification sets of the live video;
Corresponding each video segment of the order video identification sets is spliced, the first order video is generated.
CN201710071402.4A 2017-02-09 2017-02-09 Video generation method and device Active CN106791925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710071402.4A CN106791925B (en) 2017-02-09 2017-02-09 Video generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710071402.4A CN106791925B (en) 2017-02-09 2017-02-09 Video generation method and device

Publications (2)

Publication Number Publication Date
CN106791925A true CN106791925A (en) 2017-05-31
CN106791925B CN106791925B (en) 2020-12-15

Family

ID=58955698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710071402.4A Active CN106791925B (en) 2017-02-09 2017-02-09 Video generation method and device

Country Status (1)

Country Link
CN (1) CN106791925B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566880A (en) * 2017-08-09 2018-01-09 深圳腾清动漫股份有限公司 Quick film examination method, system and computer-readable storage medium
CN112023377A (en) * 2020-09-14 2020-12-04 成都拟合未来科技有限公司 Real-time interaction method, system, terminal and medium for fitness exercise

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005308A1 (en) * 2002-01-29 2005-01-06 Gotuit Video, Inc. Methods and apparatus for recording and replaying sports broadcasts
CN101662661A (en) * 2009-09-15 2010-03-03 深圳市同洲电子股份有限公司 Video-on-demand method based on live broadcast and recording and system thereof
CN101741890A (en) * 2008-11-19 2010-06-16 华为技术有限公司 Method, system and equipment for realizing rate control
CN101990126A (en) * 2009-08-07 2011-03-23 未序网络科技(上海)有限公司 Method for spotting advertisement in dynamic switching of internet on-demand or live broadcast signals
CN102026020A (en) * 2010-11-02 2011-04-20 深圳市佳创视讯技术股份有限公司 Bidirectional set-top box system with time shifting on-demand service
CN103078847A (en) * 2012-12-24 2013-05-01 深圳市龙视传媒有限公司 Method for storing and reading multi-code-rate stream file and relevant device
US20130212342A1 (en) * 2009-10-30 2013-08-15 Adobe Systems Incorporated Storage format for media streams
US20130347047A1 (en) * 2012-06-25 2013-12-26 Panasonic Corporation Content reproduction device, content reproduction system, and content reproduction method
CN103533395A (en) * 2013-09-27 2014-01-22 武汉市烽视威科技有限公司 Method and system for realizing playback of hyper text transfer protocol (HTTP) live streaming (HLS) channel
CN104168516A (en) * 2014-09-01 2014-11-26 上海下一代广播电视网应用实验室有限公司 System and method for achieving program replay on stream media live broadcast platform
CN104469433A (en) * 2013-09-13 2015-03-25 深圳市腾讯计算机系统有限公司 Live video replay method and device
CN104539984A (en) * 2014-12-30 2015-04-22 北京奇艺世纪科技有限公司 Video playing method, device and system
CN104822079A (en) * 2014-12-31 2015-08-05 北京奇艺世纪科技有限公司 Video file real-time publication method and system
US9137347B1 (en) * 2012-04-05 2015-09-15 Google Inc. Remotely configuring a wireless device and uploading media to a server
US20150382033A1 (en) * 2013-03-12 2015-12-31 Centurylink Intellectual Property Llc ABR Live to VOD System and Method
CN105407413A (en) * 2014-09-11 2016-03-16 腾讯科技(深圳)有限公司 Distributed video transcoding method and related device and system
CN105491397A (en) * 2015-12-01 2016-04-13 深圳市福云明网络科技有限公司 Real time video pushing method based on combination of UDT protocol and TS slices
CN105577645A (en) * 2015-12-11 2016-05-11 中国科学院声学研究所 Agent-based HLS client-end device and realization method thereof
CN105830047A (en) * 2013-12-04 2016-08-03 脸谱公司 Uploading and transcoding media files
CN105872858A (en) * 2016-04-27 2016-08-17 亦非云互联网技术(上海)有限公司 Video sharing method and system, video processing system and client side
CN105872579A (en) * 2015-12-23 2016-08-17 乐视网信息技术(北京)股份有限公司 Streaming media live broadcast method, releasing terminal, client and system
CN105992016A (en) * 2015-02-05 2016-10-05 天脉聚源(北京)科技有限公司 HLS on-line transcoding method and system
CN106330967A (en) * 2016-10-24 2017-01-11 北京小米移动软件有限公司 Processing method and device of live broadcast data processing
CN106454391A (en) * 2016-10-31 2017-02-22 腾讯科技(深圳)有限公司 Method, apparatus and terminal of converting live to on-demand

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005308A1 (en) * 2002-01-29 2005-01-06 Gotuit Video, Inc. Methods and apparatus for recording and replaying sports broadcasts
CN101741890A (en) * 2008-11-19 2010-06-16 华为技术有限公司 Method, system and equipment for realizing rate control
CN101990126A (en) * 2009-08-07 2011-03-23 未序网络科技(上海)有限公司 Method for spotting advertisement in dynamic switching of internet on-demand or live broadcast signals
CN101662661A (en) * 2009-09-15 2010-03-03 深圳市同洲电子股份有限公司 Video-on-demand method based on live broadcast and recording and system thereof
US20130212342A1 (en) * 2009-10-30 2013-08-15 Adobe Systems Incorporated Storage format for media streams
CN102026020A (en) * 2010-11-02 2011-04-20 深圳市佳创视讯技术股份有限公司 Bidirectional set-top box system with time shifting on-demand service
US9137347B1 (en) * 2012-04-05 2015-09-15 Google Inc. Remotely configuring a wireless device and uploading media to a server
US20130347047A1 (en) * 2012-06-25 2013-12-26 Panasonic Corporation Content reproduction device, content reproduction system, and content reproduction method
CN103078847A (en) * 2012-12-24 2013-05-01 深圳市龙视传媒有限公司 Method for storing and reading multi-code-rate stream file and relevant device
US20150382033A1 (en) * 2013-03-12 2015-12-31 Centurylink Intellectual Property Llc ABR Live to VOD System and Method
CN104469433A (en) * 2013-09-13 2015-03-25 深圳市腾讯计算机系统有限公司 Live video replay method and device
CN103533395A (en) * 2013-09-27 2014-01-22 武汉市烽视威科技有限公司 Method and system for realizing playback of hyper text transfer protocol (HTTP) live streaming (HLS) channel
CN105830047A (en) * 2013-12-04 2016-08-03 脸谱公司 Uploading and transcoding media files
CN104168516A (en) * 2014-09-01 2014-11-26 上海下一代广播电视网应用实验室有限公司 System and method for achieving program replay on stream media live broadcast platform
CN105407413A (en) * 2014-09-11 2016-03-16 腾讯科技(深圳)有限公司 Distributed video transcoding method and related device and system
CN104539984A (en) * 2014-12-30 2015-04-22 北京奇艺世纪科技有限公司 Video playing method, device and system
CN104822079A (en) * 2014-12-31 2015-08-05 北京奇艺世纪科技有限公司 Video file real-time publication method and system
CN105992016A (en) * 2015-02-05 2016-10-05 天脉聚源(北京)科技有限公司 HLS on-line transcoding method and system
CN105491397A (en) * 2015-12-01 2016-04-13 深圳市福云明网络科技有限公司 Real time video pushing method based on combination of UDT protocol and TS slices
CN105577645A (en) * 2015-12-11 2016-05-11 中国科学院声学研究所 Agent-based HLS client-end device and realization method thereof
CN105872579A (en) * 2015-12-23 2016-08-17 乐视网信息技术(北京)股份有限公司 Streaming media live broadcast method, releasing terminal, client and system
CN105872858A (en) * 2016-04-27 2016-08-17 亦非云互联网技术(上海)有限公司 Video sharing method and system, video processing system and client side
CN106330967A (en) * 2016-10-24 2017-01-11 北京小米移动软件有限公司 Processing method and device of live broadcast data processing
CN106454391A (en) * 2016-10-31 2017-02-22 腾讯科技(深圳)有限公司 Method, apparatus and terminal of converting live to on-demand

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
金立标,帅千钧,苗方: "《广播电视网络规划与设计》", 31 July 2016, 北京:中国传媒大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566880A (en) * 2017-08-09 2018-01-09 深圳腾清动漫股份有限公司 Quick film examination method, system and computer-readable storage medium
CN112023377A (en) * 2020-09-14 2020-12-04 成都拟合未来科技有限公司 Real-time interaction method, system, terminal and medium for fitness exercise

Also Published As

Publication number Publication date
CN106791925B (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN106792170A (en) Method for processing video frequency and device
CN106792075A (en) Video broadcasting method and device
CN108093315A (en) Video generation method and device
CN108833939A (en) Generate the method and device of the poster of video
CN106792124A (en) Multimedia resource decodes player method and device
CN109963200A (en) Video broadcasting method and device
CN106897399A (en) Character displaying method and device
CN106960014A (en) Association user recommends method and device
CN106791535A (en) Video recording method and device
CN106899875A (en) The display control method and device of plug-in captions
CN106791821A (en) Play appraisal procedure and device
CN109963168A (en) Video previewing method and device
CN107277628A (en) Video preview display methods and device
CN106896915A (en) Input control method and device based on virtual reality
CN110121106A (en) Video broadcasting method and device
CN107943550A (en) Method for showing interface and device
CN107797741A (en) Method for showing interface and device
CN108156506A (en) The progress adjustment method and device of barrage information
CN106850813A (en) Network service address changing method and device
CN106792255A (en) Video playback window framework display methods and device
CN106991018A (en) The method and device of changing an interface skin
CN106791924A (en) Video generation method and device
CN106599191A (en) User attribute analysis method and device
CN106998493A (en) The method for previewing and device of video
CN106782576A (en) audio mixing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant after: Youku network technology (Beijing) Co., Ltd.

Address before: 100080 area a and C, 5 / F, block a, Sinosteel International Plaza, No. 8, Haidian Street, Haidian District, Beijing

Applicant before: Unified Network Technology (Beijing) Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200508

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant before: Youku network technology (Beijing) Co., Ltd

GR01 Patent grant
GR01 Patent grant