CN109168026B - Instant video display method and device, terminal equipment and storage medium - Google Patents

Instant video display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN109168026B
CN109168026B CN201811250337.2A CN201811250337A CN109168026B CN 109168026 B CN109168026 B CN 109168026B CN 201811250337 A CN201811250337 A CN 201811250337A CN 109168026 B CN109168026 B CN 109168026B
Authority
CN
China
Prior art keywords
video
image
target
instant video
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811250337.2A
Other languages
Chinese (zh)
Other versions
CN109168026A (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

Images

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 or manipulating encoded video stream 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 or rendering scenes according to encoded video stream scene graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The disclosure discloses an instant video display method, an instant video display device, terminal equipment and a storage medium. The method comprises the following steps: acquiring a video element matched with a target video to be generated, wherein the video element comprises at least one image element; when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library; filling the image elements to the positions matched with the image elements in the target instant video generation template to generate a target instant video generation file; and calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time. The embodiment of the disclosure can reduce the generation cost of the video and improve the efficiency of video development.

Description

Instant video display method and device, terminal equipment and storage medium
Technical Field
The present disclosure relates to data technologies, and in particular, to an instant video display method and apparatus, a terminal device, and a storage medium.
Background
With the rapid development of internet technology and terminal devices, various terminal devices such as mobile phones and tablet computers have become an indispensable part of people's work and middle-school, and with the increasing popularization of terminal devices, the Application (APP) technology developed for terminal devices has also rapidly increased.
At present, a video displayed at an application program or a browser end is generated according to a page material provided by a user, the user can only judge whether the video meets the display requirement after the generated complete video, and when the user is unsatisfied with the video, the user needs to manually design and develop a video effect for the video again, and perform video generation operation again. The method for independently developing the video for many times greatly reduces the video development efficiency and increases the complexity of video development.
Disclosure of Invention
The embodiment of the disclosure provides an instant video display method, an instant video display device, a terminal device and a storage medium, which can reduce the generation cost of videos and improve the efficiency of video development.
In a first aspect, an embodiment of the present disclosure provides an instant video display method, where the method includes:
acquiring a video element matched with a target video to be generated, wherein the video element comprises at least one image element;
when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library;
filling the image elements to positions matched with the image elements in the target instant video generation template to generate a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video;
and calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time.
Further, before selecting a target instant video generation template matching with the instant video display instruction from a pre-constructed instant video generation template library, the method further includes:
acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a history use image element;
acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library;
acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library;
and switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template, and adding the instant video generation template into the instant video generation template library.
Further, before obtaining the target video element from the pre-constructed video element library, the method further includes:
acquiring a historical video;
extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file, and adding the image dynamic effect file into the image dynamic effect library;
and extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file, and adding the image switching dynamic effect file into the image switching dynamic effect library.
Further, the instant video display method further comprises:
acquiring user information using the target instant video generation template and the selection times of the generated video of the target instant video generation template;
counting browsing data of the target video, wherein the browsing data are used as browsing data of a target template adopted by the target video;
determining the utilization rate of the target instant video generation template according to the user information, the selection times of the generated video and the browsing data;
and removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
Further, the video element further comprises at least one audio element; the target instant video generation file further comprises: and the playing time parameter of each audio element in the target video is associated with the display time parameter.
Further, when an image drawing component is called, a file is generated according to the target instant video, the image element is drawn in real time in a display canvas according to the corresponding display time parameter, and the content drawn in the display canvas is displayed in real time, the method further comprises the following steps: and calling an audio playing component, and carrying out audio playing on the audio element according to the corresponding playing time parameter.
Further, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time, and simultaneously, the method further comprises the following steps:
generating an image data stream matched with the current display content of the display canvas when it is determined that all image elements matched with one real-time display time parameter are completely drawn in the display canvas;
and inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
Further, the image drawing component is a Canvas component.
In a second aspect, an embodiment of the present disclosure further provides an instant video display device, including:
the video element acquisition module is used for acquiring video elements matched with a target video to be generated, and the video elements comprise a plurality of image elements;
the target instant video generation template determining module is used for selecting a target instant video generation template matched with an instant video display instruction from a pre-constructed instant video generation template library when the instant video display instruction input by a user is detected;
a target instant video generation file generation module, configured to fill the image element in a position of the target instant video generation template that matches the image element, and generate a target instant video generation file, where the target instant video generation file includes a display time parameter of each image element in the target video;
and the instant video display module is used for calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time.
Further, the instant video display device further includes:
the target video element acquisition module is used for acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a historical use image element;
the target image dynamic effect file acquisition module is used for acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library;
the target image switching dynamic effect file acquisition module is used for acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library;
and the instant video generation template generation module is used for switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template and adding the instant video generation template into the instant video generation template library.
Further, the instant video display device further includes:
the historical video acquisition module is used for acquiring a historical video;
the image dynamic effect file generation module is used for extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file and adding the image dynamic effect file into the image dynamic effect library;
and the image switching dynamic effect file generation module is used for extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file and adding the image switching dynamic effect file into the image switching dynamic effect library.
Further, the instant video display device further includes:
the user information and generated video selection times acquisition module is used for acquiring the user information of the target instant video generation template and the generated video selection times of the target instant video generation template;
the browsing data acquisition module is used for counting browsing data of the target video and taking the browsing data as browsing data of a target template adopted by the target video;
the utilization rate calculation module is used for determining the utilization rate of the target instant video generation template according to the user information, the generated video selection times and the browsing data;
and the instant video generation template library updating module is used for removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
Further, the video element further comprises at least one audio element; the target instant video generation file further comprises: a playing time parameter of each audio element in the target video, the playing time parameter being associated with the display time parameter;
further, the instant video display device further includes:
and the audio playing component calling module is used for calling the audio playing component and carrying out audio playing on the audio elements according to the corresponding playing time parameters.
Further, the instant video display device further includes:
the image data stream generating module is used for generating an image data stream matched with the current display content of the display canvas when all image elements matched with one real-time display time parameter are completely drawn in the display canvas;
and the video synthesis module is used for inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
Further, the image drawing component is a Canvas component.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement an instant video display method as described in embodiments of the disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the instant video display method according to the disclosed embodiments.
The embodiment of the disclosure determines a target instant video generation template according to an instant video display instruction input by a user, combines video elements to generate a target instant video generation file, and draws an image according to a display time parameter in a display canvas according to the target instant video generation file by calling an image drawing component, thereby displaying an instant video on the display canvas, solving the problem that in the prior art, a complete video is required to be generated through manual development to see a video effect, generating video preview data based on a preset template, realizing previewing the video effect on the basis of not generating the complete video, avoiding generating redundant videos, reducing the labor cost of video generation, and improving the video generation efficiency.
Drawings
Fig. 1 is a flowchart of an instant video display method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an instant video display method according to a second embodiment of the disclosure;
fig. 3 is a flowchart of an instant video display method provided by a third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an instant video display device according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal device provided in the fifth embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of an instant video display method provided in an embodiment of the present disclosure, where the embodiment is applicable to a case of instantly viewing a generated video effect, the method may be executed by an instant video display apparatus, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a terminal device, such as a computer, for example. As shown in fig. 1, the method specifically includes the following steps:
s110, obtaining video elements matched with a target video to be generated, wherein the video elements comprise at least one image element.
Wherein, the target video is a video which is expected to be generated by a user. The video element is a video material used for generating a video, and the video element may be considered as a set of elements, where the set includes at least one image element, and the image element is used for generating each frame of image in the video, and specifically may include at least one of text, pictures, graphics, and the like.
And S120, when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library.
The instant video display instruction may refer to video information of a target video input by a user according to a requirement, so that the video information for generating the target video may be obtained from the instant video display instruction. At least one instant video generation template is stored in a pre-constructed instant video generation template library, and the instant video generation template is used for generating an instant video file together with video elements so as to display an instant video. Illustratively, the instant video generation template may be a script file.
The determination method of the target instant video generation template may specifically be: in the instant video generation template library, the heat (for example, the number of times of use) of each instant video generation template is counted, and the effect information of the finally generated video of each instant video generation template is stored in the instant video generation template library as the template information of the corresponding instant video generation template. Therefore, the video information in the instant video display instruction can be compared with the template information of each instant video generation template, and the instant video generation template corresponding to the template information with the highest similarity is used as the target instant video generation template.
Illustratively, the video information is a target video with the highest heat degree, and an instant video generation template with the highest heat degree is searched from an instant video generation template library to serve as the target instant video generation template.
S130, filling the image elements into the positions, matched with the image elements, in the target instant video generation template, and generating a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video.
The target instant video generation template may be provided with a position of at least one image element for filling the image element generating the target video, or may be a link address for filling the image element generating the target video, and meanwhile, by setting tag information for each position, an image element matching the tag information may be filled in the corresponding position, and the tag information may be type information of the image element, for example, text or image.
The display time parameter may refer to a display time of each image element in the target video, or may be represented by a frame number of an image displayed by each image element in the target video.
And S140, calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time.
In particular, an image drawing component may refer to a component for drawing image elements in a display canvas, displayed on the fly, to enable a user to quickly browse to a generated video effect. The display canvas may be a background template for the image drawing component to draw, and the user views the content drawn on the display canvas to achieve a video effect of viewing the target video to be generated.
In this embodiment, the image drawing component may draw each image element in the display canvas according to the display time corresponding to each image element, and continuously draw in the corresponding display time period, so that the user can view the video effect.
For example, when the image drawing component draws the 5 th frame, all image elements in the 5 th frame image are acquired and drawn in the display canvas.
Optionally, the image drawing component is a Canvas component. The Canvas component relies on HTML to dynamically draw by executing code in the JavaScript language. The Canvas component can dynamically draw the image elements and can be adjusted in the drawing process, so that the instant video can be displayed.
In addition, when the Canvas component is used to render all video elements, the rendered images per frame may be saved in png, jpg, or jpeg format. And then generating the target video according to the stored frame images.
On the basis of the above embodiment, optionally, the video element further includes at least one audio element; the target instant video generation file further comprises: a playing time parameter of each audio element in the target video, the playing time parameter being associated with the display time parameter; when an image drawing component is called, a file is generated according to the target instant video, the image elements are drawn in real time in a display canvas according to the corresponding display time parameters, and the content drawn in the display canvas is displayed in real time, the method also comprises the following steps: and calling an audio playing component, and carrying out audio playing on the audio element according to the corresponding playing time parameter.
Wherein, the audio element may refer to an audio clip; the playing time parameter may refer to the starting time and the ending time of the audio clip playing; the playing time parameter is associated with the display time parameter, which may mean that the playing time of the audio and the rendering time of the image element are both in the same schedule, for example, the playing time of the audio and the rendering time of a certain image element are the same.
The audio playing can be added to the general video, and the music effect can be added to the video by setting the audio element. Specifically, by setting the audio playing component and simultaneously setting the time and duration of audio playing, each audio element is played. By adding the audio elements, the richness of the video is improved.
The embodiment of the disclosure determines a target instant video generation template according to an instant video display instruction input by a user, combines video elements to generate a target instant video generation file, and draws an image according to a display time parameter in a display canvas according to the target instant video generation file by calling an image drawing component, thereby displaying an instant video on the display canvas, solving the problem that in the prior art, a complete video is required to be generated through manual development to see a video effect, generating video preview data based on a preset template, realizing previewing the video effect on the basis of not generating the complete video, avoiding generating redundant videos, reducing the labor cost of video generation, and improving the video generation efficiency.
Example two
Fig. 2 is a flowchart of an instant video display method according to a second embodiment of the disclosure. The present embodiment is optimized on the basis of the alternatives in the above-described embodiment. In this embodiment, before selecting a target instant video generation template matching the instant video display instruction from a pre-constructed instant video generation template library, the method further includes: acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a history use image element; acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library; acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library; and switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template, and adding the instant video generation template into the instant video generation template library.
Correspondingly, the method of the embodiment may include:
s210, obtaining a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a history use image element.
Wherein the new image elements are image elements that are artificially designed by the user and are not in the library of video elements. The historical use image element may be a historical image element for synthesizing the target video. In addition, image elements in the video element library may be filtered according to the number of times that the image elements are used, and image elements that are used too low (e.g., below a set threshold) may be removed from the video element library.
S220, at least one target image dynamic effect file is obtained from a pre-constructed image dynamic effect library.
The image dynamic effect file is used for storing rendering parameters, such as layout position information, size information, or angle information, of each video element in one frame of image, wherein the image dynamic effect file may be a script file.
Clustering can be carried out on each image dynamic effect file from a pre-constructed image dynamic effect library, and at least one target image dynamic effect file is extracted from one class; or at least one target image dynamic effect file may be randomly selected, or other manners may also be used, and the embodiments of the present disclosure are not particularly limited thereto. The number of target image dynamic effect files may be determined by user input.
And S230, acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library.
The image switching dynamic effect file stores parameters for describing the special effect of two continuous frames of images during switching, wherein the image switching dynamic effect file can be a script file.
The selection manner of switching the target image to the dynamic effect file may be the same as that of the target image dynamic effect file, and thus, embodiments of the present disclosure are not limited specifically.
S240, according to the target video element, the at least one target image dynamic effect file and the at least one target image switching dynamic effect file, generating an instant video generation template, and adding the instant video generation template into the instant video generation template library.
The target image dynamic effect file stores rendering parameters of all video elements, and all the video elements required to be displayed in each frame of image and corresponding rendering parameters can be obtained by randomly combining all the video elements and the target image dynamic effect file.
The target image switching dynamic effect file stores special effect parameters when two frames of images are switched, at least one target image switching dynamic effect file can be sequenced, and switching special effects are sequentially added between two continuous frames of images according to sequencing results.
The method comprises the steps of combining and generating an instant video generation template according to a target video element, at least one target image dynamic effect file and at least one target image switching dynamic effect file, wherein the template specifically comprises all video elements needing to be displayed in each frame of image, corresponding rendering parameters and special effect parameters for switching between every two continuous frames of images. If the target image dynamic effect file and the target image switching dynamic effect file are both script files, the instant video generation template can be a new script file formed by splicing script texts in the script file. Wherein the video element may be represented by the fetch address.
Therefore, the video elements, the image dynamic effect files and the image switching dynamic effect files are selected from the pre-constructed database to be combined to generate the instant video generation template, and when the image drawing assembly draws, the target image dynamic effect files and the target image switching dynamic effect files are sequentially called according to the sequence of image frames so as to display the pictures with dynamic effects.
S250, obtaining video elements matched with a target video to be generated, wherein the video elements comprise at least one image element.
The meaning of the target video, the video element, the image element, the target instant video generation template, the target instant video generation file, the display time parameter, the image drawing component, and the like in the present embodiment may refer to the description of the above embodiments.
And S260, when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library.
S270, filling the image elements into the positions, matched with the image elements, in the target instant video generation template, and generating a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video.
The image elements are video elements used for generating a target video, each filling position in the target instant video generation template is originally stored in the target video element used when the instant video generation template is constructed, all the image elements can be compared with the target video element at each position respectively, the image elements with high similarity (if the similarity exceeds a set threshold) are filled in the position, the original target video elements are removed, and if the target video element at one position does not have the image elements similar to the target video element, the target video element is reserved at the position.
And S280, calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time.
Optionally, before obtaining the target video element from the pre-constructed video element library, the method further includes: acquiring a historical video; extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file, and adding the image dynamic effect file into the image dynamic effect library; and extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file, and adding the image switching dynamic effect file into the image switching dynamic effect library.
Wherein, the historical video may refer to a video published in a page. The image dynamic effect information and the image switching dynamic effect information between any two continuous images can be extracted from the generated script file of the historical video, the image dynamic effect file and the image switching dynamic effect file are generated correspondingly, the labor cost for designing and generating the image dynamic effect file and the image dynamic effect file can be reduced, and therefore the video development efficiency is improved.
On the basis of the above embodiment, the method further includes: acquiring user information using the target instant video generation template and the selection times of the generated video of the target instant video generation template; counting browsing data of the target video, wherein the browsing data are used as browsing data of a target template adopted by the target video; determining the utilization rate of the target instant video generation template according to the user information, the selection times of the generated video and the browsing data; and removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
The method comprises the steps that a large number of instant video generation templates exist in an instant video generation template library, and the instant video generation templates with poor video effects of generated target videos can be removed from the library, wherein user information can refer to at least one of sex, age, interest and the like of a user who selects the target instant video generation templates. The number of times of generating video selection may refer to the number of times a target instant video generation template is selected to generate a target video. The browsing data of the target video may refer to the number of times that the target video is displayed in the page and other users browse the target video. And when the time for other users to browse the video exceeds 10s, determining that other users browse the target video.
The method comprises the steps of setting weights for user information, generated video selection times and browsing data respectively, converting the user information, the generated video selection times and the browsing data into calculable numerical values, and calculating the utilization rate according to the weights and the numerical values.
In a specific example, the usage rate of the target instant video generation template is calculated for the female user, and if the user information of the instant video generation template is male, the number of times of selecting the generated video is 10, and the browsing data is 200, the corresponding conversion is made to be calculable values 0, 10, and 20, and the weighting values are 0.8, 0.1, and 0.1, respectively, and the usage rate is 0 + 0.8+10 + 0.1+20 + 0.1 — 3.
And releasing the storage resources by removing the low-utilization instant video generation template from the library.
According to the embodiment of the instant video generation method and the instant video generation device, the database is preset, the target video element, the target image dynamic effect file and the target image switching dynamic effect file are respectively obtained from the database, the target video element, the target image dynamic effect file and the target image switching dynamic effect file are combined randomly to form the instant video generation template and are added to the instant video generation template library, so that the instant video can be drawn and displayed based on the instant video generation template in the instant video generation template library subsequently, the manual design cost of the instant video generation template is reduced, the instant video generation template generation efficiency is improved, and the instant video drawing and displaying efficiency based on the instant video generation template is improved.
EXAMPLE III
Fig. 3 is a flowchart of an instant video display method according to a third embodiment of the present disclosure. The present embodiment is embodied on the basis of various alternatives in the above-described embodiments. In this embodiment, when an image drawing component is called, a file is generated according to the target instant video, the image element is drawn in real time in a display canvas according to the corresponding display time parameter, and the content drawn in the display canvas is displayed in real time, the method further includes: generating an image data stream matched with the current display content of the display canvas when it is determined that all image elements matched with one real-time display time parameter are completely drawn in the display canvas; and inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
S310, obtaining video elements matched with a target video to be generated, wherein the video elements comprise a plurality of image elements and at least one audio element.
The meaning of the target video, the video element, the image element, the audio element, the target instant video generation template, the target instant video generation file, the display time parameter, the play time parameter, the image drawing component, the video generation component, and the like in this embodiment may refer to the description of the above embodiments.
S320, when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library.
S330, filling the image elements into the positions, matched with the image elements, in the target instant video generation template, and generating a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video and playing time parameters of the audio elements in the target video, and the playing time parameters are associated with the display time parameters.
And S340, calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, displaying the contents drawn in the display canvas in real time, and calling an audio playing component to play the audio elements in audio according to the corresponding playing time parameters.
S350, when it is determined that all image elements matched with one real-time display time parameter are completely drawn in the display canvas, generating an image data stream matched with the current display content of the display canvas.
The real-time display time parameter may refer to a time parameter indicating a current frame, and when all image elements matched with one real-time display time parameter are completely drawn in the display canvas, that is, when all image elements belonging to the current frame are completely drawn by the display canvas, an image data stream of the current frame is correspondingly generated.
And S360, inputting the generated image data stream into the video generation assembly, and inputting the audio clip into the video generation assembly for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing assembly finishes drawing all image elements, so as to obtain the target video.
Wherein the image data stream is input to a video generation component for generating each frame of image in the video; and simultaneously, the audio clip played at the current moment is also input into the video generation component for generating the sound effect in the video. When the image drawing component finishes drawing all image elements, namely drawing all frames of images of the target video, all image data streams of all frames corresponding to the target video are transmitted to the video generating component, and simultaneously all audio clips corresponding to the target video are transmitted to the video generating component, so that the video generating component can synthesize the target video based on the received image data streams and audio clips.
Wherein the video generation component may be a ffmpeg tool.
In a specific example, during the process of calling the image drawing component to draw, each frame of drawn image is saved in a set picture format (such as png, jpg, or jpeg format). And inputting each saved frame image and audio clip into a video generation component to generate a target video. Or the user can manually synthesize the images and the audio clips of each frame through a human-computer interaction interface of the video generation software.
Optionally, the inputting of the image data stream into the video generating component includes: and inputting the image data stream into a video generation component in real time through a pipeline.
The image data stream can be transmitted through a pipeline, the pipeline is used for interprocess communication and can be regarded as a buffer area with a fixed size, the pipeline is used for data transmission, a large number of temporary image files can be prevented from being generated, and therefore video generation efficiency is improved.
The embodiment of the disclosure generates the corresponding image data stream to be input to the video generation component in the process of drawing the video elements by the image drawing component and when the drawing of all the image elements in one frame of image is completed every time, so that the situation that the occupied storage space is too much due to the fact that a large number of images are generated to synthesize the video can be avoided, the storage space can be saved, meanwhile, the situation that the drawing efficiency of the image drawing component is reduced and the image generation efficiency is reduced due to the fact that a large number of images are generated in the process of simultaneously displaying instant videos formed by a plurality of groups of video elements can be avoided, and the video synthesis efficiency is improved.
Example four
Fig. 4 is a schematic structural diagram of an instant video display device according to an embodiment of the present disclosure, which is applicable to a situation of viewing a generated video effect instantly. The apparatus may be implemented in software and/or hardware, and may be configured in a terminal device. As shown in fig. 4, the apparatus may include: a video element acquisition module 410, a target instant video generation template determination module 420, a target instant video generation file generation module 430, and an instant video display module 440.
A video element obtaining module 410, configured to obtain a video element matched with a target video to be generated, where the video element includes multiple image elements;
a target instant video generation template determining module 420, configured to, when an instant video display instruction input by a user is detected, select a target instant video generation template matching the instant video display instruction from a pre-constructed instant video generation template library;
a target instant video generation file generation module 430, configured to fill the image elements into positions of the target instant video generation template that match the image elements, and generate a target instant video generation file, where the target instant video generation file includes display time parameters of the image elements in the target video;
and the instant video display module 440 is configured to invoke an image drawing component, generate a file according to the target instant video, draw the image element in real time in a display canvas according to the corresponding display time parameter, and display the content drawn in the display canvas in real time.
The embodiment of the disclosure determines a target instant video generation template according to an instant video display instruction input by a user, combines video elements to generate a target instant video generation file, and draws an image according to a display time parameter in a display canvas according to the target instant video generation file by calling an image drawing component, thereby displaying an instant video on the display canvas, solving the problem that in the prior art, a complete video is required to be generated through manual development to see a video effect, generating video preview data based on a preset template, realizing previewing the video effect on the basis of not generating the complete video, avoiding generating redundant videos, reducing the labor cost of video generation, and improving the video generation efficiency.
Further, the instant video display device further includes: the target video element acquisition module is used for acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a historical use image element; the target image dynamic effect file acquisition module is used for acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library; the target image switching dynamic effect file acquisition module is used for acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library; and the instant video generation template generation module is used for switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template and adding the instant video generation template into the instant video generation template library.
Further, the instant video display device further includes: the historical video acquisition module is used for acquiring a historical video; the image dynamic effect file generation module is used for extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file and adding the image dynamic effect file into the image dynamic effect library; and the image switching dynamic effect file generation module is used for extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file and adding the image switching dynamic effect file into the image switching dynamic effect library.
Further, the instant video display device further includes: the user information and generated video selection times acquisition module is used for acquiring the user information of the target instant video generation template and the generated video selection times of the target instant video generation template; the browsing data acquisition module is used for counting browsing data of the target video and taking the browsing data as browsing data of a target template adopted by the target video; the utilization rate calculation module is used for determining the utilization rate of the target instant video generation template according to the user information, the generated video selection times and the browsing data; and the instant video generation template library updating module is used for removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
Further, the video element further comprises at least one audio element; the target instant video generation file further comprises: and the playing time parameter of each audio element in the target video is associated with the display time parameter.
Further, the instant video display device further includes: and the audio playing component calling module is used for calling the audio playing component and carrying out audio playing on the audio elements according to the corresponding playing time parameters.
Further, the instant video display device further includes: the image data stream generating module is used for generating an image data stream matched with the current display content of the display canvas when all image elements matched with one real-time display time parameter are completely drawn in the display canvas; and the video synthesis module is used for inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
Further, the image drawing component is a Canvas component.
The instant video display device provided by the embodiment of the disclosure and the instant video display method provided by the first embodiment belong to the same inventive concept, and technical details which are not described in detail in the first embodiment of the disclosure can be referred to in the first embodiment, and the first embodiment of the disclosure have the same beneficial effects.
EXAMPLE five
The present disclosure provides a terminal device, and referring to fig. 5 below, a schematic structural diagram of an electronic device (e.g., a client or a server) 500 suitable for implementing the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
EXAMPLE six
Embodiments of the present disclosure also provide a computer readable storage medium, which may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a video element matched with a target video to be generated, wherein the video element comprises at least one image element; when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library; filling the image elements to positions matched with the image elements in the target instant video generation template to generate a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video; and calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases form a limitation on the module itself, for example, the video element acquiring module may also be described as "a module that acquires a video element that matches a target video to be generated, the video element including a plurality of image elements".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (14)

1. An instant video display method, comprising:
acquiring a video element matched with a target video to be generated, wherein the video element comprises at least one image element;
when an instant video display instruction input by a user is detected, selecting a target instant video generation template matched with the instant video display instruction from a pre-constructed instant video generation template library;
filling the image elements to positions matched with the image elements in the target instant video generation template to generate a target instant video generation file, wherein the target instant video generation file comprises display time parameters of the image elements in the target video;
calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to corresponding display time parameters, and displaying the content drawn in the display canvas in real time, wherein the image drawing component is used for drawing the image elements in the display canvas according to the display time corresponding to the image elements and continuously drawing according to the corresponding display time period so as to enable the user to browse the generated video effect quickly;
generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, and displaying the contents drawn in the display canvas in real time, and simultaneously, the method further comprises the following steps:
generating an image data stream matched with the current display content of the display canvas when it is determined that all image elements matched with one real-time display time parameter are completely drawn in the display canvas;
and inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
2. The method of claim 1, further comprising, prior to selecting a target instant video generation template from a library of pre-built instant video generation templates that matches the instant video display instructions:
acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a history use image element;
acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library;
acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library;
and switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template, and adding the instant video generation template into the instant video generation template library.
3. The method of claim 2, further comprising, prior to retrieving the target video element from the pre-built video element library:
acquiring a historical video;
extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file, and adding the image dynamic effect file into the image dynamic effect library;
and extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file, and adding the image switching dynamic effect file into the image switching dynamic effect library.
4. The method of claim 1, further comprising:
acquiring user information using the target instant video generation template and the selection times of the generated video of the target instant video generation template;
counting browsing data of the target video, wherein the browsing data are used as browsing data of a target template adopted by the target video;
determining the utilization rate of the target instant video generation template according to the user information, the selection times of the generated video and the browsing data;
and removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
5. The method of claim 1, wherein the video element further comprises at least one audio element; the target instant video generation file further comprises: a playing time parameter of each audio element in the target video, the playing time parameter being associated with the display time parameter;
when an image drawing component is called, a file is generated according to the target instant video, the image elements are drawn in real time in a display canvas according to the corresponding display time parameters, and the content drawn in the display canvas is displayed in real time, the method also comprises the following steps:
and calling an audio playing component, and carrying out audio playing on the audio element according to the corresponding playing time parameter.
6. The method of any of claims 1-5, wherein the image drawing component is a Canvas component.
7. An instant video display device, comprising:
the video element acquisition module is used for acquiring video elements matched with a target video to be generated, and the video elements comprise a plurality of image elements;
the target instant video generation template determining module is used for selecting a target instant video generation template matched with an instant video display instruction from a pre-constructed instant video generation template library when the instant video display instruction input by a user is detected;
a target instant video generation file generation module, configured to fill the image element in a position of the target instant video generation template that matches the image element, and generate a target instant video generation file, where the target instant video generation file includes a display time parameter of each image element in the target video;
the instant video display module is used for calling an image drawing component, generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to corresponding display time parameters, and displaying the content drawn in the display canvas in real time, wherein the image drawing component is used for drawing each image element in the display canvas according to the display time corresponding to each image element and continuously drawing according to the corresponding display time period so as to enable the user to quickly browse the generated video effect;
the image data stream generation module is used for generating a file according to the target instant video, drawing the image elements in real time in a display canvas according to the corresponding display time parameters, displaying the content drawn in the display canvas in real time, and generating an image data stream matched with the current display content of the display canvas when determining that all the image elements matched with one real-time display time parameter are completely drawn in the display canvas;
and the video synthesis module is used for inputting the generated image data stream into the video generation component, and inputting the audio clip into the video generation component for video synthesis when determining that the audio clip corresponding to the playing time parameter associated with the real-time display time parameter exists, until the image drawing component finishes drawing all image elements, so as to obtain the target video.
8. The apparatus of claim 7, further comprising:
the target video element acquisition module is used for acquiring a target video element from a pre-constructed video element library, wherein the target video element comprises at least one new image element and/or a historical use image element;
the target image dynamic effect file acquisition module is used for acquiring at least one target image dynamic effect file from a pre-constructed image dynamic effect library;
the target image switching dynamic effect file acquisition module is used for acquiring at least one target image switching dynamic effect file from a pre-constructed image switching dynamic effect library;
and the instant video generation template generation module is used for switching the dynamic effect file according to the target video element, the at least one target image dynamic effect file and the at least one target image to generate an instant video generation template and adding the instant video generation template into the instant video generation template library.
9. The apparatus of claim 8, further comprising:
the historical video acquisition module is used for acquiring a historical video;
the image dynamic effect file generation module is used for extracting image dynamic effect information of each frame of image from the historical video, generating an image dynamic effect file and adding the image dynamic effect file into the image dynamic effect library;
and the image switching dynamic effect file generation module is used for extracting image switching dynamic effect information between any two continuous images from the historical video, generating an image switching dynamic effect file and adding the image switching dynamic effect file into the image switching dynamic effect library.
10. The apparatus of claim 7, further comprising:
the user information and generated video selection times acquisition module is used for acquiring the user information of the target instant video generation template and the generated video selection times of the target instant video generation template;
the browsing data acquisition module is used for counting browsing data of the target video and taking the browsing data as browsing data of a target template adopted by the target video;
the utilization rate calculation module is used for determining the utilization rate of the target instant video generation template according to the user information, the generated video selection times and the browsing data;
and the instant video generation template library updating module is used for removing the instant video generation template with the utilization rate lower than a set threshold value from the instant video generation template library according to the utilization rate of each instant video generation template in the instant video generation template library.
11. The apparatus of claim 7, wherein the video element further comprises at least one audio element; the target instant video generation file further comprises: a playing time parameter of each audio element in the target video, the playing time parameter being associated with the display time parameter;
the device further comprises:
and the audio playing component calling module is used for calling the audio playing component and carrying out audio playing on the audio elements according to the corresponding playing time parameters.
12. The apparatus of any of claims 7-11, wherein the image drawing component is a Canvas component.
13. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the instant video display method of any of claims 1-6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for instantaneous video display according to any one of claims 1 to 6.
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 CN109168026A (en) 2019-01-08
CN109168026B true 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)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168026B (en) * 2018-10-25 2020-09-29 北京字节跳动网络技术有限公司 Instant video display method and device, terminal equipment and storage medium
CN110198420B (en) * 2019-04-29 2022-06-10 北京卡路里信息技术有限公司 Video generation method and device based on nonlinear video editing
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
CN112132599B (en) * 2019-06-24 2024-06-21 北京沃东天骏信息技术有限公司 Image processing method and device, computer readable storage medium and electronic equipment
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
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
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
CN114390353B (en) * 2020-10-21 2024-05-10 西安诺瓦星云科技股份有限公司 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
CN113596579B (en) * 2021-07-29 2023-04-07 北京字节跳动网络技术有限公司 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

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502483C (en) * 2006-01-19 2009-06-17 北京维多美雅数字传媒技术有限公司 Method and device for self making and sharing video frequency greeting card
CN101448089B (en) * 2007-11-26 2013-03-06 新奥特(北京)视频技术有限公司 Non-linear editing system
KR20100059379A (en) * 2008-11-26 2010-06-04 삼성전자주식회사 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
CN103458379B (en) * 2012-05-31 2018-04-13 腾讯科技(深圳)有限公司 Method for sending information, method for pushing, apparatus and system
CN102866886B (en) * 2012-09-04 2015-04-29 北京航空航天大学 Web-based visual algorithm animation development system
CN104780439B (en) * 2014-01-15 2019-08-13 腾讯科技(深圳)有限公司 The processing method and processing device of video
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
CN104793745B (en) * 2015-04-17 2018-06-05 范剑斌 A kind of man-machine interaction method on mobile terminals
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
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

Also Published As

Publication number Publication date
WO2020082870A1 (en) 2020-04-30
CN109168026A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109168026B (en) Instant video display method and device, terminal equipment and storage medium
CN110827378B (en) Virtual image generation method, device, terminal and storage medium
WO2021196903A1 (en) Video processing method and device, readable medium and electronic device
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN109168027B (en) Instant video display method and device, terminal equipment and storage medium
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
US11785195B2 (en) Method and apparatus for processing three-dimensional video, readable storage medium and electronic device
WO2020220776A1 (en) Picture comment data presentation method and apparatus, device and medium
WO2021197024A1 (en) Video effect configuration file generation method, and video rendering method and device
WO2021147461A1 (en) Subtitle information display method and apparatus, and electronic device, and computer readable medium
WO2022022689A1 (en) Interaction method and apparatus, and electronic device
WO2023165515A1 (en) Photographing method and apparatus, electronic device, and storage medium
US20230112005A1 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
WO2021160141A1 (en) Video processing method and apparatus, readable medium and electronic device
WO2023202361A1 (en) Video generation method and apparatus, medium, and electronic device
CN110381356B (en) Audio and video generation method and device, electronic equipment and readable medium
WO2023098576A1 (en) Image processing method and apparatus, device, and medium
CN116596748A (en) Image stylization processing method, apparatus, device, storage medium, and program product
JP2020173776A (en) Method and device for generating video
JP7507875B2 (en) 3D video processing method, device, readable storage medium and electronic device
WO2021018176A1 (en) Text special effect processing method and apparatus
US11792494B1 (en) Processing method and apparatus, electronic device and medium
CN109815408B (en) Method and device for pushing information
WO2023169356A1 (en) Image processing method and apparatus, and device and storage medium
WO2024083127A1 (en) Image processing method and apparatus, electronic device and storage 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