WO2024056023A1 - 一种视频编辑方法、装置、设备及存储介质 - Google Patents

一种视频编辑方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024056023A1
WO2024056023A1 PCT/CN2023/118776 CN2023118776W WO2024056023A1 WO 2024056023 A1 WO2024056023 A1 WO 2024056023A1 CN 2023118776 W CN2023118776 W CN 2023118776W WO 2024056023 A1 WO2024056023 A1 WO 2024056023A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
frame
editing
freeze
clip
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.)
Ceased
Application number
PCT/CN2023/118776
Other languages
English (en)
French (fr)
Inventor
贾松
纪盈瑄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to KR1020247041777A priority Critical patent/KR20250011657A/ko
Priority to JP2023578985A priority patent/JP7711231B2/ja
Priority to EP23818220.8A priority patent/EP4362450A4/en
Priority to US18/543,807 priority patent/US12051447B2/en
Publication of WO2024056023A1 publication Critical patent/WO2024056023A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/036Insert-editing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Definitions

  • Embodiments of the present disclosure relate to a video editing method, device, equipment and storage medium.
  • a video editing method which method includes:
  • the present disclosure provides a video editing method, the method including:
  • the target video template According to the video editing operation indicated by the target video template, generate a first video segment and a freeze-frame video segment based on the first video material, and synthesize the target video based on the first video segment and the freeze-frame video segment;
  • the target video template is used to instruct video editing operations on the added video material to generate multiple video clips and synthesize them; the target video template records the first video clip and the freeze-frame video clip. and the position information of the designated video frame image in the first video clip; the freeze-frame video clip is based on the designated video in the first video clip Video clips obtained by freeze-frame processing of images.
  • the method before synthesizing the target video based on the first video clip and the freeze-frame video clip, the method further includes:
  • the method before synthesizing the target video based on the first video clip and the freeze-frame video clip, the method further includes:
  • the editing operation After receiving the editing operation for the first video segment, obtain the editing result video segment corresponding to the first video segment; wherein the editing operation includes a replacement operation, a shooting operation or a cropping operation;
  • the synthesis of the target video based on the first video clip and the freeze-frame video clip includes:
  • a target video is obtained by synthesizing the edited result video clip and the edited freeze-frame video clip.
  • the playback time information of the freeze-frame video clip is recorded in the target video template; the video editing operation indicated by the target video template is generated based on the first video material.
  • First video clip and stop motion video clip including:
  • a stop-motion video corresponding to the first video material is generated according to the video editing operation indicated by the target video template. fragment.
  • the freeze-frame video clip is recorded in the target video template.
  • the corresponding picture-in-picture identification, the picture-in-picture identification is used to indicate whether the freeze-frame video clip is in the form of picture-in-picture;
  • Stop motion video clips including:
  • the first video is generated according to the video editing operation indicated by the target video template
  • the stop-motion video clip corresponding to the material.
  • the present disclosure also provides a video editing method, the method including:
  • the designated video frame image is used to obtain the result after freeze-frame processing.
  • the freeze-frame video clip; the video editing draft includes original video material and video editing operations for the original video material;
  • a template publishing operation for the video editing draft based on the video editing draft, the mapping relationship between the freeze-frame video segment and the first video material, and the position of the specified video frame image in the first video segment Information, generate and publish a video template corresponding to the video editing draft; the video template is used to instruct to perform the video editing operation on the added video material to generate and synthesize the first video clip and the freeze-frame video clip. for the target video.
  • obtaining the mapping relationship between the freeze-frame video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip includes:
  • the mapping relationship between the freeze-frame video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip are obtained.
  • the method further includes:
  • a script setting column corresponding to the original video material is displayed on the script editing page; wherein, the script editing column is used to add an editing script corresponding to the original video material;
  • the response to the template publishing operation for the video editing draft is based on the mapping relationship between the video editing draft, the freeze-frame video segment and the first video material, and the specified content in the first video segment. position information of the video frame image, generate and publish the video editing draft Video templates corresponding to the manuscript, including:
  • the editing script corresponding to the original video material in the video editing draft, the mapping relationship between the freeze-frame video segment and the first video material and the position information of the specified video frame image in the first video clip, and generate and publish a video template corresponding to the video editing draft.
  • the present disclosure provides a video editing device, which includes:
  • a first display module configured to display at least one material addition entry corresponding to the target video template in response to a preset trigger operation for the target video template
  • a receiving module configured to receive the first video material added for the first material adding portal in the at least one material adding portal
  • a first generation module configured to generate a first video segment and a freeze-frame video segment based on the first video material according to the video editing operation indicated by the target video template;
  • a first synthesis module configured to synthesize a target video based on the first video clip and the freeze-frame video clip
  • the target video template is used to instruct video editing operations on the added video material to generate multiple video clips and synthesize them;
  • the target video template records the first video clip and the freeze-frame video clip. and the position information of the designated video frame image in the first video clip;
  • the freeze-frame video clip is a video clip obtained by freeze-frame processing based on the designated video frame image in the first video clip.
  • the present disclosure provides a video editing device, the device including:
  • the second acquisition module is used to obtain the mapping relationship between the freeze-frame video clip and the first video material in the video editing draft and the position information of the designated video frame image in the first video clip;
  • the designated video frame image is The freeze-frame video clip is obtained after freeze-frame processing;
  • the video editing draft includes original video material and video editing operations for the original video material;
  • the fourth generation module is configured to respond to a template publishing operation for the video editing draft, based on the mapping relationship between the video editing draft, the freeze-frame video segment and the first video material, and the mapping relationship between the first video segment and the video editing draft. position information of the specified video frame image, generate and publish a video template corresponding to the video editing draft; the video template is used to instruct the video editing operation to be performed on the added video material to generate the first video clip and The freeze-frame video clips are synthesized into a target video.
  • the present disclosure provides a computer-readable storage medium in which instructions are stored.
  • the terminal device implements the above method.
  • the present disclosure provides a video editing device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the computer program , implement the above method.
  • the present disclosure provides a computer program product.
  • the computer program product includes a computer program/instructions. When the computer program/instructions are executed by a processor, the above method is implemented.
  • Figure 1 is a flow chart of a video editing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a material adding page provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram of a fixed structure provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of another fixed structure provided by an embodiment of the present disclosure.
  • Figure 5 is a schematic diagram of another fixed structure provided by an embodiment of the present disclosure.
  • Figure 6 is a schematic diagram of another fixed structure provided by an embodiment of the present disclosure.
  • Figure 7 is a flow chart of another video editing method provided by an embodiment of the present disclosure.
  • Figure 8 is a schematic diagram of an effect preview page provided by an embodiment of the present disclosure.
  • Figure 9 is a schematic diagram of a material editing page provided by an embodiment of the present disclosure.
  • Figure 10 is a flow chart of yet another video editing method provided by an embodiment of the present disclosure.
  • Figure 11 is a flow chart of yet another video editing method provided by an embodiment of the present disclosure.
  • Figure 12 is a schematic diagram of an advanced settings page provided by the implementation of the present disclosure.
  • Figure 13 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure.
  • Figure 14 is a schematic structural diagram of another video editing device provided by an embodiment of the present disclosure.
  • Figure 15 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure.
  • embodiments of the present disclosure provide a video editing method. Specifically, first, in response to a preset trigger operation for the target video template, at least one material addition entry corresponding to the target video template is displayed. , receiving the first video material added for the first material adding portal in at least one material adding portal, according to the video editing operation indicated by the target video template, generating the first video clip and the freeze-frame video clip based on the first video material, and based on The first video clip and the stop-motion video clip are synthesized to obtain the target video.
  • the target video template is used to instruct video editing operations on the added video material to generate multiple video clips and synthesize them.
  • the first video clip is recorded in the target video template.
  • the mapping relationship between the freeze-frame video segment and the position information of the specified video frame image in the first video segment is a video segment obtained by freeze-frame processing based on the specified video frame image in the first video segment. It can be seen that the embodiments of the present disclosure can automatically generate first video clips and freeze-frame video clips based on the first video material added by the user for synthesizing the target video, enriching the video editing method and improving the user experience.
  • an embodiment of the present disclosure provides a video editing method.
  • Figure 1 is a flow chart of a video editing method provided by an embodiment of the present disclosure. The method includes:
  • S101 In response to a preset trigger operation for the target video template, display at least one material addition entry corresponding to the target video template.
  • the target video template is used to instruct video editing operations on the added video material to generate and synthesize multiple video clips.
  • the material adding entry corresponding to the target video template is used to add video materials.
  • the preset trigger operation for the target video template when a preset trigger operation for the target video template is received, at least one material addition entry corresponding to the target video template is displayed on the material addition page.
  • the preset trigger operation for the target video template can be a video editing operation for the target video template, For example, the operation of applying a target video template to generate a video, etc.
  • FIG 2 a schematic diagram of a material adding page provided by an embodiment of the present disclosure is shown.
  • the material adding page is displayed.
  • the material adding entrance 201 corresponding to the target video template is displayed.
  • S102 Receive the first video material added for the first material adding portal in at least one material adding portal.
  • the first material adding portal may be any of the material adding portals corresponding to the target video template.
  • the user can add video material to any one of the displayed material addition entries. Specifically, receive the first material addition entry.
  • the first video material can come from a local photo album or can be captured in real time by a local camera.
  • the first material adding entrance is represented by the material adding entrance 201.
  • the album import page can be displayed, and the user can select any item from the album import page.
  • a video material is used as the first video material; in addition, after receiving the user's trigger operation for the material adding entrance 201, the user can also switch to the shooting page and shoot the first video material based on the shooting page.
  • S103 According to the video editing operation indicated by the target video template, generate the first video clip and the stop-motion video clip based on the first video material, and synthesize the target video based on the first video clip and the stop-motion video clip.
  • the target video template is used to instruct video editing operations on the added video material to generate and synthesize multiple video clips.
  • the target video template records the mapping relationship between the first video clip and the stop-motion video clip and the first video The position information of the specified video frame image in the clip.
  • the freeze-frame video segment is a video segment obtained by freeze-frame processing based on the specified video frame image in the first video segment.
  • the video editing operations indicated by the target video template include not only freeze-frame processing operations on the added video material, but also effect processing operations on the added video material, such as adding stickers, masking layers, and other operations.
  • the position information of the specified video frame image in the first video segment refers to the position of the specified video frame image in the first video segment.
  • the specified video frame image may be the highest position in the first video segment.
  • generating the first video clip and the stop-motion video clip based on the first video material may specifically include: according to the mapping relationship between the first video clip and the stop-motion video clip recorded in the target video template , and the position information of the specified video frame image in the first video segment, obtain the specified video frame image from the first video segment, and perform freeze-frame processing on the specified video frame image to obtain a freeze-frame video segment corresponding to the first video segment.
  • each video material is processed according to the video editing operation indicated by the target video template.
  • a first video segment and a stop-motion video segment are generated, and then, a target video is synthesized based on the generated first video segment and the stop-motion video segment.
  • the first video clip may be a partial clip intercepted from the first video material based on a preset strategy, which is not covered in this disclosure. Any limitations.
  • the target video template not only records the position information of the specified video frame in the first video clip, but also records the playback time information of the freeze-frame video clip, such as the playback duration.
  • the stop-motion video clip can be generated by the playback time information of the stop-motion video clip and the specified video frame image recorded in the target video template.
  • the playback time information of the stop-motion video clip can be the playback duration of the specified video frame image, such as 3s. , 5s, etc.
  • the specified video frame image is obtained from the position information of the specified video frame image in the first video clip, and then based on the playback time information of the stop-motion video clip recorded in the target video template, a stop-motion video clip corresponding to the first video material is generated.
  • the first video clip can be generated from the previous part of the first video material. Assume that the first video material is 20s and the first video clip is 8s. Then the first video segment may be a video segment including 0-8s of the first video material.
  • the embodiment of the present disclosure does not limit the method of determining the first video segment based on the first video material.
  • stop-motion video clips are generated as follows:
  • the specified video frame picture when the specified video frame picture is located in the first frame of the first video clip, its corresponding freeze frame structure is as shown in Figure 3, with the freeze frame video clip on the left and the first video clip on the right.
  • the stop-motion video segment is generated based on the first video frame image of the first video segment and the playback time information of the stop-motion video segment recorded in the target video template.
  • the specified video frame picture when the specified video frame picture is located in the middle frame of the first video clip, its corresponding freeze frame structure is as shown in Figure 4.
  • the freeze frame video clip splits the first video clip into two parts. That is, the first video segment 1 and the first video segment 2 shown in Figure 4.
  • the stop-motion video segment is generated based on the intermediate frame video frame image of the first video segment and the playback time information of the stop-motion video segment recorded in the target video template. .
  • the specified video frame picture when the specified video frame picture is located in the last frame of the first video clip, its corresponding freeze frame structure is as shown in Figure 5, with the first video clip on the left and the freeze frame video on the right
  • the segment specifically, the stop-motion video segment is generated based on the last video frame image of the first video segment and the playback time information of the stop-motion video segment recorded in the target video template.
  • the position information of the designated video frame image in the first video clip recorded in the target video template is the last frame of the first video clip, and the playback time information of the freeze-frame video clip is 1s.
  • the last frame in the first video clip is obtained as the designated video frame image, and then the designated video frame image is freeze-framed to generate a freeze-frame video clip with a duration of 1s, which is used as the corresponding first video material. stop motion video clip.
  • stop-motion video clips can also be displayed in the form of picture-in-picture.
  • the target video template may also record a picture-in-picture identification corresponding to the freeze-frame video clip, which is used to indicate whether the freeze-frame video clip is displayed in a picture-in-picture format.
  • the first video material is generated according to the video editing operation indicated by the target video template.
  • the corresponding stop-motion video clip is
  • the picture-in-picture flag is used to indicate whether the freeze-frame video clip is in picture-in-picture form.
  • the freeze-frame video clip corresponding to the first video material generated based on the video editing operation indicated by the target video template is based on the picture-in-picture mark. Displayed in the form of a medium-sized painting.
  • Figure 6 is a schematic diagram of yet another fixed structure provided by an embodiment of the present disclosure
  • the freeze-frame video clip corresponding to the picture-in-picture logo will be placed in the picture-in-picture track, so that the freeze-frame video clip corresponding to the picture-in-picture logo will be placed in the picture-in-picture track. Displayed in picture-in-picture format.
  • the video editing method first, in response to a preset trigger operation for the target video template, at least one material addition entry corresponding to the target video template is displayed, and the first material addition entry for the at least one material addition entry is received.
  • the first video material added at the entrance according to the video editing operation indicated by the target video template, generates the first video clip and the stop-motion video clip based on the first video material, and synthesizes the target video based on the first video clip and the stop-motion video clip, where , the target video template is used to instruct the video editing operation on the added video material to generate and synthesize multiple video clips.
  • the target video template records the mapping relationship between the first video clip and the stop-motion video clip and the first video clip.
  • the position information of the specified video frame image in the freeze-frame video segment is a video segment obtained by freeze-frame processing based on the specified video frame image in the first video segment. It can be seen that the embodiments of the present disclosure can automatically generate first video clips and freeze-frame video clips based on the first video material added by the user for synthesizing the target video, enriching the video editing method and improving the user experience.
  • the video editing method provided by the embodiment of the present disclosure does not require the user to upload additional freeze-frame video clips to generate a target video with a freeze-frame effect, which reduces the risk of freeze-frame effect videos. Editing threshold improves users’ video editing experience.
  • embodiments of the present disclosure may also support the function of replacing freeze-frame video clips. Specifically, based on the above embodiments, the embodiments of the present disclosure may further include the following steps. Referring to Figure 7, a flow chart of another video editing method provided by an embodiment of the present disclosure is provided. The method includes:
  • the video track corresponding to the first video clip is used to display each video frame in the first video clip.
  • freeze-frame video clip has a mapping relationship with the first video clip
  • jumping from the effect preview page to the material editing page can Display the corresponding first video clip on the material editing page video track, so that the user can preferentially select the target video frame from the first video clip for generating the freeze-frame video clip corresponding to the first video clip, thereby ensuring the freeze-frame effect in the generated target video.
  • FIG. 8 it is a schematic diagram of an effect preview page provided by an embodiment of the present disclosure.
  • the page displays a material editing portal 801 corresponding to the freeze-frame video clip.
  • the user can click on the material editing portal 801 to trigger the display of material editing.
  • the user can trigger the replacement operation of the freeze-frame video clip by clicking the replacement control in the material editing box 802.
  • the video track corresponding to the first video clip as shown in FIG. 9 is displayed.
  • S702 Based on the video track corresponding to the first video clip, determine the target video frame image from the first video clip.
  • any video frame image in the video track corresponding to the first video clip can be selected as the target video frame image.
  • FIG. 9 is a schematic diagram of a material editing page provided by an embodiment of the present disclosure.
  • the video track 901 corresponding to the first video clip is displayed on the material editing page.
  • the user can select the target video frame image by dragging the control 902 .
  • the target video frame image can also be determined from the user album.
  • the user clicks on the album to import the user can jump to the user album page.
  • the user album page from the user album Select a certain picture or a certain frame of a video as the target video frame image.
  • S703 Generate a target replacement video clip based on the target video frame image, and use the target replacement video clip to update the freeze-frame video clip corresponding to the first video material.
  • the target replacement video segment is generated based on the playback time information of the freeze-frame video segment recorded in the target video template and the target video frame image according to the video editing operation indicated by the target video template. , and use the target replacement video clip to update the freeze-frame video clip corresponding to the first video material.
  • the video editing method in response to the replacement operation for the freeze-frame video clip, the video track corresponding to the first video clip is displayed, and the target video is determined from the first video clip based on the video track corresponding to the first video clip. frame image, generate a target replacement video clip based on the target video frame image, and use the target replacement video clip to update the stop-motion video corresponding to the first video material Clips, thus realizing the replacement of freeze-frame video clips, enriching the video editing method and improving the user experience.
  • the user is guided to prioritize the target video frame image from the first video clip for generating the freeze-frame video clip, which can ensure the freeze-frame effect of the target video.
  • embodiments of the present disclosure can also support editing operations on the first video clip, and when the editing operation on the first video clip is triggered, the freeze-frame video clip can be updated synchronously and linked , ensuring the freeze-frame effect of the target video.
  • FIG. 10 is a flow chart of yet another video editing method provided by an embodiment of the present disclosure. The method includes:
  • the editing operation includes a replacement operation, a shooting operation or a cropping operation.
  • the editing result video clip refers to the video clip obtained after editing the first video clip.
  • any video material can be obtained from the local photo album as the editing result video clip corresponding to the first video clip.
  • the video obtained by shooting may be used as the editing result video clip corresponding to the first video clip.
  • the first video segment after receiving the cropping operation for the first video segment, the first video segment may be cropped, and the cropped first video segment may be used as the editing result corresponding to the first video segment.
  • Video clips after receiving the cropping operation for the first video segment, the first video segment may be cropped, and the cropped first video segment may be used as the editing result corresponding to the first video segment.
  • the specified video frame corresponding to the position information may be obtained from the editing result video segment based on the position information of the specified video frame in the first video segment. Then, based on the playback time information of the freeze-frame video clip recorded in the target video template, freeze-frame processing is performed on the specified video frame to obtain the edited freeze-frame video clip.
  • the position information of the specified video frame image in the first video segment is a video frame image in the middle of the first video segment, then the first video segment with a mapping relationship for the stop-motion video segment generated based on the video frame image is 2.
  • first video segments that have a mapping relationship with the same fixed video segment
  • after receiving an editing operation triggered for any one of the multiple first video segments obtain the The editing result video segment corresponding to the first video segment, at this time, other first video segments can be generated based on the video material corresponding to the editing result video segment.
  • the position information of the specified video frame image in the first video segment is the last video frame image of the first video segment, then after receiving the user triggering the editing operation for the first video segment, obtain the corresponding image of the first video segment.
  • the edited result video clip, and the edited freeze-frame video clip is generated based on the edited result video clip.
  • S1003 The target video is obtained based on the editing result video clip and the edited freeze-frame video clip.
  • the target is obtained based on the editing result video clip and the edited freeze-frame video clip. video.
  • the video editing method provided by the embodiment of the present disclosure can support editing operations on the first video clip, and when the editing operation on the first video clip is triggered, the freeze-frame video clip is updated synchronously and linked to ensure the freeze-frame effect of the target video.
  • embodiments of the present disclosure also provide a video editing method for generating a target video template as in the above embodiments.
  • FIG. 11 a flow chart of yet another video editing method provided by an embodiment of the present disclosure is provided.
  • the method includes:
  • the specified video frame image is used to obtain the freeze-frame video clip after freeze-frame processing.
  • the video editing draft includes original video material and video editing operations on the original video material.
  • the mapping relationship between the freeze frame video clip and the first video material in the video editing draft and the first video are obtained.
  • the position information of the specified video frame image in the video segment is obtained.
  • the preset frame binding switch refers to a preset switch used to control the mapping relationship between the freeze frame video clip and the original video material. If the preset frame binding switch is turned on, the first video clip and the freeze frame video clip will be Set the mapping relationship so that users do not need to upload stop-motion video clips when generating target videos using video templates published based on video editing drafts, making the video editing operation more convenient and faster.
  • the preset binding switch can be in the advanced settings page, as shown in Figure 12.
  • the template creation After the user has completed setting the default binding switch.
  • S1102 In response to the template publishing operation for the video editing draft, generate and publish a video based on the mapping relationship between the video editing draft, the freeze-frame video clip and the first video material, and the position information of the specified video frame image in the first video clip. Edit the video template corresponding to the draft.
  • the video template is used to instruct a video editing operation to be performed on the added video material to generate a first video clip and a freeze-frame video clip and synthesize them into a target video.
  • the original video material in the video editing draft is edited based on the mapping relationship between the freeze-frame video clip and the first video material and the first video clip.
  • the original video clip and its corresponding stop-motion video clip are generated, and then based on the original video clip and its corresponding stop-motion video clip, a video template corresponding to the video editing draft is generated and published to facilitate user viewing.
  • editing scripts can also be added to the original video materials.
  • the editing scripts can guide users to quickly find suitable videos for the shooting content and shooting methods of the original video materials. material.
  • a script setting bar corresponding to the original video material is displayed on the script editing page.
  • Edit the script, the mapping relationship between the freeze-frame video clip and the first video material, and the position information of the designated video frame image in the first video clip and generate and publish a video template corresponding to the video editing draft.
  • the script editing column is used to add editing scripts corresponding to the original video material.
  • the script setting bar corresponding to the original video clip is displayed on the script editing page.
  • the template creator can add the editing script corresponding to the original material clip in the script setting bar. After the addition is completed, after receiving the video editing draft After the template publishing operation, the original video material in the video editing draft, the editing script corresponding to the original video material in the video editing draft, the mapping relationship between the freeze-frame video clip and the first video material, and the Specify the position information of the video frame image, generate the original video clip and its corresponding stop-motion video clip, and then generate and publish the video template corresponding to the video editing draft based on the original video clip and its corresponding stop-motion video clip.
  • the mapping relationship between the freeze-frame video clip in the video editing draft and the first video material and the position information of the designated video frame image in the first video clip are obtained, in response to the video editing
  • the template publishing operation of the draft generates and publishes a video template corresponding to the video editing draft based on the mapping relationship between the video editing draft, the freeze-frame video clip and the first video material, and the position information of the specified video frame image in the first video clip.
  • This video template is used to instruct the video editing operation on the added video material to generate the first video clip and the stop-motion video clip and synthesize them into the target video, which enriches the video editing method and improves the user experience.
  • an embodiment of the present disclosure also provides a video editing device.
  • Figure 13 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure.
  • the device includes:
  • the first display module 1301 is configured to display at least one material addition entry corresponding to the target video template in response to a preset trigger operation for the target video template;
  • the receiving module 1302 is configured to receive the first video material added for the first material adding portal in the at least one material adding portal;
  • the first generation module 1303 is configured to generate a first video clip and a freeze-frame video clip based on the first video material according to the video editing operation indicated by the target video template;
  • the first synthesis module 1304 is used to synthesize the target video based on the first video clip and the freeze-frame video clip;
  • the target video template is used to instruct video editing operations on the added video material to generate multiple video clips and synthesize them;
  • the first video clip is recorded in the target video template
  • the freeze-frame video segment is based on the freeze-frame processing based on the specified video frame image in the first video segment Get the video clip.
  • the device further includes:
  • a second display module configured to display the video track corresponding to the first video segment in response to the replacement operation of the freeze-frame video segment
  • a determining module configured to determine a target video frame image from the first video segment based on the video track corresponding to the first video segment;
  • the second generation module is configured to generate a target replacement video segment based on the target video frame image, and use the target replacement video segment to update the freeze-frame video segment corresponding to the first video material.
  • the device further includes:
  • a first acquisition module configured to obtain an editing result video segment corresponding to the first video segment after receiving an editing operation for the first video segment; wherein the editing operation includes a replacement operation, a shooting operation, or cropping operate;
  • a third generation module configured to generate edited freeze-frame video clips based on the edited result video clips according to the video editing operation indicated by the target video template;
  • the first synthesis module is specifically used for:
  • a target video is obtained by synthesizing the edited result video clip and the edited freeze-frame video clip.
  • the playback time information of the freeze-frame video clip is recorded in the target video template; the first generation module includes:
  • a first generation sub-module configured to generate a first video clip based on the first video material
  • An acquisition submodule configured to obtain the specified video frame image from the first video segment based on the position information of the specified video frame image in the first video segment recorded in the target video template;
  • the second generation submodule is configured to generate the video editing operation indicated by the target video template based on the playback time information of the freeze-frame video clip and the specified video frame image recorded in the target video template.
  • the freeze-frame video clip corresponding to the first video material.
  • the target video template records a picture-in-picture identification corresponding to the freeze-frame video clip, and the picture-in-picture identification is used to indicate whether the freeze-frame video clip is a picture-in-picture. painting form;
  • the second generation sub-module is specifically used for:
  • the first video is generated according to the video editing operation indicated by the target video template
  • the stop-motion video clip corresponding to the material.
  • the video editing device In the video editing device provided by the embodiment of the present disclosure, first, in response to a preset trigger operation for the target video template, at least one material addition entry corresponding to the target video template is displayed, and the first material addition entry for the at least one material addition entry is received.
  • the first video material added at the entrance according to the video editing operation indicated by the target video template, generates the first video clip and the stop-motion video clip based on the first video material, and synthesizes the target video based on the first video clip and the stop-motion video clip, where , the target video template is used to instruct the video editing operation on the added video material to generate and synthesize multiple video clips.
  • the target video template records the mapping relationship between the first video clip and the stop-motion video clip and the first video clip.
  • the position information of the specified video frame image in the freeze-frame video segment is a video segment obtained by freeze-frame processing based on the specified video frame image in the first video segment. It can be seen that the embodiments of the present disclosure can automatically generate first video clips and freeze-frame video clips based on the first video material added by the user for synthesizing the target video, enriching the video editing method and improving the user experience.
  • an embodiment of the present disclosure also provides a video editing device.
  • Figure 14 is a schematic structural diagram of another video editing device provided by an embodiment of the present disclosure.
  • the device includes:
  • the second acquisition module 1401 is used to obtain the mapping relationship between the freeze-frame video clip and the first video material in the video editing draft and the position information of the designated video frame image in the first video clip; the designated video frame image Used to obtain the freeze-frame video clip after freeze-frame processing; the video editing draft includes original video material and video editing operations for the original video material;
  • the fourth generation module 1402 is configured to respond to a template publishing operation for the video editing draft, based on the mapping relationship between the video editing draft, the freeze-frame video segment and the first video material, and the first video segment. Based on the position information of the designated video frame image in the video editing draft, a video template corresponding to the video editing draft is generated and published; the video template is used to instruct the video editing operation to be performed on the added video material to generate the first video clip. and the stop-motion video clips and combined into target video.
  • the second acquisition module is specifically used to:
  • the mapping relationship between the freeze-frame video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip are obtained.
  • the device further includes:
  • the third display module is used to display the script setting column corresponding to the original video material on the script editing page; wherein the script editing column is used to add the editing script corresponding to the original video material;
  • the fourth generation module is specifically used for:
  • the editing script corresponding to the original video material in the video editing draft, the mapping relationship between the freeze-frame video segment and the first video material and the position information of the specified video frame image in the first video clip, and generate and publish a video template corresponding to the video editing draft.
  • the mapping relationship between the freeze-frame video clip in the video editing draft and the first video material and the position information of the designated video frame image in the first video clip are first obtained, and the designated video frame image is Used to obtain freeze-frame video clips after freeze-frame processing.
  • the video editing draft includes the original video material and the video editing operation for the original video material.
  • the freeze-frame video clip and the first The mapping relationship between the video materials and the position information of the specified video frame image in the first video clip is used to generate and publish a video template corresponding to the video editing draft. This video template is used to instruct the video editing operation to be performed on the added video material to generate the first video clip and the freeze-frame video clip and synthesize them into the target video, which enriches the video editing method and improves the user experience.
  • embodiments of the present disclosure also provide a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a terminal device, the terminal device enables the terminal device to implement the present invention. The video editing method described in the disclosed embodiments is disclosed.
  • An embodiment of the present disclosure also provides a computer program product, which includes a computer program/instruction.
  • the feature is that when the computer program/instruction is executed by a processor, the video editing method described in the embodiment of the present disclosure is implemented.
  • the embodiment of the present disclosure also provides a video editing device, as shown in Figure 15, which can include:
  • the number of processors 1501 in the video editing device may be one or more. In Figure 15, one processor is taken as an example.
  • the processor 1501, the memory 1502, the input device 1503 and the output device 1504 may be connected through a bus or other means, wherein the connection through the bus is taken as an example in FIG. 15 .
  • the memory 1502 can be used to store software programs and modules.
  • the processor 1501 executes various functional applications and data processing of the video editing device by running the software programs and modules stored in the memory 1502 .
  • the memory 1502 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, at least one application program required for a function, and the like.
  • memory 1502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • Input device 1503 may be used to receive input numeric or character information and generate signal input related to user settings and functional controls of the video editing device.
  • the processor 1501 will load the executable files corresponding to the processes of one or more application programs into the memory 1502 according to the following instructions, and the processor 1501 will run the executable files stored in the memory 1502. application to realize the various functions of the above-mentioned video editing equipment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开提供了一种视频编辑方法、装置、设备及存储介质,该方法包括:首先响应于针对目标视频模板的预设触发操作,显示目标视频模板对应的至少一个素材添加入口,接收针对至少一个素材添加入口中的第一素材添加入口添加的第一视频素材,按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,并基于第一视频片段和定格视频片段合成得到目标视频。可见,本公开实施例能够基于用户添加的第一视频素材自动生成第一视频片段和定格视频片段,用于合成目标视频,丰富了视频编辑的方式,提升了用户体验。

Description

一种视频编辑方法、装置、设备及存储介质
本申请要求于2022年9月14日递交的中国专利申请第202211117918.5号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。
技术领域
本公开实施例涉及一种视频编辑方法、装置、设备及存储介质。
背景技术
随着视频处理技术的不断发展,人们对视频编辑方式的要求越来越多。因此,如何丰富视频编辑方式,以满足用户不断增长的视频编辑需求,提升用户体验,是目前亟需解决的技术问题。
发明内容
为了解决上述技术问题,本公开提供了一种视频编辑方法,所述方法包括:
第一方面,本公开提供了一种视频编辑方法,所述方法包括:
响应于针对目标视频模板的预设触发操作,显示所述目标视频模板对应的至少一个素材添加入口;
接收针对所述至少一个素材添加入口中的第一素材添加入口添加的第一视频素材;
按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段,并基于所述第一视频片段和所述定格视频片段合成得到目标视频;
其中,所述目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成;所述目标视频模板中记录有所述第一视频片段与所述定格视频片段之间的映射关系和所述第一视频片段中的指定视频帧图像的位置信息;所述定格视频片段是基于所述第一视频片段中的指定视频 帧图像进行定格处理得到的视频片段。
一种可选的实施方式中,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频之前,还包括:
响应于针对所述定格视频片段的替换操作,显示所述第一视频片段对应的视频轨道;
基于所述第一视频片段对应的视频轨道,从所述第一视频片段中确定目标视频帧图像;
基于所述目标视频帧图像生成目标替换视频片段,并利用所述目标替换视频片段更新所述第一视频素材对应的定格视频片段。
一种可选的实施方式中,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频之前,还包括:
在接收到针对所述第一视频片段的编辑操作后,获取所述第一视频片段对应的编辑结果视频片段;其中,所述编辑操作包括替换操作、拍摄操作或裁剪操作;
按照所述目标视频模板所指示的视频编辑操作,基于所述编辑结果视频片段生成编辑后定格视频片段;
相应的,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频,包括:
基于所述编辑结果视频片段和所述编辑后定格视频片段合成得到目标视频。
一种可选的实施方式中,所述目标视频模板中记录有所述定格视频片段的播放时间信息;所述按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段,包括:
基于所述第一视频素材生成第一视频片段;
基于所述目标视频模板中记录的所述第一视频片段中的指定视频帧图像的位置信息,从所述第一视频片段中获取所述指定视频帧图像;
基于所述目标视频模板中记录的所述定格视频片段的播放时间信息和所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
一种可选的实施方式中,所述目标视频模板中记录有所述定格视频片段 对应的画中画标识,所述画中画标识用于表示所述定格视频片段是否为画中画形式;
所述基于所述目标视频模板中记录的所述定格视频片段的播放时间信息和所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段,包括:
基于所述目标视频模板中记录的所述定格视频片段的播放时间信息、画中画标识以及所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
第二方面,本公开还提供了一种视频编辑方法,所述方法包括:
获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息;所述指定视频帧图像用于经过定格处理后得到所述定格视频片段;所述视频编辑草稿包括原始视频素材以及针对所述原始视频素材的视频编辑操作;
响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板;所述视频模板用于指示对添加的视频素材执行所述视频编辑操作,以生成所述第一视频片段和所述定格视频片段并合成为目标视频。
一种可选的实施方式中,所述获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,包括:
在预设定格绑定开关处于开启状态下,获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息。
一种可选的实施方式中,所述方法还包括:
在脚本编辑页面上显示所述原始视频素材对应的脚本设置栏;其中,所述脚本编辑栏用于添加所述原始视频素材对应的编辑脚本;
相应的,所述响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草 稿对应的视频模板,包括:
响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述视频编辑草稿中的原始视频素材对应的编辑脚本、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板。
第三方面,本公开提供了一种视频编辑装置,所述装置包括:
第一显示模块,用于响应于针对目标视频模板的预设触发操作,显示所述目标视频模板对应的至少一个素材添加入口;
接收模块,用于接收针对所述至少一个素材添加入口中的第一素材添加入口添加的第一视频素材;
第一生成模块,用于按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段;
第一合成模块,用于基于所述第一视频片段和所述定格视频片段合成得到目标视频;
其中,所述目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成;所述目标视频模板中记录有所述第一视频片段与所述定格视频片段之间的映射关系和所述第一视频片段中的指定视频帧图像的位置信息;所述定格视频片段是基于所述第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。
第四方面,本公开提供还了一种视频编辑装置,所述装置包括:
第二获取模块,用于获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息;所述指定视频帧图像用于经过定格处理后得到所述定格视频片段;所述视频编辑草稿包括原始视频素材以及针对所述原始视频素材的视频编辑操作;
第四生成模块,用于响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板;所述视频模板用于指示对添加的视频素材执行所述视频编辑操作,以生成所述第一视频片段和所述定格视频片段并合成为目标视频。
第五方面,本公开提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现上述的方法。
第六方面,本公开提供了一种视频编辑设备,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述的方法。
第七方面,本公开提供了一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现上述的方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种视频编辑方法的流程图;
图2为本公开实施例提供的一种素材添加页面的示意图;
图3为本公开实施例提供的一种定格结构的示意图;
图4为本公开实施例提供的另一种定格结构的示意图;
图5为本公开实施例提供的又一种定格结构的示意图;
图6为本公开实施例提供的又一种定格结构的示意图;
图7为本公开实施例提供的另一种视频编辑方法的流程图;
图8为本公开实施例提供的一种效果预览页面的示意图;
图9为本公开实施例提供的一种素材编辑页面的示意图;
图10为本公开实施例提供的又一种视频编辑方法的流程图;
图11为本公开实施例提供的又一种视频编辑方法的流程图;
图12为本公开实施提供的一种高级设置页面的示意图;
图13为本公开实施例提供的一种视频编辑装置的结构示意图;
图14为本公开实施例提供的另一种视频编辑装置的结构示意图;以及
图15为本公开实施例提供的一种视频编辑设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
为了丰富视频编辑方式,提升用户体验,本公开实施例提供了一种视频编辑方法,具体的,首先,响应于针对目标视频模板的预设触发操作,显示目标视频模板对应的至少一个素材添加入口,接收针对至少一个素材添加入口中的第一素材添加入口添加的第一视频素材,按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,并基于第一视频片段和定格视频片段合成得到目标视频,其中,目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成,目标视频模板中记录有第一视频片段与定格视频片段之间的映射关系和第一视频片段中的指定视频帧图像的位置信息,定格视频片段是基于第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。可见,本公开实施例能够基于用户添加的第一视频素材自动生成第一视频片段和定格视频片段,用于合成目标视频,丰富了视频编辑的方式,提升了用户体验。
基于此,本公开实施例提供了一种视频编辑方法,参考图1,为本公开实施例提供的一种视频编辑方法的流程图,该方法包括:
S101:响应于针对目标视频模板的预设触发操作,显示目标视频模板对应的至少一个素材添加入口。
本公开实施例中,目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成。目标视频模板对应的素材添加入口,用于添加视频素材,目标视频模板对应的素材添加入口可以为一个或多个。
本公开实施例中,在接收到针对目标视频模板的预设触发操作时,在素材添加页面上显示目标视频模板对应的至少一个素材添加入口。其中,针对目标视频模板的预设触发操作,可以为针对目标视频模板的视频编辑操作, 例如应用目标视频模板生成视频的操作等。
参考图2,为本公开实施例提供的一种素材添加页面的示意图,在接收到针对目标视频模板的预设触发操作时,显示该素材添加页面,如图2所示,该素材添加页面上显示有目标视频模板对应的素材添加入口201。
S102:接收针对至少一个素材添加入口中的第一素材添加入口添加的第一视频素材。
其中,第一素材添加入口可以为目标视频模板对应的素材添加入口中的任一素材添加入口。
本公开实施例中,在显示目标视频模板对应的至少一个素材添加入口后,用户可以针对显示的素材添加入口中的任意一个素材添加入口,添加视频素材,具体的,接收针对第一素材添加入口添加的第一视频素材。其中,第一视频素材可以来自与本地相册,也可以来自于本地摄像头实时拍摄。
继续参考图2,以素材添加入口201表示第一素材添加入口,实际应用中,在接收到用户针对素材添加入口201的触发操作后,可以展示相册导入页面,用户可以从相册导入页面中选取任一视频素材作为第一视频素材;另外,在接收到用户针对素材添加入口201的触发操作后,用户也可以切换至拍摄页面,并基于拍摄页面拍摄得到第一视频素材。
S103:按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,并基于第一视频片段和定格视频片段合成得到目标视频。
其中,目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成,目标视频模板中记录有第一视频片段与定格视频片段之间的映射关系和第一视频片段中的指定视频帧图像的位置信息。
具有映射关系的第一视频片段和定格视频片段中,定格视频片段是基于第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。
目标视频模板所指示的视频编辑操作不仅包括对添加的视频素材的定格处理操作,还可以包括对添加的视频素材的效果处理操作,如添加贴纸、蒙层等操作。
第一视频片段中的指定视频帧图像的位置信息是指,指定视频帧图像在第一视频片段中所处的位置,如指定视频帧图像可以为第一视频片段中的最 后一帧、第一帧或者中间任意帧。
按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,具体可以包括:按照目标视频模板中记录有第一视频片段与定格视频片段之间的映射关系,以及第一视频片段中的指定视频帧图像的位置信息,从第一视频片段中获取指定视频帧图像,并对指定视频帧图像进行定格处理,得到第一视频片段对应的定格视频片段。
本公开实施例中,在接收到针对目标视频模板对应的各个素材添加入口分别添加的视频素材之后,按照目标视频模板所指示的视频编辑操作对各个视频素材进行处理,针对添加的第一视频素材生成第一视频片段和定格视频片段,然后,基于生成的第一视频片段和定格视频片段合成得到目标视频。
由于用户添加的第一视频素材的总时长可能长于第一视频片段对应的时长要求,因此第一视频片段可以为基于预设策略从第一视频素材中截取的部分片段,本公开在此不做任何限定。
一种可选的实施方式中,目标视频模板中不仅记录有第一视频片段中的指定视频帧画面的位置信息,还可以记录有定格视频片段的播放时间信息,如播放时长等。
具体的,定格视频片段可以通过目标视频模板中记录的定格视频片段的播放时间信息和指定视频帧图像生成,具体地,定格视频片段的播放时间信息可以为指定视频帧图像的播放时长,如3s、5s等。
一种可选的实施方式中,在接收到针对第一素材添加入口添加的第一视频素材后,首先基于第一视频素材生成第一视频片段,然后基于目标视频模板中记录的第一视频片段中的指定视频帧图像的位置信息,从第一视频片段中获取指定视频帧图像,然后基于目标视频模板中记录的定格视频片段的播放时间信息,生成第一视频素材对应的定格视频片段。
本公开实施例中,若第一视频片段为第一视频素材的部分片段,第一视频片段可以由第一视频素材前面的部分生成,假设第一视频素材为20s,第一视频片段为8s,则第一视频片段可以是包括第一视频素材0-8s的视频片段。
需要说明的是,本公开实施例对基于第一视频素材确定第一视频片段的方式不做限定。
具体地,定格视频片段的生成方式如下所述:
一种可选的实施方式中,在指定视频帧图片位于第一视频片段的首帧时,其对应的定格结构如图3所示,左侧为定格视频片段,右侧为第一视频片段,具体地,定格视频片段基于第一视频片段的首帧视频帧图像和目标视频模板中记录的定格视频片段的播放时间信息生成。
另一种可选的实施方式中,在指定视频帧图片位于第一视频片段的中间帧时,其对应的定格结构如图4所示,定格视频片段将第一视频片段拆分为两部分,即图4所示的第一视频片段1和第一视频片段2,具体地,定格视频片段基于第一视频片段的中间帧视频帧图像和目标视频模板中记录的定格视频片段的播放时间信息生成。
又一种可选的实施方式中,在指定视频帧图片位于第一视频片段的最后一帧时,其对应的定格结构如图5所示,左侧为第一视频片段,右侧为定格视频片段,具体地,定格视频片段基于第一视频片段的最后一帧视频帧图像和目标视频模板中记录的定格视频片段的播放时间信息生成。
本公开实施例中,假设目标视频模板中记录的第一视频片段中的指定视频帧图像的位置信息,为第一视频片段的最后一帧,定格视频片段的播放时间信息为1s,在基于第一视频素材生成第一视频片段后,获取第一视频片段中的最后一帧作为指定视频帧图像,然后将指定视频帧图像进行定格处理生成时长为1s的定格视频片段,作为第一视频素材对应的定格视频片段。
另外,为了提升用户的体验,定格视频片段还可以以画中画的形式展示。具体的,目标视频模板中还可以记录有定格视频片段对应的画中画标识,用于表示该定格视频片段是否为画中画形式展示。
一种可选的实施方式中,基于目标视频模板中记录的定格视频片段的播放时间信息、画中画标识以及指定视频帧图像,按照目标视频模板所指示的视频编辑操作,生成第一视频素材对应的定格视频片段。
其中,画中画标识用于表示定格视频片段是否为画中画形式。
本公开实施例中,若目标视频模板中记录有定格视频片段对应的画中画标识,则基于目标视频模板所指示的视频编辑操作,生成的第一视频素材对应的定格视频片段,是以画中画的形式进行展示。
具体地,参考图6,为本公开实施例提供的又一种定格结构的示意图, 如图6所示,若定格视频片段中对应有画中画标识,则将对应有画中画标识的定格视频片段放置于画中画轨道中,使得对应有画中画标识的定格视频片段以画中画的形式进行展示。
本公开实施例提供的视频编辑方法中,首先,响应于针对目标视频模板的预设触发操作,显示目标视频模板对应的至少一个素材添加入口,接收针对至少一个素材添加入口中的第一素材添加入口添加的第一视频素材,按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,并基于第一视频片段和定格视频片段合成得到目标视频,其中,目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成,目标视频模板中记录有第一视频片段与定格视频片段之间的映射关系和第一视频片段中的指定视频帧图像的位置信息,定格视频片段是基于第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。可见,本公开实施例能够基于用户添加的第一视频素材自动生成第一视频片段和定格视频片段,用于合成目标视频,丰富了视频编辑的方式,提升了用户体验。
另外,由于定格视频片段为基于第一视频片段自动生成,因此本公开实施例提供的视频编辑方法中无需用户额外上传定格视频片段,即可生成具有定格效果的目标视频,降低了定格效果视频的编辑门槛,提升了用户的视频编辑体验。
实际应用中,为了进一步丰富视频编辑的方式,提升用户体验,本公开实施例还可以支持对定格视频片段进行替换的功能。具体地,在上述实施例基础上,本公开实施例还可以包括以下步骤。参考图7,为本公开实施例提供的另一种视频编辑方法的流程图,该方法包括:
S701:响应于针对定格视频片段的替换操作,显示第一视频片段对应的视频轨道。
其中,第一视频片段对应的视频轨道用于展示第一视频片段中的各个视频帧。
本公开实施例中,由于定格视频片段与第一视频片段具有映射关系,因此在接收到针对第一视频片段对应的定格视频片段的替换操作后,由效果预览页面跳转至素材编辑页面,可以在素材编辑页面上显示第一视频片段对应 的视频轨道,以便用户能够优先从第一视频片段中选择目标视频帧画面,用于生成第一视频片段对应的定格视频片段,从而保证生成的目标视频中的定格效果。
如图8所示,为本公开实施例提供的一种效果预览页面的示意图,该页面上显示有定格视频片段对应的素材编辑入口801,用户可以通过点击该素材编辑入口801,触发显示素材编辑框802,用户可以通过点击素材编辑框802中的替换控件,触发对定格视频片段的替换操作。具体地,在接收到针对定格视频片段的替换操作后,显示如图9所示的第一视频片段对应的视频轨道。
S702:基于第一视频片段对应的视频轨道,从第一视频片段中确定目标视频帧图像。
本公开实施例中,可以选取第一视频片段对应的视频轨道中的任一视频帧图像,作为目标视频帧图像。
具体地,参考图9,为本公开实施例提供的一种素材编辑页面的示意图,素材编辑页面上显示有第一视频片段对应的视频轨道901,用户可以通过拖动控件902选择目标视频帧图像。
一种可选的实施方式中,目标视频帧图像还可以从用户相册中确定,继续参考图9,当用户点击相册导入后,可跳转至用户相册页面,在用户相册页面上,从用户相册中选取某一图片或者某一视频中的某一帧图片作为目标视频帧图像。
S703:基于目标视频帧图像生成目标替换视频片段,并利用目标替换视频片段更新第一视频素材对应的定格视频片段。
本公开实施例中,在确定目标视频帧图像后,基于目标视频模板中记录的定格视频片段的播放时间信息和目标视频帧图像,按照目标视频模板所指示的视频编辑操作,生成目标替换视频片段,并利用目标替换视频片段更新第一视频素材对应的定格视频片段。
本公开实施例提供的视频编辑方法中,响应于针对定格视频片段的替换操作,显示第一视频片段对应的视频轨道,基于第一视频片段对应的视频轨道,从第一视频片段中确定目标视频帧图像,基于目标视频帧图像生成目标替换视频片段,并利用目标替换视频片段更新第一视频素材对应的定格视频 片段,从而实现了对定格视频片段的替换,丰富了视频编辑的方式,提升了用户体验。
另外,通过优先为用户显示第一视频片段对应的视频轨道的方式,引导用户优先从第一视频片段中确定目标视频帧图像,用于生成定格视频片段,能够保证目标视频的定格效果。
另外,为了进一步丰富视频编辑的方式,提升用户体验,本公开实施例还可以支持对第一视频片段进行编辑操作,并在触发对第一视频片段的编辑操作时,同步联动的更新定格视频片段,保证目标视频的定格效果。
具体地,在上述实施例的基础上还包括以下步骤,参考图10,为本公开实施例提供的又一种视频编辑方法的流程图,该方法包括:
S1001:在接收到针对第一视频片段的编辑操作后,获取第一视频片段对应的编辑结果视频片段。
其中,编辑操作包括替换操作、拍摄操作或裁剪操作。
编辑结果视频片段是指对第一视频片段进行编辑操作后得到的视频片段。
一种可选的实施方式中,在接收到针对第一视频片段的替换操作后,可以从本地相册中,获取任一视频素材,作为第一视频片段对应的编辑结果视频片段。
另一种可选的实施方式中,在接收到针对第一视频片段的拍摄操作后,可以将拍摄所得到的视频作为第一视频片段对应的编辑结果视频片段。
又一种可选的实施方式中,在接收到针对第一视频片段的裁剪操作后,可以对第一视频片段进行裁剪,并将裁剪后的第一视频片段作为第一视频片段对应的编辑结果视频片段。
S1002:按照目标视频模板所指示的视频编辑操作,基于编辑结果视频片段生成编辑后定格视频片段。
在确定第一视频片段对应的编辑结果视频片段之后,可以基于第一视频片段中的指定视频帧画面的位置信息,从编辑结果视频片段中获取该位置信息对应的指定视频帧画面。然后,基于目标视频模板中记录的定格视频片段的播放时间信息,对该指定视频帧画面进行定格处理,得到编辑后定格视频片段。
若第一视频片段中的指定视频帧图像的位置信息,为第一视频片段中间的某一帧视频帧图像,那么基于该视频帧图像所生成的定格视频片段具有映射关系的第一视频片段为2个。
一种可选的实施方式中,假设与同一定格视频片段具有映射关系的第一视频片段为多个,则在接收到针对该多个第一视频片段中的任意一个触发编辑操作后,获取该第一视频片段对应的编辑结果视频片段,此时,可以基于编辑结果视频片段对应的视频素材,生成其他第一视频片段。
若第一视频片段中的指定视频帧图像的位置信息,为第一视频片段的最后一帧视频帧图像,那么在接收到用户针对该第一视频片段触发编辑操作后,获取第一视频片段对应的编辑结果视频片段,并基于该编辑结果视频片段生成编辑后定格视频片段。
S1003:基于编辑结果视频片段和编辑后定格视频片段合成得到目标视频。
本公开实施例中,在生成编辑结果视频片段和编辑后定格视频片段后,按照第一视频片段和定格视频片段之间的先后顺序关系,基于编辑结果视频片段和编辑后定格视频片段合成得到目标视频。
本公开实施例提供的视频编辑方法中,可以支持对第一视频片段进行编辑操作,并在触发对第一视频片段的编辑操作时,同步联动的更新定格视频片段,保证目标视频的定格效果。
在上述实施例的基础上,本公开实施例还提供了一种视频编辑方法,用于生成如上述实施例中的目标视频模板。
具体地,参考图11,为本公开实施例提供的又一种视频编辑方法的流程图,该方法包括:
S1101:获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息。
其中,指定视频帧图像用于经过定格处理后得到定格视频片段。
视频编辑草稿包括原始视频素材以及针对原始视频素材的视频编辑操作。
一种可选的实施方式中,在预设定格绑定开关处于开启状态下,获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及第一视 频片段中的指定视频帧图像的位置信息。
其中,预设定格绑定开关是指预先设置的用于控制定格视频片段与原始视频素材之间映射关系的开关,若该预设定格绑定开关开启,则为第一视频片段和定格视频片段设置映射关系,使得用户在使用基于视频编辑草稿发布的视频模板生成目标视频时,无需上传定格视频片段,视频编辑操作更加方便快捷。
本公开实施例中,预设定格绑定开关可以高级设置页面中,如图12所示,该高级设置页面中,可以通过点击控件1201,控制预设绑定开关的开启和关闭,在模板创作者对预设绑定开关进行设置完毕后。
需要说明的是,在预设定格绑定开关处于开启状态下,则允许修改视频素材数量开关为关闭,如图12所示,由于在预设定格绑定开关开启时,所需用户上传的视频素材的数量是确定的,此时,不允许用户修改视频素材数量。
S1102:响应于针对视频编辑草稿的模板发布操作,基于视频编辑草稿、定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成并发布视频编辑草稿对应的视频模板。
其中,视频模板用于指示对添加的视频素材执行视频编辑操作,以生成第一视频片段和定格视频片段并合成为目标视频。
本公开实施例中,在接收到模板创作者对视频草稿的模板发布操作后,将视频编辑草稿中的原始视频素材,基于定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成原始视频片段和其对应的定格视频片段,再基于原始视频片段和其对应的定格视频片段生成并发布视频编辑草稿对应的视频模板,便于用户观看。
另外,为了便于用户对模板创作者发布的模板的理解,还可以为原始视频素材添加对应的编辑脚本,如编辑脚本可以为原始视频素材的拍摄内容、拍摄方法等,引导用户快速找到合适的视频素材。
一种可选的实施方式中,在脚本编辑页面上显示原始视频素材对应的脚本设置栏,响应于针对视频编辑草稿的模板发布操作,基于视频编辑草稿、视频编辑草稿中的原始视频素材对应的编辑脚本、定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成并发布视频编辑草稿对应的视频模板。
其中,脚本编辑栏用于添加原始视频素材对应的编辑脚本。
本公开实施例中,在脚本编辑页面上显示原始视频片段对应的脚本设置栏,模板创作者可以在该脚本设置栏添加原始素材片段对应的编辑脚本,添加完成后,在接收到针对视频编辑草稿的模板发布操作后,将视频编辑草稿中的原始视频素材,基于视频编辑草稿中的原始视频素材对应的编辑脚本、定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成原始视频片段和其对应的定格视频片段,再基于原始视频片段和其对应的定格视频片段生成并发布视频编辑草稿对应的视频模板。
本公开实施例提供的视频编辑方法中,获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,响应于针对视频编辑草稿的模板发布操作,基于视频编辑草稿、定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成并发布视频编辑草稿对应的视频模板。该视频模板用于指示对添加的视频素材执行视频编辑操作,以生成第一视频片段和定格视频片段并合成为目标视频的功能,丰富了视频编辑的方式,提升了用户体验。
与上述方法实施例基于同一个发明构思,本公开实施例还提供了一种视频编辑装置,参考图13,为本公开实施例提供的一种视频编辑装置的结构示意图,所述装置包括:
第一显示模块1301,用于响应于针对目标视频模板的预设触发操作,显示所述目标视频模板对应的至少一个素材添加入口;
接收模块1302,用于接收针对所述至少一个素材添加入口中的第一素材添加入口添加的第一视频素材;
第一生成模块1303,用于按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段;
第一合成模块1304,用于基于所述第一视频片段和所述定格视频片段合成得到目标视频;
其中,所述目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成;所述目标视频模板中记录有所述第一视频片段 与所述定格视频片段之间的映射关系和所述第一视频片段中的指定视频帧图像的位置信息;所述定格视频片段是基于所述第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。
一种可选的实施方式中,所述装置还包括:
第二显示模块,用于响应于针对所述定格视频片段的替换操作,显示所述第一视频片段对应的视频轨道;
确定模块,用于基于所述第一视频片段对应的视频轨道,从所述第一视频片段中确定目标视频帧图像;
第二生成模块,用于基于所述目标视频帧图像生成目标替换视频片段,并利用所述目标替换视频片段更新所述第一视频素材对应的定格视频片段。
一种可选的实施方式中,所述装置还包括:
第一获取模块,用于在接收到针对所述第一视频片段的编辑操作后,获取所述第一视频片段对应的编辑结果视频片段;其中,所述编辑操作包括替换操作、拍摄操作或裁剪操作;
第三生成模块,用于按照所述目标视频模板所指示的视频编辑操作,基于所述编辑结果视频片段生成编辑后定格视频片段;
相应的,所述第一合成模块具体用于:
基于所述编辑结果视频片段和所述编辑后定格视频片段合成得到目标视频。
一种可选的实施方式中,所述目标视频模板中记录有所述定格视频片段的播放时间信息;所述第一生成模块包括:
第一生成子模块,用于基于所述第一视频素材生成第一视频片段;
获取子模块,用于基于所述目标视频模板中记录的所述第一视频片段中的指定视频帧图像的位置信息,从所述第一视频片段中获取所述指定视频帧图像;
第二生成子模块,用于基于所述目标视频模板中记录的所述定格视频片段的播放时间信息和所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
一种可选的实施方式中,所述目标视频模板中记录有所述定格视频片段对应的画中画标识,所述画中画标识用于表示所述定格视频片段是否为画中 画形式;
所述第二生成子模块具体用于:
基于所述目标视频模板中记录的所述定格视频片段的播放时间信息、画中画标识以及所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
本公开实施例提供的视频编辑装置中,首先,响应于针对目标视频模板的预设触发操作,显示目标视频模板对应的至少一个素材添加入口,接收针对至少一个素材添加入口中的第一素材添加入口添加的第一视频素材,按照目标视频模板所指示的视频编辑操作,基于第一视频素材生成第一视频片段和定格视频片段,并基于第一视频片段和定格视频片段合成得到目标视频,其中,目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成,目标视频模板中记录有第一视频片段与定格视频片段之间的映射关系和第一视频片段中的指定视频帧图像的位置信息,定格视频片段是基于第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。可见,本公开实施例能够基于用户添加的第一视频素材自动生成第一视频片段和定格视频片段,用于合成目标视频,丰富了视频编辑的方式,提升了用户体验。
与上述方法实施例基于同一个发明构思,本公开实施例还提供了一种视频编辑装置,参考图14,为本公开实施例提供的另一种视频编辑装置的结构示意图,所述装置包括:
第二获取模块1401,用于获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息;所述指定视频帧图像用于经过定格处理后得到所述定格视频片段;所述视频编辑草稿包括原始视频素材以及针对所述原始视频素材的视频编辑操作;
第四生成模块1402,用于响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板;所述视频模板用于指示对添加的视频素材执行所述视频编辑操作,以生成所述第一视频片段和所述定格视频片段并合成为 目标视频。
一种可选的实施方式中,所述第二获取模块具体用于:
在预设定格绑定开关处于开启状态下,获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息。
一种可选的实施方式中,所述装置还包括:
第三显示模块,用于在脚本编辑页面上显示所述原始视频素材对应的脚本设置栏;其中,所述脚本编辑栏用于添加所述原始视频素材对应的编辑脚本;
相应的,所述第四生成模块具体用于:
响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述视频编辑草稿中的原始视频素材对应的编辑脚本、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板。
本公开实施例提供的视频编辑装置中,首先获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,指定视频帧图像用于经过定格处理后得到定格视频片段,视频编辑草稿包括原始视频素材以及针对原始视频素材的视频编辑操作,响应于针对视频编辑草稿的模板发布操作,基于视频编辑草稿、定格视频片段与第一视频素材之间的映射关系以及第一视频片段中的指定视频帧图像的位置信息,生成并发布视频编辑草稿对应的视频模板。该视频模板用于指示对添加的视频素材执行视频编辑操作,以生成第一视频片段和定格视频片段并合成为目标视频,丰富了视频编辑的方式,提升了用户体验。
除了上述方法和装置以外,本公开实施例还提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现本公开实施例所述的视频编辑方法。
本公开实施例还提供了一种计算机程序产品,包括计算机程序/指令,其特征在于,该计算机程序/指令被处理器执行时实现本公开实施例所述的视频编辑方法。
另外,本公开实施例还提供了一种视频编辑设备,参见图15所示,可以 包括:
处理器1501、存储器1502、输入装置1503和输出装置1504。视频编辑设备中的处理器1501的数量可以一个或多个,图15中以一个处理器为例。在本公开的一些实施例中,处理器1501、存储器1502、输入装置1503和输出装置1504可通过总线或其它方式连接,其中,图15中以通过总线连接为例。
存储器1502可用于存储软件程序以及模块,处理器1501通过运行存储在存储器1502的软件程序以及模块,从而执行视频编辑设备的各种功能应用以及数据处理。存储器1502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等。此外,存储器1502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。输入装置1503可用于接收输入的数字或字符信息,以及产生与视频编辑设备的用户设置以及功能控制有关的信号输入。
具体在本实施例中,处理器1501会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器1502中,并由处理器1501来运行存储在存储器1502中的应用程序,从而实现上述视频编辑设备的各种功能。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下, 在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (13)

  1. 一种视频编辑方法,包括:
    响应于针对目标视频模板的预设触发操作,显示所述目标视频模板对应的至少一个素材添加入口;
    接收针对所述至少一个素材添加入口中的第一素材添加入口添加的第一视频素材;
    按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段,并基于所述第一视频片段和所述定格视频片段合成得到目标视频;
    其中,所述目标视频模板用于指示对添加的视频素材进行视频编辑操作,以生成多个视频片段并合成;所述目标视频模板中记录有所述第一视频片段与所述定格视频片段之间的映射关系和所述第一视频片段中的指定视频帧图像的位置信息;所述定格视频片段是基于所述第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。
  2. 根据权利要求1所述的方法,其中,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频之前,所述视频编辑方法还包括:
    响应于针对所述定格视频片段的替换操作,显示所述第一视频片段对应的视频轨道;
    基于所述第一视频片段对应的视频轨道,从所述第一视频片段中确定目标视频帧图像;
    基于所述目标视频帧图像生成目标替换视频片段,并利用所述目标替换视频片段更新所述第一视频素材对应的定格视频片段。
  3. 根据权利要求1或2所述的方法,其中,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频之前,所述视频编辑方法还包括:
    在接收到针对所述第一视频片段的编辑操作后,获取所述第一视频片段对应的编辑结果视频片段;其中,所述编辑操作包括替换操作、拍摄操作或裁剪操作;
    按照所述目标视频模板所指示的视频编辑操作,基于所述编辑结果视频片段生成编辑后定格视频片段;
    相应的,所述基于所述第一视频片段和所述定格视频片段合成得到目标视频,包括:
    基于所述编辑结果视频片段和所述编辑后定格视频片段合成得到所述目标视频。
  4. 根据权利要求1-3任一项所述的方法,其中,所述目标视频模板中记录有所述定格视频片段的播放时间信息;所述按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段,包括:
    基于所述第一视频素材生成所述第一视频片段;
    基于所述目标视频模板中记录的所述第一视频片段中的指定视频帧图像的位置信息,从所述第一视频片段中获取所述指定视频帧图像;
    基于所述目标视频模板中记录的所述定格视频片段的播放时间信息和所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
  5. 根据权利要求4所述的方法,其中,所述目标视频模板中记录有所述定格视频片段对应的画中画标识,所述画中画标识用于表示所述定格视频片段是否为画中画形式;
    所述基于所述目标视频模板中记录的所述定格视频片段的播放时间信息和所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段,包括:
    基于所述目标视频模板中记录的所述定格视频片段的播放时间信息、所述画中画标识以及所述指定视频帧图像,按照所述目标视频模板所指示的视频编辑操作,生成所述第一视频素材对应的定格视频片段。
  6. 一种视频编辑方法,包括:
    获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息;所述指定视频帧图像用于经过定格处理后得到所述定格视频片段,其中,所述视频编辑草稿包括原始视频素材以及针对所述原始视频素材的视频编辑操作;
    响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与所述第一视频素材之间的映射关系以及所述第一视频 片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板,其中,所述视频模板用于指示对添加的视频素材执行所述视频编辑操作,以生成所述第一视频片段和所述定格视频片段并合成为目标视频。
  7. 根据权利要求6所述的方法,其中,所述获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,包括:
    在预设定格绑定开关处于开启状态下,获取所述视频编辑草稿中的定格视频片段与所述第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息。
  8. 根据权利要求6或7所述的方法,还包括:
    在脚本编辑页面上显示所述原始视频素材对应的脚本设置栏,其中,所述脚本编辑栏用于添加所述原始视频素材对应的编辑脚本;
    相应的,所述响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与所述第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板,包括:
    响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述视频编辑草稿中的所述原始视频素材对应的编辑脚本、所述定格视频片段与所述第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板。
  9. 一种视频编辑装置,包括:
    第一显示模块,用于响应于针对目标视频模板的预设触发操作,显示所述目标视频模板对应的至少一个素材添加入口;
    接收模块,用于接收针对所述至少一个素材添加入口中的第一素材添加入口添加的第一视频素材;
    第一生成模块,用于按照所述目标视频模板所指示的视频编辑操作,基于所述第一视频素材生成第一视频片段和定格视频片段;
    第一合成模块,用于基于所述第一视频片段和所述定格视频片段合成得到目标视频;
    其中,所述目标视频模板用于指示对添加的视频素材进行视频编辑操作, 以生成多个视频片段并合成;所述目标视频模板中记录有所述第一视频片段与所述定格视频片段之间的映射关系和所述第一视频片段中的指定视频帧图像的位置信息;所述定格视频片段是基于所述第一视频片段中的指定视频帧图像进行定格处理得到的视频片段。
  10. 一种视频编辑装置,包括:
    第二获取模块,用于获取视频编辑草稿中的定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,其中,所述指定视频帧图像用于经过定格处理后得到所述定格视频片段;所述视频编辑草稿包括原始视频素材以及针对所述原始视频素材的视频编辑操作;
    第四生成模块,用于响应于针对所述视频编辑草稿的模板发布操作,基于所述视频编辑草稿、所述定格视频片段与第一视频素材之间的映射关系以及所述第一视频片段中的指定视频帧图像的位置信息,生成并发布所述视频编辑草稿对应的视频模板,其中,所述视频模板用于指示对添加的视频素材执行所述视频编辑操作,以生成所述第一视频片段和所述定格视频片段并合成为目标视频。
  11. 一种计算机可读存储介质,存储有指令,其中,当所述指令在终端设备上运行时,使得所述终端设备实现如权利要求1-8任一项所述的视频编辑方法。
  12. 一种视频编辑设备,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时,实现如权利要求1-8任一项所述的视频编辑方法。
  13. 一种计算机程序产品,包括计算机程序/指令,其中,所述计算机程序/指令被处理器执行时实现如权利要求1-8任一项所述的视频编辑方法。
PCT/CN2023/118776 2022-09-14 2023-09-14 一种视频编辑方法、装置、设备及存储介质 Ceased WO2024056023A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020247041777A KR20250011657A (ko) 2022-09-14 2023-09-14 비디오 편집 방법 및 장치, 및 디바이스 및 저장 매체
JP2023578985A JP7711231B2 (ja) 2022-09-14 2023-09-14 ビデオ編集方法、装置、機器及び記憶媒体
EP23818220.8A EP4362450A4 (en) 2022-09-14 2023-09-14 VIDEO EDITING METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM
US18/543,807 US12051447B2 (en) 2022-09-14 2023-12-18 Video editing method, apparatus, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211117918.5 2022-09-14
CN202211117918.5A CN117749959A (zh) 2022-09-14 2022-09-14 一种视频编辑方法、装置、设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/543,807 Continuation US12051447B2 (en) 2022-09-14 2023-12-18 Video editing method, apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2024056023A1 true WO2024056023A1 (zh) 2024-03-21

Family

ID=89222415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/118776 Ceased WO2024056023A1 (zh) 2022-09-14 2023-09-14 一种视频编辑方法、装置、设备及存储介质

Country Status (6)

Country Link
US (1) US12051447B2 (zh)
EP (1) EP4362450A4 (zh)
JP (1) JP7711231B2 (zh)
KR (1) KR20250011657A (zh)
CN (1) CN117749959A (zh)
WO (1) WO2024056023A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2025527039A (ja) * 2023-07-26 2025-08-18 北京字跳▲網▼絡技▲術▼有限公司 ビデオ編集方法、装置、デバイスおよび媒体
KR20260008185A (ko) 2024-06-05 2026-01-15 베이징 지티아오 네트워크 테크놀로지 컴퍼니, 리미티드 미디어 항목을 처리하기 위한 방법, 장치, 디바이스 및 매체

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170085786A1 (en) * 2013-12-10 2017-03-23 Hurray3 Inc. Video processing device, video processing method, and video processing program
CN110139159A (zh) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 视频素材的处理方法、装置及存储介质
CN110825912A (zh) * 2019-10-30 2020-02-21 北京达佳互联信息技术有限公司 视频生成方法、装置、电子设备及存储介质
CN112422831A (zh) * 2020-11-20 2021-02-26 广州太平洋电脑信息咨询有限公司 视频生成方法、装置、计算机设备和存储介质
CN113660528A (zh) * 2021-05-24 2021-11-16 杭州群核信息技术有限公司 一种视频合成方法、装置、电子设备和存储介质
WO2022088783A1 (zh) * 2020-10-28 2022-05-05 北京达佳互联信息技术有限公司 视频制作方法及装置
WO2022126664A1 (zh) * 2020-12-18 2022-06-23 深圳市大疆创新科技有限公司 视频编辑方法、终端设备及计算机可读存储介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US1057628A (en) * 1913-04-01 Ferdinand Eberhardt Combined tent and ground floor-cloth.
JP2004355767A (ja) 2003-05-30 2004-12-16 Canon Inc 再生装置
US7836389B2 (en) * 2004-04-16 2010-11-16 Avid Technology, Inc. Editing system for audiovisual works and corresponding text for television news
US20100154065A1 (en) * 2005-07-01 2010-06-17 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Media markup for user-activated content alteration
JP2009527135A (ja) * 2006-01-05 2009-07-23 アイスポット、コーポレーション デジタル・ビデオを記憶、編集、および共有するシステムおよび方法
JP2010541415A (ja) * 2007-09-28 2010-12-24 グレースノート インコーポレイテッド マルチメディアイベントのプレゼンテーションの合成
US20100153520A1 (en) * 2008-12-16 2010-06-17 Michael Daun Methods, systems, and media for creating, producing, and distributing video templates and video clips
US20150088977A1 (en) * 2013-09-20 2015-03-26 Versigraph Inc. Web-based media content management
CN108040288B (zh) * 2017-12-20 2019-02-22 北京达佳互联信息技术有限公司 视频编辑方法、装置及智能移动终端
CN111654619A (zh) * 2020-05-18 2020-09-11 成都市喜爱科技有限公司 智能拍摄方法、装置、服务器及存储介质
CN111935504B (zh) * 2020-07-29 2023-04-14 广州华多网络科技有限公司 视频制作方法、装置、设备及存储介质
CN112073649B (zh) 2020-09-04 2022-12-13 北京字节跳动网络技术有限公司 多媒体数据的处理方法、生成方法及相关设备
CN113613059B (zh) * 2021-07-30 2024-01-26 杭州时趣信息技术有限公司 一种短播视频处理方法、装置及设备
CN114286176A (zh) 2021-12-28 2022-04-05 北京快来文化传播集团有限公司 视频编辑方法、装置及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170085786A1 (en) * 2013-12-10 2017-03-23 Hurray3 Inc. Video processing device, video processing method, and video processing program
CN110139159A (zh) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 视频素材的处理方法、装置及存储介质
CN110825912A (zh) * 2019-10-30 2020-02-21 北京达佳互联信息技术有限公司 视频生成方法、装置、电子设备及存储介质
WO2022088783A1 (zh) * 2020-10-28 2022-05-05 北京达佳互联信息技术有限公司 视频制作方法及装置
CN112422831A (zh) * 2020-11-20 2021-02-26 广州太平洋电脑信息咨询有限公司 视频生成方法、装置、计算机设备和存储介质
WO2022126664A1 (zh) * 2020-12-18 2022-06-23 深圳市大疆创新科技有限公司 视频编辑方法、终端设备及计算机可读存储介质
CN113660528A (zh) * 2021-05-24 2021-11-16 杭州群核信息技术有限公司 一种视频合成方法、装置、电子设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4362450A4 *

Also Published As

Publication number Publication date
US20240153537A1 (en) 2024-05-09
JP2024535171A (ja) 2024-09-30
US12051447B2 (en) 2024-07-30
JP7711231B2 (ja) 2025-07-22
KR20250011657A (ko) 2025-01-21
EP4362450A1 (en) 2024-05-01
CN117749959A (zh) 2024-03-22
EP4362450A4 (en) 2024-10-16

Similar Documents

Publication Publication Date Title
JP7739470B2 (ja) ビデオ編集方法、装置、機器および記憶媒体
US12549802B2 (en) Video processing method, apparatus, device and storage medium
JP7719212B2 (ja) ビデオ生成方法、装置、機器および記憶媒体
JP7750991B2 (ja) 画像処理方法、装置、機器及び記憶媒体
WO2024056023A1 (zh) 一种视频编辑方法、装置、设备及存储介质
JP7602047B2 (ja) チュートリアルに基づくマルチメディアリソース編集方法、装置、機器および記憶媒体
JP7782792B2 (ja) ビデオ素材クリップ方法及び装置
US20240348865A1 (en) Method and apparatus for generating video editing template, device, and storage medium
JP7652945B2 (ja) 映像編集の方法及び装置
KR20220119743A (ko) 비디오 더빙 방법, 디바이스, 장치 및 저장 매체
CN116261013B (zh) 一种模板更新方法、装置、设备及存储介质
JP7794859B2 (ja) 映像生成方法、装置、デバイス及び記憶媒体
CN121771483A (zh) 一种视频编辑处理方法、装置、设备及存储介质
WO2026001828A1 (zh) 一种视频生成方法、装置、设备及存储介质
WO2025201137A1 (zh) 一种视频生成方法、装置、设备及存储介质
CN120807712A (zh) 一种图像处理方法、装置、设备及存储介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2023578985

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2023818220

Country of ref document: EP

Effective date: 20231215

WWE Wipo information: entry into national phase

Ref document number: 202427097609

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 20247041777

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020247041777

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 11202408789V

Country of ref document: SG

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112024026547

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112024026547

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20241218

NENP Non-entry into the national phase

Ref country code: DE