Video processing method, device, apparatus and computer-readable storage medium

The method and device automatically determine a target clipping scheme for video processing, simplifying operations and enhancing video quality, addressing the complexity and expertise demands of conventional methods.

JP7566937B2Active Publication Date: 2024-10-15DOUYIN VISION CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2022579697
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-23
Filing Date
2021-06-23
Publication Date
2024-10-15
Estimated Expiration
2041-06-23

AI Technical Summary

Technical Problem

Conventional video processing methods are complex and require high user expertise, making it difficult for general users to create high-quality short videos.

Method used

A method and device that automatically determine a target clipping scheme based on the video content, applying special effects to audio and clipping points, allowing for automatic video processing without manual intervention.

Benefits of technology

Simplifies the video processing steps, reduces user expertise requirements, and enhances video quality, enabling efficient generation of high-quality short videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566937000001
    Figure 0007566937000001
  • Figure 0007566937000002
    Figure 0007566937000002
  • Figure 0007566937000003
    Figure 0007566937000003
Patent Text Reader

Abstract

The present disclosure provides a video processing method, apparatus, device, and computer-readable storage medium, the method including: acquiring a target video; determining a target video and a target clipping scheme according to the target video, the target video including one or more of a special effect applied to audio corresponding to the target video, a special effect applied to a clipping point between adjacent videos, a special effect applied within a single video, and a special effect applied to the entire clipped video; and clipping the target video according to the target clipping scheme to obtain a target video. Thus, after receiving the target clipping scheme, the terminal device can directly clip the target video using the target clipping scheme, eliminating the need for a user to manually clip the target video, thereby simplifying the operation steps of video processing. The target video generated by clipping the target video using the target clipping scheme has high video quality and reduces the requirements for user expertise.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the field of artificial functions, and in particular to a video processing method, apparatus, device, computer readable storage medium, computer program product and computer program. [Background technology]

[0002] With the development of science and technology, more and more application software is used in users' lives, and users' leisure life is gradually enriched, such as short video APP (Application), etc. Users can record their lives in ways such as video and upload them to the short video APP.

[0003] The conventional short video creation method generally requires users to find suitable videos or photos from the album by themselves, select suitable clipping methods from a large number of clipping methods, and manually clip the videos or photos according to the clipping methods.

[0004] However, the above short video creation methods often require high user expertise, making it difficult for general users to create professional-level short videos, and the above short video creation methods are complicated to operate, resulting in poor user experience. Summary of the Invention [Problem to be solved by the invention]

[0005] The present disclosure provides a video processing method, an apparatus, a device, a computer-readable storage medium, a computer program product, and a computer program to solve the technical problems of the conventional video processing method, such as high processing difficulty and complicated operation. [Means for solving the problem]

[0006] In a first aspect of the present disclosure, there is provided a video processing method, the method comprising: acquiring a processing target image; determining a target image and a target clipping scheme according to the target image, the target image including one or more of a special effect acting on an audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on an entire clipping image; clipping the target image according to the target clipping scheme to obtain a target video.

[0007] In a second aspect of the present disclosure, there is provided a video processing device, the device comprising: an acquisition module for acquiring an image to be processed; A determination module for determining a target image and a target clipping scheme according to the processing target image, the target clipping scheme including one or more of a special effect acting on an audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on an entire clipping image; a clipping module for clipping the target image according to the target clipping scheme to obtain a target video.

[0008] In a third aspect of the present disclosure, there is provided a server, comprising a memory and a processor, wherein the memory is configured to store instructions executable by the processor; and The processor is configured such that, when executing the instructions, it is used to implement a video processing method according to the first aspect.

[0009] In a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, are used to realize the video processing method according to the first aspect.

[0010] In a fifth aspect of the present disclosure there is provided a computer program product comprising a computer program, said computer program being adapted to realise the video processing method according to the first aspect when executed by a processor.

[0011] In a sixth aspect of the present disclosure, there is provided a computer program, which when executed by a processor is used to implement the video processing method according to the first aspect.

[0012] The video processing method, device, equipment, computer-readable storage medium, computer program product, and computer program provided in the present disclosure obtain a processing target image, and determine a target image and a target clipping scheme according to the processing target image. Thus, the target image can be automatically clipped according to the target clipping scheme to obtain a target video. Here, the target clipping scheme includes one or more of a special effect acting on audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on the entire clipped image. There is no need for a user to manually clip, simplifying the operation steps of video processing and improving the user experience. In addition, the target video generated by clipping the target image according to the target clipping scheme has high video quality, and can reduce the demand for user expertise. [Brief description of the drawings]

[0013] In order to more clearly describe the embodiments of the present disclosure or the technical solutions in the existing technology, the following will briefly introduce drawings necessary for describing the embodiments. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings from these drawings. [Figure 1] 1 is a schematic flowchart of a video processing method provided in Example 1 of the present disclosure. [Diagram 2]FIG. 2 is a system architecture diagram on which the present disclosure is based when a video processing device is coupled to a server. [Diagram 3] FIG. 2 is a schematic diagram of a display screen provided in one embodiment of the present disclosure. [Figure 4] FIG. 13 is a schematic diagram of a display screen provided in another embodiment of the present disclosure. [Diagram 5] 11 is a schematic flowchart of a video processing method provided in Example 2 of the present disclosure. [Figure 6] FIG. 2 is a schematic diagram of a target clipping matching scheme provided in an embodiment of the present disclosure. [Figure 7] 11 is a schematic flowchart of a video processing method provided in Example 3 of the present disclosure. [Figure 8] FIG. 11 is a schematic structural diagram of a video processing device provided in Example 4 of the present disclosure. [Figure 9] FIG. 11 is a schematic structural diagram of a video processing device provided in Example 5 of the present disclosure. [Figure 10] FIG. 13 is a schematic structural diagram of a video processing device provided in Example 6 of the present disclosure. [Figure 11] FIG. 13 is a schematic structural diagram of a server provided in the seventh embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to clarify the objectives, technical solutions and advantages of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described below clearly and completely with reference to the drawings in the embodiments of the present disclosure, but it is clear that the described embodiments are only a part of the embodiments of the present disclosure, and are not all of the embodiments. All other embodiments obtained based on the embodiments of the present disclosure belong to the protection scope of the present disclosure.

[0015] The present disclosure provides a video processing method, an apparatus, a device, a computer-readable storage medium, a computer program product, and a computer program to address the technical problems of the above-mentioned conventional video processing methods, such as high processing difficulty and cumbersome operation.

[0016] It should be noted that the video processing method, apparatus, device, computer-readable storage medium, computer program product, and computer program provided in the present application can be applied to any video clipping scene.

[0017] In the conventional short video application, when a user wants to distribute a video, he or she must first select appropriate videos or photos from the album, manually clip them, and add content such as screen transitions, special effects, filters, etc., which often results in complicated operations. And the above methods have high requirements for users' video clipping expertise, and people who cannot clip videos cannot create effective videos.

[0018] In the process of solving the above technical problems, the inventors have found through research that in order to improve the efficiency and effect of video clipping and reduce the user's manual operation, it is possible to automatically obtain the image to be processed, and automatically determine the target image and the target clipping method according to the image to be processed, thereby realizing automatic video clipping.

[0019] Through further research, the inventors have found that a target image is obtained, and a target image and a target clipping manner are determined according to the target image. The target image can then be automatically clipped according to the target clipping manner to obtain a target video. Here, the target clipping manner includes one or more of the following: a special effect acting on audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on the entire clipped image. There is no need for the user to manually clip, thereby simplifying the operation steps of video processing and improving the user experience. In addition, the target video generated by clipping the target image according to the target clipping manner has high video quality and can reduce the requirement for user expertise.

[0020] FIG. 1 is a schematic flowchart of a video processing method provided in the first embodiment of the present disclosure; Figure 1 As shown, the method includes steps 101 to 103.

[0021] In step 101, a video to be processed is obtained.

[0022] The execution subject of this embodiment may be a video processing device, and the video processing device may be coupled to a server or a terminal device.

[0023] 2 is a system architecture diagram on which the present disclosure is based when a video processing device is coupled to a server. As shown in FIG. 2, the system architecture on which the present disclosure is based includes at least a terminal device 1 and a server 2 on which the video processing device is installed. Here, the corresponding software, programs, instructions, etc. in the video processing device are written using languages ​​such as C / C++, Java (registered trademark), Shell, or Python, and the terminal device 1 may be, for example, a desktop computer, a tablet computer, or other device. The terminal device 1 is communicably connected to the server 2, and can exchange information with the server 2.

[0024] In this embodiment, in order to improve the efficiency and quality of video processing and reduce the user's manual operation, the video processing device can obtain the target image, which may specifically include video and picture. When the video processing device is coupled to a server, the target image may be obtained by the video processing device from a terminal device. When the video processing device is coupled to a terminal device, the target image may be obtained by the video processing device from a preset storage path.

[0025] Here, the video to be processed is acquired by automatically scanning video data stored in an album of a terminal device and then performing an aggregation operation on the video data according to content category information of the video data. Specifically, in order to acquire video information in a user terminal device, the video data stored in an album is automatically scanned according to a preset time interval to acquire the video to be processed. The preset time interval may be a default time interval set in the system, or may be set by a user according to actual needs, for example, 3 days, 1 week, etc.

[0026] In step 102, a target image and a target clipping scheme including one or more of a special effect acting on audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on the entire clipping image are determined according to the image to be processed.

[0027] In this embodiment, after obtaining a target image, the video processing device can determine a target image and a target clipping scheme according to the target image, and the target clipping scheme is specifically used to clip the target image, where the clipping scheme may include a clipping template.

[0028] Here, the target clipping method includes one or more of special effects acting on the audio corresponding to the target image, special effects acting on the clipping point between adjacent images, special effects acting within a single image, and special effects acting on the entire clipped image.

[0029] The target clipping manner includes one or more of the above special effects, so that the target video obtained by clipping according to the target clipping manner is effective.

[0030] In step 103, the target image is clipped according to the target clipping manner to obtain a target video.

[0031] In this embodiment, after obtaining the target image and the target clipping manner, the video processing device can automatically clip the target image according to the target clipping manner to obtain the target video, which does not require the user to manually operate, and can automatically generate an effective target video, thereby improving the user experience.

[0032] Optionally, when the video processing device is coupled to a server, the video processing device can send the target image and the target clipping scheme together to a terminal device, so that the terminal device can automatically clip the target image according to the target clipping scheme after obtaining the target clipping scheme and the target image to generate a target video.

[0033] Optionally, when the video processing device is coupled to the server, the video processing device automatically clips the target image according to the target clipping manner to obtain a target video, and transmits the target video to a terminal device for display.

[0034] In practical application, the target videos may correspond to different video categories, such as landscape category, portrait category, etc. Therefore, when the target videos are displayed on the terminal device, a video category corresponding to each target video can be determined respectively to improve the user's browsing efficiency of the target videos, and the target videos are classified and displayed according to the video categories.

[0035] The video processing method of the present application may further include the following steps: obtaining a target video sent by a terminal device, performing a classification operation on each target video and setting a content category tag for each target video according to category information, performing an aggregation operation on the content category tags corresponding to each target video to obtain an aggregated target video, performing a matching operation on the target video and content category tags corresponding to a plurality of preset clipping schemes to obtain a target clipping scheme corresponding to the target video, and transmitting the target clipping scheme and the target video to the terminal device.

[0036] 3 is a schematic diagram of a display screen provided in an embodiment of the present disclosure, and as shown in FIG. 3, the video category may include beat-matching type, travel type, movie effect type, etc. In addition, high-quality target videos within a preset time threshold can be selected and preferentially displayed on the top page as a recommended category.

[0037] After each target video is displayed on the display screen, the user can select an appropriate target video for editing or distribution. Specifically, in response to a trigger operation of the user on the target video, an editing screen corresponding to the target video can be displayed on the display screen in response to the trigger operation.

[0038] Specifically, the user can input an editing command by triggering a preset icon on the editing screen, and the terminal device can edit the target video according to the editing command to obtain an edited target video, which can better meet the user's personalized needs.

[0039] Correspondingly, after editing the target video and obtaining the edited target video, the edited target video can be distributed to the platform. In addition, during the video distribution, the user can set different viewing permissions for the edited target video according to actual needs, for example, the viewing permissions include: anyone can view, designated users can view, only the user can view, designated users cannot view, etc.

[0040] In a possible embodiment, after obtaining the edited target video, the edited target video may not be distributed, but may be stored in a preset storage path, or the edited target video may be shared so that other users can view it, and this disclosure does not impose any restrictions thereon.

[0041] 4 is a schematic diagram of a display screen provided in another embodiment of the present disclosure, and as shown in FIG. 4, the editing screen is provided with a music selection icon and an adjustment icon, and a user can trigger the icons to generate an editing command. After obtaining the editing command, the editing screen jumps to an editing details page, and the user can perform the corresponding editing operation on the editing details page according to the instructions on the display screen.

[0042] It should be noted that, since the corresponding target clipping methods are different, different target videos have different editing types. Here, the editing types include any one of editable, partially editable, and non-editable. For example, the target video may be a beat-matched video created on the day of a user's birthday, where the background music may be a voice such as "Happy Birthday", "happy birthday", etc., and correspondingly, in the clipping method, the text information may be text related to the birthday. In this case, since the background music and the text information are highly matched, the target video cannot independently edit both the background music and the text information, but the user can independently adjust the video section or the order of pictures in the target video.

[0043] The video processing method provided in this embodiment obtains a processing target image, and determines a target image and a target clipping scheme according to the processing target image. The target image can be automatically clipped according to the target clipping scheme to obtain a target video. Here, the target clipping scheme includes one or more of special effects acting on audio corresponding to the target image, special effects acting on clipping points between adjacent images, special effects acting within a single image, and special effects acting on the entire clipped image. There is no need for the user to manually clip, which simplifies the operation steps of video processing and improves the user experience. In addition, the target video generated by clipping the target image using the target clipping scheme has high video quality and can reduce the requirement for user expertise.

[0044] FIG. 5 is a schematic flowchart of a video processing method provided in the second embodiment of the present disclosure. Based on the first embodiment, as shown in FIG. 5, step 102 specifically includes: determining content category tags corresponding to the target image and a plurality of preset clipping methods respectively; determining 202 the target image and the target clipping scheme according to content category tags corresponding to the image to be processed and a plurality of preset clipping schemes;

[0045] In this embodiment, the target video and the preset multiple clipping methods each correspond to a content category tag, including but not limited to landscape, portrait, food, travel, pet, etc. For the target video of different content categories, the clipping methods related to the content categories are respectively used to clip the video, and the effect of the obtained target video is better.

[0046] Therefore, after obtaining the target image, content category tags corresponding to the target image and a plurality of preset clipping schemes can be determined, and the target image and the target clipping scheme are determined according to the content category tags.

[0047] The target clipping scheme is obtained after performing a matching operation according to the content category tag corresponding to the target image, so that the matching degree between the target clipping scheme and the target image is high. The video generated after clipping with the target clipping scheme is effective. In addition, the target clipping scheme includes one or more of the following special effects: special effects acting on the audio corresponding to the target image, special effects acting on the clipping point between adjacent images, special effects acting within a single image, and special effects acting on the entire clipped image, so that the user does not need to manually select the above information in order, thereby improving the efficiency of video generation, improving the user's experience, and reducing the requirement for user expertise.

[0048] Specifically, based on the first embodiment, step 202 specifically includes: determining a target clipping scheme, which has a matching degree with a content category tag corresponding to the image to be processed that exceeds a preset threshold, from content category tags corresponding to a plurality of preset clipping schemes using a preset tag matching algorithm; performing a selection operation on the processing target image according to the target clipping scheme to obtain a target image corresponding to the target clipping scheme.

[0049] In this embodiment, in order to improve the quality of the created target video, a target clipping scheme is obtained according to the matching of the target video, and then a selection and optimization operation is performed on the target video according to the target clipping scheme, so that the matching degree between the target video and the target clipping scheme can be further improved.

[0050] Specifically, a preset tag matching algorithm can be used to determine a target clipping scheme whose matching degree with the content category tag corresponding to the image to be processed exceeds a preset threshold from content category tags corresponding to multiple preset clipping schemes. For example, the similarity between the content category tag corresponding to each clipping scheme and the content category tag corresponding to the image to be processed can be calculated using the preset tag matching algorithm, and the clipping scheme whose similarity degree exceeds the preset threshold can be determined as the target clipping scheme.

[0051] Because the number of images to be processed is large, after the target clipping scheme is obtained, a selection operation can be further performed on the images to be processed according to the target clipping scheme to obtain a target image corresponding to the target clipping scheme.

[0052] 6 is a schematic diagram of target clipping scheme matching provided in an embodiment of the present disclosure. As shown in FIG. 6, the number of target images can be four, and a preset tag matching algorithm is used to match the target images with corresponding target clipping schemes. Then, the target images are reversely sorted according to the target clipping schemes, and two target images corresponding to the target clipping schemes are finally obtained. The matching degree between the target images and the target clipping schemes is further improved, and the quality of the generated target video is improved.

[0053] The video processing method provided in this embodiment can obtain a target clipping scheme according to matching of a target image, and then perform a selection and optimization operation on the target image according to the target clipping scheme, thereby further improving the matching degree between the target image and the target clipping scheme and improving the quality of the created target video.

[0054] To realize the target clipping scheme and the determination operation on the target image, the serial matching method described in the above embodiment may be used, but a parallel matching method may also be used.

[0055] Specifically, based on the first embodiment, step 202 specifically includes: using a preset tag matching algorithm to determine a clipping scheme group having a matching degree with a content category tag corresponding to the target image that exceeds a preset threshold according to content category tags corresponding to the preset multiple clipping schemes, thereby obtaining a first matching group including the target image and the clipping scheme group; determining a group of images to be processed, the group of images having a matching degree with the content category tag corresponding to the plurality of preset clipping methods exceeding a preset threshold value according to a content category tag corresponding to the image to be processed, to obtain a second matching group including the group of images to be processed and the plurality of preset clipping methods; determining a target image and a target clipping scheme according to the first matching group and the second matching group.

[0056] In this embodiment, a preset tag matching algorithm is used to determine a clipping scheme group whose matching degree with the content category tag corresponding to the image to be processed exceeds a preset threshold from content category tags corresponding to a plurality of preset clipping schemes, and a first matching group including the image to be processed and the clipping scheme group is obtained. For example, the similarity between the content category tag corresponding to each clipping scheme and the content category tag corresponding to the image to be processed can be calculated by the preset tag matching algorithm, and the clipping scheme whose similarity degree exceeds the preset threshold can be the clipping scheme group.

[0057] At the same time, a preset tag matching algorithm can be used to determine a group of images to be processed that has a matching degree with the preset multiple clipping schemes that exceeds a preset threshold from the multiple images to be processed, thereby obtaining a second matching group including the group of images to be processed and the preset multiple clipping schemes, where the number of clipping schemes in the preset multiple clipping schemes is greater than the number of clipping schemes in the clipping scheme group.

[0058] After obtaining the first matching group and the second matching group, a target clipping scheme and a target image can be determined according to the first matching group and the second matching group.

[0059] Further, based on any one of the above embodiments, the step of determining a target image and a target clipping manner according to the first matching group and the second matching group includes: The method includes calculating an intersection group between the first matching group and the second matching group, and determining a target image and a clipping scheme in the intersection group as the target image and a target clipping scheme.

[0060] In this embodiment, the first matching group and the second matching group may be taken as a common set, and the common set may have a high matching degree with the target image group and the clipping scheme group, so that the target image and the clipping scheme in the common set group may be used as the target image and the target clipping scheme.

[0061] Further, based on any of the above embodiments, after calculating the intersection group of the first matching group and the second matching group, the method further comprises: When the number of images to be processed in the intersection group is smaller than a preset threshold value for the number of images to be processed, the method includes a step of determining a clipping scheme group from a plurality of preset clipping schemes, the clipping scheme group having a matching degree with a content category tag corresponding to the images to be processed that exceeds a preset threshold value, performing a selection operation on the images to be processed according to the clipping scheme group to obtain a target image corresponding to the clipping scheme group, and setting the clipping scheme group as the target clipping scheme.

[0062] In this embodiment, when the number of images to be processed in the intersection group between the first matching group and the second matching group is small, the quality of the video generated according to the intersection group is correspondingly poor. Therefore, in this case, a clipping scheme and an image to be processed can be determined using a serial matching scheme. Specifically, a clipping scheme group whose matching degree with the content category tag corresponding to the preset image to be processed exceeds a preset threshold is determined from content category tags corresponding to a plurality of preset clipping schemes, and then a selection operation is performed on the image to be processed according to the clipping scheme group to obtain a target image corresponding to the clipping scheme group.

[0063] Correspondingly, the video processing device can send both the target clipping scheme and the target image to the terminal device, so that the terminal device performs a clipping operation on the target image according to the target clipping scheme.

[0064] The video processing method provided in this embodiment determines clipping scheme groups and corresponding target images using a parallel matching method, thereby improving the matching degree between the target image and the clipping scheme group and improving the quality of the generated target video.

[0065] FIG. 7 is a schematic flowchart of a video processing method provided in the third embodiment of the present disclosure. Based on any of the above embodiments, as shown in FIG. 7, step 102 specifically includes: A step 301 of obtaining a target clipping scheme determined in response to a template selection operation triggered by a user; Step 302 includes using a preset tag matching algorithm to match a target image in the target image, the target image corresponding to the target clipping scheme.

[0066] In this embodiment, the video processing device can further determine a target clipping manner according to user's personalized needs, specifically, can obtain a target clipping manner, where the target clipping manner is determined by user's triggering template selection operation according to actual needs.

[0067] After obtaining the target clipping scheme, a preset tag matching algorithm can be used to match a target image corresponding to the target clipping scheme in the target image corresponding to the terminal device.

[0068] After obtaining the target image and the target clipping manner, the video processing device can automatically clip the target image according to the target clipping manner to obtain the target video, which does not require the user's manual operation and can automatically generate an effective target video, thereby improving the user's experience.

[0069] The video processing method provided in this embodiment automatically matches a corresponding target image according to a target clipping method selected by a user, so that the terminal device can automatically generate a corresponding target video according to the target image, without requiring excessive manual operations by the user, thereby improving the generation efficiency of the target video and the quality of the generated target video, and improving the user experience.

[0070] Figure 8 is a schematic structural diagram of a video processing device provided in Example 4 of the present disclosure. As shown in Figure 8, the video processing device includes: an acquisition module 41 for acquiring a target image to be processed; a determination module 42 for determining a target image and a target clipping scheme according to the target image to be processed, the target clipping scheme including one or more of special effects acting on audio corresponding to the target image, special effects acting on clipping points between adjacent images, special effects acting within a single image, and special effects acting on the entire clipped image; and a clipping module 43 for clipping the target image to acquire a target video according to the target clipping scheme.

[0071] The video processing device provided in this embodiment obtains a processing target image, and determines a target image and a target clipping scheme according to the processing target image. The target image can be automatically clipped according to the target clipping scheme to obtain a target video. Here, the target clipping scheme includes one or more of special effects acting on audio corresponding to the target image, special effects acting on clipping points between adjacent images, special effects acting within a single image, and special effects acting on the entire clipped image. There is no need for the user to manually clip, which simplifies the operation steps of video processing and improves the user experience. In addition, the target video generated by clipping the target image using the target clipping scheme has high video quality, which reduces the requirement for user expertise.

[0072] 9 is a schematic structural diagram of a video processing device provided in the fifth embodiment of the present disclosure. Based on the fourth embodiment, the determination module 42 specifically includes a tag determination unit 51 and a matching unit 52. Here, the tag determination unit 51 is used for respectively determining the content category tags corresponding to the target image and a plurality of preset clipping schemes. The matching unit 52 is used for determining the target image and the target clipping scheme according to the content category tags corresponding to the target image and a plurality of preset clipping schemes.

[0073] Further, based on any of the above embodiments, the matching unit 52 may further include: determining a target clipping scheme, the target clipping scheme having a matching degree with a content category tag corresponding to the image to be processed that exceeds a preset threshold, from content category tags corresponding to a plurality of preset clipping schemes using a preset tag matching algorithm; A selection operation is performed on the processing target image according to the target clipping scheme to obtain a target image corresponding to the target clipping scheme.

[0074] Further, based on any of the above embodiments, the matching unit 52 may further include: using a preset tag matching algorithm, a clipping scheme group having a matching degree with a content category tag corresponding to the target image that exceeds a preset threshold according to content category tags corresponding to the preset multiple clipping schemes is determined, and a first matching group including the target image and the clipping scheme group is obtained; determining a group of images to be processed, the group of images having a degree of matching with a content category tag corresponding to the plurality of preset clipping methods exceeding a preset threshold value according to a content category tag corresponding to the image to be processed, to obtain a second matching group including the group of images to be processed and the plurality of preset clipping methods; A target image and a target clipping scheme are determined according to the first matching group and the second matching group.

[0075] Further, based on any of the above embodiments, the matching unit 52 may further include: The method is used to calculate an intersection group between the first matching group and the second matching group, and to set a target image and a clipping scheme in the intersection group as the target image and a target clipping scheme.

[0076] Further, based on any of the above embodiments, the matching unit 52 may further include: When the number of images to be processed in the intersection group is smaller than the preset threshold value for the number of images to be processed, a clipping scheme group is determined from a plurality of preset clipping schemes, the clipping scheme group having a matching degree with the content category tag corresponding to the images to be processed that exceeds the preset threshold value, and then a selection operation is performed on the images to be processed according to the clipping scheme group to obtain a target image corresponding to the clipping scheme group, and the clipping scheme group is used to become the target clipping scheme.

[0077] FIG. 10 is a schematic structural diagram of a video processing device provided in the sixth embodiment of the present disclosure. Based on any of the above embodiments, Figure 10 As shown in FIG. 1, the determination module 42 includes a clipping scheme acquisition unit 61 and a determination unit 62. Here, the clipping scheme acquisition unit 61 is used for acquiring a target clipping scheme determined according to a template selection operation triggered by a user. The determination unit 62 is used for matching a target image corresponding to the target clipping scheme in the to-be-processed image by using a preset tag matching algorithm.

[0078] FIG. 11 is a schematic structural diagram of a server provided in the seventh embodiment of the present disclosure. As shown in FIG. 11, the server includes a memory 71 and a processor 72. wherein the memory 71 is configured to store instructions executable by the processor 72; The processor 72, when executing the instructions, is used to implement the video processing method according to any of the above embodiments.

[0079] The memory 71 is used to store programs. Specifically, the programs may include program codes including computer operation instructions. The memory 71 may include a high-speed random access memory (RAM) and may further include a non-volatile memory such as at least one magnetic disk memory.

[0080] Here, the processor 72 may be a Central Processing Unit (abbreviated as CPU) or an Application Specific Integrated Circuit (abbreviated as ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.

[0081] Optionally, in a specific implementation, when the memory 71 and the processor 72 are implemented separately, the memory 71 and the processor 72 can be connected to each other by a bus to communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For convenience of illustration, only one thick line is shown in FIG. 11, but this does not indicate that there is only one bus or one type of bus.

[0082] Optionally, in a specific implementation, when the memory 71 and the processor 72 are integrated and implemented in one chip, the memory 71 and the processor 72 can communicate with each other through an internal interface.

[0083] Another embodiment of the present disclosure further provides a computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being used to realize the video processing method according to any of the above embodiments when executed by a processor.

[0084] Another embodiment of the present disclosure further provides a computer program product including a computer program, which, when executed by a processor, is used to implement a video processing method such as any of the embodiments described above.

[0085] Another embodiment of the present disclosure further provides a computer program, which, when executed by a processor, is used to implement a video processing method such as any of the above embodiments.

[0086] Those skilled in the art can clearly understand that for convenience and conciseness of description, the specific operating processes of the above-described apparatus may refer to the corresponding processes in the above method embodiments, and detailed descriptions will be omitted here.

[0087] Those skilled in the art can understand that all or part of the steps of implementing each of the above method embodiments may be implemented by hardware associated with program instructions. The above program may be stored in a computer-readable storage medium. When the program is executed, it executes the steps included in each of the above method embodiments, and the above storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.

[0088] Finally, it should be noted that the above embodiments are merely for illustrating the technical solutions of the present disclosure, and are not intended to limit the same. Although the present disclosure has been described in detail with reference to the above embodiments, those skilled in the art can still understand that the technical solutions described in the above embodiments can be modified or some or all of the technical features therein can be equivalently substituted, and such modifications or substitutions do not deviate from the essence of the technical solutions of the embodiments of the present disclosure.

[0089] This application claims priority to a Chinese patent application bearing application number 202010582609.X and entitled "Video Processing Method, Apparatus, Device and Computer-Readable Storage Medium" filed with the China Patent Office on June 23, 2020, the entire contents of which are incorporated herein by reference.

Claims

1. acquiring a processing target image; determining a target image and a target clipping scheme according to the processing target image, the target clipping scheme including one or more of a special effect acting on an audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on an entire clipping image; clipping the target image according to the target clipping scheme to obtain a target video; determining a target image and a target clipping scheme according to the processing target image, determining content category tags corresponding to the target image and a plurality of preset clipping methods; determining the target image and the target clipping scheme according to content category tags corresponding to the target image and a plurality of preset clipping schemes; determining the target image and the target clipping scheme according to content category tags corresponding to the image to be processed and a plurality of preset clipping schemes, using a preset tag matching algorithm to determine a clipping scheme group having a matching degree with a content category tag corresponding to the target image that exceeds a preset threshold according to content category tags corresponding to the preset multiple clipping schemes, thereby obtaining a first matching group including the target image and the clipping scheme group; determining a group of images to be processed, the group of images having a matching degree with the content category tag corresponding to the plurality of preset clipping methods exceeding a preset threshold value according to a content category tag corresponding to the image to be processed, to obtain a second matching group including the group of images to be processed and the plurality of preset clipping methods; determining the target image and the target clipping scheme according to the first matching group and the second matching group; 13. A video processing method comprising:

2. determining the target image and the target clipping scheme according to the first matching group and the second matching group, calculating an intersection group between the first matching group and the second matching group; and determining a target image and a clipping scheme in the intersection group as the target image and the target clipping scheme.

2. The video processing method of claim 1.

3. After the step of calculating an intersection group of the first matching group and the second matching group, further comprising: When the number of images to be processed in the intersection group is smaller than a preset threshold value for the number of images to be processed, determining a clipping scheme group from a plurality of preset clipping schemes, the clipping scheme group having a matching degree with a content category tag corresponding to the images to be processed that exceeds a preset threshold value, and then performing a selection operation on the images to be processed according to the clipping scheme group to obtain the target images corresponding to the clipping scheme group, and setting the clipping scheme group as the target clipping scheme.

3. A video processing method according to claim 2.

4. The step of determining a target image and a target clipping scheme includes: obtaining a target clipping scheme determined in response to a template selection operation triggered by a user; and matching the target image corresponding to the target clipping scheme in the target image using a preset tag matching algorithm. A video processing method according to any one of claims 1 to 3.

5. an acquisition module for acquiring an image to be processed; A determination module for determining a target image and a target clipping scheme according to the processing target image, the target clipping scheme including one or more of a special effect acting on an audio corresponding to the target image, a special effect acting on a clipping point between adjacent images, a special effect acting within a single image, and a special effect acting on an entire clipping image; a clipping module for clipping the target image according to the target clipping manner to obtain a target video; The determination module further includes a tag determination unit and a matching unit, the tag determination unit is used for respectively determining content category tags corresponding to the target image and a plurality of preset clipping schemes, and the matching unit is used for determining the target image and the target clipping scheme according to the content category tags corresponding to the target image and a plurality of preset clipping schemes; the matching unit is used to determine, using a preset tag matching algorithm, a clipping scheme group having a matching degree with a content category tag corresponding to the target image that exceeds a preset threshold according to a content category tag corresponding to the preset multiple clipping schemes, thereby obtaining a first matching group including the target image and the clipping scheme group; determine, according to a content category tag corresponding to the target image, a processing target image group having a matching degree with a content category tag corresponding to the preset multiple clipping schemes that exceeds a preset threshold, thereby obtaining a second matching group including the processing target image group and the preset multiple clipping schemes; and determine the target image and the target clipping scheme according to the first matching group and the second matching group.

13. A video processing device comprising:

6. A server including a memory and a processor, the memory is configured to store instructions executable by the processor; The processor-executable instructions, when executed by the processor, cause the server to perform a video processing method according to any one of claims 1 to 4. A server comprising:

7. A computer-executable instruction is stored which, when executed by a processor, implements the video processing method of any one of claims 1 to 4. A computer-readable storage medium comprising:

8. When executed by a processor, the video processing method according to any one of claims 1 to 4 is implemented. A computer program comprising:

Citation Information

Patent Citations

  • Information processor, information processing method and program

    JP2011170690A