CN113157973A - Method, device, equipment and medium for generating cover - Google Patents

Method, device, equipment and medium for generating cover Download PDF

Info

Publication number
CN113157973A
CN113157973A CN202110333035.7A CN202110333035A CN113157973A CN 113157973 A CN113157973 A CN 113157973A CN 202110333035 A CN202110333035 A CN 202110333035A CN 113157973 A CN113157973 A CN 113157973A
Authority
CN
China
Prior art keywords
target
image
video
cover
videos
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.)
Pending
Application number
CN202110333035.7A
Other languages
Chinese (zh)
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.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202110333035.7A priority Critical patent/CN113157973A/en
Publication of CN113157973A publication Critical patent/CN113157973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor

Abstract

The invention discloses a method, a device, equipment and a medium for generating a cover. Because the corresponding relation between the number and the splitting mode is preset, after a first trigger operation of editing the covers of the first number of target videos is received, namely the first trigger operation of editing the covers of at least two target videos is received, prompt information prompting a user to add the covers can be output, a target image selected by the user is received, the splitting mode corresponding to the preset first number is determined according to the corresponding relation between the preset number and the splitting mode, so that the target image is split into each subimage of the first number according to the splitting mode, and corresponding processing is carried out on the subimage subsequently, namely the covers corresponding to the target videos of the first number can be determined respectively, so that the covers of at least two target videos are generated simultaneously, the efficiency of generating the covers of at least two target videos is improved, and the user operation is simplified, the user experience is improved.

Description

Method, device, equipment and medium for generating cover
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a medium for generating a cover.
Background
With the development of internet technology, the traffic of mobile multimedia is greatly increased in recent years, and novel entertainment modes such as live broadcast and video have attracted wide attention and participation of people. In recent years, videos on some social software attract a plurality of users to participate in the production and browsing of the videos by virtue of the characteristics of strong participation, low production threshold, high propagation speed and the like, and how to stand out from the videos also becomes a research hotspot of video producers.
Since the cover page can briefly outline the content of the video to the user, the cover page quickly draws the attention of the user and plays an important role in improving the click rate and browsing volume of the video. Therefore, how to quickly generate covers of multiple videos is a matter of increasing attention.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for generating covers, which are used for quickly generating covers of a plurality of videos.
The invention provides a cover generation method, which comprises the following steps:
receiving a first trigger operation of editing cover pages of a first number of target videos; wherein the first number is not less than 2;
outputting prompt information for prompting a user to add a cover and receiving a selected target image;
cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity;
and determining covers corresponding to the first number of target videos respectively based on each sub-image.
The invention provides a cover generation device, comprising:
a receiving unit, configured to receive a first trigger operation of editing cover art of a first number of target videos; wherein the first number is not less than 2;
the output unit is used for outputting prompt information for prompting a user to add a cover;
the receiving unit is further used for receiving the selected target image;
the processing unit is used for cutting the target image into each sub-image of the first number according to a preset cutting mode corresponding to the first number;
and the determining unit is used for determining covers corresponding to the first number of target videos respectively based on each sub-image.
The invention provides an electronic device, which at least comprises a processor and a memory, wherein the processor is used for realizing the steps of the cover generation method when executing a computer program stored in the memory.
The present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the cover generation method as described above.
Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a cover creation process according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a specific cover generation process according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a specific cover generation process according to an embodiment of the present invention;
FIG. 4 is a schematic view of a scene in which a guest is added with a null video according to an embodiment of the present invention;
fig. 5 is a scene diagram of a null video according to an embodiment of the present invention;
fig. 6 is a schematic view of a scene of editing cover pages of a first number of target videos according to an embodiment of the present invention;
FIG. 7 is a diagram of a cover editing interface according to an embodiment of the present invention;
FIG. 8 is a schematic view of an add-on cover according to an embodiment of the present invention;
fig. 9 is a schematic diagram of adding text images according to an embodiment of the present invention;
FIG. 10 is a diagram of a text template button according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a cover editing completion interface according to an embodiment of the present invention;
fig. 12 is a schematic view of an interface after a video to be published is published according to an embodiment of the present invention;
fig. 13 is a schematic view of an interface for recording video according to an embodiment of the present invention;
FIG. 14 is a schematic view of a process for adding covers according to an embodiment of the present invention;
FIG. 15 is a schematic view of a process for changing covers according to an embodiment of the present invention;
FIG. 16 is a schematic structural diagram of a cover creation apparatus according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the efficiency of generating covers of multiple videos, embodiments of the present invention provide a cover generation method, apparatus, device, and medium.
As will be appreciated by one skilled in the art, embodiments of the present application may be embodied as a system, apparatus, device, method, or computer program product. Thus, the present application may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In this document, it is to be understood that any number of elements in the figures are provided by way of illustration and not limitation, and any nomenclature is used for differentiation only and not in any limiting sense.
With the development of internet technology, more and more users browse videos through intelligent equipment as an entertainment project, and more users become one shooter and participate in the video production. In order to increase the browsing volume, the photographer can generally attract users by improving the quality of the produced video as much as possible, i.e., share some fancy, interesting and novel video content.
In practical applications, a user may wish to browse other videos published by a photographer after being attracted to a video produced by the photographer. In order to facilitate a user to browse all videos published by a photographer, a personal video page for displaying all videos published by the photographer is designed in advance, in order to facilitate the user to browse interested videos quickly, user experience is improved, a cover page of all videos published by the photographer is displayed in the personal video page, and the user can browse videos corresponding to the cover page through operation on a certain displayed cover page in the personal video page of the photographer. Therefore, how to design the front cover of a certain video also has a great influence on improving the browsing amount of the video.
Generally, in order to highlight own style, a photographer can unify the styles of covers of all videos, and can design covers in different styles to classify all videos displayed on a personal video page through the covers in different styles so that all videos published by the photographer are combed through the covers. The subsequent user browses the designed and combed personal video page, can more quickly find the video which the user wants to browse through the cover, and has key effects on quickly attracting the attention of the user, briefly summarizing the content of the video to the user, highlighting the personal style, and improving the video click rate and browsing amount.
In the related art, in order to generate a cover page of a video, a user inputs an add video instruction to a smart device, where the user inputs the add video instruction in many ways, for example, the user may input the add video instruction in a voice manner or may input the add video instruction by operating a virtual button displayed on a display interface of the smart device. The specific mode of inputting the add video command can be flexibly set according to actual requirements, and is not particularly limited herein. After the intelligent device obtains a video adding instruction input by a user, prompt information for prompting the user to record content information of the added video is output, and the content information of the video recorded by the user is obtained. And outputting prompt information for prompting the user to add a video cover, acquiring an image selected by the user, and determining the cover corresponding to the video based on the image. The image may be a certain frame image in a recorded video, or a certain image pre-saved by a user.
According to the method, when covers of a plurality of videos need to be generated, a user needs to execute the operation on each video to respectively determine the cover corresponding to each video, and the operation is very complicated and the user experience is poor. And for a plurality of videos with the same theme, a plurality of users can adopt the method that covers displayed by the videos with the same theme can be spliced into a complete image according to the publishing sequence, so that the users can clearly know which covers correspond to the videos with the same theme in each cover displayed by the current personal video page according to the covers of the videos, and therefore the videos with the same theme can be quickly found and browsed.
In the related art, if it is desired that a cover page of a plurality of video displays with the same theme can be assembled into a complete image according to the distribution sequence, the user is required to store the complete image in advance, design the complete image, such as adding elements like characters and themes, and then control a cropping tool in the image processing software to crop the designed image so that the size ratio of each sub-image to be cropped is the same as the size of the cover page. And obtaining and storing sub-images respectively corresponding to a plurality of videos with the same theme through multiple cutting by a user. And subsequently, for each video, determining a cover page corresponding to the video through the cover page generation method, the pre-recorded video and the sub-image corresponding to the video. Based on this, the method for generating the cover page is very complicated in operation, and excessively depends on the process of artificially cutting the image, so that a large amount of time is consumed, and the difficulty of making a video by a user is increased.
For example, a user wishes to distribute a movie rating video about a certain movie, and is expected to distribute the complete movie rating video in 3 sub-videos. If it is desired that the cover page of the 3 sub-video displays can be assembled into the poster of the movie in the distribution sequence, the user is required to store the poster of the movie in advance, design the poster, for example, add characters, themes, etc., and then control a cropping tool in the image processing software to crop the designed poster so that the size ratio of the cropped sub-images is the same as the size of the cover page. And (3) cutting by a user for 3 times to obtain and store sub-images corresponding to the 3 sub-videos respectively. And aiming at each sub-video, generating a cover page of the sub-video through the cover page generation method, the sub-video and the sub-image corresponding to the sub-video.
In order to solve the above problem, embodiments of the present invention provide a cover generation method, apparatus, device, and medium. Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
It should be noted that the application scenarios mentioned in the foregoing embodiments are merely exemplary scenarios provided for convenience of description, and are not intended to limit the application scenarios of the cover page generation method, apparatus, device and medium provided in the embodiments of the present invention. It should be understood by those skilled in the art that the cover generation method, apparatus, device and medium provided in the embodiments of the present invention may be applied to all application scenarios requiring a cover, such as a live lesson, a video tag tab, a short video, and the like.
Example 1:
fig. 1 is a schematic diagram of a cover generation process provided in an embodiment of the present invention, where the process includes:
s101: receiving a first trigger operation of editing cover pages of a first number of target videos; wherein the first number is not less than 2.
The cover generation method provided by the embodiment of the invention is applied to the electronic equipment, and the electronic equipment can be intelligent equipment such as mobile intelligent equipment and the like and can also be a server.
In an actual application scenario, when a user needs to edit covers of at least two target videos at the same time, that is, when the covers of a first number of target videos are edited, a trigger operation (for convenience of description, denoted as a first trigger operation) for editing the covers of the first number of target videos may be input to the smart device. For example, the user may input the first trigger operation in a voice mode or in a virtual button displayed on a user display interface. The specific manner of inputting the first trigger operation may be flexibly set according to actual requirements, and is not specifically limited herein.
It should be noted that the first number is greater than 1.
In the related art, after a general video is published, the cover of the video cannot be changed, so that a user is required to carefully consider which image is selected as the cover of the video before publishing the video, and the user experience is not facilitated. When the cover of the published video has a problem, the user needs to record the video needing to be modified and add a replaced image again, so that the operation is very complicated and inconvenient when the cover of the published video is replaced. Therefore, in the embodiment of the present invention, the target video may be not only a video to be published, but also a published video, that is, a cover page of the published video may be edited.
After receiving the first trigger operation, the intelligent device sends the information of receiving the first trigger operation to the electronic device for generating the cover. The electronic equipment for generating the cover adopts the cover generation method provided by the embodiment of the invention to perform corresponding processing based on the information of the first trigger operation.
Before the content information of the first number of target videos is recorded through the intelligent device, a user can input a first trigger operation for editing cover pages of the first number of target videos to the intelligent device. Of course, the intelligent device may also output prompt information prompting the user to edit the cover of each target video after detecting that the content information of the first number of target videos is recorded, and receive a first trigger operation for editing the cover of the first number of target videos.
The electronic device for generating the cover page may be the same as or different from the smart device.
S102: and outputting prompt information for prompting the user to add the cover page, and receiving the selected target image.
After receiving the first trigger operation, determining each target video needing cover generation, generating prompt information for prompting a user to add a cover, and controlling intelligent equipment to output. The user can select the target images in time according to the prompt information output by the intelligent device, so that the electronic device determines the cover corresponding to each target video based on the target images, and the efficiency of determining the cover is improved.
The prompt information output by the intelligent device may be prompt information in an audio format, such as a voice broadcast prompt information "please input an image", or prompt information corresponding to a text form may be displayed on the display interface, such as modes of displaying the prompt information "please add an image", a pop-up box (toast) prompt, and the like. Of course, two ways of outputting the prompt information may also be combined at the same time, such as simultaneously broadcasting the prompt information in the audio format and displaying the prompt information in the text format on the display interface. Specifically, the setting can be flexibly set according to actual requirements, and is not limited herein.
It should be noted that, after the intelligent device outputs the prompt information, the user may directly select the target image on the intelligent device, or may select the target image through another intelligent device and send the target image to the intelligent device. For example, the user may input the selection of the image in the folder by voice, select the first row of the third image, and the like, or select the selectable images displayed on the user display interface by operating. The specific manner of selecting the target image may be flexibly set according to actual requirements, and is not specifically limited herein.
After receiving the target image selected by the user, the electronic equipment performs subsequent processing based on the target image.
S103: and cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity.
In order to conveniently determine the covers corresponding to the first number of target videos, a corresponding relation between the number and the segmentation mode is preset. Based on the above embodiment, after the target image is acquired, the corresponding splitting manner corresponding to the first number is determined according to the corresponding relationship between the preset number and the splitting manner, and the target image is split according to the corresponding splitting manner corresponding to the first number, so that the target image is split into each sub-image of the first number. For example, if the first number is 3, the slicing manner corresponding to the first number is to vertically divide the image into 3 sub-images.
In an actual application scenario, a situation that a first number of target videos are commonly displayed on interfaces such as a personal homepage of a user may occur, and in order to improve a display effect of the videos, when a segmentation mode corresponding to each number of videos is set, the display mode of the videos on the interfaces may be considered, that is, the segmentation mode corresponding to each number of videos is determined according to the display mode of the videos on the interfaces, so that after a subsequent user issues the first number of target videos in sequence, the cover of the first number of target videos can be seen to be spliced into a complete image on the interfaces such as the personal homepage.
In a possible implementation manner, the preset display manner is that each preset number is displayed in a row, after the first number is obtained, the first number is compared with the preset number, and the segmentation manner is determined according to the comparison result.
If the first number is not larger than the preset number or the first number is not an integral multiple of the preset number, directly dividing the target image into a first number of sub-images in the vertical direction; if the first number is larger than the preset number and the first number is an integral multiple of the preset number, determining the integral multiple N of the first number and the preset number, transversely equally dividing the target image into N +1 partial images, vertically dividing the C +1 partial images into the preset number, and acquiring the first number of sub-images.
For example, if every 3 videos are displayed in a row, when a splitting manner corresponding to the 3 videos is set, the splitting manner may be to vertically divide the image into three sub-images equally.
Of course, if the preset display mode is to display in one line for each preset number, it is also possible to set the corresponding splitting mode for each number, and for any number, the corresponding splitting mode for the number is to directly vertically divide the target image into the sub-images of the number equally.
In another possible embodiment, the preset presentation mode is a presentation mode in which each video is vertically arranged, and the target image can be directly and equally divided into the first number of sub-images in the transverse direction.
For example, if each video is displayed in a vertical arrangement, when a splitting manner corresponding to 3 videos is set, the splitting manner may be to divide the image into three sub-images equally in the horizontal direction.
In some possible embodiments, in order to improve the diversity of segmentation and improve the user experience, each number may correspond to multiple segmentation modes. Before the target image is divided into each sub-image with the first quantity, outputting prompt information which comprises each segmentation mode corresponding to the first quantity and prompts a user to select one segmentation mode corresponding to the first quantity, receiving the selected segmentation mode corresponding to the first quantity, and cutting the target image into each sub-image with the first quantity according to the selected segmentation mode corresponding to the first quantity.
The output includes each segmentation mode corresponding to the first quantity and a prompt message mode for prompting the user to select one segmentation mode corresponding to the first quantity, which is the same as the output prompt message mode, and repeated parts are not repeated.
S104: and determining covers corresponding to the first number of target videos respectively based on each sub-image.
After the first number of sub-images are acquired based on the method in the above embodiment, corresponding processing may be performed according to each determined sub-image, and a cover page corresponding to each target video is determined.
In a possible implementation manner, after the first number of sub-images are acquired, a user may input an operation instruction for associating each sub-image with a corresponding target video through the intelligent device. After the electronic equipment receives an operation instruction for respectively associating each sub-image with the corresponding target video, the cover page corresponding to each target video is respectively determined according to the operation instruction and each sub-image.
In another possible embodiment, the determining, based on each of the sub-images, respective covers corresponding to the first number of target videos includes:
and for each target video, determining a target display position corresponding to the target video according to the corresponding relation between the preset sub-image display position and the video, and determining the sub-image positioned at the target display position as a cover corresponding to the target video.
In order to determine the cover corresponding to each target video, the corresponding relationship between the display position of each sub-image cut by each cutting mode and the video is preset. And after the corresponding splitting modes of the first number are determined, determining the corresponding relation between the display position of each preset subimage split by the splitting modes and the video, and determining the cover corresponding to each target video according to the corresponding relation between the display position of each subimage and the video.
In a possible implementation manner, according to the corresponding relationship between the display position of each sub-image and the video, determining the cover corresponding to each target video can perform the following steps:
firstly, acquiring any target video; and then determining a target display position corresponding to the target video according to the corresponding relation between the pre-configured sub-image display position and the video, acquiring the sub-image positioned at the target display position, and finally determining the sub-image as a cover corresponding to the target video.
Due to the first number of target videos, the above steps are executed for each target video until the cover corresponding to all the target videos is determined.
Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
Example 2:
for facilitating the recording of at least two target videos by the user, on the basis of the above embodiment, in an embodiment of the present invention, if the target video is a video to be distributed, before the receiving of the first trigger operation of editing the cover of the first number of target videos, the method further includes:
receiving a second trigger operation of adding a second number of empty videos, wherein the second number is not less than the first number, so as to increase the video content of the target video in the empty videos subsequently.
In a possible implementation manner, the target video subjected to cover editing may be a video to be published, and the user adds a second number of empty videos through the smart device before editing the cover of the target video, so as to determine the video to be published by adding video content of the target video in the second number of empty videos.
In a specific implementation process, when a user wishes to edit a video to be published, a trigger operation (for convenience of description, denoted as a second trigger operation) of adding a second number of empty videos may be input to the smart device. The user can input a second triggering operation of adding a second number of empty videos to the intelligent device by repeating the operation of inputting and adding the empty videos for multiple times, and can also input the second number of empty videos to the intelligent device by respectively inputting the second number of empty videos and the operation of adding the empty videos. Of course, the second trigger operation of adding the second number of empty videos to the intelligent device may also be directly input, for example, voice information of adding the second number of empty videos to the intelligent device is directly input. In the specific implementation process, the flexible setting can be carried out according to the actual requirement.
It should be noted that the second number is not less than the first number, that is, the second number is greater than or equal to the first number.
After receiving the information of the second trigger operation, generating a second number of empty videos according to the second number, and subsequently processing the first number of empty videos by receiving an editing operation of the user on the first number of empty videos (including an operation of adding video content corresponding to the target video in the first number of empty videos and a first trigger operation of editing cover pages of the first number of target videos), for example, adding video content corresponding to the target video in the first number of empty videos, or editing cover pages of the first number of target videos based on the method of the above embodiment, and the like.
In order to facilitate a user to obtain edited videos (including videos to be published and videos published) after replacing the device, after receiving the information of the second trigger operation, the identification information of the user carried in the information is obtained, and when a second number of empty videos are generated, video identification information corresponding to each empty video and corresponding video information are generated, wherein the video information corresponding to any empty video includes video identification information corresponding to the empty video and identification information of the user.
The identification information of the user may be a numeric string, a character string, or the like, for example, identification information of a device, an IP address, an MAC address, or the like, or may be in other forms, and information that can uniquely represent the identity of the user may be used in the embodiment of the present invention as the representation information of the user. Similarly, the video identification information may also be a numeric string, a character string, or the like, or may also be in other forms, and information that can uniquely represent the video may all be used in the embodiment of the present invention as the representation information of the user.
In one possible embodiment, the video information corresponding to any empty video may be defined by the following codes:
{
uid:"",
video_id:"",
video_url:"",
cover_url:"",
text_image_url:""
}
wherein uid is identification information of a user, video _ id is video identification information, video _ url indicates an address for storing the video content, cover _ url indicates an address for storing a cover page of the target video, and text _ image _ url indicates a text image added to the target image.
After the identification information of the user and the video identification information corresponding to any empty video are acquired based on the above embodiment, the identification information of the user and the video identification information can be stored in the video information corresponding to the empty video. For example:
{
uid:2500620031,
video_id:788454165,
video_url:"",
cover_url:"",
text_image_url:""
}
because the user can add the video content corresponding to the target video in any empty video, after the electronic device receives the recording instruction for adding the video content corresponding to the target video in any empty video, the address for storing the video content can be stored as the video information corresponding to the empty video, so that the device can obtain the address of the video content through the identification information and the video identification information of the user no matter what device is replaced by the user in the following process, and the video content can be obtained from the address of the video content.
For example:
{
uid:2500620031,
video_id:788454165,
video_url:"video.mp4",
cover_url:"",
text_image_url:""
}
when the cover page of any one target video is determined based on the above embodiment, the address of the cover page where the target video is stored is also stored as video information.
For example:
{
uid:2500620031,
video_id:788454165,
video_url:"",
cover_url:"video_cover.png",
text_image_url:""
}。
example 3:
in order to improve the diversity of the front cover, on the basis of the foregoing embodiments, in an embodiment of the present invention, after receiving the selected target image, before cutting the target image into each sub-image of the first number according to a preset splitting manner corresponding to the first number, the method further includes:
receiving an adding instruction for adding characters; wherein, the adding instruction carries text typesetting information;
determining the target position of the character image to be added in the target image according to the position information in the character typesetting information;
determining the text content in the target format according to the format information and the content information in the text typesetting information;
adding a text image containing text content in the target format at the target position.
In the actual application process, in order to briefly introduce the subject of the first number of target videos or indicate the browsing sequence of the first number of target videos, the user may add characters in the target images, and set the character typesetting information of the added characters in the target images, that is, input an adding instruction for adding characters through the intelligent device.
After receiving an adding instruction of adding characters, analyzing the adding instruction to obtain character typesetting information carried in the adding instruction. The text layout information includes position information of the added text in the target image, format information of the text in the target image, content information of the text in the target image, and the like, and the format information includes at least one of size of the text, color of the text, style of the text, angle of the text, and the like. Determining a target position of a character to be added in the target image according to the position information in the acquired character typesetting information, namely determining the target position of the character image to be added in the target image, and determining the format of the added character content to display according to the format information and the content information in the acquired character typesetting information, namely determining the character content in the target format; and finally, adding a character image containing the character content in the target format at the target position in the target image. And when the target image is cut into the sub-images of the first number according to the preset cutting mode corresponding to the first number, if the character image in the target image comprises the cutting position of the target image, cutting the character image at the cutting position.
In one possible embodiment, when a text image containing text content in the target format is added at a target position in a target image, an address of the text image storing the text content in the target format may be stored as video information.
For example:
{
uid:2500620031,
video_id:788454165,
video_url:"",
cover_url:"video_cover.png",
text_image_url:"text_image.png"
}
in order to facilitate the user to edit the video cover next time, in the embodiment of the present invention, after receiving the adding instruction for adding the text, the method further includes:
receiving a generation instruction for generating a character template;
and generating a character template according to the character typesetting information.
Because the text typesetting information of the text content added to the cover by the user is generally not changed at will when the user creates the cover of the video, for example, the text content of the creation time of the video is generally recorded in the upper left corner of the cover, the text content of the theme corresponding to the video is generally recorded in the upper right corner of the cover, and the like, if the user creates the cover of the next video or revises the cover of the video on which the cover is created, it is difficult for the user to ensure that the same text typesetting information is used every time, and the text content is added to the cover. Therefore, in the embodiment of the present invention, after the user inputs the adding instruction for adding the text on the target image through the intelligent device, the user may further determine whether to input the generating instruction for generating the text template through the intelligent device according to the display effect of the text typesetting information of the text content added on the current target image.
When a user wishes to generate a text template according to the text typesetting information of the text content added to the current target image, a generation instruction for generating the text template can be input into the intelligent device. And after receiving a generation instruction for generating the character template, the electronic equipment acquires the character typesetting information of the character content added in the target image. Generating a text template according to the information contained in the text typesetting information, namely correspondingly storing the position information, the text content and the format information in the text typesetting information.
Since the target images correspond to the first number of target videos, the text layout information is also generally used for determining cover pages corresponding to the first number of target videos, respectively. Therefore, when the text template is generated, the text typesetting information and the first number can be correspondingly stored.
In a possible implementation manner, the text composition information and the first number are correspondingly stored, and may be defined as follows:
{
uid:2500620031,
video_count:3,
text:"Hello World",
text_color:"#999999",
text_font:"xxx",
text_font_size:18,
text_anchor:30,
...
}
wherein uid represents the user's identification information, video _ count represents the first number, text represents the content information, text _ color represents the text color in the format information, text _ font represents the text style in the format information, text _ font _ size _ font represents the text size in the format information, and text _ anchor represents the text angle in the format information.
After the text template is generated by the embodiment, the intelligent device can be controlled to display the generated text template after receiving the target image input by the user, so that the user can directly select one displayed text template through the intelligent device, the text content in the target format can be added at the target position in the target image, and the user can quickly edit the text in the target image only by modifying the text content in the text template.
In one possible implementation, determining an add instruction to add a word includes:
receiving a selection operation of a target character template;
outputting prompt information for setting the content information of the target character template, and receiving the set target content information;
and determining an adding instruction for adding characters according to the target content information, the position information corresponding to the target character template and the format information.
In an actual application scenario, when a user wants to edit a target image by using a certain text template, a selection operation on the target text template can be input through an intelligent device. And after the electronic equipment for generating the cover page receives the selection operation of the target character template, the electronic equipment controls the intelligent equipment to output prompt information for setting the content information of the target character template. The user can set the target content information through the intelligent equipment in time according to the prompt information for setting the content information of the target character template output by the intelligent equipment.
For example, the user may set the target content information in a voice mode or in a text box displayed on a display interface of the smart device by inputting the target content information in a text form. The specific manner of setting the target content information may be flexibly set according to actual requirements, and is not specifically limited herein.
After receiving the target content information set by the user, the electronic equipment determines the character typesetting information of the character image to be added in the target image according to the target content information, the position information corresponding to the target character template and the format information, and generates an adding instruction for adding characters according to the character typesetting information. Then, according to the adding instruction and the method in the above embodiment, the text image containing the text content in the target format can be added at the target position in the target image.
Example 4:
in order to further improve the quality of the generated cover and the user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, after the receiving the selected target image, before determining the cover corresponding to each of the first number of target videos based on each of the sub-images, the method further includes:
receiving an image replacement instruction;
outputting prompt information for prompting a user to replace a cover and receiving a selected replacing image;
and updating the target image according to the replacement image.
Since the user adds text to the target image during editing of the target image, for example, the user may not be satisfied with the front cover corresponding to each of the first number of target videos of the target image, and may wish to replace the target image. Therefore, in order to accurately generate a cover page of the target video and improve user experience, in the embodiment of the invention, after the user selects the target image, the target image can be replaced.
In a specific implementation process, when a user wants to replace a target image, an image replacement instruction for replacing the target image can be input through the intelligent device. And after the electronic equipment receives the image replacing instruction, the intelligent equipment is controlled to output prompt information for prompting a user to replace the cover. The user can select to replace the image in time according to prompt information which is output by the intelligent equipment and prompts the user to replace the cover. After receiving the selected replacement image, the electronic device can update the target image according to the replacement image.
In order to further improve the quality of the generated cover and the user experience, the user can also adjust the display parameters of the target image. The display parameters include at least one of filter, size, display angle, contrast, saturation, etc.
In one possible implementation, when the user wishes to adjust the display parameters of the target image, an adjustment instruction for adjusting the target image may be input through the smart device. After receiving an input adjustment instruction for adjusting the target image, the electronic equipment analyzes the adjustment instruction, acquires target display parameters carried in the adjustment instruction, and adjusts the current display parameters of the target image according to the acquired target display parameters.
Example 5:
the method for producing a cover according to the present invention will be described in detail with reference to specific examples.
Fig. 2 is a schematic diagram of a specific cover page generation process provided in an embodiment of the present invention, taking a target video as a published video as an example, the process includes:
s201: a first trigger operation to edit cover art of a first number of target videos is received.
S202: and outputting prompt information for prompting the user to add the cover.
S203: a selected target image is received.
S204: and if an adjusting instruction for adjusting the target image is received, adjusting the current display parameters of the target image according to the target display parameters carried in the adjusting instruction.
S205: and receiving an adding instruction for adding characters.
Wherein, the adding instruction carries the text typesetting information.
In one possible implementation mode, after receiving an operation instruction of adding a text box at the target position, which is input by a user, the electronic equipment outputs prompt information for prompting the user to input text content in the text box, and receives the input text content. And if a text adjusting instruction for adjusting the text content is received, adjusting the format information of the text content according to the target format information carried in the text adjusting instruction. And determining the character typesetting information according to the position information of the target position, the content information of the text content and the format information of the text content. And determining an adding instruction for adding characters according to the character typesetting information.
In another possible implementation, determining an add instruction to add a word includes:
receiving a selection operation of a target character template; outputting prompt information for setting the content information of the target character template, and receiving the set target content information; and determining an adding instruction for adding characters according to the target content information, the position information corresponding to the target character template and the format information.
If an image replacing instruction is received, prompt information for prompting a user to replace the cover is output, the selected replacing image is received, and the target image is updated according to the replacing image.
S206: and determining the target position of the character image to be added in the target image according to the position information in the character typesetting information, and determining the character content in the target format according to the format information and the content information in the character typesetting information.
S207: a text image containing text content in the target format is added at the target position.
In steps S205 to S207, if a generation instruction for generating a text template is received, the text template is generated according to the text layout information.
S208: and cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity.
S209: based on each sub-image, a cover page corresponding to the first number of target videos is determined.
Fig. 3 is a schematic diagram of a specific cover page generation process provided in an embodiment of the present invention, taking a target video as a video to be published as an example, the process includes:
s301: add empty video.
First, fig. 4 is a schematic view of a scene in which a blank video is added to a photographer according to an embodiment of the present invention. As shown in FIG. 4, the photographer operates the smart device such that the display screen of the smart device displays a personal home page on the video social software of the photographer. And receiving that the user presses the icon of the My video tab displayed in the personal homepage for a long time, and controlling the intelligent device to display a preset operation panel. Wherein two options are displayed on the operation panel, namely an add video and a select video. If the user wishes to modify the cover page of the published video, the operation can be triggered by inputting the displayed selection video; and if the user wants to add the video to be published, adding a second triggering operation of a second number of blank videos to the displayed added video input, and generating the second number of blank videos in the personal homepage by the electronic equipment according to the received second triggering operation.
In one possible implementation mode, if the area outside the displayed operation panel is clicked by the user, the operation panel is controlled not to be displayed.
Fig. 5 is a scene schematic diagram of a null video according to an embodiment of the present invention. As shown in fig. 5, after receiving a second trigger operation that the user adds a second number of blank videos, a second number of video frames without covers are displayed in the homepage of the smart device, and each video frame displays a record button, that is, each produced blank video is displayed.
In one possible implementation, in order to make the photographer be able to see the arrangement layout and browsing condition of the published videos in the personal homepage, an option of switching the viewing angle may be set in the operation panel shown in fig. 5. The electronic device may switch the current personal homepage from the first perspective to the second perspective in accordance with receiving a trigger operation to switch the perspective. The first view angle is different from the second view angle, and if the first view angle is used for only displaying the published video (for convenience of description, the first view angle is marked as a visitor view angle), the second view angle is used for displaying the published video and the video to be published (for convenience of description, the second view angle is marked as a self view angle); if the first visual angle is the own visual angle, the second visual angle is the visitor visual angle.
In a possible embodiment, after receiving a trigger instruction for triggering the operation panel, the recording button may be set to a non-clickable state.
S302: a first trigger operation to edit cover art of a first number of target videos is received.
Fig. 6 is a schematic view of a scene for editing cover pages of a first number of target videos according to an embodiment of the present invention. As shown in FIG. 6, assuming that the first number is 3, the photographer may wish to have 3 video covers that can be stitched together to form a complete image. The method comprises the steps that a photographer can click video selection options in a displayed operation panel through an intelligent device, and after the electronic device receives operation of clicking the video selection options in the operation panel, each video displayed in a personal homepage is controlled to enter a selection mode, and whether a selected selection frame appears in the upper right corner of each video or not is controlled. After receiving a selection operation of a user on at least one target video, namely receiving a selection operation on a first number of target videos, controlling a virtual button for editing a front cover to be displayed in a current display interface, if receiving a trigger operation on the virtual button for editing the front cover, determining that a first trigger operation for editing the front cover of the first number of target videos is received, and displaying an interface for editing the front cover of the first number of target videos.
Fig. 7 is a schematic diagram of a cover editing interface according to an embodiment of the present invention. As shown in fig. 7, if the front cover editing interface is entered for the first time, or a text template is never set, the lower half of the front cover editing interface displays functional areas for adding a front cover or a text box, adding a sticker, a filter, etc., and the upper half of the front cover editing interface is a front cover effect preview area. The user can edit the front cover through each virtual button displayed in the function area, and the display effect of the edited front cover can be seen in the front cover effect preview area.
S303: and outputting prompt information for prompting the user to add the cover page, and receiving the selected target image.
Fig. 8 is a schematic view of an additional cover according to an embodiment of the present invention. In the front cover editing interface, the purpose of prompting the user to add the front cover is realized by displaying the virtual icon for adding the front cover, namely outputting prompt information for prompting the user to add the front cover. And when a notification message that the user triggers the virtual icon of the added cover is received, controlling the intelligent device to display each image contained in the album. And if the selection operation of the user on any displayed image is received, determining the image as a target image, and controlling the intelligent equipment to display the image in a front cover effect preview area in a front cover editing interface. And if an adjusting instruction for adjusting the target image is received, adjusting the current display parameters of the target image according to the target display parameters carried in the adjusting instruction. For example, the image is zoomed, and the angle is adjusted.
In one possible implementation, after the target image is received, the virtual icon of the added front cover displayed in the front cover editing interface can be controlled to be changed into the replacement icon. If the user triggers the replacing icon is received, namely an image replacing instruction for the target image is received, prompt information for prompting the user to replace the cover is output, the selected replacing image is received, and the target image is updated according to the replacing image.
S304: and adding a text image in the target image.
Fig. 9 is a schematic diagram of adding a text image according to an embodiment of the present invention. As shown in fig. 9, various text styles are displayed in the functional area of the front cover editing interface, and if a selection operation for a target text style is received, the electronic device controls the intelligent device to create a text component in the middle of the displayed target image and outputs prompt information for prompting a user to input text content.
In one possible implementation mode, if the input text content is not received, the created text component is controlled not to be displayed; and if the input text content is received, controlling the intelligent equipment to display the input text content in the displayed character set.
The user can adjust the input text content through the virtual icon in the functional area displayed on the front cover editing interface. And if the electronic equipment receives a text adjusting instruction for adjusting the text content, adjusting the format information of the text content according to the target format information carried in the text adjusting instruction. And determining the character typesetting information according to the position information of the target position, the content information of the text content and the format information of the text content. And determining an adding instruction for adding characters according to the character typesetting information.
In a possible implementation manner, if it is determined that the input text content is obtained, the intelligent device may be controlled to display a text template setting button in the displayed functional area, where the text template button is used to set text layout information of the text content in the current target image as a text template. And if receiving the triggering operation of the virtual button by the user, generating a character template according to the character typesetting information of the text content in the current target image.
Fig. 10 is a schematic diagram of a text template button according to an embodiment of the present invention. In order to improve user experience, after the generation of the text template is determined, the intelligent device is controlled to display popup prompt information (toast) in the current display interface so as to inform a photographer that text typesetting information of text content is set as the template.
In one possible implementation mode, if the text template is generated, the intelligent device is controlled to display an icon corresponding to the text template in a functional area of the front cover editing interface.
In a possible implementation manner, after the text template is generated, if the operation of changing the text content in the target image is not received, the intelligent device is controlled to set the displayed text template button to be in the non-clickable state, and when the operation of changing the text content in the target image is received, the intelligent device is controlled to set the displayed text template button to be in the non-clickable state.
S305: and determining a cover corresponding to each target video.
Fig. 11 is a schematic diagram of a cover editing completion interface according to an embodiment of the present invention. As shown in fig. 11, after receiving the confirmation operation of the front cover effect, the target image may be divided into a first number of sub-images according to a preset splitting manner corresponding to the first number, the front cover corresponding to each target video is determined according to each sub-image, and the intelligent device is controlled to exit the current front cover editing interface to display the personal homepage. Wherein, for the cover of the video to be distributed displayed in the personal homepage, a recording button is displayed on the cover. And if the triggering operation of the displayed recording button is received, controlling the intelligent equipment to record a video interface.
The actual display effect of all video covers on the personal homepage can be seen by the photographer through the personal homepage displayed by the intelligent device.
Fig. 12 is a schematic interface diagram after a video to be published is published according to an embodiment of the present invention. As shown in fig. 12, in order to distinguish between a published video and a video to be published displayed in the personal homepage, the smart device may be controlled to grayout the video to be published displayed in the personal homepage and set a browsing state of the video to be published to be not browseable by the visitor. After receiving the publishing operation of the video to be published, the intelligent device can be controlled to highlight the video to be published displayed in the personal homepage, and the browsing state of the video to be published is set to be browsed by the visitor.
In a possible implementation manner, if a first trigger operation of editing cover pages of a first number of target videos is not received, a frame of image in the content information of the target videos may be selected as the cover page of the target videos through a preset rule. Fig. 13 is a schematic interface diagram of video recording according to an embodiment of the present invention. As shown in fig. 13, one frame image is acquired from the recorded video as a cover of the target video. The frame image can be edited with characters no matter whether the frame image has the characters edited in advance or not, and the characters edited when the frame image is recorded are not adjustable.
Fig. 14 is a schematic view of a process of adding a cover according to an embodiment of the present invention, where the process includes:
firstly, if the front end of the electronic device receives a second trigger operation for adding a second number of empty videos, a background of the electronic device is informed of information of the second trigger operation, the background generates the second number of empty videos and creates video information of target videos corresponding to each empty video based on the information of the second trigger operation, and the created video information of each target video is sent to a resource database.
Secondly, the background determines covers corresponding to the first number of target videos respectively.
The specific cover generation method has been described in the above embodiments, and is not described herein.
And thirdly, if the front end receives the saving operation and informs the background, the background saves the cover corresponding to each target video and saves the cover into the resource database.
Finally, for each target video, the resource database writes the address (URL) of the cover page storing the target video into the video information of the target video.
The resource database can be arranged on the electronic equipment for generating the cover page, and can also be arranged on other electronic equipment.
Fig. 15 is a schematic flow chart of cover replacement according to an embodiment of the present invention, where the flow chart includes:
first, a front end of an electronic device receives a first trigger operation of editing cover pages of a first number of target videos and notifies a background of the electronic device. Wherein, the target video is the published video.
Secondly, the background determines new cover pages corresponding to the first number of target videos respectively.
And thirdly, the front end receives the storage operation and informs the background, the background acquires a new cover corresponding to each target video and deletes an old cover corresponding to each target video, and the new cover corresponding to each target video is stored in the resource database.
And finally, for each target video, the resource database updates the address of the old cover page in the video information corresponding to the target video according to the address of the new cover page corresponding to the target video.
Example 6:
an embodiment of the present invention further provides a cover generating apparatus, and fig. 16 is a schematic structural diagram of the cover generating apparatus provided in the embodiment of the present invention, where the apparatus includes:
a receiving unit 1601, configured to receive a first trigger operation of editing covers of a first number of target videos; wherein the first number is not less than 2;
an output unit 1602, configured to output a prompt message for prompting a user to add a cover;
the receiving unit 1601 is further configured to receive a selected target image;
the processing unit 1603 is configured to cut the target image into each sub-image of the first number according to a preset splitting manner corresponding to the first number;
a determining unit 1604, configured to determine covers corresponding to the first number of target videos respectively based on each sub-image.
The principle of solving the problems of the cover generation device is similar to that of the cover generation method, so that the implementation of the electronic equipment can be referred to the implementation of the method, and repeated details are not repeated.
Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
Example 7:
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes: the system comprises a processor 1701, a communication interface 1702, a memory 1703 and a communication bus 1704, wherein the processor 1701, the communication interface 1702 and the memory 1703 are communicated with each other through the communication bus 1704;
the memory 1703 has stored therein a computer program that, when executed by the processor 1701, causes the processor 1701 to perform the steps of:
receiving a first trigger operation of editing cover pages of a first number of target videos; wherein the first number is greater than 1;
outputting prompt information for prompting a user to add a cover and receiving a selected target image;
cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity;
and determining covers corresponding to the first number of target videos respectively based on each sub-image.
Because the principle of the electronic device for solving the problems is similar to the cover generation method, the implementation of the electronic device can refer to the implementation of the method, and repeated details are not repeated.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 1702 is used for communication between the electronic device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
Example 8:
on the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
receiving a first trigger operation of editing cover pages of a first number of target videos; wherein the first number is greater than 1;
outputting prompt information for prompting a user to add a cover and receiving a selected target image;
cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity;
and determining covers corresponding to the first number of target videos respectively based on each sub-image.
Since the principle of solving the problem of the computer-readable storage medium is similar to the cover generation method in the above-described embodiment, specific implementation can be referred to implementation of the cover generation method.
Because the corresponding relation between the number and the splitting mode is preset, in the process of generating the cover, after receiving a first trigger operation for editing the covers of the first number of target videos, namely after receiving the first trigger operation for editing the covers of at least two target videos, the method can output prompt information for prompting a user to add the covers, receive a target image selected by the user, determine the splitting mode corresponding to the preset first number according to the corresponding relation between the preset number and the splitting mode, so as to split the target image into each subimage of the first number according to the splitting mode, and then perform corresponding processing based on each subimage, so as to determine the covers corresponding to the target videos of the first number respectively, thereby realizing the simultaneous generation of the covers of at least two target videos, and improving the efficiency of generating the covers of at least two target videos, the user operation is simplified, and the user experience is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A cover generation method, the method comprising:
receiving a first trigger operation of editing cover pages of a first number of target videos; wherein the first number is greater than 1;
outputting prompt information for prompting a user to add a cover and receiving a selected target image;
cutting the target image into each sub-image of the first quantity according to a preset cutting mode corresponding to the first quantity;
and determining covers corresponding to the first number of target videos respectively based on each sub-image.
2. The method of claim 1, wherein before receiving the first trigger to edit the cover page of the first number of target videos if the target video is the video to be published, the method further comprises:
receiving a second trigger operation of adding a second number of empty videos, and generating the second number of empty videos; wherein the second number is not less than the first number for subsequent addition of video content of the target video in the empty video.
3. The method of claim 1, wherein determining the cover pages corresponding to the first number of target videos based on the each sub-image comprises:
and for each target video, determining a target display position corresponding to the target video according to the corresponding relation between the preset sub-image display position and the video, and determining the sub-image positioned at the target display position as a cover corresponding to the target video.
4. The method according to claim 1, wherein after receiving the selected target image, before the target image is sliced into each sub-image of the first number according to the preset slicing manner corresponding to the first number, the method further comprises:
receiving an adding instruction for adding characters; wherein, the adding instruction carries text typesetting information;
determining the target position of the character image to be added in the target image according to the position information in the character typesetting information;
determining the text content in the target format according to the format information and the content information in the text typesetting information;
adding a text image containing text content in the target format at the target position.
5. The method of claim 4, wherein after receiving an add instruction to add text, the method further comprises:
receiving a generation instruction for generating a character template;
and generating a character template according to the character typesetting information.
6. The method of claim 4, wherein determining an add instruction to add a word comprises:
receiving a selection operation of a target character template;
outputting prompt information for setting the content information of the target character template, and receiving the set target content information;
and determining an adding instruction for adding characters according to the target content information, the position information corresponding to the target character template and the format information.
7. The method of claim 1, wherein after receiving the selected target image, before determining the cover page corresponding to each of the first number of target videos based on each of the sub-images, the method further comprises:
receiving an image replacement instruction;
outputting prompt information for prompting a user to replace a cover and receiving a selected replacing image;
and updating the target image according to the replacement image.
8. A cover creation device, the device comprising:
a receiving unit, configured to receive a first trigger operation of editing cover art of a first number of target videos; wherein the first number is not less than 2;
the output unit is used for outputting prompt information for prompting a user to add a cover;
the receiving unit is further used for receiving the selected target image;
the processing unit is used for cutting the target image into each sub-image of the first number according to a preset cutting mode corresponding to the first number;
and the determining unit is used for determining covers corresponding to the first number of target videos respectively based on each sub-image.
9. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being adapted to implement the steps of the cover generation method according to any of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the cover production method according to any one of claims 1-7.
CN202110333035.7A 2021-03-29 2021-03-29 Method, device, equipment and medium for generating cover Pending CN113157973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110333035.7A CN113157973A (en) 2021-03-29 2021-03-29 Method, device, equipment and medium for generating cover

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110333035.7A CN113157973A (en) 2021-03-29 2021-03-29 Method, device, equipment and medium for generating cover

Publications (1)

Publication Number Publication Date
CN113157973A true CN113157973A (en) 2021-07-23

Family

ID=76885166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110333035.7A Pending CN113157973A (en) 2021-03-29 2021-03-29 Method, device, equipment and medium for generating cover

Country Status (1)

Country Link
CN (1) CN113157973A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596351A (en) * 2021-07-28 2021-11-02 北京达佳互联信息技术有限公司 Video display method and device
WO2023098326A1 (en) * 2021-11-30 2023-06-08 腾讯科技(深圳)有限公司 Method and apparatus for generating video cover, and device, medium and program product

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645967A (en) * 2009-05-14 2010-02-10 上海闻泰电子科技有限公司 Mobile terminal for processing multimedia data in user-defined format and realization method thereof
CN101802814A (en) * 2007-09-10 2010-08-11 万特里克斯公司 Method and system for multimedia messaging service (MMS) to video adaptation
CN106254934A (en) * 2016-08-10 2016-12-21 天脉聚源(北京)传媒科技有限公司 The acquisition methods of a kind of front cover picture and device
CN106657811A (en) * 2016-09-27 2017-05-10 大风(北京)科技有限责任公司 Live photo generating and displaying method and device
CN107820124A (en) * 2017-11-10 2018-03-20 暴风集团股份有限公司 Format conversion method, device and server
CN108600781A (en) * 2018-05-21 2018-09-28 腾讯科技(深圳)有限公司 A kind of method and server of the generation of video cover
CN111935505A (en) * 2020-07-29 2020-11-13 广州华多网络科技有限公司 Video cover generation method, device, equipment and storage medium
CN111984821A (en) * 2020-06-22 2020-11-24 汉海信息技术(上海)有限公司 Method and device for determining dynamic cover of video, storage medium and electronic equipment
CN112068920A (en) * 2020-09-22 2020-12-11 深圳市欢太科技有限公司 Content display method and device, electronic equipment and readable storage medium
CN112308864A (en) * 2020-10-27 2021-02-02 北京达佳互联信息技术有限公司 Image processing method and device, electronic equipment and storage medium
CN112363660A (en) * 2020-11-09 2021-02-12 北京达佳互联信息技术有限公司 Method and device for determining cover image, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802814A (en) * 2007-09-10 2010-08-11 万特里克斯公司 Method and system for multimedia messaging service (MMS) to video adaptation
CN101645967A (en) * 2009-05-14 2010-02-10 上海闻泰电子科技有限公司 Mobile terminal for processing multimedia data in user-defined format and realization method thereof
CN106254934A (en) * 2016-08-10 2016-12-21 天脉聚源(北京)传媒科技有限公司 The acquisition methods of a kind of front cover picture and device
CN106657811A (en) * 2016-09-27 2017-05-10 大风(北京)科技有限责任公司 Live photo generating and displaying method and device
CN107820124A (en) * 2017-11-10 2018-03-20 暴风集团股份有限公司 Format conversion method, device and server
CN108600781A (en) * 2018-05-21 2018-09-28 腾讯科技(深圳)有限公司 A kind of method and server of the generation of video cover
CN111984821A (en) * 2020-06-22 2020-11-24 汉海信息技术(上海)有限公司 Method and device for determining dynamic cover of video, storage medium and electronic equipment
CN111935505A (en) * 2020-07-29 2020-11-13 广州华多网络科技有限公司 Video cover generation method, device, equipment and storage medium
CN112068920A (en) * 2020-09-22 2020-12-11 深圳市欢太科技有限公司 Content display method and device, electronic equipment and readable storage medium
CN112308864A (en) * 2020-10-27 2021-02-02 北京达佳互联信息技术有限公司 Image processing method and device, electronic equipment and storage medium
CN112363660A (en) * 2020-11-09 2021-02-12 北京达佳互联信息技术有限公司 Method and device for determining cover image, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596351A (en) * 2021-07-28 2021-11-02 北京达佳互联信息技术有限公司 Video display method and device
WO2023098326A1 (en) * 2021-11-30 2023-06-08 腾讯科技(深圳)有限公司 Method and apparatus for generating video cover, and device, medium and program product

Similar Documents

Publication Publication Date Title
US20190222624A1 (en) Permission Request For Social Media Content In A Video Production System
CN111930994A (en) Video editing processing method and device, electronic equipment and storage medium
CN111601141A (en) Barrage display method and device, electronic equipment and readable storage medium
CN105205063A (en) Method and system for generating video by combining pictures
CN113157973A (en) Method, device, equipment and medium for generating cover
CN113691854A (en) Video creation method and device, electronic equipment and computer program product
CN103336686A (en) Editing device and editing method for terminal playing template of digital signage system
CN113473207B (en) Live broadcast method and device, storage medium and electronic equipment
US20240121452A1 (en) Video processing method and apparatus, device, and storage medium
CA3001480C (en) Video-production system with dve feature
CN111556357B (en) Method, device and equipment for playing live video and storage medium
CN113452941A (en) Video generation method and device, electronic equipment and storage medium
CN106162353A (en) Interface processing method, Apparatus and system
CN112712575A (en) Sticker template image generation method and device, anchor terminal equipment and storage medium
CN104333699A (en) Synthetic method and device of user-defined photographing area
CN112004138A (en) Intelligent video material searching and matching method and device
CN112565858A (en) Program editing method and device and program publishing method and device
CN114091422A (en) Display page generation method, device, equipment and medium for exhibition
CA2993314A1 (en) News production system with dve template feature
CN100518253C (en) A manuscript writing system
CN113010075B (en) Multi-signal source window interaction method and system, readable storage medium and electronic device
KR102078479B1 (en) Method for editing video and videos editing device
CN113395565A (en) Display method of virtual gift and related device and equipment
CN113891144A (en) Video display method and device
CN111901662A (en) Extended information processing method, apparatus and storage medium for video

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