CN109168026A - Instant video display methods, device, terminal device and storage medium - Google Patents

Instant video display methods, device, terminal device and storage medium Download PDF

Info

Publication number
CN109168026A
CN109168026A CN201811250337.2A CN201811250337A CN109168026A CN 109168026 A CN109168026 A CN 109168026A CN 201811250337 A CN201811250337 A CN 201811250337A CN 109168026 A CN109168026 A CN 109168026A
Authority
CN
China
Prior art keywords
video
target
image
template
instant 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.)
Granted
Application number
CN201811250337.2A
Other languages
Chinese (zh)
Other versions
CN109168026B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811250337.2A priority Critical patent/CN109168026B/en
Publication of CN109168026A publication Critical patent/CN109168026A/en
Priority to PCT/CN2019/101565 priority patent/WO2020082870A1/en
Application granted granted Critical
Publication of CN109168026B publication Critical patent/CN109168026B/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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs

Abstract

The present disclosure discloses a kind of instant video display methods, device, terminal device and storage mediums.This method comprises: obtain with the matched video elementary of target video to be generated, include at least one pictorial element in the video elementary;When detecting the instant video idsplay order of user's input, selection and target instant video generation template matched in the instant video idsplay order in template library are generated from the instant video constructed in advance;Described image element is filled into the target instant video to generate in template and at the position of described image Match of elemental composition, target instant video is generated and generates file;Image Rendering component is called, file is generated according to the target instant video, described image element is subjected to real-time rendering according to corresponding display time parameter in show canvas, and the content drawn in the show canvas is subjected to real-time display.The embodiment of the present disclosure can reduce the manufacturing cost of video, improve the efficiency of video development.

Description

Instant video display methods, device, terminal device and storage medium
Technical field
The embodiment of the present disclosure be related to data technique more particularly to a kind of instant video display methods, device, terminal device and Storage medium.
Background technique
With the fast development of Internet technology and terminal device, various terminal equipment such as mobile phone and tablet computer etc. are Become people's work a part indispensable in, and becoming increasingly popular with terminal device, for terminal device Application program (Application, APP) technology of exploitation also rapid growth.
Currently, the page material provided according to user generates the video shown in application program or browser end, user After can only be by the complete video of generation, it could judge whether the video meets displaying demand, and when user is unsatisfied with the view When frequency, it is also necessary to design and develop video effect for the video artefacts again, re-execute video and generate operation.This is video The method for carrying out multiple stand-alone development causes the development efficiency of video to substantially reduce, and increases the complexity of video development.
Summary of the invention
The embodiment of the present disclosure provides a kind of instant video display methods, device, terminal device and storage medium, it is possible to reduce The manufacturing cost of video improves the efficiency of video development.
In a first aspect, the embodiment of the present disclosure provides a kind of instant video display methods, this method comprises:
Obtain with the matched video elementary of target video to be generated, include at least one image primitive in the video elementary Element;
When detecting the instant video idsplay order of user's input, generated in template library from the instant video constructed in advance Selection generates template with target instant video matched in the instant video idsplay order;
Described image element is filled into the position in the target instant video generation template with described image Match of elemental composition Place is set, target instant video is generated and generates file, wherein it includes each described image element that the target instant video, which generates file, Display time parameter in the target video;
Image Rendering component is called, file is generated according to the target instant video, by described image element according to correspondence Display time parameter real-time rendering is carried out in show canvas, and the content drawn in the show canvas is shown in real time Show.
Further, selection and the instant video idsplay order in template library are being generated from the instant video constructed in advance In before matched target instant video generates template, further includes:
Target video element is obtained from the video elementary library constructed in advance, the target video element includes at least one New images element and/or history use pictorial element;
At least one target image dynamic effect file is obtained from the image dynamic effect library constructed in advance;
At least one target image switching dynamic effect file is obtained from the image switching dynamic effect library constructed in advance;
According to the target video element, at least one described target image dynamic effect file and at least one described mesh Logo image switches dynamic effect file, generates instant video and generates template, and is added to the instant video and generates in template library.
Further, before obtaining target video element in the video elementary library constructed in advance, further includes:
Obtain history video;
The image dynamic effect information of every frame image is extracted from the history video, generates image dynamic effect file, It is added into described image dynamic effect library;
Switch dynamic effect information from the image extracted between any two consecutive image in the history video, generates figure As switching dynamic effect file, it is added into described image switching dynamic effect library.
Further, the instant video display methods further include:
Obtain the user information and target instant video generation mould that template is generated using the target instant video The generation video selection number of plate;
The browsing data for counting the target video, the browsing data as the target template that the target video uses;
According to the user information, the generation video selection number and the browsing data, determine that the target is instant The utilization rate of video generation template;
The utilization rate that each instant video in template library generates template is generated according to the instant video, utilization rate is low It generates in template library and removes from the instant video in the instant video generation template of given threshold.
Further, the video elementary further includes at least one audio element;The target instant video generates file Further include: play time parameter of each audio element in the target video, the play time parameter are shown with described Show that time parameter is associated with.
Further, Image Rendering component is being called, file is generated according to the target instant video, by described image member Element carries out real-time rendering, and the content that will be drawn in the show canvas according to corresponding display time parameter in show canvas While carrying out real-time display, further includes: call audio player module, the audio element is joined according to corresponding play time Number carries out audio broadcasting.
Further, file is being generated according to the target instant video, by described image element according to corresponding display Time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is carried out the same of real-time display When, further includes:
Completely drawing in determining the show canvas has and the matched all images member of a real-time display time parameter When plain, the matched image data stream of present displayed content with the show canvas is generated;
The image data stream of generation is input in the video formation component, and is existed and the real-time display determining When the corresponding audio fragment of the associated play time parameter of time parameter, the audio fragment is input to the video generation group Video Composition is carried out in part, until described image draws drafting of the component completion to all images element, to obtain the target Video.
Further, it is Canvas component that described image, which draws component,.
Second aspect, the embodiment of the present disclosure additionally provide a kind of instant video display device, which includes:
Video elementary obtains module, for obtaining and the matched video elementary of target video to be generated, the video element It include multiple images element in element;
Target instant video generates template determining module, in the instant video idsplay order for detecting user's input When, it is instant with matched target in the instant video idsplay order that selection in template library is generated from the instant video constructed in advance Video generates template;
Target instant video generates file generating module, for described image element to be filled into the target instant video At the position with described image Match of elemental composition for generating template, generates target instant video and generate file, wherein the target is When video generate file include display time parameter of each described image element in the target video;
Instant video display module generates file according to the target instant video for calling Image Rendering component, will Described image element carries out real-time rendering according to corresponding display time parameter in show canvas, and will be in the show canvas The content of drafting carries out real-time display.
Further, the instant video display device further include:
Target video element obtains module, for obtaining target video element, institute from the video elementary library constructed in advance Stating target video element includes that at least one new images element and/or history use pictorial element;
Target image dynamic effect file acquisition module, for being obtained at least from the image dynamic effect library constructed in advance One target image dynamic effect file;
Target image switches dynamic effect file acquisition module, for from the image switching dynamic effect library constructed in advance Obtain at least one target image switching dynamic effect file;
Instant video generates template generation module, for according to the target video element, at least one described target figure As dynamic effect file and at least one described target image switching dynamic effect file, generates instant video and generate template, and It is added to the instant video to generate in template library.
Further, the instant video display device further include:
History video acquiring module, for obtaining history video;
Image dynamic effect file generating module, the image dynamic for extracting every frame image from the history video are imitated Fruit information generates image dynamic effect file, is added into described image dynamic effect library;
Image switches dynamic effect file generating module, for extracting any two consecutive image from the history video Between image switch dynamic effect information, generate image switch dynamic effect file, be added into described image switching dynamic imitate Fruit library.
Further, the instant video display device, further includes:
User information and generation video selection number obtain module, for obtaining using target instant video generation mould The user information of plate and the target instant video generate the generation video selection number of template;
Data acquisition module is browsed, for counting the browsing data of the target video, is used as the target video Target template browsing data;
Utilization rate rate computing module, for according to the user information, the generation video selection number and the browsing Data determine that the target instant video generates the utilization rate of template;
Instant video generates template library update module, each described instant in template library for being generated according to the instant video Video generates the utilization rate of template, and utilization rate is generated template lower than the instant video of given threshold and is generated from the instant video It is removed in template library.
Further, the video elementary further includes at least one audio element;The target instant video generates file Further include: play time parameter of each audio element in the target video, the play time parameter are shown with described Show that time parameter is associated with;
Further, the instant video display device further include:
Audio player module calling module broadcasts the audio element according to corresponding for calling audio player module It puts time parameter and carries out audio broadcasting.
Further, the instant video display device, further includes:
Image data stream generation module, when having for completely being drawn in determining the show canvas with a real-time display Between parameter matched all images element when, generate the matched image data stream of present displayed content with the show canvas;
Video Composition module, for the image data stream of generation to be input in the video formation component, and in determination It is when in the presence of audio fragment corresponding with the associated play time parameter of the real-time display time parameter, the audio fragment is defeated Enter and carry out Video Composition into the video formation component, all images element is drawn until described image draws component completion System, to obtain the target video.
Further, it is Canvas component that described image, which draws component,.
The third aspect, the embodiment of the present disclosure additionally provide a kind of terminal device, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the instant video display methods as described in the embodiment of the present disclosure.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the instant video display methods as described in the embodiment of the present disclosure when program is executed by processor.
The embodiment of the present disclosure determines that target instant video generates mould by the instant video idsplay order inputted according to user Plate, and video elementary is combined, it generates target instant video and generates file, and by calling Image Rendering component, be according to target When video generate file in show canvas according to display time parameter real-time rendering pictorial element, to be opened up on show canvas Show instant video, asking for video effect must can just be seen by manually developing and generating complete video in the prior art by solving Topic can realize preview video effect on the basis of not generating complete video based on default template generation video preview data, The cost of labor that video generates can be reduced to avoid redundant video is generated, improve video formation efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure one provides;
Fig. 2 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure two provides;
Fig. 3 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure three provides;
Fig. 4 is a kind of structural schematic diagram for instant video display device that the embodiment of the present disclosure four provides;
Fig. 5 is a kind of structural schematic diagram for terminal device that the embodiment of the present disclosure five provides.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just Part relevant to the disclosure is illustrated only in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure one provides, and the present embodiment is applicable In the video effect that instant viewing generates the case where, this method can be executed by instant video display device, which can be with It is realized by the way of software and/or hardware, which can be configured in terminal device, such as typically computer etc.. As shown in Figure 1, this method specifically comprises the following steps:
S110, obtain with the matched video elementary of target video to be generated, include at least one in the video elementary Pictorial element.
Wherein, target video is that user it is expected the video generated.Video elementary is the video material for generating video, depending on Frequency element can be considered as an element set, include at least one pictorial element in the set, pictorial element is for generating view Every frame image in frequency can specifically include at least one in text, picture and figure etc..
S120 generates mould from the instant video constructed in advance when detecting the instant video idsplay order of user's input Selection generates template with target instant video matched in the instant video idsplay order in plate library.
Wherein, instant video idsplay order can refer to the video information for the target video that user inputs according to demand, from And the video information for generating target video can be obtained from instant video idsplay order.The instant video constructed in advance is raw Template is generated at there being at least one instant video in template library, instant video generates template for generating jointly with video elementary Instant video file, to show instant video.Illustratively, instant video, which generates template, can be script file.
The method of determination that target instant video generates template specifically may is that be generated in template library in instant video, statistics Each instant video generates the temperature (such as access times) of template, and each instant video is generated ultimately generating for template The effect information of video the Template Information of template is generated as corresponding instant video, deposit instant video generates in template library. It is possible thereby to the video information in instant video idsplay order is compared with the Template Information that each instant video generates template, The corresponding instant video of the highest Template Information of similarity is generated into template as target instant video and generates template.
Illustratively, which is to generate the highest target video of temperature, generates in template library and looks into from instant video It looks for the highest instant video of temperature to generate template as target instant video and generates template.
Described image element is filled into the target instant video generation template and described image Match of elemental composition by S130 Position at, generate target instant video and generate file, wherein it includes each described image that the target instant video, which generates file, Display time parameter of the element in the target video.
Wherein, target instant video generates the position that at least one pictorial element can be provided in template, for filling life At the pictorial element of target video, it is also possible to the chained address for filling the pictorial element for generating target video, while can With by being that label information is arranged to will be filled at corresponding position with the matched pictorial element of label information in each position, Label information can be the type information of pictorial element, for example, text or image etc..
Display time parameter can refer to display moment of each pictorial element in target video, can also use each image primitive Frame number of the image in target video that element is shown indicates.
S140, call Image Rendering component, according to the target instant video generate file, by described image element according to Corresponding display time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is carried out in fact When show.
Specifically, Image Rendering component can refer to the component for the drawing image element in show canvas, it is immediately aobvious Show, so that user browses to rapidly the video effect of generation.Show canvas can refer to the back that Image Rendering component is drawn Scape template, the content that user is drawn on show canvas by browsing realize the video effect for watching target video to be generated.
In the present embodiment, Image Rendering component can be in show canvas, when display corresponding according to each pictorial element It carves and draws each pictorial element, and according in the corresponding display period, constantly draw, so that user can watch video to imitate Fruit.
Wherein, Image Rendering component can be drawn for every frame image in target video, for example, Image Rendering component When drawing 5 frame, all images element in the 5th frame image is obtained, and drawn in show canvas.
Optionally, it is Canvas component that described image, which draws component,.Canvas component depends on HTML, passes through execution The code of JavaScript language carries out DYNAMIC DRAWING.Pictorial element can be subjected to dynamic drafting by Canvas component, together When can also be adjusted in drawing process, to realize display instant video.
In addition, can be saved when drawing all videos element using Canvas component with formats such as png, jpg or jpeg The every frame image drawn.Target video is generated according to each frame image of preservation to subsequent.
On the basis of the above embodiments, optionally, the video elementary further includes at least one audio element;The mesh It marks instant video and generates file further include: play time parameter of each audio element in the target video, it is described to broadcast Time parameter is put to be associated with the display time parameter;Image Rendering component is being called, is being generated according to the target instant video Described image element is carried out real-time rendering according to corresponding display time parameter by file in show canvas, and will be described aobvious While showing that the content drawn in painting canvas carries out real-time display, further includes: call audio player module, the audio element is pressed Audio broadcasting is carried out according to corresponding play time parameter.
Wherein, audio element, which can be, refers to audio fragment;Play time parameter can refer to opening for audio clip plays Begin moment and finish time;Play time parameter is associated with display time parameter, can refer to the playing time and image of audio The drafting moment of element is in table at the same time, for example, the drafting moment of the playing time of audio and some pictorial element It is identical.
Audio broadcasting can be added in general video, can be realized by the way that audio element is arranged and be increased music effect in video Fruit.Specifically, by setting audio player module, while be arranged audio play at the time of and duration, to each audio element carry out It plays.By increasing audio element, the richness of video is improved.
The embodiment of the present disclosure determines that target instant video generates mould by the instant video idsplay order inputted according to user Plate, and video elementary is combined, it generates target instant video and generates file, and by calling Image Rendering component, be according to target When video generate file in show canvas according to display time parameter real-time rendering pictorial element, to be opened up on show canvas Show instant video, asking for video effect must can just be seen by manually developing and generating complete video in the prior art by solving Topic can realize preview video effect on the basis of not generating complete video based on default template generation video preview data, The cost of labor that video generates can be reduced to avoid redundant video is generated, improve video formation efficiency.
Embodiment two
Fig. 2 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure two provides.The present embodiment is with above-mentioned It is optimized based on each optinal plan in embodiment.In the present embodiment, mould is being generated from the instant video constructed in advance Before selection and matched target instant video in the instant video idsplay order generate template in plate library, further includes: from pre- Target video element is obtained in the video elementary library first constructed, the target video element includes at least one new images element And/or history uses pictorial element;At least one target image dynamic is obtained from the image dynamic effect library constructed in advance to imitate Fruit file;At least one target image switching dynamic effect file is obtained from the image switching dynamic effect library constructed in advance; It is cut according to the target video element, at least one described target image dynamic effect file and at least one described target image The state that moves effect files generate instant video and generate template, and are added to the instant video and generate in template library.
Correspondingly, the method for the present embodiment may include:
S210, obtains target video element from the video elementary library constructed in advance, and the target video element includes extremely A few new images element and/or history use pictorial element.
Wherein, new images element is the engineer that provides of user and the not pictorial element in video elementary library.It goes through History can be the history image element for synthesizing target video using pictorial element.In addition, the image primitive in video elementary library The number that element can be used according to pictorial element is screened, by the image primitive of access times too low (as being lower than given threshold) Element is removed from video elementary library.
S220 obtains at least one target image dynamic effect file from the image dynamic effect library constructed in advance.
For storing the rendering parameter of each video elementary in a frame image, such as placement position in image dynamic effect file Information, dimension information or angle information etc., wherein image dynamic effect file can be script file.
Each image dynamic effect file can be clustered from the image dynamic effect library constructed in advance, from one kind Extract at least one target image dynamic effect file;Or it can be at least one target image dynamic effect text of random selection Part, or can also be other modes, in this regard, the embodiment of the present disclosure is not specifically limited.Target image dynamic effect file Quantity can be inputted by user and be determined.
S230 obtains at least one target image switching dynamic effect from the image switching dynamic effect library constructed in advance File.
The parameter for describing special efficacy of the two continuous frames image in switching is stored in image switching dynamic effect file, In, image switching dynamic effect file can be script file.
The selection mode that target image switches dynamic effect file can be identical as above-mentioned target image dynamic effect file, In this regard, the embodiment of the present disclosure is not particularly limited.
S240, according to the target video element, at least one described target image dynamic effect file and it is described at least One target image switches dynamic effect file, generates instant video and generates template, and is added to the instant video and generates mould In plate library.
Wherein, the rendering parameter of each video elementary is stored in target image dynamic effect file, it can be by each video element Element carries out any combination with target image dynamic effect file, obtain needing in every frame image all videos element to be shown and Corresponding rendering parameter.
Special effect parameters when two field pictures switching are stored in target image switching dynamic effect file, it can will at least one A target image switching dynamic effect file is ranked up, and is followed successively by between two continuous frames image according to ranking results and is added switching Special efficacy.
It will be switched according to target video element, at least one target image dynamic effect file and at least one target image Dynamic effect file, combination producing instant video generate template, which, which specifically includes in every frame image, needs whole to be shown The special effect parameters switched between video elementary and corresponding rendering parameter and every two continuous frames image.If target image When dynamic effect file and target image switching dynamic effect file are script file, then instant video generates template and can be The new script file that script text in script file is spliced to form.Wherein, video elementary can use acquisition address It indicates.
Video elementary, image dynamic effect file and image switching dynamic are selected from the database constructed in advance as a result, Effect files combination producing instant video generates template, may be implemented when Image Rendering component is drawn, according to the suitable of picture frame Sequence successively calls each target image dynamic effect file and each target image to switch dynamic effect file, there is dynamic with display and imitates The picture of fruit.
S250, obtain with the matched video elementary of target video to be generated, include at least one in the video elementary Pictorial element.
It is instant that target video, video elementary, pictorial element, target instant video in the present embodiment generate template, target The meaning that video generates file, display time parameter and Image Rendering component etc. is referred to the description of above-described embodiment.
S260 generates mould from the instant video constructed in advance when detecting the instant video idsplay order of user's input Selection generates template with target instant video matched in the instant video idsplay order in plate library.
Described image element is filled into the target instant video generation template and described image Match of elemental composition by S270 Position at, generate target instant video and generate file, wherein it includes each described image that the target instant video, which generates file, Display time parameter of the element in the target video.
Wherein, described image element is the video elementary for generating target video, and target instant video generates in template Each filling position at be stored in used target video element when building instant video generates template originally, can will own Pictorial element is compared with the target video element at each position respectively, by the figure of similarity high (as being more than given threshold) Pixel element is filled at the position, and removes original target video element, if the target video element at a position is not deposited In pictorial element similar with its, then retain the target video element at the position.
S280, call Image Rendering component, according to the target instant video generate file, by described image element according to Corresponding display time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is carried out in fact When show.
Optionally, before obtaining target video element in the video elementary library constructed in advance, further includes: obtain history Video;The image dynamic effect information of every frame image is extracted from the history video, generates image dynamic effect file, addition Enter described image dynamic effect library;It is imitated from the image switching dynamic extracted in the history video between any two consecutive image Fruit information generates image and switches dynamic effect file, is added into described image switching dynamic effect library.
Wherein, history video can refer to the video issued in the page.It can be from the script text of the history video of generation The image between image dynamic effect information and any two consecutive image is extracted in part switches dynamic effect information, it is right respectively Image dynamic effect file and image switching dynamic effect file should be generated, it is possible to reduce design generates image dynamic effect file With generate image dynamic effect file cost of labor, to improve the efficiency of video development.
On the basis of the above embodiments, further includes: obtain and believed using the user that the target instant video generates template Breath and the target instant video generate the generation video selection number of template;The browsing data of the target video are counted, Browsing data as the target template that the target video uses;According to the user information, the generation video selection time The several and browsing data determine that the target instant video generates the utilization rate of template;Mould is generated according to the instant video Each instant video generates the utilization rate of template in plate library, by utilization rate lower than the instant video of given threshold generate template from The instant video generates to be removed in template library.
It is generated in template library in instant video and has a large amount of instant video generation template, it can be by the target video of generation The bad instant video of video effect generate template and removed from library, wherein user information can refer to selection using the mesh Mark at least one in the information such as gender, age and the interest of user of instant video generation template.Generate video selection number It can refer to that a target instant video generates the number that template is generated target video by selection.The browsing data of target video can To refer to that target video is shown in the page, other users browse the number of the target video.Wherein, when other users browsing should When the time of video is more than 10s, determine that other users browse the target video.
Can for user information, generate video selection number and browsing data be respectively set weight, and by user information, life The numerical value that can be calculated is converted at video selection number and browsing data, is made according to the weight and above-mentioned numerical value, calculating With rate.
In a specific example, the utilization rate that target instant video generates template is calculated for female user, if i.e. When video to generate the user information of template be male, generating video selection number is 10 times, and browsing data are 200 times, then corresponding to turn The numerical value that being changed to can calculate is respectively 0,10,20, while weighted value is respectively 0.8,0.1,0.1, then utilization rate is 0*0.8+ 10*0.1+20*0.1=3.
It is removed from library by the way that the low instant video of utilization rate is generated template, discharges storage resource.
The embodiment of the present disclosure obtains target video element, target figure by presetting database respectively from the database As dynamic effect file and target image switching dynamic effect file, any combination forms instant video and generates template, is added to Instant video generates template library, so that the subsequent instant video that can be generated based on instant video in template library is generated template and drawn And show instant video, engineer's cost that instant video generates template is reduced, instant video is improved and generates template generation Efficiency is drawn based on instant video generation template to improve and shows the efficiency of instant video.
Embodiment three
Fig. 3 is a kind of flow chart for instant video display methods that the embodiment of the present disclosure three provides.The present embodiment is with above-mentioned It is embodied based on each optinal plan in embodiment.Image Rendering component is being called in the present embodiment, according to described Target instant video generates file, and described image element is carried out in real time according to corresponding display time parameter in show canvas While drawing, and the content drawn in the show canvas carried out real-time display, further includes: determining the show canvas In completely draw when having all images element matched with a real-time display time parameter, generate and to work as with the show canvas The image data stream of preceding display content matching;The image data stream of generation is input in the video formation component, and true When determining to have audio fragment corresponding with the associated play time parameter of the real-time display time parameter, by the audio fragment It is input in the video formation component and carries out Video Composition, until described image is drawn component and completed to all images element It draws, to obtain the target video.
S310, obtain with the matched video elementary of target video to be generated, include multiple images in the video elementary Element and at least one audio element.
Target video, video elementary, pictorial element, audio element in the present embodiment, target instant video generate template, Target instant video generates file, display time parameter, play time parameter, Image Rendering component and video formation component etc. Meaning is referred to the description of above-described embodiment.
S320 generates mould from the instant video constructed in advance when detecting the instant video idsplay order of user's input Selection generates template with target instant video matched in the instant video idsplay order in plate library.
Described image element is filled into the target instant video generation template and described image Match of elemental composition by S330 Position at, generate target instant video and generate file, wherein it includes each described image that the target instant video, which generates file, Display time parameter and each audio element play time in the target video of the element in the target video Parameter, the play time parameter are associated with the display time parameter.
S340, call Image Rendering component, according to the target instant video generate file, by described image element according to Corresponding display time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is carried out in fact When show, meanwhile, call audio player module, by the audio element according to corresponding play time parameter carry out audio broadcast It puts.
S350, completely drawing in determining the show canvas has and the matched all figures of a real-time display time parameter When pixel element, the matched image data stream of present displayed content with the show canvas is generated.
Wherein, real-time display time parameter can refer to the time parameter for indicating present frame, when completely drawing in show canvas When being formed with all images element matched with a real-time display time parameter, that is to say, that when show canvas completely draws category When all images element of present frame, the corresponding image data stream for generating present frame.
The image data stream of generation is input in the video formation component by S360, and is existed and the reality determining When showing the corresponding audio fragment of the associated play time parameter of time parameter, the audio fragment is input to the video Video Composition is carried out in formation component, until described image draws drafting of the component completion to all images element, to obtain State target video.
Wherein, image data stream is input to video formation component, for generating every frame image in video;It will work as simultaneously The audio fragment that the preceding moment plays also enters into video formation component, for generating the audio in video.When Image Rendering group Part completes the drafting to all images element, namely completes the drafting of the image of all frames of target video, and target video is corresponding The image data stream of all frames is all transmitted in video formation component, meanwhile, the corresponding audio fragment of target video is also complete Portion is transmitted in video formation component, thus, video formation component can be closed based on received image data stream and audio fragment At target video.
Wherein, video formation component can be ffmpeg tool.
It, can be to set picture format during calling Image Rendering component to be drawn in a specific example (formats such as png, jpg or jpeg as the aforementioned) save the every frame image drawn.Each frame image and audio fragment of preservation is equal It is input in video formation component, to generate target video.Or user can generate human-computer interaction circle of software by video It is carried out in face of each frame image and audio fragment artificial synthesized.
Optionally, described image data flow is input in the video formation component, comprising: by pipeline by described image Data flow is input in real time in video formation component.
Wherein, image data stream can be transmitted by pipeline, and pipeline is used for interprocess communication, be considered one The buffer area of a fixed size, is carried out data transmission using pipeline, can be to avoid a large amount of intermediate images file is generated, to mention High video formation efficiency.
The embodiment of the present disclosure is by completing one during Image Rendering component draws video elementary, and every In frame image when the drafting of all images element, generates corresponding image data stream and be input to video formation component, it can be to avoid According to a large amount of image is generated come synthetic video, causes to occupy the excessive situation of memory space, realize and save memory space, together When, can to avoid at the same time show multiple groups video elementary formed instant video during generate a large amount of image, lead to figure The case where declining as the decline of drafting efficiency and image formation efficiency of drawing component, to improve the efficiency of Video Composition.
Example IV
Fig. 4 is a kind of structural schematic diagram for instant video display device that the embodiment of the present disclosure provides, and the present embodiment can fit The case where for watching the video effect of generation immediately.The device can realize by the way of software and/or hardware, the device It can be configured in terminal device.As shown in figure 4, the apparatus may include: video elementary obtains module 410, target regards immediately Frequency generates template determining module 420, target instant video generates file generating module 430 and instant video display module 440.
Video elementary obtains module 410, for obtaining and the matched video elementary of target video to be generated, the video It include multiple images element in element;
Target instant video generates template determining module 420, for detecting that the instant video of user's input shows and refer to When enabling, generates in template library and selected with matched target in the instant video idsplay order i.e. from the instant video constructed in advance When video generate template;
Target instant video generates file generating module 430, instant for described image element to be filled into the target Video generates at the position with described image Match of elemental composition of template, generates target instant video and generates file, wherein the mesh Marking instant video and generating file includes display time parameter of each described image element in the target video;
Instant video display module 440 generates text according to the target instant video for calling Image Rendering component Described image element is carried out real-time rendering according to corresponding display time parameter by part in show canvas, and by the display The content drawn in painting canvas carries out real-time display.
The embodiment of the present disclosure determines that target instant video generates mould by the instant video idsplay order inputted according to user Plate, and video elementary is combined, it generates target instant video and generates file, and by calling Image Rendering component, be according to target When video generate file in show canvas according to display time parameter real-time rendering pictorial element, to be opened up on show canvas Show instant video, asking for video effect must can just be seen by manually developing and generating complete video in the prior art by solving Topic can realize preview video effect on the basis of not generating complete video based on default template generation video preview data, The cost of labor that video generates can be reduced to avoid redundant video is generated, improve video formation efficiency.
Further, the instant video display device further include: target video element obtains module, is used for from preparatory structure In the video elementary library built obtain target video element, the target video element include at least one new images element and/or History uses pictorial element;Target image dynamic effect file acquisition module, for from the image dynamic effect library constructed in advance Middle at least one target image dynamic effect file of acquisition;Target image switches dynamic effect file acquisition module, is used for from pre- At least one target image switching dynamic effect file is obtained in the image switching dynamic effect library first constructed;Instant video generates Template generation module, for according to the target video element, at least one described target image dynamic effect file and described At least one target image switches dynamic effect file, generates instant video and generates template, and it is raw to be added to the instant video At in template library.
Further, the instant video display device further include: history video acquiring module, for obtaining history view Frequently;Image dynamic effect file generating module, the image dynamic effect for extracting every frame image from the history video are believed Breath generates image dynamic effect file, is added into described image dynamic effect library;Image switches dynamic effect file generated mould Block generates figure for switching dynamic effect information from the image extracted between any two consecutive image in the history video As switching dynamic effect file, it is added into described image switching dynamic effect library.
Further, the instant video display device, further includes: user information and generation video selection number obtain mould Block, for obtaining the user information and target instant video generation mould that generate template using the target instant video The generation video selection number of plate;Data acquisition module is browsed, for counting the browsing data of the target video, as described The browsing data for the target template that target video uses;Utilization rate rate computing module, for according to the user information, the life At video selection number and the browsing data, determine that the target instant video generates the utilization rate of template;Instant video is raw At template library update module, for generating the use that each instant video in template library generates template according to the instant video Utilization rate is generated in template library lower than the instant video generation template of given threshold from the instant video and is removed by rate.
Further, the video elementary further includes at least one audio element;The target instant video generates file Further include: play time parameter of each audio element in the target video, the play time parameter are shown with described Show that time parameter is associated with.
Further, the instant video display device further include: audio player module calling module, for calling audio The audio element is carried out audio broadcasting according to corresponding play time parameter by player module.
Further, the instant video display device, further includes: image data stream generation module, for determining State in show canvas and completely to draw when having all images element matched with a real-time display time parameter, generate with it is described aobvious Show the matched image data stream of the present displayed content of painting canvas;Video Composition module, the image data stream input for that will generate Extremely in the video formation component, and determining in the presence of corresponding with the associated play time parameter of the real-time display time parameter Audio fragment when, the audio fragment is input in the video formation component and carries out Video Composition, until described image Drafting of the component completion to all images element is drawn, to obtain the target video.
Further, it is Canvas component that described image, which draws component,.
The instant video display device that the embodiment of the present disclosure provides, the instant video display methods category provided with embodiment one In same inventive concept, the technical detail of detailed description not can be found in embodiment one, and the disclosure in the embodiments of the present disclosure Embodiment and the beneficial effect having the same of embodiment one.
Embodiment five
The embodiment of the present disclosure provides a kind of terminal device, and below with reference to Fig. 5, it illustrates be suitable for being used to realizing the disclosure The structural schematic diagram of the electronic equipment (such as client server) 500 of embodiment.Terminal in the embodiment of the present disclosure is set It is standby to can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, personal digital assistant (PDA), put down The mobile terminal of plate computer (PAD), portable media player (PMP), car-mounted terminal (such as vehicle mounted guidance terminal) etc. And the fixed terminal of such as number TV, desktop computer etc..Electronic equipment shown in Fig. 5 is only an example, is not answered Any restrictions are brought to the function and use scope of the embodiment of the present disclosure.
As shown in figure 5, electronic equipment 500 may include processing unit (such as central processing unit, graphics processor etc.) 501, random access can be loaded into according to the program being stored in read-only memory (ROM) 502 or from storage device 508 Program in memory (RAM) 503 and execute various movements appropriate and processing.In RAM 503, it is also stored with electronic equipment Various programs and data needed for 500 operations.Processing unit 501, ROM 502 and RAM 503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device 509, which can permit electronic equipment 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool There is the electronic equipment 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 509, or from storage device 508 It is mounted, or is mounted from ROM 502.When the computer program is executed by processing unit 501, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
Embodiment six
The embodiment of the present disclosure additionally provides a kind of computer readable storage medium, and computer-readable medium can be computer Readable signal medium or computer readable storage medium either the two any combination.Computer readable storage medium Such as may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or Any above combination.The more specific example of computer readable storage medium can include but is not limited to: have one or more It is the electrical connection of a conducting wire, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable Formula programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage Device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be It is any to include or the tangible medium of storage program, the program can be commanded execution system, device or device using or with It is used in combination.And in the disclosure, computer-readable signal media may include in a base band or as carrier wave a part The data-signal of propagation, wherein carrying computer-readable program code.The data-signal of this propagation can use a variety of Form, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media may be used also To be any computer-readable medium other than computer readable storage medium, which can send, It propagates or transmits for by the use of instruction execution system, device or device or program in connection.Computer The program code for including on readable medium can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (are penetrated Frequently) etc. or above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining and the matched video elementary of target video to be generated, the video elementary In include at least one pictorial element;It is instant from what is constructed in advance when detecting the instant video idsplay order of user's input Video generates selection and target instant video generation template matched in the instant video idsplay order in template library;It will be described Pictorial element is filled into the target instant video and generates in template and at the position of described image Match of elemental composition, generates target and is When video generate file, wherein it includes each described image element in the target video that the target instant video, which generates file, In display time parameter;Image Rendering component is called, file is generated according to the target instant video, by described image element Carry out real-time rendering in show canvas according to corresponding display time parameter, and by the content drawn in the show canvas into Row real-time display.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in module involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of module does not constitute the restriction to the module itself under certain conditions, for example, view Frequency element obtains module and is also described as " obtaining and the matched video elementary of target video to be generated, the video element It include the module of multiple images element in element ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (16)

1. a kind of instant video display methods characterized by comprising
Obtain with the matched video elementary of target video to be generated, include at least one pictorial element in the video elementary;
When detecting the instant video idsplay order of user's input, generates in template library and select from the instant video constructed in advance Template is generated with the matched target instant video of the instant video idsplay order;
Described image element is filled into the target instant video to generate in template and at the position of described image Match of elemental composition, It generates target instant video and generates file, wherein it includes each described image element in institute that the target instant video, which generates file, State the display time parameter in target video;
Image Rendering component is called, file is generated according to the target instant video, by described image element according to corresponding aobvious Show that time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is subjected to real-time display.
2. the method according to claim 1, wherein being selected being generated in template library from the instant video constructed in advance Select with target instant video matched in the instant video idsplay order generate template before, further includes:
Target video element is obtained from the video elementary library constructed in advance, the target video element includes at least one new figure Pixel element and/or history use pictorial element;
At least one target image dynamic effect file is obtained from the image dynamic effect library constructed in advance;
At least one target image switching dynamic effect file is obtained from the image switching dynamic effect library constructed in advance;
According to the target video element, at least one described target image dynamic effect file and at least one described target figure It as switching dynamic effect file, generates instant video and generates template, and be added to the instant video and generate in template library.
3. according to the method described in claim 2, it is characterized in that, obtaining target view from the video elementary library constructed in advance Before frequency element, further includes:
Obtain history video;
The image dynamic effect information of every frame image is extracted from the history video, generates image dynamic effect file, addition Enter described image dynamic effect library;
Switch dynamic effect information from the image extracted between any two consecutive image in the history video, generates image and cut The state that moves effect files are added into described image switching dynamic effect library.
4. the method according to claim 1, wherein further include:
It obtains and generates template using the user information and the target instant video of target instant video generation template Generate video selection number;
The browsing data for counting the target video, the browsing data as the target template that the target video uses;
According to the user information, the generation video selection number and the browsing data, the target instant video is determined Generate the utilization rate of template;
The utilization rate that each instant video in template library generates template is generated according to the instant video, utilization rate is lower than and is set The instant video for determining threshold value generates template and removes from instant video generation template library.
5. the method according to claim 1, wherein the video elementary further includes at least one audio element; The target instant video generates file further include: play time parameter of each audio element in the target video, The play time parameter is associated with the display time parameter;
Image Rendering component is being called, file is being generated according to the target instant video, by described image element according to corresponding Display time parameter carries out real-time rendering in show canvas, and the content drawn in the show canvas is carried out real-time display While, further includes:
Audio player module is called, the audio element is subjected to audio broadcasting according to corresponding play time parameter.
6. according to the method described in claim 5, it is characterized in that, generating file according to the target instant video, by institute It states pictorial element and carries out real-time rendering in show canvas according to corresponding display time parameter, and will be drawn in the show canvas While the content of system carries out real-time display, further includes:
When completely drafting has all images element matched with a real-time display time parameter in determining the show canvas, Generate the matched image data stream of present displayed content with the show canvas;
The image data stream of generation is input in the video formation component, and is existed and the real-time display time determining When the corresponding audio fragment of the play time parameter of parameter association, the audio fragment is input in the video formation component Video Composition is carried out, until described image draws drafting of the component completion to all images element, to obtain the target video.
7. method according to claim 1-6, which is characterized in that it is Canvas group that described image, which draws component, Part.
8. a kind of instant video display device characterized by comprising
Video elementary obtains module, for obtaining and the matched video elementary of target video to be generated, in the video elementary Including multiple images element;
Target instant video generate template determining module, for detect user input instant video idsplay order when, from The instant video constructed in advance generates selection and matched target instant video in the instant video idsplay order in template library Generate template;
Target instant video generates file generating module, generates for described image element to be filled into the target instant video At the position with described image Match of elemental composition of template, generates target instant video and generate file, wherein the target regards immediately It includes display time parameter of each described image element in the target video that frequency, which generates file,;
Instant video display module generates file according to the target instant video for calling Image Rendering component, will be described Pictorial element carries out real-time rendering according to corresponding display time parameter in show canvas, and will draw in the show canvas Content carry out real-time display.
9. device according to claim 8, which is characterized in that further include:
Target video element obtains module, for obtaining target video element, the mesh from the video elementary library constructed in advance Mark video elementary includes that at least one new images element and/or history use pictorial element;
Target image dynamic effect file acquisition module, for obtaining at least one from the image dynamic effect library constructed in advance Target image dynamic effect file;
Target image switches dynamic effect file acquisition module, for obtaining from the image switching dynamic effect library constructed in advance At least one target image switches dynamic effect file;
Instant video generates template generation module, for dynamic according to the target video element, at least one described target image State effect files and at least one described target image switch dynamic effect file, generate instant video and generate template, and add It is generated in template library to the instant video.
10. device according to claim 9, which is characterized in that further include:
History video acquiring module, for obtaining history video;
Image dynamic effect file generating module, the image dynamic effect for extracting every frame image from the history video are believed Breath generates image dynamic effect file, is added into described image dynamic effect library;
Image switches dynamic effect file generating module, for extracting between any two consecutive image from the history video Image switch dynamic effect information, generate image switch dynamic effect file, be added into described image switching dynamic effect library.
11. device according to claim 8, which is characterized in that further include:
User information and generation video selection number obtain module, generate template using the target instant video for obtaining User information and the target instant video generate the generation video selection number of template;
Data acquisition module is browsed, the mesh for counting the browsing data of the target video, as target video use Mark the browsing data of template;
Utilization rate rate computing module is used for according to the user information, the generation video selection number and the browsing data, Determine that the target instant video generates the utilization rate of template;
Instant video generates template library update module, for generating each instant video in template library according to the instant video Utilization rate is generated template lower than the instant video of given threshold and generates template from the instant video by the utilization rate for generating template It is removed in library.
12. device according to claim 8, which is characterized in that the video elementary further includes at least one audio element; The target instant video generates file further include: play time parameter of each audio element in the target video, The play time parameter is associated with the display time parameter;
Described device further include:
Audio player module calling module, for calling audio player module, when by the audio element according to corresponding broadcasting Between parameter carry out audio broadcasting.
13. device according to claim 12, which is characterized in that further include:
Image data stream generation module is joined for completely drawing to have in determining the show canvas with a real-time display time When the matched all images element of number, the matched image data stream of present displayed content with the show canvas is generated;
Video Composition module exists for the image data stream of generation to be input in the video formation component, and determining When audio fragment corresponding with the associated play time parameter of the real-time display time parameter, the audio fragment is input to Video Composition is carried out in the video formation component, until described image draws drafting of the component completion to all images element, To obtain the target video.
14. according to the described in any item devices of claim 8-13, which is characterized in that it is Canvas group that described image, which draws component, Part.
15. a kind of terminal device characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Existing instant video display methods as claimed in claim 1.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Instant video display methods as claimed in claim 1 is realized when execution.
CN201811250337.2A 2018-10-25 2018-10-25 Instant video display method and device, terminal equipment and storage medium Active CN109168026B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811250337.2A CN109168026B (en) 2018-10-25 2018-10-25 Instant video display method and device, terminal equipment and storage medium
PCT/CN2019/101565 WO2020082870A1 (en) 2018-10-25 2019-08-20 Real-time video display method and apparatus, and terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811250337.2A CN109168026B (en) 2018-10-25 2018-10-25 Instant video display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109168026A true CN109168026A (en) 2019-01-08
CN109168026B CN109168026B (en) 2020-09-29

Family

ID=64876012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811250337.2A Active CN109168026B (en) 2018-10-25 2018-10-25 Instant video display method and device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109168026B (en)
WO (1) WO2020082870A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN110198420A (en) * 2019-04-29 2019-09-03 北京卡路里信息技术有限公司 Video generation method and device based on nonlinear video editor
CN110287368A (en) * 2019-05-31 2019-09-27 上海萌鱼网络科技有限公司 The generation method of short-sighted frequency stencil design figure generating means and short video template
CN110798737A (en) * 2019-11-29 2020-02-14 北京达佳互联信息技术有限公司 Video and audio synthesis method, terminal and storage medium
WO2020082870A1 (en) * 2018-10-25 2020-04-30 北京字节跳动网络技术有限公司 Real-time video display method and apparatus, and terminal device and storage medium
CN111432142A (en) * 2020-04-03 2020-07-17 腾讯云计算(北京)有限责任公司 Video synthesis method, device, equipment and storage medium
CN111601039A (en) * 2020-05-28 2020-08-28 维沃移动通信有限公司 Video shooting method and device and electronic equipment
CN111935528A (en) * 2020-06-22 2020-11-13 北京百度网讯科技有限公司 Video generation method and device
CN112132599A (en) * 2019-06-24 2020-12-25 北京沃东天骏信息技术有限公司 Image processing method and device, computer readable storage medium and electronic device
CN112348748A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN113596579A (en) * 2021-07-29 2021-11-02 北京字节跳动网络技术有限公司 Video generation method, device, medium and electronic equipment
CN113766255A (en) * 2021-01-19 2021-12-07 北京沃东天骏信息技术有限公司 Video stream merging method and device, electronic equipment and computer medium
CN114363641A (en) * 2020-10-13 2022-04-15 阿里巴巴集团控股有限公司 Target video generation method and device
CN114390353A (en) * 2020-10-21 2022-04-22 西安诺瓦星云科技股份有限公司 Program playing method, device and system and computer readable storage medium
CN114915841A (en) * 2022-05-10 2022-08-16 南京搜福居信息科技有限公司 Video production method and system based on machine learning algorithm

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005595A (en) * 2006-01-19 2007-07-25 北京维多美雅数字传媒技术有限公司 Method and device for self making and sharing video frequency greeting card
CN101448089A (en) * 2007-11-26 2009-06-03 新奥特(北京)视频技术有限公司 Non-linear editing system
US20100131965A1 (en) * 2008-11-26 2010-05-27 Samsung Electronics Co., Ltd. Image display device for providing content and method for providing content using the same
CN102314441A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for user to input individualized primitive data and equipment and system
CN102724639A (en) * 2011-03-31 2012-10-10 中国电信股份有限公司 Multimedia message manufacture method, device thereof and system thereof
CN103458379A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Information sending method, device and system and information push method, device and system
CN104090955A (en) * 2014-07-07 2014-10-08 科大讯飞股份有限公司 Automatic audio/video label labeling method and system
CN104780439A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Video processing method and device
CN104793745A (en) * 2015-04-17 2015-07-22 范剑斌 Man-machine interaction method for mobile terminal
CN105679347A (en) * 2016-01-07 2016-06-15 北京东方云图科技有限公司 Method and apparatus for making video file through programming process
CN106161988A (en) * 2015-03-26 2016-11-23 成都理想境界科技有限公司 A kind of augmented reality video generation method
CN106330667A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 WeChat postcard generation method and system
CN106572395A (en) * 2016-11-08 2017-04-19 广东小天才科技有限公司 Video processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866886B (en) * 2012-09-04 2015-04-29 北京航空航天大学 Web-based visual algorithm animation development system
US10298986B2 (en) * 2016-11-13 2019-05-21 Newtek, Inc. Method and apparatus for incorporating web based selection into graphics system
CN109168026B (en) * 2018-10-25 2020-09-29 北京字节跳动网络技术有限公司 Instant video display method and device, terminal equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005595A (en) * 2006-01-19 2007-07-25 北京维多美雅数字传媒技术有限公司 Method and device for self making and sharing video frequency greeting card
CN101448089A (en) * 2007-11-26 2009-06-03 新奥特(北京)视频技术有限公司 Non-linear editing system
US20100131965A1 (en) * 2008-11-26 2010-05-27 Samsung Electronics Co., Ltd. Image display device for providing content and method for providing content using the same
CN102314441A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for user to input individualized primitive data and equipment and system
CN102724639A (en) * 2011-03-31 2012-10-10 中国电信股份有限公司 Multimedia message manufacture method, device thereof and system thereof
CN103458379A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Information sending method, device and system and information push method, device and system
CN104780439A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Video processing method and device
CN104090955A (en) * 2014-07-07 2014-10-08 科大讯飞股份有限公司 Automatic audio/video label labeling method and system
CN106161988A (en) * 2015-03-26 2016-11-23 成都理想境界科技有限公司 A kind of augmented reality video generation method
CN104793745A (en) * 2015-04-17 2015-07-22 范剑斌 Man-machine interaction method for mobile terminal
CN106330667A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 WeChat postcard generation method and system
CN105679347A (en) * 2016-01-07 2016-06-15 北京东方云图科技有限公司 Method and apparatus for making video file through programming process
CN106572395A (en) * 2016-11-08 2017-04-19 广东小天才科技有限公司 Video processing method and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020082870A1 (en) * 2018-10-25 2020-04-30 北京字节跳动网络技术有限公司 Real-time video display method and apparatus, and terminal device and storage medium
CN110198420A (en) * 2019-04-29 2019-09-03 北京卡路里信息技术有限公司 Video generation method and device based on nonlinear video editor
CN110198420B (en) * 2019-04-29 2022-06-10 北京卡路里信息技术有限公司 Video generation method and device based on nonlinear video editing
CN110287368A (en) * 2019-05-31 2019-09-27 上海萌鱼网络科技有限公司 The generation method of short-sighted frequency stencil design figure generating means and short video template
CN110287368B (en) * 2019-05-31 2021-10-08 上海萌鱼网络科技有限公司 Short video template design drawing generation device and short video template generation method
CN110139159B (en) * 2019-06-21 2021-04-06 上海摩象网络科技有限公司 Video material processing method and device and storage medium
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN112132599A (en) * 2019-06-24 2020-12-25 北京沃东天骏信息技术有限公司 Image processing method and device, computer readable storage medium and electronic device
CN112348748A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN110798737A (en) * 2019-11-29 2020-02-14 北京达佳互联信息技术有限公司 Video and audio synthesis method, terminal and storage medium
CN111432142A (en) * 2020-04-03 2020-07-17 腾讯云计算(北京)有限责任公司 Video synthesis method, device, equipment and storage medium
CN111432142B (en) * 2020-04-03 2022-11-22 腾讯云计算(北京)有限责任公司 Video synthesis method, device, equipment and storage medium
CN111601039B (en) * 2020-05-28 2021-10-15 维沃移动通信有限公司 Video shooting method and device and electronic equipment
CN111601039A (en) * 2020-05-28 2020-08-28 维沃移动通信有限公司 Video shooting method and device and electronic equipment
CN111935528A (en) * 2020-06-22 2020-11-13 北京百度网讯科技有限公司 Video generation method and device
CN111935528B (en) * 2020-06-22 2022-12-16 北京百度网讯科技有限公司 Video generation method and device
CN114363641A (en) * 2020-10-13 2022-04-15 阿里巴巴集团控股有限公司 Target video generation method and device
CN114390353A (en) * 2020-10-21 2022-04-22 西安诺瓦星云科技股份有限公司 Program playing method, device and system and computer readable storage medium
CN113766255A (en) * 2021-01-19 2021-12-07 北京沃东天骏信息技术有限公司 Video stream merging method and device, electronic equipment and computer medium
CN113596579A (en) * 2021-07-29 2021-11-02 北京字节跳动网络技术有限公司 Video generation method, device, medium and electronic equipment
CN114915841A (en) * 2022-05-10 2022-08-16 南京搜福居信息科技有限公司 Video production method and system based on machine learning algorithm

Also Published As

Publication number Publication date
WO2020082870A1 (en) 2020-04-30
CN109168026B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN109168026A (en) Instant video display methods, device, terminal device and storage medium
CN108282612B (en) Video processing method, computer storage medium and terminal
WO2020207106A1 (en) Method, apparatus and device for displaying information of following users, and storage medium
CN108174265B (en) A kind of playback method, the apparatus and system of 360 degree of panoramic videos
CN110070496B (en) Method and device for generating image special effect and hardware device
AU2021314277B2 (en) Interaction method and apparatus, and electronic device and computer-readable storage medium
CN109495684A (en) A kind of image pickup method of video, device, electronic equipment and readable medium
CN109600559B (en) Video special effect adding method and device, terminal equipment and storage medium
US11785195B2 (en) Method and apparatus for processing three-dimensional video, readable storage medium and electronic device
CN109168027B (en) Instant video display method and device, terminal equipment and storage medium
CN110930220A (en) Display method, display device, terminal equipment and medium
CN111225232A (en) Video-based sticker animation engine, realization method, server and medium
WO2023193521A1 (en) Video inpainting method, related apparatus, device and storage medium
CN115190366B (en) Information display method, device, electronic equipment and computer readable medium
CN113891105A (en) Picture display method and device, storage medium and electronic equipment
CN113806306A (en) Media file processing method, device, equipment, readable storage medium and product
CN111967397A (en) Face image processing method and device, storage medium and electronic equipment
CN112906553B (en) Image processing method, apparatus, device and medium
WO2024001802A1 (en) Image processing method and apparatus, and electronic device and storage medium
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN107995538B (en) Video annotation method and system
CN112785381A (en) Information display method, device and equipment
WO2020108248A1 (en) Video playback method and apparatus
US20240127859A1 (en) Video generation method, apparatus, device, and storage medium
CN107832366A (en) Video sharing method and device, terminal installation and computer-readable recording medium

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
GR01 Patent grant
GR01 Patent grant