Search

EP-4738810-A1 - VIDEO PROCESSING METHOD AND APPARATUS, DEVICE, COMPUTER READABLE STORAGE MEDIUM, AND PRODUCT

EP4738810A1EP 4738810 A1EP4738810 A1EP 4738810A1EP-4738810-A1

Abstract

Embodiments of the disclosure provide a method, an apparatus, a device, a computer readable storage medium and a product for video processing. The method includes: displaying, in a video editing interface, a content associated with a video to be processed and a predetermined camera movement processing control, where the associated content includes a video track corresponding to the video to be processed, and any video frame; determining at least one target camera movement template generated by a user, in response to a trigger operation by the user based on the camera movement processing control, the target camera movement template including a motion parameter associated with a camera movement operation; and performing, based on the at least one target camera movement template, video processing on the video to be processed to obtain a target video. The user does not need to manually control the operation of camera movement, pause, rotation and the like in a capturing process. The difficulty of camera movement processing is reduced, and displayed contents and interaction modes withinin the video editing interface are enriched.

Inventors

  • WANG, JING
  • LI, JIAN
  • XU, WANG
  • XU, Yitian

Assignees

  • Beijing Zitiao Network Technology Co., Ltd.

Dates

Publication Date
20260506
Application Date
20240625

Claims (14)

  1. A method of video processing, comprising: displaying, in a video editing interface, a content associated with a video to be processed and a predetermined camera movement processing control, wherein the associated content comprises a video track corresponding to the video to be processed, and any video frame; determining at least one target camera movement template generated by a user, in response to a trigger operation by the user based on the camera movement processing control, the target camera movement template comprising a motion parameter associated with a camera movement operation; and performing, based on the at least one target camera movement template, video processing on the video to be processed to obtain a target video.
  2. The method of claim 1, wherein determining the target camera movement template generated by the user, in response to the trigger operation by the user based on the camera movement processing control comprises: displaying, in the video editing interface, a plurality of predetermined camera movement type controls in response to the trigger operation by the user based on the camera movement processing control; determining a camera movement type control selected by the user as a target type, in response to a selection operation by the user based on the camera movement type control; and determining at least one camera movement template corresponding to the target type as the at least one target camera movement template.
  3. The method of claim 2, wherein after determining the camera movement type control selected by the user as the target type, in response to the selection operation by the user based on the camera movement type control, the method further comprises: displaying a predetermined adjustment control in response to a trigger operation by the user on the camera movement type control; determining a target adjustment parameter generated by the user, in response to a regulation operation triggered by the user based on the adjustment control; and performing, based on the target adjustment parameter, an adjusting operation on the at least one camera movement template corresponding to the target type to obtain the at least one target camera movement template.
  4. The method of claim 3, wherein the adjustment control comprises at least one regulation slider corresponding to at least one adjustment parameter, the adjustment parameter comprising at least one of a scaling adjustment parameter, a rotation adjustment parameter, or a movement adjustment parameter; and determining the target adjustment parameter generated by the user, in response to the regulation operation triggered by the user based on the adjustment control comprises: obtaining at least one adjustment parameter determined by the user, in response to a sliding operation by the user on the at least one regulation slider, and determining the at least one adjustment parameter as the target adjustment parameter.
  5. The method of claim 2, wherein displaying, in the video editing interface, the plurality of predetermined camera movement type controls in response to the trigger operation by the user based on the camera movement processing control comprises: displaying, in the video editing interface, a first camera movement control and a second camera movement control in response to the trigger operation by the user based on the camera movement processing control; and displaying, in the video editing interface, the plurality of predetermined camera movement type controls in response to a trigger operation by the user on the first camera movement control.
  6. The method of claim 1, wherein after performing, based on the at least one target camera movement template, the video processing on the video to be processed to obtain the target video, the method further comprises: displaying, in the video editing interface, a first camera movement control and a second camera movement control in response to the trigger operation by the user based on the camera movement processing control; and displaying, in the video editing interface, a predetermined first prompt control in response to a trigger operation by the user on the second camera movement control, wherein the first prompt control is configured to prompt the user that a camera movement effect corresponding to the first camera movement control and a camera movement effect corresponding to the second camera movement control are mutually exclusive.
  7. The method of any of claims 1-6, wherein performing, based on the at least one target camera movement template, the video processing on the video to be processed to obtain the target video comprises: determining at least one key frame corresponding to the video to be processed; determining, for each key frame, according to a video parameter associated with the key frame, the target camera movement template corresponding to the key frame, wherein the video parameter comprises at least one of an action parameter, a music beat parameter, an original camera movement parameter, or a transition parameter; and performing camera movement processing on each key frame according to the target camera movement template corresponding to the key frame to obtain the target video.
  8. The method of claim 7, wherein the video editing interface comprises a background music recognition control; and after determining the at least one target camera movement template generated by the user, in response to the trigger operation by the user based on the camera movement processing control, the method further comprises: performing a recognition operation on a beat of background music corresponding to the video to be processed, in response to a trigger operation by the user on the background music recognition control, to obtain beat information corresponding to the video to be processed; displaying a beat regulation control in the video editing interface, wherein the beat regulation control is configured to adjust a speed of the beat information; and performing an adjustment operation on at least one key frame corresponding to the video to be processed, in response to a beat regulation parameter generated by the user based on the beat regulation control.
  9. The method of any of claims 1-6, wherein after performing, based on the at least one target camera movement template, the video processing on the video to be processed to obtain the target video, the method further comprises: displaying a predetermined adjustment control in response to a trigger operation by the user on the camera movement type control; and displaying, in the video editing interface, a predetermined second prompt control in response to an regulation operation triggered by the user based on the adjustment control, the second prompt control being configured to prompt that the regulation operation is to change a processing effect of performing the video processing on the video to be processed based on the at least one target camera movement template.
  10. The method of any of claims 1-6, further comprising: displaying, in the video editing interface, in response to an addition operation triggered by the user, the content associated with the video to be processed and a content associated with the picture-in-picture video determined by the user, respectively; determining a video selected by the user as a current target video, in response to a selection operation triggered by the user on the picture-in-picture video; determining at least one camera movement template corresponding to the target video generated by the user, in response to a trigger operation by the user on the camera movement processing control; and performing, based on the at least one camera movement template, video processing on the target video.
  11. An apparatus for video processing, comprising: a display module configured to display, in a video editing interface, a content associated with a video to be processed and a predetermined camera movement processing control, wherein the associated content comprises a video track corresponding to the video to be processed, and any video frame; a determining module configured to determine at least one target camera movement template generated by a user, in response to a trigger operation by the user based on the camera movement processing control, the target camera movement template comprising a motion parameter associated with a camera movement operation; and a processing module configured to perform, based on the at least one target camera movement template, video processing on the video to be processed to obtain a target video.
  12. An electronic device, comprising: a processor and a memory; the memory storing computer executable instructions; the processor executing the computer executable instructions stored by the memory, to cause the processor to perform the method of video processing according to any of claims 1 to 10.
  13. A computer readable storage medium storing computer executable instructions, the computer executable instructions, when executed by a processor, implementing the method of video processing according to any of claims 1 to 10.
  14. A computer program product, comprising a computer program, the computing program, when executed by a processor, implementing the method of video processing according to any of claims 1 to 10.

Description

This application claims the priority of Chinese Patent Application No. 202310770257.4, entitled "METHOD, APPARATUS, DEVICE, COMPUTER READABLE STORAGE MEDIUM AND PRODUCT FOR VIDEO PROCESSING," filed June 27, 2023, the entire contents of which are incorporated herein by reference. FIELD The embodiments of the disclosure relate to the technical field of interface interaction, in particular to a method, an apparatus, a device, a computer readable storage medium and a product for video processing. BACKGROUND Camera movement, that is, a moving camera, mainly refers to a means of capturing a video through movement of the camera itself. In order to optimize a display effect of film and television works, a moving camera is used to capture a content in most of the film and television works. With development of networks, more and more applications on the Internet provide users with the functions of uploading and posting original videos. In order to improve video quality of the posted video and achieve a display effect of the camera movement, the user is usually required to perform operations such as rotation, movement and the like on the camera. The operations are often cumbersome and difficulty of the operations is high, resulting in poor user experience. SUMMARY The embodiments of the disclosure provide a method, an apparatus, a device, a computer readable storage medium and a product for video processing, which are used for solving the technical problem that a manual camera movement operation is cumbersome and difficult in a process of video generating. According to a first aspect, an embodiment of the present disclosure provides a method of processing a video, comprising: displaying, in a video editing interface, a content associated with a video to be processed and a predetermined camera movement processing control, where the associated content comprises a video track corresponding to the video to be processed, and any video frame; determining at least one target camera movement template generated by a user, in response to a trigger operation by the user based on the camera movement processing control, the target camera movement template comprising a motion parameter associated with a camera movement operation; and performing, based on the at least one target camera movement template, video processing on the video to be processed to obtain a target video. According to a second aspect, an embodiment of the present disclosure provides an apparatus for processing a video, comprising: a display module configured to display, in a video editing interface, a content associated with a video to be processed and a predetermined camera movement processing control, where the associated content comprises a video track corresponding to the video to be processed, and any video frame; a determining module configured to determine at least one target camera movement template generated by a user, in response to a trigger operation by the user based on the camera movement processing control, the target camera movement template comprising a motion parameter associated with a camera movement operation; a processing module configured to perform, based on the at least one target camera movement template, video processing on the video to be processed to obtain a target video. According to a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor and a memory. The memory stores computer executable instructions. The processor executes the computer executable instructions stored by the memory, to cause the at least one processor to perform the method of processing a video of the above first aspect and various possible design of the first aspect. According to a fourth aspect, an embodiment of the present disclosure provides a computer readable storage medium storing computer executable instruction. The computer executable instructions, when executed by a processor, implements the method of processing a video of the above first aspect and various possible design of the first aspect. According to a fifth aspect, an embodiment of the present disclosure provides a computer program product, comprising a computer program. The computing program, when executed by a processor, implements the method of processing a video of the above first aspect and various possible designs of the first aspect. BRIEF DESCRIPTION OF DRAWINGS In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the related art, the accompanying drawings need to be used in the description of the embodiments or the related art will be briefly introduced below. It will be apparent that the drawings in the following description are some embodiments of the present disclosure. For those skilled in the art, other drawings may also be obtained according to these drawings without making creative effort. FIG. 1 is a schematic flowchart of a method of video processing provided by an embodim