Short video generation method and device, and computer device

By acquiring video footage information of brand images and names, and using tag information to determine preset generation templates, short videos are automatically generated and arranged, solving the problem of low efficiency in existing short video production and achieving fast and efficient short video production.

CN116546268BActive Publication Date: 2026-11-24特赞(上海)信息科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310516421.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-09
Publication Date
2026-11-24
Estimated Expiration
2043-05-09

AI Technical Summary

Technical Problem

Current short video production is inefficient, requiring manual operation to complete image adjustments and arrangement.

Method used

By acquiring video material information from target users, including brand images and brand names, and using tag information to determine preset generation templates, short videos are automatically generated based on these templates.

Benefits of technology

It enables rapid short video production, saving labor costs and improving production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116546268B_ABST
    Figure CN116546268B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, apparatus, and computer device for generating short videos, comprising: acquiring video material information of a target user, the video material information including: a brand image and a brand name corresponding to the target user, each brand image having corresponding tag information, the tag information corresponding to a video generation template; determining a preset generation template corresponding to the brand image based on the tag information of the brand image, the preset generation template being used to arrange and process the brand image and brand name, the preset generation template including multiple video generation templates, each video generation template being used to generate a short video from the video material information; and generating the short video corresponding to the video material information based on the preset generation template and the target user's video material information. Thus, by using pre-designed video generation templates, short videos can be produced quickly, effectively saving labor costs and improving the efficiency of short video production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this disclosure relate to the field of computer processing technology, and more specifically, to a method, apparatus, and computer device suitable for generating short videos. Background Technology

[0002] With the development of internet technology, short videos have become a popular form of social media, and various social media platforms have launched short video features. Many companies have also begun producing short videos showcasing their corporate culture for promotion on various social media platforms.

[0003] Currently, short video production is mainly done manually, such as manually using video editing software to adjust, arrange, and edit images, and then integrating multiple processed images into a short video.

[0004] However, existing short video production technology is inefficient. Summary of the Invention

[0005] The embodiments described herein provide a method, apparatus, and computer device for generating short videos that overcome the aforementioned problems.

[0006] Firstly, based on the content of this disclosure, a method for generating short videos is provided, including:

[0007] Obtain video material information of the target user, the video material information including: brand image and brand name corresponding to the target user, each brand image has corresponding tag information, and the tag information corresponds to the video generation template;

[0008] Based on the tag information of the brand image, a preset generation template corresponding to the brand image is determined. The preset generation template is used to arrange and process the brand image and the brand name. The preset generation template includes multiple video generation templates, and each video generation template is used to generate a short video using the video material information.

[0009] Based on the preset generation template and the target user's video material information, a short video corresponding to the video material information is generated.

[0010] Secondly, according to the present disclosure, a short video generation apparatus is provided, comprising:

[0011] The acquisition module is used to acquire video material information of the target user. The video material information includes: a brand image corresponding to the target user and a brand name corresponding to the target user. Each brand image has corresponding tag information, and the tag information corresponds to the video generation template.

[0012] The determining module is used to determine a preset generation template corresponding to the brand image based on the tag information of the brand image. The preset generation template is used to arrange and process the brand image and the brand name. The preset generation template includes multiple video generation templates, and each video generation template is used to generate a short video using the video material information.

[0013] The generation module is used to generate a short video corresponding to the video material information based on the preset generation template and the video material information of the target user.

[0014] Thirdly, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the short video generation method as described in any of the above embodiments.

[0015] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the short video generation method as described in any of the above embodiments.

[0016] The short video generation method provided in this application embodiment obtains video material information of a target user. The video material information includes: a brand image and a brand name corresponding to the target user. Each brand image has corresponding tag information, which corresponds to a video generation template. Based on the tag information of the brand image, a preset generation template corresponding to the brand image is determined. The preset generation template is used to arrange and process the brand image and brand name. The preset generation template includes multiple video generation templates, each used to generate a short video from the video material information. Based on the preset generation template and the target user's video material information, a short video corresponding to the video material information is generated. Thus, by using pre-designed video generation templates, short videos can be produced quickly, effectively saving labor costs and improving the efficiency of short video production.

[0017] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. It should be understood that the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure, wherein:

[0019] Figure 1This is a flowchart illustrating a method for generating short videos provided in an embodiment of this disclosure.

[0020] Figure 2A This is a schematic diagram of the interface for a short video provided in an embodiment of this disclosure.

[0021] Figure 2B This is a schematic diagram of another short video interface provided in an embodiment of this disclosure.

[0022] Figure 2C This is a schematic diagram of another short video interface provided in this embodiment of the disclosure.

[0023] Figure 2D This is a schematic diagram of another short video interface provided in this embodiment of the disclosure.

[0024] Figure 3 This is a schematic diagram of the structure of a short video generation device provided in an embodiment of this disclosure.

[0025] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure.

[0026] It should be noted that the elements in the attached diagram are schematic and not drawn to scale. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are also within the scope of protection of this disclosure.

[0028] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this subject matter pertains. It will be further understood that terms such as those defined in commonly used dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the specification and in the relevant art, and shall not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, the statement of “connecting” or “coupling” two or more parts together shall mean that these parts are directly joined together or joined through one or more intermediate components.

[0029] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of the phrase "embodiment" in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0030] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists, A and B exist simultaneously, or B exists. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Terms such as "first" and "second" are only used to distinguish one component (or part of a component) from another component (or another part of a component).

[0031] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).

[0032] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0033] Figure 1 This is a flowchart illustrating a short video generation method provided in this embodiment. The short video generation method can be applied to a DAM (Digital Asset Management) platform.

[0034] like Figure 1 As shown, the specific process of generating short videos includes:

[0035] S110. Obtain video material information of the target user. The video material information includes: the brand image and brand name corresponding to the target user.

[0036] The target users can be enterprise users registered on the DAM platform, also known as DAM tenants. DAM tenants can upload their brand names and brand images to the DAM platform for storage.

[0037] Video material information may also include enterprise information in the form of audio data, video data, etc. This disclosure does not impose specific limitations on the presentation format of video material information.

[0038] Each brand image for the target user can be associated with tag information. Tag information, such as clothing, footwear, and jewelry, can be used to describe the company's actual assets.

[0039] Tag information corresponds to video generation templates. Specifically, one tag can correspond to one video generation template in the DAM platform, or one tag can correspond to multiple video generation templates in the DAM platform. When one tag corresponds to multiple video generation templates in the DAM platform, the template types of the multiple video generation templates can be the same or different types. The template type of the video generation template can be used to reflect the number of images, image types, etc. in the video generation template.

[0040] S120. Based on the label information of the brand image, determine the preset generation template corresponding to the brand image.

[0041] The preset generation templates can be used to arrange and process brand images and brand names. The preset generation templates include multiple video generation templates, each of which is used to generate a short video from video material information.

[0042] Based on the correspondence between the brand image's tag information and the video generation template, a preset generation template corresponding to the brand image can be determined. When the correspondence between the brand image's tag information and the video generation template is one-to-one, the preset generation template includes only one video generation template. When the correspondence between the brand image's tag information and the video generation template is one-to-many, the preset generation template includes at least two video generation templates.

[0043] S130. Based on the preset generation template and the target user's video material information, generate a short video corresponding to the video material information.

[0044] When the preset generation template includes only one video generation template, a short video corresponding to the video material information is generated based on the preset generation template and the target user's video material information, which can be a single short video.

[0045] When the preset generation template includes at least two video generation templates, short videos corresponding to the video material information are generated based on the preset generation templates and the target user's video material information. There can be at least two short videos, and the number of short videos is the same as the number of video generation templates.

[0046] In addition, based on the preset generation template and the target user's video material information, a short video corresponding to the video material information is generated. The corresponding operation can be performed based on the target user's instructions. For example, before generating the short video corresponding to the video material information based on the preset generation template and the target user's video material information, a video generation instruction sent by the target user is received, and the operation of generating the short video corresponding to the video material information based on the preset generation template and the target user's video material information is executed, which makes it convenient for users to experience "one-click generation" of short videos.

[0047] It should be noted that after determining the preset generation template corresponding to the brand image, the system can directly generate a short video based on the preset generation template and the target user's video material information. This allows for the rapid generation of short videos without the user's awareness, eliminating the need for user intervention and facilitating the automated production of short videos for the user experience.

[0048] In some embodiments, a short video corresponding to the video material information is generated based on a preset generation template and the video material information of the target user, including:

[0049] Based on the first material standard in the preset generation template, the video material information is preprocessed to obtain video processing information. The first material standard includes: template image size, number of template images, and the correspondence between brand name and brand image. When there are multiple brand images, the correspondence between brand name and brand image is one-to-many. Based on the second material standard in the preset generation template, the video processing information is processed to obtain content processing information. The second material standard includes: text data, background data, audio data, and image data. The image data is used for the pixel information of the standard brand image. Based on the third material standard in the preset generation template, the content processing information is component-arranged. The third material standard is used to measure the image display method of the brand images in the content processing information and the time order among all brand images. The time order among all brand images is used to characterize the arrangement position of each brand image. Based on the result of the component arrangement, a short video corresponding to the video material information is generated.

[0050] The preset generation template can include multiple constraints for standardizing video material information, such as template image size, number of template images, correspondence between brand name and brand image, text data, background data, audio data, image data, image display method, and time order of all brand images. Therefore, it can process the target user's video material information into video format based on the standards in the preset generation template, quickly generating standardized and effective corporate short videos.

[0051] In this embodiment, video material information of the target user is obtained. This video material information includes: a brand image and a brand name corresponding to the target user. Each brand image has corresponding tag information, which corresponds to a video generation template. Based on the tag information of the brand image, a preset generation template corresponding to the brand image is determined. This preset generation template is used to arrange and process the brand image and brand name. The preset generation template includes multiple video generation templates, each used to generate a short video from the video material information. Based on the preset generation template and the target user's video material information, a short video corresponding to the video material information is generated. Thus, by using pre-designed video generation templates, short videos can be produced quickly, effectively saving labor costs and improving short video production efficiency.

[0052] In some embodiments, when there are multiple brand images, the video material information is preprocessed based on a first material standard in a preset generation template to obtain video processing information, including:

[0053] The number of brand images is adjusted based on the number of template images contained in the preset generated template to obtain a target brand image that meets the template image quantity requirements; the target brand image is scaled / cropped based on the size of the template images in the preset generated template; and the brand name and target brand image are merged based on the correspondence between the brand name and the brand image to obtain video processing information.

[0054] Specifically, the number of brand images is adjusted based on the number of template images included in the preset generated template to obtain target brand images that meet the template image quantity requirements, including:

[0055] When the number of template images in the preset generated template is less than the number of brand images, the template image number of brand images is randomly selected from multiple brand images to obtain the target brand image; or, in response to the selection operation of the target user, the target brand image is determined.

[0056] For example, the preset generated template contains 5 template images and 7 brand images. When selecting materials for short video production, the DAM platform can randomly select 5 of the 7 brand images as target brand images, or the DAM platform can send a selection decision request to the target user, who can then select 5 of the 7 brand images as target brand images through the DAM platform.

[0057] If the number of template images in the preset generated template is greater than the number of brand images, select material images from the local material library to expand the number of brand images to obtain the target brand image; or, in response to the upload operation of the target user, determine the target brand image.

[0058] For example, a preset generated template contains 5 template images and 3 brand images. When selecting materials for short video production, the DAM platform can randomly select 2 source images from its local material library, using these 2 source images and the 3 brand images as the target brand image. Alternatively, the DAM platform can send a selection decision request to the target user, who can then upload 2 brand images to the DAM platform to create a set of 5 brand images, thus determining the target brand image. This effectively identifies the target brand image that meets the template image quantity requirements.

[0059] It's worth noting that when expanding the number of brand images from the local media library to obtain the target brand image, the DAM platform can select one or more images from the local media library that are highly relevant to the target user's tag information, combining them with existing brand images to determine the target brand image. This ensures that the expanded media images from the DAM platform have a high degree of relevance to the target user, enhancing the content cohesion of the short video.

[0060] Among them, based on the correspondence between brand name and brand image, the fusion of brand name and target brand image may include: based on the correspondence between brand name and brand image, merging the brand name and its corresponding one or more target brand images and adding them to the display page of a short video.

[0061] Alternatively, the brand name can be added separately to a short video display page, which may not contain any images of the target brand.

[0062] It should be noted that there are no restrictions on the position of the brand name when filling in the information. For example, in the first page, the brand name can be filled to the upper left corner; in the last page, the brand name can be filled to the middle area.

[0063] Therefore, the number of brand images can be adjusted by the number of template images contained in the preset generated template to obtain the target brand image that meets the template image quantity requirements; the target brand image can be scaled / cropped based on the size of the template images in the preset generated template; and the brand name and target brand image can be merged based on the correspondence between the brand name and the brand image to obtain video processing information, effectively standardizing the video material information and facilitating short video production.

[0064] In some embodiments, based on the second material standard in the preset generated template, the video processing information is processed to obtain content processing information, including:

[0065] Based on the text data in the preset generated template, adjust the text content of each target brand image in the video processing information. The text data includes: template text font, template text size, and template text color. Based on the image data in the preset generated template, perform image processing on the target brand images to update them. Add the background information in the preset generated template as the image background of the target brand images. The background information includes: promotional background, colored background, solid color background, or animated background. Use the audio data in the preset generated template as background music for the image background to obtain content processing information.

[0066] Among them, adjusting the text content of each target brand image in the video processing information based on the text data in the preset generated template may include: adjusting the text font in the video processing information to the template text font, adjusting the text size in the video processing information to the template text size, and adjusting the text color in the video processing information to the template text color.

[0067] Based on the image data in the preset generated template, image processing can be performed on the target brand image, including: performing processing such as image grayscale conversion, image enhancement, and image filtering on the target brand image based on the image data in the preset generated template, so as to enhance the visualization effect of the target brand image.

[0068] Adding background information from a preset generated template as the image background of the target brand image can include: determining the category to which the target brand image belongs based on the target user's tag information, and adding the background information from the preset generated template that is closest to the category to the target brand image as the image background.

[0069] It should be noted that the backgrounds of different target brand images may be different. For example, the background of the first target brand image is a solid color background, the background of the second target brand image is a promotional background, the background of the third target brand image is a colored background, and the background of the fourth target brand image is an animated background.

[0070] Additionally, when introducing image backgrounds / adding audio data, target users can also provide other backgrounds / audio data as image backgrounds / background music for the target brand image.

[0071] For example, before adding the background information from the preset generated template as the image background of the target brand image, this embodiment may further include: receiving a background upload request initiated by the target user, and adding the image background included in the background upload request to the preset generated template.

[0072] Thus, by effectively processing the text content, image data, image background, and background audio in the video processing information, content regularization information is obtained.

[0073] In some embodiments, based on a third material standard in a preset generated template, the content processing information is component-arranged, including:

[0074] Based on the temporal order of the target brand images, multiple target brand images are sorted by time to determine the position of each target brand image in the short video; based on the image display method in the preset generated template, the display effect of multiple target brand images is set, and the image display method includes: fade in, fade out, flip, or rotate; the image display method of each target brand image is the same, or at least two target brand images have different image display methods.

[0075] The DAM platform can automatically set the placement of each target brand image in the short video according to the time sequence between multiple target brand images, and set the image display method for each target brand image to optimize the image display effect and facilitate the enhancement of the short video's playback influence.

[0076] Based on the description of the above embodiments, the method of this embodiment may further include:

[0077] In response to the target user's editing operation, an editable interface for the short video is displayed. The editable interface includes multiple image data and editable controls, which correspond to the image data. Based on the target user's editing operation on the editable control corresponding to any image data, the edit data corresponding to the editing operation is updated on any image data to update the short video. The editable controls include: adding controls, changing controls, or deleting controls.

[0078] For example, after the target user selects materials, the DAM platform generates N short promotional videos for the target user. The discount level of the promotion needs to be editable, such as "30% discount". The target user can fill in the information through the DAM platform when generating the short video or by clicking on an already generated short video. The DAM platform can quickly regenerate the short video and update it according to the user's wishes to meet the user's needs.

[0079] The method in this embodiment may further include: obtaining the video display account associated with the target user; and, in response to the target user's delivery instruction, sending a short video to the video display account so that the video display account can play the short video on the video display platform. Thus, through system integration with the video display platform, automatic delivery of short videos is achieved.

[0080] This embodiment also provides a design chain for short video arrangement. Figures 2A-2D The screenshot shows a 10-second promotional video, which includes four images.

[0081] Figure 2AThe text includes the target brand image "1", the brand name "A", and the discount percentage "sale20%" (which users can add or modify). Figure 2B The image includes target brand image "2", target brand image "3", target brand image "4", and brand name "A". Figure 2C The image includes the target brand image "5" and the target brand image "6". Figure 2D The text includes a discount sign "sale!", the brand name "A", and a logo image of the target user "xxx".

[0082] in, Figure 2A The display period is 1-3 seconds, and the target brand image "1" is displayed using a scaling transformation. Figure 2B The display period is 3-5 seconds. The target brand image "2", target brand image "3", and target brand image "4" are displayed in a floating mode. Figure 2C The display period is 5-8 seconds, and the target brand image "5" is displayed by rotating. Figure 2D The display period is 8-10 seconds, and the text flies in.

[0083] Figure 3 This is a schematic diagram of a short video generation device provided in this embodiment. The short video generation device may include: an acquisition module 310, a determination module 320, and a generation module 330.

[0084] The acquisition module 310 is used to acquire video material information of the target user. The video material information includes: the brand image corresponding to the target user and the brand name corresponding to the target user. Each brand image has corresponding tag information, and the tag information corresponds to the video generation template.

[0085] The determining module 320 is used to determine a preset generation template corresponding to the brand image based on the tag information of the brand image. The preset generation template is used to arrange and process the brand image and the brand name. The preset generation template includes multiple video generation templates, and each video generation template is used to generate a short video using the video material information.

[0086] The generation module 330 is used to generate a short video corresponding to the video material information based on the preset generation template and the video material information of the target user.

[0087] In this embodiment, optionally, the generation module 330 includes: a first processing unit, a second processing unit, a third processing unit, and a generation unit.

[0088] The first processing unit is used to preprocess the video material information based on the first material standard in the preset generation template to obtain video processing information. The first material standard includes: template image size, number of template images, and correspondence between the brand name and the brand image. When there are multiple brand images, the correspondence between the brand name and the brand image is one-to-many.

[0089] The second processing unit is used to perform content processing on the video processing information based on the second material standard in the preset generation template to obtain content processing information. The second material standard includes: text data, background data, audio data, and image data. The image data is used to standardize the pixel information of the brand image.

[0090] The third processing unit is used to arrange the content processing information into components based on the third material standard in the preset generation template. The third material standard is used to measure the image display method of the brand images in the content processing information and the time order among all brand images. The time order among all brand images is used to characterize the arrangement position of each brand image.

[0091] The generation unit is used to generate the short video corresponding to the video material information based on the result of the component arrangement.

[0092] In this embodiment, optionally, the first processing unit is specifically used for:

[0093] The number of brand images is adjusted based on the number of template images contained in the preset generated template to obtain a target brand image that meets the template image quantity requirements; the target brand image is scaled / cropped based on the size of the template images in the preset generated template; the brand name and the target brand image are merged based on the correspondence between the brand name and the brand image to obtain the video processing information.

[0094] In this embodiment, optionally, the second processing unit is specifically used for:

[0095] Based on the text data in the preset generated template, the text content of each target brand image in the video processing information is adjusted. The text data includes: template text font, template text size, and template text color. Based on the image data in the preset generated template, the target brand images are processed to update them. The background information in the preset generated template is added as the image background of the target brand images. The background information includes: promotional background, colored background, solid color background, or animated background. The audio data in the preset generated template is used as the background music for the image background to obtain the content processing information.

[0096] In this embodiment, optionally, the third processing unit is specifically used for:

[0097] Based on the temporal order of the target brand images, the multiple target brand images are sorted by time to determine the arrangement position of each target brand image in the short video; based on the image display mode in the preset generated template, the display effect of the multiple target brand images is set, the image display mode includes: fade in, fade out, flip, or rotate; wherein, the image display mode of each target brand image is the same, or at least two target brand images have different image display modes.

[0098] In this embodiment, optionally, a display module and an update module are also included.

[0099] The display module is used to respond to the editing operation of the target user and display the editable interface of the short video. The editable interface includes multiple image data and editable controls, and the editable controls correspond to the image data.

[0100] The update module is used to update the edit data corresponding to the edit operation on any image data based on the edit operation of the target user on the editable control corresponding to any image data, so as to update the short video.

[0101] The editable controls include: adding controls, changing controls, or deleting controls.

[0102] In this embodiment, optionally, a sending module is also included.

[0103] The acquisition module 310 is also used to acquire the video display account associated with the target user;

[0104] The sending module is used to send the short video to the video display account in response to the target user's delivery instruction, so that the video display account can play the short video on the video display platform.

[0105] In this embodiment, optionally, the first processing unit is specifically used for:

[0106] When the number of template images in the preset generated template is less than the number of brand images, the number of brand images in the preset generated template is randomly selected from multiple brand images to obtain the target brand image; or, in response to the target user's selection operation, the target brand image is determined. When the number of template images in the preset generated template is greater than the number of brand images, material images are selected from the local material library to expand the number of brand images to obtain the target brand image; or, in response to the target user's upload operation, the target brand image is determined.

[0107] The short video generation apparatus provided in this disclosure can execute the above method embodiments. For its specific implementation principle and technical effects, please refer to the above method embodiments. It will not be repeated here.

[0108] This application also provides a computer device. Please refer to the following for details. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0109] The computer device includes a memory 410 and a processor 420 that are interconnected via a system bus. It should be noted that only a computer device with components 410-420 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0110] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.

[0111] The memory 410 includes at least one type of readable storage medium, including non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. RAM may include static RAM or dynamic RAM. In some embodiments, the memory 410 may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the memory 410 may also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, or flash card equipped on the computer device. Of course, the memory 410 may include both internal storage units and external storage devices of the computer device. In this embodiment, the memory 410 is typically used to store the operating system and various application software installed on the computer device, such as the program code of the method described above. In addition, the memory 410 may also be used to temporarily store various types of data that have been output or will be output.

[0112] Processor 420 is typically used to perform overall operations of a computer device. In this embodiment, memory 410 is used to store program code or instructions, including computer operation instructions, and processor 420 is used to execute the program code or instructions stored in memory 410 or process data, such as program code that runs the methods described above.

[0113] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0114] Another embodiment of this application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer-readable program code stored in the computer-readable medium, enabling the processor to execute the functional actions specified in each step or combination of steps in the above method; and to generate means for implementing the functional actions specified in each block or combination of blocks in the block diagram.

[0115] Computer-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any suitable combination thereof, wherein the memory is used to store program code or instructions, the program code including computer operation instructions, and the processor is used to execute the program code or instructions of the above-described methods stored in the memory.

[0116] The definitions of memory and processor can be found in the description of the foregoing computer device embodiments, and will not be repeated here.

[0117] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0118] In the various embodiments of this application, the functional units or modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0119] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0120] In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" as described in this application does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims listing several means, several units of these means may be embodied by the same item of hardware. The use of "first," "second," and "third," etc., does not indicate any order and these words should be interpreted as names. Unless otherwise specified, the steps in the above embodiments should not be construed as limiting the order of execution.

[0121] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for generating a short video, characterized in that, include: The system acquires video material information of the target user, which includes: a brand image and a brand name corresponding to the target user. Each brand image has corresponding tag information, which corresponds to a video generation template. The tag information is used to describe the actual assets of the target user. Based on the tag information of the brand image, a preset generation template corresponding to the brand image is determined. The preset generation template is used to arrange and process the brand image and the brand name. The preset generation template includes multiple video generation templates, each of which is used to generate a short video using the video material information. Determining the preset generation template corresponding to the brand image based on the tag information of the brand image includes: determining the preset generation template corresponding to the brand image according to the correspondence between the tag information of the brand image and the video generation template. The preset generation template includes multiple constraint data for standardizing the video material information. The constraint data includes template image size, number of template images, correspondence between brand name and brand image, text data, background data, audio data, image data, image display mode, and time order among all brand images. Based on the preset generation template and the target user's video material information, generate a short video corresponding to the video material information; The step of generating a short video corresponding to the video material information based on the preset generation template and the target user's video material information includes: Based on the first material standard in the preset generation template, the video material information is preprocessed to obtain video processing information. The first material standard includes: template image size, number of template images, and the correspondence between the brand name and the brand image. When there are multiple brand images, the correspondence between the brand name and the brand image is one-to-many. Based on the second material standard in the preset generation template, the video processing information is processed to obtain content processing information. The second material standard includes: text data, background data, audio data, and image data. The image data is used to standardize the pixel information of the brand image. Based on the third material standard in the preset generation template, the content processing information is component-arranged. The third material standard is used to measure the image display method of the brand images in the content processing information and the time order among all brand images. The time order among all brand images is used to characterize the arrangement position of each brand image. Based on the arrangement of the components, the short video corresponding to the video material information is generated.

2. The method of claim 1, wherein, When there are multiple brand images, the video material information is preprocessed based on the first material standard in the preset generation template to obtain video processing information, including: The number of brand images is adjusted based on the number of template images contained in the preset generated template to obtain a target brand image that meets the template image quantity requirements; Based on the template image size in the preset generated template, scale / crop the target brand image; Based on the correspondence between the brand name and the brand image, the video processing information is obtained by fusing the brand name and the target brand image.

3. The method according to claim 2, characterized in that, The process of processing the video information based on the second material standard in the preset template to obtain content processing information includes: Based on the text data in the preset generated template, the text content of each target brand image in the video processing information is adjusted. The text data includes: template text font, template text font size, and template text color. Based on the image data in the preset generated template, image processing is performed on the target brand image to update the target brand image; The background information in the preset generated template is added as the image background of the target brand image. The background information includes: promotional background, colored background, solid color background or animated background. The audio data in the preset generated template is used as the background music for the image background to obtain the content processing information.

4. The method according to claim 3, characterized in that, The component arrangement of the content processing information based on the third material standard in the preset generated template includes: Based on the temporal order between the target brand images, the multiple target brand images are sorted by time to determine the placement of each target brand image in the short video; Based on the image display method in the preset generated template, the display effects of multiple target brand images are set, and the image display method includes: fade in, fade out, flip, or rotate; Wherein, each of the target brand images is displayed in the same way, or at least two of the target brand images are displayed in different ways.

5. The method according to claim 1, characterized in that, Also includes: In response to the editing operation of the target user, an editable interface of the short video is displayed. The editable interface includes multiple image data and editable controls, and the editable controls correspond to the image data. Based on the target user's editing operation on the editable control corresponding to any image data, update the edit data corresponding to the editing operation on the image data to update the short video; The editable controls include: adding controls, changing controls, or deleting controls.

6. The method according to claim 1, characterized in that, Also includes: Obtain the video display account associated with the target user; In response to the target user's delivery instruction, the short video is sent to the video display account so that the video display account can play the short video on the video display platform.

7. The method according to claim 2, characterized in that, The step of adjusting the number of brand images based on the number of template images contained in the preset generated template to obtain a target brand image that meets the template image quantity requirement includes: When the number of template images in the preset generated template is less than the number of brand images, the number of brand images in the template image is randomly selected from multiple brand images to obtain the target brand image; or, in response to the selection operation of the target user, the target brand image is determined. When the number of template images in the preset generated template is greater than the number of brand images, material images are selected from the local material library to expand the number of brand images to obtain the target brand image; or, in response to the upload operation of the target user, the target brand image is determined.

8. A short video generation device, characterized in that, include: The acquisition module is used to acquire video material information of the target user. The video material information includes: a brand image corresponding to the target user and a brand name corresponding to the target user. Each brand image has corresponding tag information, which corresponds to the video generation template. The tag information is used to describe the actual assets of the target user. The determining module is used to determine a preset generation template corresponding to the brand image based on the tag information of the brand image. The preset generation template is used to arrange and process the brand image and the brand name. The preset generation template includes multiple video generation templates, and each video generation template is used to generate a short video using the video material information. Specifically, the determining module is used to: determine the preset generation template corresponding to the brand image according to the correspondence between the tag information of the brand image and the video generation template. The preset generation template includes multiple constraint data for standardizing the video material information. The constraint data includes template image size, number of template images, correspondence between brand name and brand image, text data, background data, audio data, image data, image display mode, and time order among all brand images. The generation module is used to generate a short video corresponding to the video material information based on the preset generation template and the video material information of the target user; The generation module includes: a first processing unit, a second processing unit, a third processing unit, and a generation unit; The first processing unit is used to preprocess the video material information based on the first material standard in the preset generation template to obtain video processing information. The first material standard includes: template image size, number of template images, and correspondence between the brand name and the brand image. When there are multiple brand images, the correspondence between the brand name and the brand image is one-to-many. The second processing unit is used to perform content processing on the video processing information based on the second material standard in the preset generation template to obtain content processing information. The second material standard includes: text data, background data, audio data, and image data. The image data is used to standardize the pixel information of the brand image. The third processing unit is used to arrange the content processing information into components based on the third material standard in the preset generation template. The third material standard is used to measure the image display method of the brand images in the content processing information and the time order among all brand images. The time order among all brand images is used to characterize the arrangement position of each brand image. The generation unit is used to generate the short video corresponding to the video material information based on the result of the component arrangement.

9. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the short video generation method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Video generation method and device, computer equipment and storage medium

    CN113473182A