[go: up one dir, main page]

CN118860232A - Multimedia resource editing method, device, equipment, storage medium and program product - Google Patents

Multimedia resource editing method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN118860232A
CN118860232A CN202411088157.4A CN202411088157A CN118860232A CN 118860232 A CN118860232 A CN 118860232A CN 202411088157 A CN202411088157 A CN 202411088157A CN 118860232 A CN118860232 A CN 118860232A
Authority
CN
China
Prior art keywords
target
editing
interface
displaying
subtitle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411088157.4A
Other languages
Chinese (zh)
Inventor
洪嘉慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202411088157.4A priority Critical patent/CN118860232A/en
Publication of CN118860232A publication Critical patent/CN118860232A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment, a storage medium and a program product for editing multimedia resources, which are used for improving the efficiency of editing the multimedia resources by a user. The method of the embodiment of the application comprises the following steps: displaying a multimedia resource interface, wherein the multimedia resource interface comprises picture materials and caption clauses of a target multimedia resource, and the picture materials correspond to the caption clauses; responding to the editing triggering operation of the target multimedia resource, displaying a target editing interface, wherein the target editing interface comprises a plurality of editable objects in an editable state, and the plurality of editable objects comprise picture materials and/or caption clauses; and detecting and responding to the editing operation of the target editing object, displaying an interface after the editing operation, wherein the target editing object is at least one of a plurality of editable objects, and the first interface after the editing operation highlights the associated information corresponding to the editing content of the editing operation, and the associated information belongs to at least part of the content in the target information.

Description

多媒体资源的编辑方法、装置、设备、存储介质及程序产品Multimedia resource editing method, device, equipment, storage medium and program product

技术领域Technical Field

本申请涉及多媒体技术领域,尤其涉及一种多媒体资源的编辑方法、装置、设备、存储介质及程序产品。The present application relates to the field of multimedia technology, and in particular to a method, device, equipment, storage medium and program product for editing multimedia resources.

背景技术Background Art

图文、短视频和音频,是目前三种可选的最常见的内容媒介形态。图文,作为自媒体的传统力量,连接着创作者与读者,让信息得以传递。文字与图片的结合,降低了阅读的门槛,使内容更容易传播,且易于分享。Graphics, short videos and audio are the three most common forms of content media available. Graphics, as the traditional power of self-media, connect creators and readers and allow information to be transmitted. The combination of text and pictures lowers the threshold for reading, making content easier to spread and share.

但在图文生成后,用户如果想对其进行编辑,相关技术中的编辑操作,比较繁琐复杂。However, after the image and text are generated, if the user wants to edit them, the editing operations in related technologies are relatively cumbersome and complicated.

发明内容Summary of the invention

本申请实施例提供了一种多媒体资源的编辑方法、装置、设备、存储介质及程序产品,用于提高用户编辑多媒体资源的效率。The embodiments of the present application provide a method, apparatus, device, storage medium and program product for editing multimedia resources, which are used to improve the efficiency of users in editing multimedia resources.

第一方面提供一种多媒体资源的编辑方法,可以包括:显示多媒体资源界面,所述多媒体资源界面包括目标多媒体资源的画面素材和字幕分句,所述画面素材和所述字幕分句对应;响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,所述目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述画面素材和/或所述字幕分句;检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的第一界面,所述目标编辑对象为所述多个可编辑对象中的至少一个,所述编辑操作后的第一界面中突出显示与所述编辑操作的编辑内容对应的关联信息,所述关联信息属于目标信息中的至少部分内容,所述目标信息包括字幕分句和画面素材中的至少一项。A first aspect provides a method for editing multimedia resources, which may include: displaying a multimedia resource interface, the multimedia resource interface including picture materials and subtitle sentences of a target multimedia resource, the picture materials corresponding to the subtitle sentences; in response to an edit trigger operation on the target multimedia resource, displaying a target editing interface, the target editing interface including a plurality of editable objects in an editable state, the plurality of editable objects including the picture materials and/or the subtitle sentences; detecting and responding to an editing operation on a target editing object, displaying a first interface after the editing operation, the target editing object being at least one of the plurality of editable objects, highlighting associated information corresponding to the editing content of the editing operation in the first interface after the editing operation, the associated information belonging to at least part of the target information, the target information including at least one of the subtitle sentences and the picture materials.

在本技术方案中,目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述目标多媒体资源的画面素材和/或字幕分句,所以,用户可以对多个可编辑对象进行批量编辑,还会突出显示与编辑操作的编辑内容对应的关联信息,便于用户确定是否对关联信息进行编辑,从而可以提高了视频编辑效率。In the present technical solution, the target editing interface includes multiple editable objects in an editable state, and the multiple editable objects include the picture materials and/or subtitle sentences of the target multimedia resources. Therefore, the user can batch edit multiple editable objects, and the associated information corresponding to the editing content of the editing operation will be highlighted, which is convenient for the user to determine whether to edit the associated information, thereby improving the video editing efficiency.

在一种可能的实现方式中,所述编辑操作后的第一界面包括提示信息,所述提示信息用于提示是否同步对所述关联信息进行所述编辑操作;所述方法还可以包括:在检测到同步对所述关联信息进行所述编辑操作的情况下,响应于对所述关联信息的编辑操作,显示进行所述编辑操作后的第二界面。In one possible implementation, the first interface after the editing operation includes prompt information, and the prompt information is used to prompt whether to perform the editing operation on the associated information synchronously; the method may also include: when it is detected that the editing operation is performed on the associated information synchronously, in response to the editing operation on the associated information, displaying the second interface after the editing operation.

在本技术方案中,在突出显示与修改目标字幕分句的修改内容对应的关联信息的同时,还可以在编辑操作后的第一界面显示提示信息,该提示信息用于提示同步对所述关联信息进行所述编辑操作,从而可以通过提示信息指引用户是否同步对关联信息进行编辑操作,从而提高编辑操作的效率。In the present technical solution, while highlighting the associated information corresponding to the modified content of the target subtitle sentence, prompt information can also be displayed on the first interface after the editing operation. The prompt information is used to prompt the user to perform the editing operation on the associated information synchronously, so that the prompt information can be used to guide the user whether to perform the editing operation on the associated information synchronously, thereby improving the efficiency of the editing operation.

在一种可能的实现方式中,所述编辑操作后的第一界面包括同步编辑控件、部分编辑控件和取消控件,所述方法还可以包括:In a possible implementation, the first interface after the editing operation includes a synchronous editing control, a partial editing control, and a cancel control, and the method may further include:

检测到对所述同步编辑控件的触控操作,对所述关联信息进行编辑操作,显示进行所述编辑操作后的第二界面;或,detecting a touch operation on the synchronous editing control, performing an editing operation on the associated information, and displaying a second interface after performing the editing operation; or,

检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,显示进行所述编辑操作后的第三界面;或,Detecting a touch operation on the partial editing control, performing an editing operation on a portion of the associated information, and displaying a third interface after performing the editing operation; or,

检测到对所述取消控件的触控操作,在所述编辑操作后的第一界面中取消对所述关联信息的突出显示。A touch operation on the cancel control is detected, and the highlighting of the associated information is canceled in the first interface after the editing operation.

在本技术方案中,在编辑操作后的第一界面中显示有同步编辑控件、部分编辑控件和取消控件,可以供用户根据自己的实际需求,进行不同的选择操作,在提高用户编辑效率的同时,还可以提高用户的体验。In this technical solution, synchronous editing controls, partial editing controls and cancel controls are displayed in the first interface after the editing operation, allowing users to perform different selection operations according to their actual needs, thereby improving user editing efficiency and user experience.

在一种可能的实现方式中,所述检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,显示进行所述编辑操作后的第三界面,可以包括:In a possible implementation, detecting a touch operation on the partial editing control, performing an editing operation on a portion of the associated information, and displaying a third interface after the editing operation may include:

检测到对所述部分编辑控件的触控操作,检测并响应对目标关联信息的选中操作,显示选中界面,所述选中界面包括处于选中状态的目标关联信息,所述目标关联信息是所述关联信息中的至少一个;detecting a touch operation on the part of the editing controls, detecting and responding to a selection operation on the target-related information, and displaying a selection interface, the selection interface including the target-related information in a selected state, the target-related information being at least one of the related information;

检测并响应对所述目标关联信息的编辑操作,显示进行所述编辑操作后的第三界面。Detect and respond to an editing operation on the target-related information, and display a third interface after the editing operation is performed.

在本技术方案中,目标关联信息可以是关联信息中的至少一个,对用户选择部分修改控件的一个具体说明,提高了方案的可行性。In the present technical solution, the target association information may be at least one of the association information, a specific description of the user selecting a partial modification control, thereby improving the feasibility of the solution.

在一种可能的实现方式中,在所述多媒体资源界面和所述目标编辑界面处于同一界面的情况下,所述多媒体资源界面中进度条的位置与所述目标编辑对象对应。In a possible implementation manner, when the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object.

在本技术方案中,如果多媒体资源界面和所述目标编辑界面处于同一界面,多媒体资源界面中进度条的位置与所述目标编辑对象对应,便于用户可以直观感受到每次编辑后的显示效果,确定本次编辑是否满意,是否还需要再次编辑等,即可以辅助用户进行编辑,提高用户进行编辑操作的效率。In the present technical solution, if the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object, so that the user can intuitively feel the display effect after each editing, determine whether the current editing is satisfactory, whether it needs to be edited again, etc., which can assist the user in editing and improve the efficiency of the user's editing operations.

在一种可能的实现方式中,所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述目标多媒体资源的编辑触发操作,在所述目标编辑界面中,通过列表的形式显示所述字幕分句和对应的所述画面素材,所述字幕分句是对字幕文案进行分句得到的。In one possible implementation, the displaying of a target editing interface in response to an editing trigger operation on the target multimedia resource may include: in response to an editing trigger operation on the target multimedia resource, displaying the subtitle sentences and the corresponding screen materials in the form of a list in the target editing interface, the subtitle sentences being obtained by sentence-segmenting the subtitle text.

在本技术方案中,在目标编辑界面中,字幕分句和对应的画面素材是通过列表的形式显示的,便于用户进行联动编辑,提高用户编辑的效率。In this technical solution, in the target editing interface, subtitle sentences and corresponding screen materials are displayed in the form of a list, which is convenient for users to perform linked editing and improves user editing efficiency.

在一种可能的实现方式中,所述显示多媒体资源界面之前,所述方法还可以包括:显示输入界面,所述输入界面包括文字输入区域和生成控件;响应于在所述文字输入区域的输入操作,显示所述字幕文案;响应于对所述生成控件的触控操作,根据所述字幕文案匹配画面素材,生成所述目标多媒体资源。In a possible implementation, before displaying the multimedia resource interface, the method may further include: displaying an input interface, the input interface including a text input area and a generation control; in response to an input operation in the text input area, displaying the subtitle text; in response to a touch operation on the generation control, matching the screen material according to the subtitle text to generate the target multimedia resource.

在本技术方案中,用户可以在文字输入区域输入字幕文案,通过字幕文案匹配画面素材,来生成目标多媒体资源,提供了一种生成目标多媒体资源的实现方式,提高了方案的可行性。In this technical solution, the user can input subtitle text in the text input area, and generate target multimedia resources by matching the subtitle text with the screen material, which provides a method for generating target multimedia resources and improves the feasibility of the solution.

在一种可能的实现方式中,所述多媒体资源界面还包括批量编辑控件,所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述批量编辑控件的触控操作,显示所述目标编辑界面。In a possible implementation, the multimedia resource interface also includes a batch editing control, and displaying the target editing interface in response to an edit trigger operation on the target multimedia resource may include: displaying the target editing interface in response to a touch operation on the batch editing control.

在本技术方案中,因为多媒体资源界面还包括批量编辑控件,可以供用户对目标多媒体资源有编辑需求的时候,直接对批量编辑控件进行触控操作,然后对目标多媒体资源的画面素材,和/或,字幕分句进行批量编辑,从而可以提高编辑多媒体资源的效率。In this technical solution, because the multimedia resource interface also includes a batch editing control, when the user has editing needs for the target multimedia resources, the user can directly touch the batch editing control, and then batch edit the picture materials and/or subtitle sentences of the target multimedia resources, thereby improving the efficiency of editing multimedia resources.

在一种可能的实现方式中,所述多媒体资源界面还包括编辑触发控件,在所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面之前,所述方法还可以包括:响应于对所述编辑触发控件的触控操作,显示初始编辑界面,所述初始编辑界面包括批量编辑控件和处于不可编辑状态的多个不可编辑对象;In a possible implementation, the multimedia resource interface further includes an edit trigger control, and before the target edit interface is displayed in response to the edit trigger operation on the target multimedia resource, the method may further include: in response to a touch operation on the edit trigger control, displaying an initial edit interface, the initial edit interface including a batch edit control and a plurality of non-editable objects in a non-editable state;

所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述批量编辑控件的触控操作,显示所述目标编辑界面。The displaying of a target editing interface in response to an editing trigger operation on the target multimedia resource may include: displaying the target editing interface in response to a touch operation on the batch editing control.

在本技术方案中,因为多媒体资源界面还包括编辑触发控件,用于显示处于不可编辑状态的多个不可编辑对象,而这多个不可编辑对象用户还不能进行编辑操作,用户如果想对多个不可编辑对象进行编辑,需要对初始编辑界面中的批量编辑控件进行触控操作,然后,处于不可编辑状态的多个不可编辑对象就变成处于可编辑状态的多个可编辑对象,用户就可以对多个可编辑对象进行批量编辑操作,从而可以提高编辑目标多媒体资源的效率。In the present technical solution, because the multimedia resource interface also includes an editing trigger control for displaying multiple non-editable objects in an uneditable state, and users cannot perform editing operations on these multiple non-editable objects, if the user wants to edit the multiple non-editable objects, it is necessary to perform a touch operation on the batch editing control in the initial editing interface, and then the multiple non-editable objects in the uneditable state will become multiple editable objects in an editable state, and the user can perform batch editing operations on the multiple editable objects, thereby improving the efficiency of editing the target multimedia resources.

在一种可能的实现方式中,所述目标编辑界面包括合并控件,所述目标编辑对象包括所述多个可编辑对象中的至少两个目标可编辑对象,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述合并控件的触控操作,显示进行所述合并操作后的界面,所述进行所述合并操作后的界面包括将所述至少两个目标可编辑对象合并后的可编辑对象。In one possible implementation, the target editing interface includes a merge control, the target editing object includes at least two target editable objects among the multiple editable objects, and the detecting and responding to the editing operation on the target editing object and displaying the interface after the editing operation may include: responding to a touch operation on the merge control, displaying the interface after the merge operation, the interface after the merge operation includes the editable object after the at least two target editable objects are merged.

在本技术方案中,如果用户想对多个目标可编辑对象进行合并,可以通过合并控件,实现对目标可编辑对象的合并,提高了对目标可编辑对象进行合并的便捷性。In this technical solution, if the user wants to merge multiple target editable objects, the merge control can be used to merge the target editable objects, thereby improving the convenience of merging the target editable objects.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述方法还可以包括:显示合并后的字幕分句对应的合并画面素材,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并得到的字幕分句,所述合并画面素材为根据所述合并后的字幕分句生成的新的画面素材。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the method may further include: displaying a merged screen material corresponding to the merged subtitle sentence, the merged subtitle sentence being a subtitle sentence obtained by merging the at least two target subtitle sentences, and the merged screen material being a new screen material generated based on the merged subtitle sentence.

在本技术方案中,在将至少两个目标字幕分句进行合并后,还需要根据合并后的字幕分句生成新的画面素材,从而可以提高与合并后的字幕分句所对应合并画面素材的适配率,提高用户体验。In this technical solution, after merging at least two target subtitle sentences, new picture materials need to be generated based on the merged subtitle sentences, thereby improving the adaptation rate of the merged picture materials corresponding to the merged subtitle sentences and improving the user experience.

在一种可能的实现方式中,所述方法还可以包括:响应于对所述合并后的字幕分句进行修改的触发操作,显示键盘界面;检测并响应于在所述键盘界面的输入操作,对所述合并后的幕分句进行修改,显示修改及合并后的字幕分句。In a possible implementation, the method may further include: in response to a trigger operation to modify the merged subtitle sentence, displaying a keyboard interface; detecting and responding to an input operation on the keyboard interface, modifying the merged subtitle sentence, and displaying the modified and merged subtitle sentence.

在本技术方案中,用户在对至少两个字幕分句进行合并后,还可以对合并后的字幕分句进行修改,从而提高用户编辑字幕分句的效率。In this technical solution, after merging at least two subtitle sentences, the user can also modify the merged subtitle sentence, thereby improving the efficiency of the user in editing the subtitle sentences.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述方法还可以包括:显示对至少两个目标画面素材进行合并操作后的界面,所述至少两个目标画面素材与所述至少两个目标字幕分句一一对应。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the method may further include: displaying an interface after a merging operation is performed on the at least two target screen materials, wherein the at least two target screen materials correspond one-to-one to the at least two target subtitle sentences.

在本技术方案中,对多个目标字幕分句进行合并的情况下,也会对对应的多个目标画面素材进行合并,即可以实现联动合并,提高用户进行合并操作的效率。In this technical solution, when multiple target subtitle sentences are merged, the corresponding multiple target screen materials will also be merged, that is, linkage merging can be achieved, thereby improving the efficiency of the user's merging operation.

在一种可能的实现方式中,所述至少两个目标画面素材包括第一目标画面素材和第二目标画面素材,在所述显示对至少两个目标画面素材进行合并操作后的界面之前,所述方法还可以包括:显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将所述第一目标画面素材作为画面合并结果,所述第二合并选项用于将所述第二目标画面素材作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并后的字幕分句;In a possible implementation, the at least two target screen materials include a first target screen material and a second target screen material. Before displaying an interface after a merging operation is performed on the at least two target screen materials, the method may further include: displaying a merging selection interface, the merging selection interface including a first merging option, a second merging option and a third merging option, the first merging option being used to use the first target screen material as a screen merging result, the second merging option being used to use the second target screen material as a screen merging result, the third merging option being used to generate a new screen material as a screen merging result according to a merged subtitle sentence, the merged subtitle sentence being a subtitle sentence after the at least two target subtitle sentences are merged;

所述显示对至少两个目标画面素材进行合并操作后的界面,可以包括:响应于对目标合并选项的触控操作,显示对至少两个目标画面素材进行合并操作后的界面,所述进行合并操作后的界面包括与所述目标选项对应的画面合并结果。The display of the interface after the merging operation on at least two target screen materials may include: in response to a touch operation on a target merging option, displaying the interface after the merging operation on at least two target screen materials, wherein the interface after the merging operation includes a screen merging result corresponding to the target option.

在本技术方案中,对多个目标字幕分句进行合并的情况下,也会对对应的多个目标画面素材进行合并,即可以实现联动合并,但是在合并多个目标画面素材时,又可以分几种情况,本技术方案进行了具体说明,提高用户进行合并操作的效率。In this technical solution, when multiple target subtitle sentences are merged, the corresponding multiple target screen materials will also be merged, that is, linkage merging can be achieved. However, when merging multiple target screen materials, there are several situations. This technical solution provides specific explanations to improve the efficiency of the user's merging operation.

在一种可能的实现方式中,所述目标编辑界面包括拆分控件,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面,所述进行所述拆分操作后的界面包括拆分所述目标编辑对象得到的至少两个拆分后的可编辑对象。In one possible implementation, the target editing interface includes a split control, and the detecting and responding to an editing operation on the target editing object and displaying the interface after the editing operation may include: responding to a touch operation on the split control and displaying the interface after the split operation, wherein the interface after the split operation includes at least two split editable objects obtained by splitting the target editing object.

在本技术方案中,如果用户想对某个目标编辑对象进行拆分,可以通过拆分控件,实现对某个目标编辑对象的拆分,提高了对目标编辑对象进行拆分的便捷性。In this technical solution, if the user wants to split a target editing object, the splitting control can be used to split the target editing object, thereby improving the convenience of splitting the target editing object.

在一种可能的实现方式中,在所述响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面之前,所述方法还可以包括:检测拆分位置的输入操作;所述至少两个拆分后的可编辑对象是根据所述拆分位置对所述目标编辑对象进行拆分得到的。In a possible implementation, before displaying the interface after the split operation in response to the touch operation on the split control, the method may also include: detecting an input operation of a split position; the at least two split editable objects are obtained by splitting the target edit object according to the split position.

在本技术方案中,不管是目标编辑对象是字幕分句,还是画面素材,都可以通过检测拆分位置进行拆分,从而可以提高拆分的准确率。In this technical solution, no matter the target editing object is a subtitle sentence or a picture material, it can be split by detecting the split position, thereby improving the accuracy of the split.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,所述方法还可以包括:显示与至少两个拆分后的字幕分句一一对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the method may further include: displaying screen materials corresponding to at least two split subtitle sentences.

在本技术方案中,对目标字幕分句进行拆分的情况下,也会对对应的目标画面素材进行拆分,即可以实现联动拆分,提高用户进行拆分操作的效率。In this technical solution, when the target subtitle sentences are split, the corresponding target picture materials will also be split, that is, linkage splitting can be achieved, thereby improving the efficiency of the user's splitting operation.

在一种可能的实现方式中,所述至少两个拆分后的字幕分句一一对应的画面素材,可以包括:对目标画面素材进行拆分后得到的至少两个拆分后的画面素材,所述目标画面素材为与所述目标字幕分句对应的画面素材;或,至少两个新的画面素材;或,所述目标画面素材以及至少一个新的画面素材;其中,所述新的画面素材是在所述目标画面素材之后生成的。In a possible implementation, the at least two split picture materials corresponding to the subtitle sentences may include: at least two split picture materials obtained after splitting the target picture material, the target picture material is the picture material corresponding to the target subtitle sentence; or, at least two new picture materials; or, the target picture material and at least one new picture material; wherein the new picture material is generated after the target picture material.

在本技术方案中,对至少两个拆分后的字幕分句一一对应的画面素材进行了详细说明,可以都是拆分得到的画面素材,也可以都是新的画面素材,也可以一个是原目标字幕分句对应的画面素材,一个是新的画面素材,本申请提供了多种实现方式,提高了方案的可行性。In the present technical solution, the picture materials corresponding to at least two split subtitle sentences are described in detail. They may all be the picture materials obtained by splitting, or they may all be new picture materials, or one may be the picture material corresponding to the original target subtitle sentence, and the other may be a new picture material. The present application provides a variety of implementation methods to improve the feasibility of the solution.

在一种可能的实现方式中,所述对目标编辑对象的编辑操作包括对所述目标画面素材的替换操作,在所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面之前,所述方法还可以包括:响应于针对所述替换操作的触发操作,显示配图方式选择界面,所述配图方式选择界面包括至少一种配图方式;In a possible implementation, the editing operation on the target editing object includes a replacement operation on the target screen material. Before the detecting and responding to the editing operation on the target editing object and displaying an interface after the editing operation is performed, the method may further include: in response to a triggering operation for the replacement operation, displaying an interface for selecting a picture matching method, wherein the interface for selecting a picture matching method includes at least one picture matching method;

所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:检测响应于对目标配图方式的选择操作,显示进行所述替换操作后的界面,所述进行所述替换操作后的界面包括根据所述目标配图方式生成的新的画面素材,所述新的画面素材是在所述目标画面素材之后生成的。The detecting and responding to an editing operation on a target editing object and displaying an interface after the editing operation is performed may include: detecting and responding to a selection operation on a target graphic matching method and displaying an interface after the replacement operation is performed, wherein the interface after the replacement operation includes new picture material generated according to the target graphic matching method, and the new picture material is generated after the target picture material.

在本技术方案中,支持多种画面素材填充方式,可以提升用户体验和创作质量,也可以批量对多个画面素材进行替换填充,提高用户编辑目标多媒体资源的效率。In this technical solution, multiple screen material filling methods are supported, which can improve user experience and creation quality. Multiple screen materials can also be replaced and filled in batches to improve the efficiency of users editing target multimedia resources.

在一种可能的实现方式中,所述至少一种配图方式包括人工智能AI生成素材方式,AI匹配素材库方式,自由填充素材方式,以及AI数字人方式中的至少一项;所述AI生成素材方式是根据字幕分句自动生成的画面素材;所述AI匹配素材库方式是在素材库中查找与所述字幕分句匹配的画面素材;所述自由填充素材方式是响应用户的选择操作,获取与所述选择操作对应的画面素材;所述AI数字人是由人工智能技术生成的虚拟人物形象。In one possible implementation, the at least one illustration method includes at least one of an artificial intelligence AI generated material method, an AI matching material library method, a free filling material method, and an AI digital human method; the AI generated material method is a picture material automatically generated according to the subtitle sentence; the AI matching material library method is to search for picture materials matching the subtitle sentence in the material library; the free filling material method is to respond to the user's selection operation and obtain the picture material corresponding to the selection operation; the AI digital human is a virtual character image generated by artificial intelligence technology.

在本技术方案中,通过不同的画面素材生成方式,可以满足用户的不同需求,从而提高所生成视频的多样性及趣味性。In this technical solution, different screen material generation methods can meet different needs of users, thereby improving the diversity and interest of the generated videos.

在一种可能的实现方式中,所述目标编辑界面包括删除控件,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述删除控件的触控操作,显示进行所述删除操作后的界面,所述进行所述删除操作后的界面不包括所述目标编辑对象。In one possible implementation, the target editing interface includes a deletion control, and the detecting and responding to an editing operation on the target editing object and displaying an interface after the editing operation may include: responding to a touch operation on the deletion control and displaying an interface after the deletion operation, wherein the interface after the deletion operation does not include the target editing object.

在本技术方案中,如果用户想对目标编辑对象进行删除,可以通过删除控件,实现对目标编辑对象的删除,提高了对目标编辑对象进行删除的便捷性。In this technical solution, if the user wants to delete the target editing object, the target editing object can be deleted through the deletion control, which improves the convenience of deleting the target editing object.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,所述方法还可以包括:显示对目标画面素材进行删除操作后的界面,所述目标画面素材为与所述目标字幕分句对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the method may further include: displaying an interface after a target screen material is deleted, wherein the target screen material is a screen material corresponding to the target subtitle sentence.

在本技术方案中,对目标字幕分句进行删除的情况下,也会对对应的目标画面素材进行删除,即可以实现联动删除,提高用户进行删除操作的效率。In this technical solution, when a target subtitle sentence is deleted, the corresponding target screen material will also be deleted, that is, linkage deletion can be achieved, thereby improving the efficiency of the user's deletion operation.

在一种可能的实现方式中,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对目标字幕分句进行修改的触发操作,显示键盘界面;检测并响应于在所述键盘界面的输入操作,对目标字幕分句进行修改,显示修改后的目标字幕分句。In one possible implementation, the detecting and responding to an editing operation on a target editing object and displaying an interface after the editing operation is performed may include: displaying a keyboard interface in response to a triggering operation to modify a target subtitle sentence; detecting and responding to an input operation on the keyboard interface, modifying the target subtitle sentence, and displaying the modified target subtitle sentence.

在本技术方案中,用户如果对目标字幕分句的措辞,术语等不满意,可以对其进行修改,提高了用户对目标字幕分句修改的便捷性。In this technical solution, if the user is not satisfied with the wording, terminology, etc. of the target subtitle sentence, he can modify it, which improves the convenience of the user to modify the target subtitle sentence.

在一种可能的实现方式中,在所述检测并响应于对目标编辑对象的编辑操作之前,所述方法还可以包括:检测对可编辑对象的选择触发操作,显示可编辑对象的选择界面,所述可编辑对象的选择界面包括处于可选状态的多个可编辑对象;响应于在所述可编辑对象的选择界面对可编辑对象的选择操作,确定处于选中状态的可编辑对象为所述目标编辑对象。In one possible implementation, before detecting and responding to an editing operation on a target editing object, the method may further include: detecting a selection trigger operation on an editable object, displaying a selection interface for the editable object, the selection interface for the editable object including a plurality of editable objects in an optional state; and in response to a selection operation on an editable object on the selection interface for the editable object, determining that the editable object in a selected state is the target editing object.

在本技术方案中,提供了一种确定目标编辑对象的方式,可以选择多个可编辑对象作为目标编辑对象进行批量编辑,从而提高用户进行编辑操作的效率。In the present technical solution, a method for determining a target editing object is provided, and multiple editable objects can be selected as target editing objects for batch editing, thereby improving the efficiency of the user's editing operation.

在一种可能的实现方式中,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述目标编辑对象的移动操作,将所述目标编辑对象从当前位置移动到目标位置,显示进行移动操作后的界面。In one possible implementation, the detecting and responding to an editing operation on a target editing object and displaying an interface after the editing operation is performed may include: responding to a move operation on the target editing object, moving the target editing object from a current position to a target position, and displaying an interface after the move operation is performed.

在本技术方案中,如果用户觉得字幕分句或画面素材的顺序不满意,可以通过移动字幕分句或画面素材的位置,调整字幕分句或画面素材的顺序,从而满足用户的不同需求,提高用户编辑目标编辑对象的效率。In this technical solution, if the user is dissatisfied with the order of subtitle sentences or picture materials, the order of subtitle sentences or picture materials can be adjusted by moving the positions of the subtitle sentences or picture materials, thereby meeting the different needs of users and improving the efficiency of users in editing the target editing objects.

第二方面,提供一种多媒体资源的编辑装置,可以包括:In a second aspect, a multimedia resource editing device is provided, which may include:

显示单元,用于显示多媒体资源界面,所述多媒体资源界面包括目标多媒体资源的画面素材和字幕分句,所述画面素材和所述字幕分句对应;A display unit, used to display a multimedia resource interface, wherein the multimedia resource interface includes a picture material and a subtitle sentence of a target multimedia resource, wherein the picture material and the subtitle sentence correspond to each other;

响应单元,用于响应于对所述目标多媒体资源的编辑触发操作,所述显示单元,用于显示目标编辑界面,所述目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述画面素材和/或所述字幕分句;A response unit, configured to respond to an editing trigger operation on the target multimedia resource, wherein the display unit is configured to display a target editing interface, wherein the target editing interface includes a plurality of editable objects in an editable state, wherein the plurality of editable objects include the picture material and/or the subtitle sentence;

检测单元,用于检测并响应于对目标编辑对象的编辑操作,所述显示单元,用于显示进行所述编辑操作后的第一界面,所述目标编辑对象为所述多个可编辑对象中的至少一个,所述编辑操作后的第一界面中突出显示与所述编辑操作的编辑内容对应的关联信息,所述关联信息属于目标信息中的至少部分内容,所述目标信息包括字幕分句和画面素材中的至少一项。A detection unit is used to detect and respond to an editing operation on a target editing object, and the display unit is used to display a first interface after the editing operation is performed. The target editing object is at least one of the multiple editable objects. The first interface after the editing operation highlights associated information corresponding to the editing content of the editing operation, and the associated information belongs to at least part of the target information. The target information includes at least one of a subtitle sentence and a picture material.

在一种可能的实现方式中,所述编辑操作后的第一界面包括提示信息,所述提示信息用于提示是否同步对所述关联信息进行所述编辑操作;In a possible implementation, the first interface after the editing operation includes prompt information, and the prompt information is used to prompt whether to perform the editing operation on the associated information synchronously;

所述显示单元,用于在检测到同步对所述关联信息进行所述编辑操作的情况下,响应于对所述关联信息的编辑操作,显示进行所述编辑操作后的第二界面。The display unit is used for, when detecting that the editing operation is synchronously performed on the associated information, responding to the editing operation on the associated information, displaying a second interface after the editing operation is performed.

在一种可能的实现方式中,所述编辑操作后的第一界面包括同步编辑控件、部分编辑控件和取消控件,In a possible implementation, the first interface after the editing operation includes a synchronous editing control, a partial editing control, and a cancel control.

所述检测单元,用于检测到对所述同步编辑控件的触控操作,对所述关联信息进行编辑操作,所述显示单元,用于显示进行所述编辑操作后的第二界面;或,The detection unit is used to detect a touch operation on the synchronous editing control and perform an editing operation on the associated information, and the display unit is used to display a second interface after the editing operation is performed; or

所述检测单元,用于检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,所述显示单元,用于显示进行所述编辑操作后的第三界面;或,The detection unit is used to detect a touch operation on the part of the editing control, and perform an editing operation on part of the associated information, and the display unit is used to display a third interface after the editing operation is performed; or

所述检测单元,用于检测到对所述取消控件的触控操作,在所述编辑操作后的第一界面中取消对所述关联信息的突出显示。The detection unit is used to detect a touch operation on the cancel control and cancel the highlighting of the associated information in the first interface after the editing operation.

在一种可能的实现方式中,所述检测单元,用于检测到对所述部分编辑控件的触控操作,检测并响应对目标关联信息的选中操作,所述显示单元,用于显示选中界面,所述选中界面包括处于选中状态的目标关联信息,所述目标关联信息是所述关联信息中的至少一个;In a possible implementation, the detection unit is used to detect a touch operation on the part of the editing control, detect and respond to a selection operation on the target association information, and the display unit is used to display a selection interface, the selection interface includes the target association information in a selected state, and the target association information is at least one of the association information;

所述检测单元,用于检测并响应对所述目标关联信息的编辑操作,所述显示单元,用于显示进行所述编辑操作后的第三界面。The detection unit is used to detect and respond to an editing operation on the target association information, and the display unit is used to display a third interface after the editing operation is performed.

在一种可能的实现方式中,在所述多媒体资源界面和所述目标编辑界面处于同一界面的情况下,所述多媒体资源界面中进度条的位置与所述目标编辑对象对应。In a possible implementation manner, when the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object.

在一种可能的实现方式中,所述响应单元,具体用于响应于对所述目标多媒体资源的编辑触发操作,所述显示单元,具体用于在所述目标编辑界面中,通过列表的形式显示所述字幕分句和对应的所述画面素材,所述字幕分句是对字幕文案进行分句得到的。In a possible implementation, the response unit is specifically used to respond to an editing trigger operation on the target multimedia resource, and the display unit is specifically used to display the subtitle sentences and the corresponding screen materials in the form of a list in the target editing interface, and the subtitle sentences are obtained by sentence-segmenting the subtitle text.

在一种可能的实现方式中,所述显示单元,还用于显示输入界面,所述输入界面包括文字输入区域和生成控件;所述响应单元,还用于响应于在所述文字输入区域的输入操作,所述显示单元,还用于显示所述字幕文案;所述响应单元,还用于响应于对所述生成控件的触控操作,根据所述字幕文案匹配画面素材,生成所述目标多媒体资源。In a possible implementation, the display unit is also used to display an input interface, which includes a text input area and a generation control; the response unit is also used to respond to an input operation in the text input area, and the display unit is also used to display the subtitle text; the response unit is also used to respond to a touch operation on the generation control, match the screen material according to the subtitle text, and generate the target multimedia resource.

在一种可能的实现方式中,所述多媒体资源界面还包括批量编辑控件,所述响应单元,具体用于响应于对所述批量编辑控件的触控操作,所述显示单元,具体用于显示所述目标编辑界面。In a possible implementation, the multimedia resource interface further includes a batch editing control, the response unit is specifically configured to respond to a touch operation on the batch editing control, and the display unit is specifically configured to display the target editing interface.

在一种可能的实现方式中,所述多媒体资源界面还包括编辑触发控件,在所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面之前,所述响应单元,具体用于响应于对所述编辑触发控件的触控操作,所述显示单元,具体用于显示初始编辑界面,所述初始编辑界面包括批量编辑控件和处于不可编辑状态的多个不可编辑对象;In a possible implementation, the multimedia resource interface further includes an edit trigger control, and before the target edit interface is displayed in response to the edit trigger operation on the target multimedia resource, the response unit is specifically used to respond to the touch operation on the edit trigger control, and the display unit is specifically used to display an initial edit interface, wherein the initial edit interface includes a batch edit control and a plurality of non-editable objects in a non-editable state;

所述响应单元,具体用于响应于对所述批量编辑控件的触控操作,所述显示单元,具体用于显示所述目标编辑界面。The response unit is specifically used to respond to a touch operation on the batch editing control, and the display unit is specifically used to display the target editing interface.

在一种可能的实现方式中,所述目标编辑界面包括合并控件,所述目标编辑对象包括所述多个可编辑对象中的至少两个目标可编辑对象,In a possible implementation, the target editing interface includes a merge control, the target editing object includes at least two target editable objects among the multiple editable objects,

所述响应单元,具体用于响应于对所述合并控件的触控操作,所述显示单元,具体用于进行所述合并操作后的界面,所述进行所述合并操作后的界面包括将所述至少两个目标可编辑对象合并后的可编辑对象。The response unit is specifically used to respond to a touch operation on the merge control, and the display unit is specifically used to perform an interface after the merge operation, and the interface after the merge operation includes an editable object after the at least two target editable objects are merged.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述显示单元,还用于显示合并后的字幕分句对应的合并画面素材,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并得到的字幕分句,所述合并画面素材为根据所述合并后的字幕分句生成的新的画面素材。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the display unit is further used to display a merged screen material corresponding to the merged subtitle sentence, the merged subtitle sentence is a subtitle sentence obtained by merging the at least two target subtitle sentences, and the merged screen material is a new screen material generated based on the merged subtitle sentence.

在一种可能的实现方式中,所述响应单元,还用于响应于对所述合并后的字幕分句进行修改的触发操作,所述显示单元,还用于显示键盘界面;所述响应单元,还用于检测并响应于在所述键盘界面的输入操作,对所述合并后的幕分句进行修改,所述显示单元,还用于显示修改及合并后的字幕分句。In a possible implementation, the response unit is further used to respond to a trigger operation to modify the merged subtitle sentence, and the display unit is further used to display a keyboard interface; the response unit is further used to detect and respond to an input operation on the keyboard interface to modify the merged subtitle sentence, and the display unit is further used to display the modified and merged subtitle sentence.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述显示单元,还用于显示对至少两个目标画面素材进行合并操作后的界面,所述至少两个目标画面素材与所述至少两个目标字幕分句一一对应。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the display unit is further used to display an interface after a merging operation is performed on the at least two target screen materials, and the at least two target screen materials correspond one-to-one to the at least two target subtitle sentences.

在一种可能的实现方式中,所述至少两个目标画面素材包括第一目标画面素材和第二目标画面素材,在所述显示单元显示对至少两个目标画面素材进行合并操作后的界面之前,所述显示单元,还用于显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将所述第一目标画面素材作为画面合并结果,所述第二合并选项用于将所述第二目标画面素材作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并后的字幕分句;In a possible implementation, the at least two target screen materials include a first target screen material and a second target screen material. Before the display unit displays an interface after a merging operation is performed on the at least two target screen materials, the display unit is further used to display a merging selection interface, the merging selection interface including a first merging option, a second merging option and a third merging option. The first merging option is used to use the first target screen material as a screen merging result. The second merging option is used to use the second target screen material as a screen merging result. The third merging option is used to generate a new screen material as a screen merging result according to a merged subtitle sentence. The merged subtitle sentence is a subtitle sentence after the at least two target subtitle sentences are merged.

所述显示单元,还用于响应于对目标合并选项的触控操作,显示对至少两个目标画面素材进行合并操作后的界面,所述进行合并操作后的界面包括与所述目标选项对应的画面合并结果。The display unit is further used to display an interface after a merging operation is performed on at least two target screen materials in response to a touch operation on a target merging option, wherein the interface after the merging operation includes a screen merging result corresponding to the target option.

在一种可能的实现方式中,所述目标编辑界面包括拆分控件,In a possible implementation, the target editing interface includes a split control.

所述响应单元,具体用于响应于对所述拆分控件的触控操作,所述显示单元,具体用于显示进行所述拆分操作后的界面,所述进行所述拆分操作后的界面包括拆分所述目标编辑对象得到的至少两个拆分后的可编辑对象。The response unit is specifically used to respond to the touch operation on the split control, and the display unit is specifically used to display the interface after the split operation is performed, and the interface after the split operation includes at least two split editable objects obtained by splitting the target editing object.

在一种可能的实现方式中,在所述响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面之前,所述检测单元,还用于检测拆分位置的输入操作;所述至少两个拆分后的可编辑对象是根据所述拆分位置对所述目标编辑对象进行拆分得到的。In a possible implementation, before the interface after the split operation is displayed in response to the touch operation on the split control, the detection unit is also used to detect the input operation of the split position; the at least two split editable objects are obtained by splitting the target editing object according to the split position.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,所述显示单元,还用于显示与至少两个拆分后的字幕分句一一对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the display unit is further used to display screen materials corresponding to at least two split subtitle sentences.

在一种可能的实现方式中,所述至少两个拆分后的字幕分句一一对应的画面素材,可以包括:对目标画面素材进行拆分后得到的至少两个拆分后的画面素材,所述目标画面素材为与所述目标字幕分句对应的画面素材;或,至少两个新的画面素材;或,所述目标画面素材以及至少一个新的画面素材;其中,所述新的画面素材是在所述目标画面素材之后生成的。In a possible implementation, the at least two split picture materials corresponding to the subtitle sentences may include: at least two split picture materials obtained after splitting the target picture material, the target picture material is the picture material corresponding to the target subtitle sentence; or, at least two new picture materials; or, the target picture material and at least one new picture material; wherein the new picture material is generated after the target picture material.

在一种可能的实现方式中,所述对目标编辑对象的编辑操作包括对所述目标画面素材的替换操作,在所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面之前,所述响应单元,还用于响应于针对所述替换操作的触发操作,所述显示单元,还用于显示配图方式选择界面,所述配图方式选择界面包括至少一种配图方式;In a possible implementation, the editing operation on the target editing object includes a replacement operation on the target screen material, and before the detecting and responding to the editing operation on the target editing object and displaying the interface after the editing operation is performed, the response unit is further used to respond to a triggering operation for the replacement operation, and the display unit is further used to display a picture matching mode selection interface, and the picture matching mode selection interface includes at least one picture matching mode;

所述检测单元,具体用于检测响应于对目标配图方式的选择操作,所述显示单元,还用于显示进行所述替换操作后的界面,所述进行所述替换操作后的界面包括根据所述目标配图方式生成的新的画面素材,所述新的画面素材是在所述目标画面素材之后生成的。The detection unit is specifically used to detect a response to a selection operation on a target image matching method, and the display unit is also used to display an interface after the replacement operation is performed. The interface after the replacement operation includes new picture materials generated according to the target image matching method, and the new picture materials are generated after the target picture materials.

在一种可能的实现方式中,所述至少一种配图方式包括人工智能AI生成素材方式,AI匹配素材库方式,自由填充素材方式,以及AI数字人方式中的至少一项;所述AI生成素材方式是根据字幕分句自动生成的画面素材;所述AI匹配素材库方式是在素材库中查找与所述字幕分句匹配的画面素材;所述自由填充素材方式是响应用户的选择操作,获取与所述选择操作对应的画面素材;所述AI数字人是由人工智能技术生成的虚拟人物形象。In one possible implementation, the at least one illustration method includes at least one of an artificial intelligence AI generated material method, an AI matching material library method, a free filling material method, and an AI digital human method; the AI generated material method is a picture material automatically generated according to the subtitle sentence; the AI matching material library method is to search for picture materials matching the subtitle sentence in the material library; the free filling material method is to respond to the user's selection operation and obtain the picture material corresponding to the selection operation; the AI digital human is a virtual character image generated by artificial intelligence technology.

在一种可能的实现方式中,所述目标编辑界面包括删除控件,所述响应单元,具体用于响应于对所述删除控件的触控操作,所述显示单元,具体用于显示进行所述删除操作后的界面,所述进行所述删除操作后的界面不包括所述目标编辑对象。In one possible implementation, the target editing interface includes a deletion control, the response unit is specifically used to respond to a touch operation on the deletion control, and the display unit is specifically used to display an interface after the deletion operation is performed, and the interface after the deletion operation does not include the target editing object.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,所述显示单元,还用于显示对目标画面素材进行删除操作后的界面,所述目标画面素材为与所述目标字幕分句对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the display unit is further used to display an interface after a target screen material is deleted, and the target screen material is a screen material corresponding to the target subtitle sentence.

在一种可能的实现方式中,所述响应单元,还用于响应于对目标字幕分句进行修改的触发操作,所述显示单元,还用于显示键盘界面;所述响应单元,还用于检测并响应于在所述键盘界面的输入操作,对目标字幕分句进行修改,所述显示单元,还用于显示修改后的目标字幕分句。In one possible implementation, the response unit is further used to respond to a trigger operation to modify a target subtitle sentence, and the display unit is further used to display a keyboard interface; the response unit is further used to detect and respond to an input operation on the keyboard interface to modify the target subtitle sentence, and the display unit is further used to display the modified target subtitle sentence.

在一种可能的实现方式中,在所述检测并响应于对目标编辑对象的编辑操作之前,所述检测单元,还用于检测对可编辑对象的选择触发操作,所述显示单元,还用于显示可编辑对象的选择界面,所述可编辑对象的选择界面包括处于可选状态的多个可编辑对象;所述响应单元,还用于响应于在所述可编辑对象的选择界面对可编辑对象的选择操作,确定处于选中状态的可编辑对象为所述目标编辑对象。In one possible implementation, before detecting and responding to an editing operation on a target editing object, the detection unit is further used to detect a selection trigger operation on an editable object, and the display unit is further used to display a selection interface for the editable object, wherein the selection interface for the editable object includes a plurality of editable objects in an optional state; the response unit is further used to respond to a selection operation on an editable object in the selection interface for the editable object, and determine that the editable object in a selected state is the target editing object.

在一种可能的实现方式中,所述响应单元,还用于响应于对所述目标编辑对象的移动操作,将所述目标编辑对象从当前位置移动到目标位置,所述显示单元,还用于显示进行移动操作后的界面。In a possible implementation, the response unit is further used to move the target editing object from a current position to a target position in response to a move operation on the target editing object, and the display unit is further used to display an interface after the move operation.

第三方面,提供了一种终端设备,包括存储器、一个或多个处理器,以及显示器,所述存储器和所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述终端设备执行第一方面任一项所述的方法。In a third aspect, a terminal device is provided, comprising a memory, one or more processors, and a display, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the terminal device executes any one of the methods described in the first aspect.

第四方面,提供了一种芯片,该芯片中包括处理器和存储器,以及显示器,该处理器可以是逻辑电路、集成电路或者一个通用处理器等,该存储器中存储有指令,该处理器可以是通过读取存储器中存储的软件代码来实现上述第一方面中的方法,该存储器可以集成在处理器中,可以位于该处理器之外,独立存在。In a fourth aspect, a chip is provided, which includes a processor, a memory, and a display. The processor may be a logic circuit, an integrated circuit, or a general-purpose processor, etc. The memory stores instructions. The processor may implement the method in the first aspect by reading the software code stored in the memory. The memory may be integrated in the processor, or may be located outside the processor and exist independently.

第五方面,提供了一种芯片系统,所述芯片系统应用于包括终端设备,所述芯片系统包括一个或多个接口电路和一个或多个处理器,以及显示器,所述接口电路和所述处理器通过线路互联,所述接口电路用于从所述终端设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令,当所述处理器执行所述计算机指令时,所述终端设备执行第一方面任一项所述的方法。In a fifth aspect, a chip system is provided, which is applied to a terminal device, the chip system comprising one or more interface circuits and one or more processors, and a display, the interface circuit and the processor are interconnected via a line, the interface circuit is used to receive a signal from a memory of the terminal device and send the signal to the processor, the signal comprising a computer instruction stored in the memory, and when the processor executes the computer instruction, the terminal device executes any one of the methods described in the first aspect.

第六方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述第一方面中的方法。In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which enables a computer to execute the method in the first aspect when the computer program is executed.

第七方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面中的方法。In a seventh aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instruction) which, when executed on a computer, enables the computer to execute the method in the first aspect.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.

图1为本申请实施例中多媒体资源的编辑方法的一个流程示意图;FIG1 is a schematic diagram of a flow chart of a method for editing multimedia resources in an embodiment of the present application;

图2A为本申请实施例中显示文字输入界面的一个示意图;FIG2A is a schematic diagram showing a text input interface in an embodiment of the present application;

图2B为本申请实施例中获取的字幕文案的一个示意图;FIG2B is a schematic diagram of a subtitle copy obtained in an embodiment of the present application;

图2C为本申请实施例中显示画面素材生成界面的一个示意图;FIG2C is a schematic diagram of a display screen material generation interface in an embodiment of the present application;

图3A为本申请实施例中显示目标编辑界面的一个示意图;FIG3A is a schematic diagram showing a target editing interface in an embodiment of the present application;

图3B为本申请实施例中显示目标编辑界面的另一个示意图;FIG3B is another schematic diagram showing a target editing interface in an embodiment of the present application;

图3C为本申请实施例中突出显示与所述编辑操作的编辑内容对应的关联信息的一个示意图;FIG3C is a schematic diagram showing a method of highlighting associated information corresponding to the edited content of the edit operation in an embodiment of the present application;

图3D为本申请实施例中突出显示与所述编辑操作的编辑内容对应的关联信息的一个示意图;FIG3D is a schematic diagram showing a method of highlighting associated information corresponding to the edited content of the edit operation in an embodiment of the present application;

图3E为本申请实施例中编辑操作后的第一界面包括第一提示信息的一个实施例示意图;FIG3E is a schematic diagram of an embodiment of the first interface including first prompt information after an editing operation in an embodiment of the present application;

图3F为本申请实施例中编辑操作后的第一界面包括同步修改控件、部分修改控件和取消控件的一个实施例示意图;3F is a schematic diagram of an embodiment of the present application in which the first interface after the editing operation includes a synchronous modification control, a partial modification control, and a cancel control;

图3G为本申请实施例中多媒体资源界面中进度条的位置与所述目标编辑对象对应的一个实施例示意图;FIG3G is a schematic diagram of an embodiment of the present application showing the position of the progress bar in the multimedia resource interface corresponding to the target editing object;

图3H为本申请实施例中可编辑对象的选择界面包括处于可选状态的多个可编辑对象的一个示意图;FIG3H is a schematic diagram showing that an editable object selection interface includes a plurality of editable objects in a selectable state in an embodiment of the present application;

图4A为本申请实施例中对字幕分句进行合并操作的一个示意图;FIG4A is a schematic diagram of a merging operation of subtitle sentences in an embodiment of the present application;

图4B为本申请实施例中对字幕分句进行合并操作的另一个示意图;FIG4B is another schematic diagram of a merging operation of subtitle sentences in an embodiment of the present application;

图4C为本申请实施例中对字幕分句进行合并操作的另一个示意图;FIG4C is another schematic diagram of a merging operation of subtitle sentences in an embodiment of the present application;

图5A为本申请实施例中对画面素材进行合并操作的一个示意图;FIG5A is a schematic diagram of a merging operation of picture materials in an embodiment of the present application;

图5B为本申请实施例中对画面素材进行合并操作的另一个示意图;FIG5B is another schematic diagram of performing a merging operation on picture materials in an embodiment of the present application;

图5C为本申请实施例中对画面素材进行合并操作的另一个示意图;FIG5C is another schematic diagram of performing a merging operation on picture materials in an embodiment of the present application;

图6A为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的一个示意图;FIG6A is a schematic diagram of performing a merging operation on subtitle sentences and merging corresponding picture materials in linkage in an embodiment of the present application;

图6B为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的另一个示意图;FIG6B is another schematic diagram of performing a merging operation on subtitle sentences and merging corresponding picture materials in linkage in an embodiment of the present application;

图7A为本申请实施例中对画面素材进行合并操作联动合并对应字幕分句的一个示意图;FIG7A is a schematic diagram of performing a merging operation on picture materials in linkage with merging corresponding subtitle sentences in an embodiment of the present application;

图7B为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的另一个示意图;FIG7B is another schematic diagram of performing a merging operation on subtitle sentences and merging corresponding picture materials in linkage in an embodiment of the present application;

图8A为本申请实施例中对字幕分句进行拆分操作的一个示意图;FIG8A is a schematic diagram of a subtitle sentence splitting operation in an embodiment of the present application;

图8B为本申请实施例中对画面素材进行拆分操作的一个示意图;FIG8B is a schematic diagram of a splitting operation on a picture material in an embodiment of the present application;

图9A为本申请实施例中对字幕分句进行删除操作的一个示意图;FIG9A is a schematic diagram of deleting a subtitle sentence in an embodiment of the present application;

图9B为本申请实施例中对画面素材进行删除操作的一个示意图;FIG9B is a schematic diagram of deleting a picture material in an embodiment of the present application;

图9C为本申请实施例中对目标字幕分句删除联动删除对应目标画面素材的一个示意图;FIG9C is a schematic diagram of deleting a target subtitle sentence in conjunction with deleting a corresponding target screen material in an embodiment of the present application;

图9D为本申请实施例中对目标画面素材删除联动删除对应目标字幕分句的一个示意图;FIG9D is a schematic diagram of deleting a target subtitle sentence in conjunction with deleting a target screen material in an embodiment of the present application;

图10A为本申请实施例中对目标字幕分句进行修改操作的一个示意图;FIG10A is a schematic diagram of modifying a target subtitle sentence in an embodiment of the present application;

图10B为本申请实施例中对目标画面素材进行替换操作的一个示意图;FIG10B is a schematic diagram of a replacement operation on a target picture material in an embodiment of the present application;

图11为本申请实施例提供的多媒体资源的编辑装置的一种示例图;FIG11 is an exemplary diagram of a multimedia resource editing device provided in an embodiment of the present application;

图12为本申请实施例中所涉及的终端设备的可能的示例性框图;FIG12 is a possible exemplary block diagram of a terminal device involved in an embodiment of the present application;

图13为本申请实施例提供的终端设备的一个示意图。FIG13 is a schematic diagram of a terminal device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,都应当属于本申请保护的范围。In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.

下面先对本申请所涉及的一些术语做一个简要的说明,如下所示:The following is a brief description of some terms involved in this application, as follows:

1、轨道编辑在视频编辑领域指的是一种视频制作技术,它允许用户在时间轴上对视频片段进行排列、剪辑和调整。1. Track editing in the field of video editing refers to a video production technology that allows users to arrange, edit and adjust video clips on a timeline.

轨道编辑通常包括以下功能:Track editing generally includes the following functions:

时间轴编辑:在时间轴上对视频片段进行拖动,以改变其在视频中的位置。Timeline Editing: Drag a video clip on the timeline to change its position in the video.

剪切和拼接:将视频片段剪切成多个部分,然后重新拼接成新的顺序。Cut and Splice: Cut a video clip into parts and then splice them back into a new order.

转场效果:在视频片段之间添加过渡效果,如溶解、淡入淡出等。Transition effects: Add transition effects between video clips, such as dissolve, fade in and fade out, etc.

音频编辑:调整音频轨道,包括音量控制、音频剪辑和音频效果添加。Audio Editing: Adjust audio tracks, including volume control, audio trimming, and adding audio effects.

图层叠加:在视频轨道上叠加多个视频或图像图层,以创造复杂的视觉效果。Layer Overlay: Overlay multiple video or image layers on a video track to create complex visual effects.

2、人工智能(Artificial Intelligence,AI)生成素材。2. Artificial Intelligence (AI) generates materials.

AI生成素材指的是利用人工智能技术自动生成或编辑各种类型的素材,如图像、视频、音频、文本等。这些素材可以用于多种目的,包括但不限于内容创作、广告、社交媒体、游戏开发等。AI-generated materials refer to the use of artificial intelligence technology to automatically generate or edit various types of materials, such as images, videos, audio, text, etc. These materials can be used for a variety of purposes, including but not limited to content creation, advertising, social media, game development, etc.

3、AI匹配素材库通常指的是利用人工智能技术来帮助用户快速找到与他们需求相匹配的素材资源。这些素材库能够通过分析用户上传的文案、录音或描述,自动搜索或生成与这些输入相匹配的视频、图像、音频等素材。3. AI matching material library usually refers to the use of artificial intelligence technology to help users quickly find material resources that match their needs. These material libraries can automatically search or generate videos, images, audio and other materials that match these inputs by analyzing the copy, recordings or descriptions uploaded by users.

4、自由填充素材通常指的是用户可以自由选择、调整和使用的多媒体素材,这类素材为用户提供了高度的灵活性和创造性。4. Free-fill materials usually refer to multimedia materials that users can freely select, adjust and use. This type of material provides users with a high degree of flexibility and creativity.

5、AI数字人,通常指的是由人工智能技术驱动的虚拟人物形象,它们可以模拟人类的外貌、行为和交流方式。AI数字人技术结合了计算机图形学、机器学习、自然语言处理、语音合成等多种技术,使得虚拟人物能够进行逼真的交互和表现。AI数字人技术的发展为各行各业带来了新的可能性,它们可以提供更加个性化、高效和有趣的服务。随着技术的不断进步,AI数字人的应用范围和能力将会更加广泛和强大。5. AI digital human usually refers to virtual characters driven by artificial intelligence technology, which can simulate human appearance, behavior and communication methods. AI digital human technology combines computer graphics, machine learning, natural language processing, speech synthesis and other technologies to enable virtual characters to interact and perform realistically. The development of AI digital human technology has brought new possibilities to all walks of life. They can provide more personalized, efficient and interesting services. With the continuous advancement of technology, the application scope and capabilities of AI digital humans will become more extensive and powerful.

6、字幕分句通常指的是将一段连续的字幕文本分割成独立的语句或段落,以便于阅读和理解。这个过程在制作视频字幕、翻译或转录时非常重要。以下是一些常见的字幕分句方法和技巧:6. Subtitle segmentation usually refers to dividing a continuous subtitle text into independent sentences or paragraphs for easier reading and understanding. This process is very important when making video subtitles, translation or transcription. The following are some common subtitle segmentation methods and techniques:

按说话者分句:如果视频有多个说话者,可以根据每个说话者的语句来分割字幕,每个说话者的语句为一个独立的字幕单元。Sentence division by speaker: If there are multiple speakers in a video, the subtitles can be divided according to the sentences of each speaker. Each speaker's sentence is an independent subtitle unit.

按语义完整分句:即使同一说话者的连续话语,也应根据语义的完整性来分句。当一个完整的观点或信息表达完毕后,开始新的一句字幕。Separate sentences based on semantic completeness: Even if the same speaker speaks consecutive words, they should be separated into sentences based on semantic completeness. When a complete idea or message is expressed, a new sentence of subtitles begins.

标点符号:利用文本中的标点符号,如句号、问号和感叹号等,作为分句的依据。Punctuation: Use punctuation marks in the text, such as periods, question marks, and exclamation marks, as the basis for sentence division.

语言习惯:根据语言习惯和语法结构来确定分句的位置,确保每个字幕单元都是易于理解的。Language habits: Determine the position of sentences according to language habits and grammatical structure to ensure that each subtitle unit is easy to understand.

时间编码:在制作视频字幕时,使用时间编码来确定每句字幕的开始和结束时间,确保字幕与说话者的语句同步。Time coding: When creating video subtitles, time coding is used to determine the start and end time of each subtitle to ensure that the subtitles are synchronized with the speaker's words.

阅读速度:考虑观众的阅读速度,避免单句字幕过长,导致观众来不及阅读。Reading speed: Consider the audience's reading speed and avoid making single-sentence subtitles too long, which the audience will not have time to read.

屏幕空间:根据视频播放器的屏幕尺寸和字幕显示区域,合理安排每句字幕的长度,避免字幕拥挤。Screen space: According to the screen size of the video player and the subtitle display area, reasonably arrange the length of each subtitle to avoid subtitle crowding.

情感和语气:考虑说话者的情感和语气变化,适当的分句可以增强字幕的表现力。Emotion and tone: Considering the speaker's emotions and tone changes, appropriate sentence segmentation can enhance the expressiveness of subtitles.

技术工具:使用字幕编辑软件或自动分句工具来辅助分句过程,提高效率。Technical tools: Use subtitle editing software or automatic sentence segmentation tools to assist the sentence segmentation process and improve efficiency.

审核和校对:分句完成后,进行审核和校对,确保字幕的准确性和可读性。Review and proofreading: After the sentence segmentation is completed, review and proofreading are carried out to ensure the accuracy and readability of the subtitles.

字幕分句不仅需要考虑文本内容的逻辑和结构,还要考虑观众的观看体验和字幕的视觉效果。通过合理的分句,可以提高字幕的清晰度和易读性,增强视频内容的传达效果。Subtitle sentence segmentation not only needs to consider the logic and structure of the text content, but also the audience's viewing experience and the visual effect of the subtitles. Through reasonable sentence segmentation, the clarity and readability of the subtitles can be improved, and the communication effect of the video content can be enhanced.

相关技术中的视频创作APP在图文成片功能上存在一定的局限性。通常情况下,用户在编辑好完整的字幕文案后,系统会自动将字幕文案拆分成多个字幕分句,并将每个字幕分句与相应的画面素材进行匹配。然而,这种自动分句的方式往往无法满足用户的个性化需求,用户如果想对字幕分句和/或画面素材进行调整,只能一个一个去调整。即在选择一个编辑对象时,只有这一个编辑对象处于可编辑状态,想要调整下一个编辑对象,只能将这个编辑对象保存或返回后,再去选择下一个编辑对象,下一个编辑对象才会处于可编辑状态,用户可以通过轨道编辑功能在轨道上一个一个的调整字幕文案、画面素材,以及字幕文案和画面素材的对齐关系,可见,步骤繁琐,编辑门槛较高。The video creation APP in the related technology has certain limitations in the function of combining pictures and texts into films. Normally, after the user has edited the complete subtitle text, the system will automatically split the subtitle text into multiple subtitle sentences and match each subtitle sentence with the corresponding picture material. However, this automatic sentence segmentation method often cannot meet the personalized needs of users. If the user wants to adjust the subtitle sentences and/or picture materials, they can only adjust them one by one. That is, when selecting an editing object, only this editing object is in an editable state. If you want to adjust the next editing object, you can only save or return this editing object, and then select the next editing object. The next editing object will be in an editable state. Users can use the track editing function to adjust the subtitle text, picture materials, and the alignment relationship between the subtitle text and the picture materials one by one on the track. It can be seen that the steps are cumbersome and the editing threshold is high.

鉴于此,本申请实施例提供了一种多媒体资源的编辑方法,在该方法中,目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述目标多媒体资源的画面素材和/或字幕分句,所以,用户可以对处于可编辑状态的多个可编辑对象进行批量编辑,而不需要编辑好一个编辑对象保存后,再去编辑下一个编辑对象,从而可以提高用户编辑多媒体资源的效率。In view of this, an embodiment of the present application provides a method for editing multimedia resources, in which a target editing interface includes multiple editable objects in an editable state, and the multiple editable objects include picture materials and/or subtitle sentences of the target multimedia resources. Therefore, a user can batch edit multiple editable objects in an editable state without having to edit one editing object and save it before editing the next editing object, thereby improving the user's efficiency in editing multimedia resources.

本申请提供的多媒体资源的编辑方法可以通过终端设备实施。The multimedia resource editing method provided in this application can be implemented through a terminal device.

在本申请实施例中,终端设备可以是手机(Mobile Phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(AugmentedReality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或智慧家庭(smart home)中的无线终端设备等。In the embodiment of the present application, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

作为示例而非限定,在本申请实施例中,该终端设备还可以是具有显示界面的可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example but not limitation, in the embodiment of the present application, the terminal device can also be a wearable device with a display interface. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

另外,需要说明的是,本申请实施例中的界面,也可以称为用户界面(userinterface,UI),是应用或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control)也称为部件(widget),是用户界面的基本元素,典型的控件有工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、按钮(button)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。In addition, it should be noted that the interface in the embodiment of the present application can also be referred to as the user interface (UI), which is a medium interface for interaction and information exchange between an application or operating system and a user, and it realizes the conversion between the internal form of information and the form that the user can accept. The user interface of the application is a source code written in a specific computer language such as java and extensible markup language (XML). The interface source code is parsed and rendered on the electronic device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. Controls (controls), also known as widgets, are basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, pictures and text. The properties and contents of the controls in the interface are defined by tags or nodes, such as XML through <Textview>, <ImgView>, <VideoView> and other nodes to specify the controls contained in the interface. A node corresponds to a control or attribute in the interface, and the node is presented as user-visible content after parsing and rendering.

用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。The most common form of user interface is graphical user interface (GUI), which refers to an interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.

下面以实施例的方式,对本申请技术方案做进一步的说明,如图1所示,为本申请实施例中多媒体资源的编辑方法的一个流程示意图。可以包括如下步骤:The technical solution of the present application is further described below by way of an embodiment. As shown in FIG1 , it is a flow chart of a method for editing multimedia resources in an embodiment of the present application. The following steps may be included:

101、显示多媒体资源界面,所述多媒体资源界面包括目标多媒体资源的画面素材和字幕分句,所述画面素材和所述字幕分句对应。101. Display a multimedia resource interface, wherein the multimedia resource interface includes picture materials and subtitle sentences of a target multimedia resource, and the picture materials and the subtitle sentences correspond to each other.

在显示多媒体资源界面之前,可以生成多媒体资源。示例性的,多媒体资源可以包括图像,视频,音频和文本中的至少一项。多媒体资源的画面素材也可以包括图像素材和视频素材中的至少一项。作为一种示例,多媒体资源可以是通过字幕文案和画面素材生成的图文视频,在下面的示例中以多媒体资源以图文视频为例进行说明。Before displaying the multimedia resource interface, multimedia resources may be generated. Exemplarily, multimedia resources may include at least one of images, videos, audios, and texts. The screen material of multimedia resources may also include at least one of image materials and video materials. As an example, multimedia resources may be text-text videos generated by subtitles and screen materials. In the following example, multimedia resources are described by taking text-text videos as an example.

可以理解的是,所述图文视频中的画面素材和所述字幕分句是对应的。可以包括所述画面素材对应于所述字幕分句,或,所述字幕分句对应于所述画面素材。It is understandable that the picture material in the graphic video corresponds to the subtitle sentence, which may include that the picture material corresponds to the subtitle sentence, or that the subtitle sentence corresponds to the picture material.

即在生成多媒体资源的过程中,可以是先获取字幕文案,再根据字幕文案获取画面素材,那么,可以认为是所述画面素材对应于所述字幕分句;也可以是先获取画面素材,再根据画面素材获取字幕文案,那么,可以认为是所述字幕分句对应于所述画面素材。其中,所述字幕分句是对所述字幕文案进行拆分得到的。That is, in the process of generating multimedia resources, the subtitle text may be obtained first, and then the picture material may be obtained according to the subtitle text, then it can be considered that the picture material corresponds to the subtitle sentence; or the picture material may be obtained first, and then the subtitle text may be obtained according to the picture material, then it can be considered that the subtitle sentence corresponds to the picture material. The subtitle sentence is obtained by splitting the subtitle text.

在所述画面素材对应于所述字幕分句中,可以是一个字幕分句对应于一个画面素材,也可以是一个字幕分句对应于多个画面素材,也可以是多个字幕分句对应于多个画面素材。即所述画面素材对应于所述字幕分句,可以是一对第一,一对多,或多对多的关系,本申请实施例不做具体限定。In the correspondence between the picture material and the subtitle sentence, one subtitle sentence may correspond to one picture material, one subtitle sentence may correspond to multiple picture materials, or multiple subtitle sentences may correspond to multiple picture materials. That is, the picture material corresponds to the subtitle sentence in a one-to-first, one-to-many, or many-to-many relationship, which is not specifically limited in the embodiment of the present application.

在所述字幕分句对应于所述画面素材中,可以是一个画面素材对应于一个字幕分句,也可以是一个画面素材对应于多个字幕分句,也可以是多个画面素材对应于多个字幕分句。即所述字幕分句对应于所述画面素材,可以是一对第一,一对多,或多对多的关系,本申请实施例不做具体限定。In the case where the subtitle sentence corresponds to the screen material, one screen material may correspond to one subtitle sentence, one screen material may correspond to multiple subtitle sentences, or multiple screen materials may correspond to multiple subtitle sentences. That is, the subtitle sentence corresponds to the screen material in a one-to-first, one-to-many, or many-to-many relationship, which is not specifically limited in the embodiments of the present application.

在一种实现方式中,所述显示多媒体资源界面之前,所述方法还可以包括:显示输入界面,所述输入界面包括文字输入区域和生成控件;响应于在所述文字输入区域的输入操作,显示所述字幕文案;响应于对所述生成控件的触控操作,根据所述字幕文案匹配画面素材,生成所述目标多媒体资源。In one implementation, before displaying the multimedia resource interface, the method may further include: displaying an input interface, the input interface including a text input area and a generation control; displaying the subtitle text in response to an input operation in the text input area; and matching the screen material according to the subtitle text to generate the target multimedia resource in response to a touch operation on the generation control.

在本技术方案中,用户可以在文字输入区域输入字幕文案,通过字幕文案匹配画面素材,来生成目标多媒体资源,提供了一种生成目标多媒体资源的实现方式,提高了方案的可行性。In this technical solution, the user can input subtitle text in the text input area, and generate target multimedia resources by matching the subtitle text with the screen material, which provides a method for generating target multimedia resources and improves the feasibility of the solution.

在一种实现方式中,所述响应于对所述生成控件的触控操作,根据所述字幕文案匹配画面素材,生成所述目标多媒体资源,可以包括:响应于对所述生成控件的触控操作,根据所述字幕文案进行分句,得到字幕分句,根据所述字幕分句匹配对应的画面素材,生成所述目标多媒体资源。In one implementation, in response to a touch operation on the generating control, matching the screen material according to the subtitle text to generate the target multimedia resource may include: in response to a touch operation on the generating control, performing sentence segmentation according to the subtitle text to obtain subtitle sentences, matching the corresponding screen material according to the subtitle sentences to generate the target multimedia resource.

在本技术方案中,是需要先将字幕文案进行分句,得到字幕分句,然后根据字幕分句匹配画面素材,来生成目标多媒体资源,提供了一种生成目标多媒体资源的实现方式,提高了方案的可行性。In this technical solution, it is necessary to first divide the subtitle text into sentences to obtain subtitle sentences, and then match the picture materials according to the subtitle sentences to generate the target multimedia resources. This provides an implementation method for generating target multimedia resources and improves the feasibility of the solution.

在所述画面素材对应于所述字幕分句的实现方式中,可以是先获取字幕文案,然后将字幕文案进行分句得到字幕分句,再获取与字幕分句对应的画面素材,根据字幕分句和对应的画面素材,最终得到图文视频。示例性的,首先,响应于文字输入界面的触发操作,例如可以是对视频创作应用中“图文视频”控件的触发操作,显示文字输入界面,如图2A所示,为本申请实施例中显示文字输入界面的一个示意图。然后在文字输入界面上获取字幕文案。如图2B所示,为本申请实施例中获取的字幕文案的一个示意图。该字幕文案可以是通过用户输入的字幕文案得到的,也可以是用户输入关键词,通过AI写文案的方式得到的,也可以是通过识别图片(该图片包括文字)得到的,也可以是通过语音输入的方式得到的,也可以是其他的获取方式,本申请不做具体限定。In the implementation method in which the picture material corresponds to the subtitle sentence, it can be that the subtitle text is first obtained, and then the subtitle text is divided into sentences to obtain subtitle sentences, and then the picture material corresponding to the subtitle sentence is obtained, and the picture material corresponding to the subtitle sentence and the corresponding picture material are finally obtained. According to the subtitle sentence and the corresponding picture material, the text and picture video is finally obtained. Exemplarily, first, in response to the triggering operation of the text input interface, for example, it can be the triggering operation of the "picture, text and video" control in the video creation application, and the text input interface is displayed, as shown in Figure 2A, which is a schematic diagram of the text input interface displayed in the embodiment of the present application. Then obtain the subtitle copy on the text input interface. As shown in Figure 2B, it is a schematic diagram of the subtitle copy obtained in the embodiment of the present application. The subtitle copy can be obtained by the subtitle copy input by the user, or by the user inputting keywords and obtaining it by AI writing copy, or by recognizing pictures (the pictures include text), or by voice input, or by other acquisition methods, which are not specifically limited in this application.

例如:该字幕文案为“他是一个天才,擅长各种科学,发明了许多奇妙的东西。他的最大愿望,就是能够穿越时空,见证历史的变迁。他制造了一台时光机,决定去未来探索。他按下了按钮,却发现自己回到了过去。”。For example: The subtitle copy is "He is a genius, good at various sciences, and has invented many wonderful things. His greatest wish is to be able to travel through time and space and witness the changes in history. He built a time machine and decided to explore the future. He pressed the button, but found himself back in the past."

根据该字幕文案所得到的字幕分句为:The subtitle sentences obtained according to the subtitle copy are:

1、他是一个天才,擅长各种科学,发明了许多奇妙的东西。1. He is a genius who is good at various sciences and has invented many wonderful things.

2、他的最大愿望,就是能够穿越时空,见证历史的变迁。2. His greatest wish is to travel through time and space and witness the changes of history.

3、他制造了一台时光机,决定去未来探索。3. He built a time machine and decided to explore the future.

4、他按下了按钮,却发现自己回到了过去。4. He pressed the button, only to find himself back in time.

在另一种实现方式中,所述显示多媒体资源界面之前,所述方法还可以包括:显示输入界面,所述输入界面包括画面素材输入区域和生成控件;响应于在所述画面素材输入区域的输入操作,显示所述画面素材;响应于对所述生成控件的触控操作,根据所述画面素材匹配字幕文案,生成所述目标多媒体资源。In another implementation, before displaying the multimedia resource interface, the method may further include: displaying an input interface, the input interface including a picture material input area and a generation control; in response to an input operation in the picture material input area, displaying the picture material; in response to a touch operation on the generation control, matching subtitles according to the picture material to generate the target multimedia resource.

在本技术方案中,用户可以在画面素材输入区域输入画面素材,通过画面素材匹配字幕文案,来生成目标多媒体资源,提供了一种生成目标多媒体资源的实现方式,提高了方案的可行性。In this technical solution, the user can input picture materials in the picture material input area, and generate target multimedia resources by matching the picture materials with subtitles, which provides a method for generating target multimedia resources and improves the feasibility of the solution.

在所述字幕分句对应于所述画面素材的实现方式中,也可以是先获取画面素材,例如:获取图像和视频中的至少一项,根据图像和视频中的至少一项,获取对应的字幕分句,最终得到图文视频。示例性的,首先,响应于画面素材生成界面的触发操作,例如可以是对视频创作应用中“图文视频”控件的触发操作,显示画面素材生成界面,如图2C所示,为本申请实施例中显示画面素材生成界面的一个示意图。可以根据画面素材内的图像和视频中的至少一项,自动生成对应的字幕分句,或,响应用户的输入操作获取对应的字幕分句,根据画面素材和对应的字幕分句,最终得到图文视频。In the implementation method in which the subtitle sentence corresponds to the picture material, the picture material can also be obtained first, for example: at least one of the image and the video is obtained, and the corresponding subtitle sentence is obtained according to at least one of the image and the video, and finally the picture-text video is obtained. Exemplarily, first, in response to the trigger operation of the picture material generation interface, for example, it can be a trigger operation of the "picture-text-video" control in the video creation application, the picture material generation interface is displayed, as shown in Figure 2C, which is a schematic diagram of the display of the picture material generation interface in the embodiment of the present application. The corresponding subtitle sentence can be automatically generated according to at least one of the image and the video in the picture material, or the corresponding subtitle sentence can be obtained in response to the user's input operation, and the picture-text video is finally obtained according to the picture material and the corresponding subtitle sentence.

在一种实现方式中,目标多媒体资源可以通过字幕文案和画面素材,以及目标时长生成的。示例性的,在获取字幕文案和画面素材之外,还可以获取目标时长,以使得按照该目标时长,根据所述字幕文案和所述画面素材生成目标多媒体资源。在本技术方案中,用户可以根据需求,控制生成的目标多媒体资源的时长,提高生成目标多媒体资源的效率,不需要在生成目标多媒体资源之后,再剪辑目标多媒体资源的时长,以满足要求。In one implementation, the target multimedia resource can be generated by subtitle text and picture materials, as well as a target duration. Exemplarily, in addition to obtaining the subtitle text and picture materials, the target duration can also be obtained so that the target multimedia resource is generated according to the subtitle text and the picture materials according to the target duration. In this technical solution, the user can control the duration of the generated target multimedia resource according to the requirements, thereby improving the efficiency of generating the target multimedia resource, and there is no need to edit the duration of the target multimedia resource after generating the target multimedia resource to meet the requirements.

在一种实现方式中,多媒体资源可以通过字幕文案和画面素材,以及视频模版生成的。示例性的,在获取字幕文案和画面素材之外,还可以获取视频模板,以使得按照该视频模板,根据所述字幕文案和所述画面素材生成目标多媒体资源。在本技术方案中,用户可以根据需求,选择想要的目标多媒体资源的视频模版,提高生成目标多媒体资源的效率,不需要在生成目标多媒体资源之后,再剪辑目标多媒体资源的视频模版,以满足要求。In one implementation, multimedia resources can be generated by subtitles, screen materials, and video templates. Exemplarily, in addition to obtaining subtitles and screen materials, a video template can also be obtained so that the target multimedia resource is generated according to the subtitles and screen materials according to the video template. In this technical solution, the user can select the desired video template of the target multimedia resource according to the needs, thereby improving the efficiency of generating the target multimedia resource, and there is no need to edit the video template of the target multimedia resource after generating the target multimedia resource to meet the requirements.

在一种实现方式中,多媒体资源可以通过字幕文案和画面素材,以及视频时长和视频模版生成的。示例性的,在获取字幕文案和画面素材之外,还可以获取模板时长和视频模板,以使得按照该目标时长和视频模板,根据所述字幕文案和所述画面素材生成目标多媒体资源。在本技术方案中,用户可以根据需求,选择想要的目标多媒体资源的视频时长和视频模版,提高生成目标多媒体资源的效率,不需要在生成目标多媒体资源之后,再剪辑目标多媒体资源的视频时长和视频模版,以满足要求。In one implementation, multimedia resources can be generated through subtitles and screen materials, as well as video duration and video templates. Exemplarily, in addition to obtaining subtitles and screen materials, template duration and video template can also be obtained, so that according to the target duration and video template, the target multimedia resource is generated according to the subtitles and screen materials. In this technical solution, the user can select the desired video duration and video template of the target multimedia resource according to the needs, thereby improving the efficiency of generating the target multimedia resource, and there is no need to edit the video duration and video template of the target multimedia resource after generating the target multimedia resource to meet the requirements.

102、响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,所述目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述目标多媒体资源的画面素材和/或字幕分句。102. In response to an editing trigger operation on the target multimedia resource, a target editing interface is displayed, wherein the target editing interface includes a plurality of editable objects in an editable state, and the plurality of editable objects include picture materials and/or subtitle sentences of the target multimedia resource.

如果用户想对目标多媒体资源进行编辑,那么可以进行相关的编辑触发操作,响应于对目标多媒体资源的编辑触发操作,显示目标编辑界面。而目标编辑界面包括至少两个处于可编辑状态的可编辑对象,可以供用户进行批量编辑。该至少两个处于可编辑状态的可编辑对象可以都是画面素材,也可以都是字幕分句,也可以是画面素材和字幕分句,本申请对此不做具体限定。If the user wants to edit the target multimedia resource, then a related editing trigger operation can be performed. In response to the editing trigger operation on the target multimedia resource, a target editing interface is displayed. The target editing interface includes at least two editable objects in an editable state, which can be batch edited by the user. The at least two editable objects in an editable state can be both picture materials, or both subtitle sentences, or both picture materials and subtitle sentences, which is not specifically limited in this application.

在一种实现方式中,所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述目标多媒体资源的编辑触发操作,在所述目标编辑界面中,通过列表的形式显示所述字幕分句和对应的所述画面素材,或,通过列表的形式显示所述画面素材和对应的所述字幕分句,所述字幕分句是对字幕文案进行分句得到的。In one implementation, the displaying of a target editing interface in response to an edit triggering operation on the target multimedia resource may include: in response to an edit triggering operation on the target multimedia resource, displaying the subtitle sentences and the corresponding screen materials in the form of a list in the target editing interface, or displaying the screen materials and the corresponding subtitle sentences in the form of a list, wherein the subtitle sentences are obtained by sentence segmenting the subtitle text.

在本技术方案中,在目标编辑界面中,字幕分句和对应的画面素材是通过列表的形式显示的,即在同一行或同一列中,显示每个字幕分句和每个字幕分句对应的画面素材,便于用户进行联动编辑,提高用户编辑的效率。例如,对字幕分句编辑后,会联动编辑对应的画面素材。In the technical solution, in the target editing interface, the subtitle sentences and the corresponding screen materials are displayed in the form of a list, that is, each subtitle sentence and the screen material corresponding to each subtitle sentence are displayed in the same row or column, which is convenient for users to perform linkage editing and improves the efficiency of user editing. For example, after editing a subtitle sentence, the corresponding screen material will be edited in linkage.

在另一种实现方式中,所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述目标多媒体资源的编辑触发操作,在所述目标编辑界面中,通过列表的形式显示所述画面素材和对应的所述字幕分句,所述字幕分句是对字幕文案进行分句得到的。In another implementation, the displaying of a target editing interface in response to an editing trigger operation on the target multimedia resource may include: in response to an editing trigger operation on the target multimedia resource, displaying the screen material and the corresponding subtitle sentences in the form of a list in the target editing interface, wherein the subtitle sentences are obtained by sentence segmentation of the subtitle text.

在本技术方案中,在目标编辑界面中,画面素材和对应的字幕分句是通过列表的形式显示的,即在同一行或同一列中,显示每个画面素材和每个画面素材对应的字幕分句,便于用户进行联动编辑,提高用户编辑的效率。例如,对画面素材编辑后,会联动编辑对应的字幕分句。In this technical solution, in the target editing interface, the screen material and the corresponding subtitle sentence are displayed in the form of a list, that is, each screen material and the subtitle sentence corresponding to each screen material are displayed in the same row or column, which is convenient for users to perform linkage editing and improves the efficiency of user editing. For example, after editing the screen material, the corresponding subtitle sentence will be edited in linkage.

在一种实现方式中,所述多媒体资源界面还包括批量编辑控件,所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述批量编辑控件的触控操作,显示所述目标编辑界面。示例性的,该批量编辑控件可以显示在多媒体资源界面中,如果用户对该批量编辑控件进行触控操作后,会显示目标编辑界面,用户可以在该目标编辑界面进行编辑操作。如图3A所示,为本申请实施例中显示目标编辑界面的一个示意图。触控所述批量编辑控件可以是点击所述批量编辑控件所在的显示区域的任意一个位置,或者,也可以是针对所述批量编辑控件的预设操作,例如,该预设操作可以是在屏幕画圈操作,当终端设备检测到用户的画圈操作后,则可以显示目标编辑界面。在本申请实施例中,不对触控操作进行限制,当然,也可以是针对所述目标编辑界面的其他操作,在此不一一举例。In one implementation, the multimedia resource interface further includes a batch editing control, and the display of the target editing interface in response to the editing trigger operation of the target multimedia resource may include: displaying the target editing interface in response to the touch operation of the batch editing control. Exemplarily, the batch editing control may be displayed in the multimedia resource interface. If the user performs a touch operation on the batch editing control, the target editing interface will be displayed, and the user can perform editing operations on the target editing interface. As shown in FIG3A, a schematic diagram of displaying the target editing interface in an embodiment of the present application is shown. Touching the batch editing control may be clicking any position of the display area where the batch editing control is located, or it may be a preset operation for the batch editing control. For example, the preset operation may be a circle operation on the screen. When the terminal device detects the user's circle operation, the target editing interface may be displayed. In the embodiment of the present application, the touch operation is not limited. Of course, it may also be other operations for the target editing interface, which are not exemplified one by one here.

在本技术方案中,因为多媒体资源界面还包括批量编辑控件,可以供用户对目标多媒体资源有编辑需求的时候,直接对批量编辑控件进行触控操作,然后对目标多媒体资源的画面素材,和/或,字幕分句进行批量编辑,从而可以提高编辑多媒体资源的效率。In this technical solution, because the multimedia resource interface also includes a batch editing control, when the user has editing needs for the target multimedia resources, the user can directly touch the batch editing control, and then batch edit the picture materials and/or subtitle sentences of the target multimedia resources, thereby improving the efficiency of editing multimedia resources.

在另一种实现方式中,所述多媒体资源界面还包括编辑触发控件,在所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面之前,所述方法还可以包括:响应于对所述编辑触发控件的触控操作,显示初始编辑界面,所述初始编辑界面包括批量编辑控件和处于不可编辑状态的多个不可编辑对象;所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面,可以包括:响应于对所述批量编辑控件的触控操作,显示所述目标编辑界面。In another implementation, the multimedia resource interface also includes an editing trigger control. Before displaying the target editing interface in response to the editing trigger operation on the target multimedia resource, the method may further include: displaying an initial editing interface in response to a touch operation on the editing trigger control, the initial editing interface including a batch editing control and a plurality of non-editable objects in an non-editable state; displaying the target editing interface in response to the editing trigger operation on the target multimedia resource may include: displaying the target editing interface in response to a touch operation on the batch editing control.

即多媒体资源界面包括的是编辑触发控件,响应于对编辑触发控件的触控操作后,会显示初始编辑界面,而初始编辑界面包括批量编辑控件以及处于不可编辑状态的多个不可编辑对象,响应用户对批量编辑控件的触控操作,显示目标编辑界面,而目标编辑界面中的多个不可编辑对象从不可编辑状态切换为可编辑状态的多个可编辑对象。即用户可以对处于可编辑状态的多个可编辑对象进行批量编辑。如图3B所示,为本申请实施例中显示目标编辑界面的另一个示意图。That is, the multimedia resource interface includes an edit trigger control. In response to a touch operation on the edit trigger control, an initial edit interface is displayed, and the initial edit interface includes a batch edit control and multiple non-editable objects in a non-editable state. In response to a user's touch operation on the batch edit control, a target edit interface is displayed, and multiple non-editable objects in the target edit interface are switched from a non-editable state to multiple editable objects in an editable state. That is, the user can batch edit multiple editable objects in an editable state. As shown in FIG. 3B , it is another schematic diagram showing a target edit interface in an embodiment of the present application.

在本技术方案中,因为多媒体资源界面还包括编辑触发控件,用于显示处于不可编辑状态的多个不可编辑对象,而这多个不可编辑对象用户还不能进行编辑操作,需要用户再次确认,是否需要进行批量编辑操作,用户如果想对多个不可编辑对象进行编辑,需要对初始编辑界面中的批量编辑控件进行触控操作,然后,处于不可编辑状态的多个不可编辑对象就变成处于可编辑状态的多个可编辑对象,用户就可以对多个可编辑对象进行批量编辑操作,从而可以提高编辑目标多媒体资源的效率。In the present technical solution, because the multimedia resource interface also includes an editing trigger control for displaying multiple non-editable objects in an uneditable state, and users cannot perform editing operations on these multiple non-editable objects, the user needs to confirm again whether batch editing operations are required. If the user wants to edit multiple non-editable objects, the user needs to touch the batch editing control in the initial editing interface, and then the multiple non-editable objects in the uneditable state will become multiple editable objects in an editable state, and the user can perform batch editing operations on the multiple editable objects, thereby improving the efficiency of editing the target multimedia resources.

103、检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的第一界面,所述目标编辑对象为所述多个可编辑对象中的至少一个,所述编辑操作后的第一界面中突出显示与所述编辑操作的编辑内容对应的关联信息,所述关联信息属于目标信息中的至少部分内容,所述目标信息包括字幕分句和画面素材中的至少一项。103. Detect and respond to an editing operation on a target editing object, and display a first interface after the editing operation. The target editing object is at least one of the multiple editable objects. The first interface after the editing operation highlights associated information corresponding to the editing content of the editing operation, and the associated information belongs to at least part of the target information. The target information includes at least one of a subtitle sentence and a picture material.

因为目标编辑界面包括处于可编辑状态的多个可编辑对象,所以,用户可以对处于可编辑状态的多个可编辑对象进行编辑,可以将用户进行编辑操作的可编辑对象视为目标编辑对象。检测并响应于对目标编辑对象的编辑操作,显示进行编辑操作后的第一界面,这里的目标编辑对象可以是字幕分句,也可以是画面素材,也可以是字幕分句和画面素材,本申请实施例不做具体限定。Because the target editing interface includes multiple editable objects in an editable state, the user can edit the multiple editable objects in an editable state, and the editable object on which the user performs the editing operation can be regarded as the target editing object. The editing operation on the target editing object is detected and responded to, and the first interface after the editing operation is displayed. Here, the target editing object can be a subtitle sentence, or a picture material, or a subtitle sentence and a picture material, which is not specifically limited in the embodiments of the present application.

在编辑操作后的第一界面中还可以突出显示与所述编辑操作的编辑内容对应的关联信息,所述关联信息属于目标信息中的至少部分内容,所述目标信息包括字幕分句和画面素材中的至少一项。所以,该关联信息可以是目标字幕分句(即完整的字幕分句),也可以是目标画面素材,也可以是目标字幕分句和对应的画面素材,也可以是目标字幕分句中的部分内容,也可以是目标画面素材中的部分画面(例如:如果目标画面素材是一张图片,这里的部分画面可以是该张图片中的部分画面,如果目标画面素材是多张图片,这里的部分画面可以多张图片中的部分图片,也可以是具体一张或多张图片中的部分画面),本申请实施例不做具体限定。而所述字幕分句包括所述目标字幕分句,所述画面素材包括所述目标画面素材。In the first interface after the editing operation, the associated information corresponding to the editing content of the editing operation can also be highlighted, and the associated information belongs to at least part of the content in the target information, and the target information includes at least one of the subtitle sentence and the screen material. Therefore, the associated information can be a target subtitle sentence (i.e., a complete subtitle sentence), or a target screen material, or a target subtitle sentence and a corresponding screen material, or a part of the content in the target subtitle sentence, or a part of the screen in the target screen material (for example: if the target screen material is a picture, the part of the screen here can be a part of the screen in the picture, if the target screen material is multiple pictures, the part of the screen here can be a part of the pictures in multiple pictures, or a part of the screen in one or more specific pictures), and the embodiment of the present application does not make specific restrictions. The subtitle sentence includes the target subtitle sentence, and the screen material includes the target screen material.

在一种实现方式中,突出显示与所述编辑操作的编辑内容对应的关联信息,可以包括:In one implementation, highlighting the associated information corresponding to the edited content of the edit operation may include:

在所述关联信息属于字幕分句的情况下,所述关联信息(所述目标字幕分句,或,所述目标字幕分句中的部分内容,或,所述目标字幕分句的序号)的显示参数,与其他字幕分句的显示参数不同;In the case where the associated information belongs to a subtitle sentence, the display parameters of the associated information (the target subtitle sentence, or a portion of the target subtitle sentence, or the sequence number of the target subtitle sentence) are different from the display parameters of other subtitle sentences;

在所述关联信息属于画面素材的情况下,所述关联信息(所述目标画面素材,或,所述目标画面素材中的部分画面,或,所述目标画面素材的序号)的显示参数,与其他画面素材的显示参数不同;In the case where the associated information belongs to a picture material, the display parameters of the associated information (the target picture material, or a part of the picture in the target picture material, or the sequence number of the target picture material) are different from the display parameters of other picture materials;

其中,所述显示参数包括字体、大小以、颜色、底色以及动效中的至少一种。The display parameters include at least one of font, size, color, background color and animation.

下面对编辑操作的编辑内容和对应的关联信息下面分别进行说明:The following are the edit contents and corresponding associated information of the edit operation:

1、编辑操作为合并操作、拆分操作、删除操作或替换操作的情况下,如果目标编辑对象为目标字幕分句,那么关联信息可以是目标字幕分句对应的画面素材;如果目标编辑对象为目标画面素材,那么关联信息可以是目标画面素材对应的字幕分句。1. When the editing operation is a merge operation, a split operation, a delete operation or a replace operation, if the target editing object is a target subtitle sentence, then the associated information may be the screen material corresponding to the target subtitle sentence; if the target editing object is a target screen material, then the associated information may be the subtitle sentence corresponding to the target screen material.

2、编辑操作为对目标字幕分句的修改操作,关联信息是与修改目标字幕分句的修改内容对应的关联信息,可以包括:所述目标字幕分句,所述目标字幕分句中的部分内容,所述目标画面素材,以及所述目标画面素材中的部分画面中的至少一项。2. The editing operation is a modification operation on a target subtitle sentence, and the associated information is associated information corresponding to the modified content of the target subtitle sentence, which may include: the target subtitle sentence, part of the content in the target subtitle sentence, the target picture material, and at least one of the partial pictures in the target picture material.

字幕分句示例如下:The following are examples of subtitle sentences:

1、他是一个天才,擅长各种科学,发明了许多奇妙的东西。1. He is a genius who is good at various sciences and has invented many wonderful things.

2、他的最大愿望,就是能够穿越时空,见证历史的变迁。2. His greatest wish is to travel through time and space and witness the changes of history.

3、他制造了一台时光机,决定去未来探索。3. He built a time machine and decided to explore the future.

4、他按下了按钮,却发现自己回到了过去。4. He pressed the button, only to find himself back in time.

例如:将字幕分句1中的“他”修改为“她”,那么在字幕分句2、字幕分句3和字幕分句4中,将“他”都突出显示,假设字幕分句1对应的画面素材1是个男生,所以,画面素材1也需要突出显示,这些都是与修改的“他”相关联的信息。如图3C所示,为本申请实施例中突出显示与所述编辑操作的编辑内容对应的关联信息的一个示意图。例如:将字幕分句2中的“历史”修改为“时代”,那么在字幕分句3中的“未来”和字幕分句4中的“过去”都突出显示,因为“未来”和“过去”这些都是与修改的“历史”相关联的信息。如图3D所示,为本申请实施例中突出显示与所述编辑操作的编辑内容对应的关联信息的一个示意图。For example: if "he" in subtitle sentence 1 is changed to "she", then "he" will be highlighted in subtitle sentence 2, subtitle sentence 3 and subtitle sentence 4. Assuming that the picture material 1 corresponding to subtitle sentence 1 is a boy, the picture material 1 also needs to be highlighted. These are all information associated with the modified "he". As shown in Figure 3C, it is a schematic diagram of highlighting the associated information corresponding to the editing content of the editing operation in an embodiment of the present application. For example: if "history" in subtitle sentence 2 is changed to "era", then "future" in subtitle sentence 3 and "past" in subtitle sentence 4 are both highlighted, because "future" and "past" are all information associated with the modified "history". As shown in Figure 3D, it is a schematic diagram of highlighting the associated information corresponding to the editing content of the editing operation in an embodiment of the present application.

在本技术方案中,通过显示参数的不同,可以使得关联信息可以突出显示,以提示用户这些关联信息是否需要编辑,便于用户可以直观的获取与所述编辑操作的编辑内容对应的关联信息,辅助用户进行后续的编辑操作,提高用户编辑操作的效率。In the present technical solution, by displaying different parameters, related information can be highlighted to prompt the user whether the related information needs to be edited, so that the user can intuitively obtain the related information corresponding to the editing content of the editing operation, assist the user in performing subsequent editing operations, and improve the efficiency of the user's editing operations.

在一种实现方式中,所述编辑操作后的第一界面包括第一提示信息,所述第一提示信息用于提示是否同步对所述关联信息进行所述编辑操作;所述方法还包括:在检测到同步对所述关联信息进行所述编辑操作的情况下,响应于对所述关联信息的编辑操作,显示进行所述编辑操作后的第二界面。In one implementation, the first interface after the editing operation includes a first prompt message, and the first prompt message is used to prompt whether to perform the editing operation on the associated information synchronously; the method also includes: when it is detected that the editing operation is performed on the associated information synchronously, in response to the editing operation on the associated information, displaying the second interface after the editing operation.

在突出显示与修改目标字幕分句的修改内容对应的关联信息的同时,还可以在编辑操作后的第一界面显示第一提示信息,该第一提示信息用于提示是否同步对所述关联信息进行所述编辑操作;在检测到同步对所述关联信息进行所述编辑操作的情况下,例如在检测到对“是”控件的触控操作后,表示同步对所述关联信息进行该编辑操作,响应对关联信息的编辑操作后,显示进行编辑操作后的第一界面。在检测到对“否”控件的触控操作后,表示不同步对所述关联信息进行该编辑操作,在所述编辑操作后的第一界面中取消对所述关联信息的突出显示。示例性的,如图3E所示,为本申请实施例中编辑操作后的第一界面包括第一提示信息的一个实施例示意图。在图3E所示中,如果用户选择“是”控件,那么对字幕分句2、字幕分句3和字幕分句4中的“他”都会同步修改为“她”,可以提高用户进行编辑操作的效率。在修改完字幕分句后,因为关联信息还包括字幕分句1对应的画面素材1,所以,还会显示画面素材生成界面,在画面素材生成界面中,可以包括但不限于以下几种画面素材生成的方式:例如AI生成素材,AI匹配素材库,自由填充素材,AI数字人,可以供用户选择新的画面素材1的生成方式,这里结合可以结合图2C所示的画面素材生成界面,此处不再赘述。While highlighting the associated information corresponding to the modified content of the target subtitle sentence, a first prompt information can also be displayed on the first interface after the editing operation, and the first prompt information is used to prompt whether to perform the editing operation on the associated information synchronously; in the case of detecting that the editing operation is performed on the associated information synchronously, for example, after detecting a touch operation on the "yes" control, it indicates that the editing operation is performed on the associated information synchronously, and after responding to the editing operation on the associated information, the first interface after the editing operation is displayed. After detecting a touch operation on the "no" control, it indicates that the editing operation is not performed on the associated information synchronously, and the highlighting of the associated information is canceled in the first interface after the editing operation. Exemplarily, as shown in Figure 3E, it is a schematic diagram of an embodiment in which the first interface after the editing operation in the embodiment of the present application includes the first prompt information. As shown in Figure 3E, if the user selects the "yes" control, then "he" in subtitle sentence 2, subtitle sentence 3 and subtitle sentence 4 will be synchronously modified to "she", which can improve the efficiency of the user's editing operation. After modifying the subtitle sentence, because the associated information also includes the picture material 1 corresponding to the subtitle sentence 1, the picture material generation interface will also be displayed. In the picture material generation interface, it can include but is not limited to the following picture material generation methods: for example, AI generated materials, AI matching material library, free filling materials, AI digital people, and users can choose a new way to generate picture material 1. Here, it can be combined with the picture material generation interface shown in Figure 2C, which will not be repeated here.

在本技术方案中,在突出显示与修改目标字幕分句的修改内容对应的关联信息的同时,还可以在编辑操作后的第一界面显示第一提示信息,该第一提示信息用于提示同步对所述关联信息进行所述编辑操作,从而可以通过第一提示信息指引用户是否同步对关联信息进行编辑操作,从而提高编辑操作的效率。In the present technical solution, while highlighting the associated information corresponding to the modified content of the target subtitle sentence, a first prompt information can also be displayed on the first interface after the editing operation. The first prompt information is used to prompt the user to perform the editing operation on the associated information synchronously, so that the user can be guided by the first prompt information whether to perform the editing operation on the associated information synchronously, thereby improving the efficiency of the editing operation.

在一种实现方式中,所述编辑操作后的第一界面包括同步编辑控件、部分编辑控件和取消控件,所述方法还包括:In one implementation, the first interface after the editing operation includes a synchronous editing control, a partial editing control, and a cancel control, and the method further includes:

检测到对所述同步编辑控件的触控操作,对所述关联信息进行编辑操作,显示进行所述编辑操作后的第二界面;或,detecting a touch operation on the synchronous editing control, performing an editing operation on the associated information, and displaying a second interface after performing the editing operation; or,

检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,显示进行所述编辑操作后的第三界面;或,Detecting a touch operation on the partial editing control, performing an editing operation on a portion of the associated information, and displaying a third interface after performing the editing operation; or,

检测到对所述取消控件的触控操作,在所述编辑操作后的第一界面中取消对所述关联信息的突出显示。A touch operation on the cancel control is detected, and the highlighting of the associated information is canceled in the first interface after the editing operation.

示例性的,编辑操作后的第一界面还可以包括同步编辑控件、部分编辑控件和取消控件,而同步编辑控件和部分编辑控件根据不同的编辑操作,显示具体的编辑控件。例如:编辑操作为合并操作,同步编辑控件为同步合并控件、部分编辑控件为部分合并控件;编辑操作为拆分操作,同步编辑控件为同步拆分控件、部分拆分控件为部分拆分控件;编辑操作为删除操作,同步编辑控件为同步删除控件、部分编辑控件为部分删除控件;编辑操作为替换操作,同步编辑控件为同步替换控件、部分编辑控件为部分替换控件;编辑操作为修改操作,同步编辑控件为同步修改控件、部分编辑控件为部分修改控件,此处不再一一赘述。Exemplarily, the first interface after the editing operation may also include a synchronous editing control, a partial editing control, and a cancel control, and the synchronous editing control and the partial editing control display specific editing controls according to different editing operations. For example: if the editing operation is a merge operation, the synchronous editing control is a synchronous merge control, and the partial editing control is a partial merge control; if the editing operation is a split operation, the synchronous editing control is a synchronous split control, and the partial split control is a partial split control; if the editing operation is a delete operation, the synchronous editing control is a synchronous delete control, and the partial editing control is a partial delete control; if the editing operation is a replace operation, the synchronous editing control is a synchronous replace control, and the partial editing control is a partial replace control; if the editing operation is a modify operation, the synchronous editing control is a synchronous modify control, and the partial editing control is a partial modify control, which will not be described one by one here.

在本技术方案中,在编辑操作后的第一界面中显示有同步编辑控件、部分编辑控件和取消控件,可以供用户根据自己的实际需求,进行不同的选择操作,在提高用户编辑效率的同时,还可以提高用户的体验。In this technical solution, synchronous editing controls, partial editing controls and cancel controls are displayed in the first interface after the editing operation, allowing users to perform different selection operations according to their actual needs, thereby improving user editing efficiency and user experience.

在一种实现方式中,所述检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,显示进行所述编辑操作后的第三界面,可以包括:检测到对所述部分编辑控件的触控操作,检测并响应对目标关联信息的选中操作,显示选中界面,所述选中界面包括处于选中状态的目标关联信息,所述目标关联信息是所述关联信息中的至少一个;检测并响应对所述目标关联信息的编辑操作,显示进行所述编辑操作后的第三界面。In one implementation, the detecting a touch operation on the portion of the editing control, performing an editing operation on a portion of the associated information, and displaying a third interface after the editing operation is performed may include: detecting a touch operation on the portion of the editing control, detecting and responding to a selection operation on target associated information, and displaying a selection interface, wherein the selection interface includes target associated information in a selected state, wherein the target associated information is at least one of the associated information; detecting and responding to an editing operation on the target associated information, and displaying a third interface after the editing operation is performed.

示例性的,如图3F所示,为本申请实施例中编辑操作后的第一界面包括同步修改控件、部分修改控件和取消控件的一个实施例示意图。在图3F所示中,如果用户选择“部分修改控件”,因为字幕分句3中的“未来”和字幕分句4中的“过去”都突出显示,所以,用户可以快速选中哪个目标关联信息需要修改,检测并响应对目标关联信息的选中操作,显示选中界面,所述选中界面包括处于选中状态的目标关联信息,假设用户选中的是字幕分句3中的“未来”,将其修改为“将来”,那么,显示的进行编辑操作后的第三界面中,字幕分句3中的“未来”已显示为“将来”。如果将“未来”改为“过去”,那么,可以突出显示与字幕分句3对应的画面素材3和字幕分句4中的“过去”,因为“未来”对应的关联信息是“画面素材3”和“过去”,至于字幕分句1中的“时代”,已经修改过,可以突出显示,也可以不突出显示,不做具体限定。Exemplarily, as shown in FIG3F, it is a schematic diagram of an embodiment of the first interface after the editing operation in the embodiment of the present application, which includes a synchronous modification control, a partial modification control, and a cancel control. As shown in FIG3F, if the user selects "partial modification control", because "future" in subtitle sentence 3 and "past" in subtitle sentence 4 are both highlighted, the user can quickly select which target association information needs to be modified, detect and respond to the selection operation of the target association information, and display the selection interface, which includes the target association information in the selected state. Assuming that the user selects "future" in subtitle sentence 3 and changes it to "future", then, in the third interface displayed after the editing operation, "future" in subtitle sentence 3 is already displayed as "future". If "future" is changed to "past", then the picture material 3 corresponding to subtitle sentence 3 and "past" in subtitle sentence 4 can be highlighted, because the associated information corresponding to "future" is "picture material 3" and "past", as for "era" in subtitle sentence 1, it has been modified and can be highlighted or not, without specific limitation.

在本技术方案中,目标关联信息可以是关联信息中的至少一个,对用户选择“部分修改控件”的一个具体说明,提高了方案的可行性。用户每次可以选中一个进行修改,也可以每次选中多个进行修改,具体不做限定。在进行部分修改的时候,还可以进一步突出显示与本次修改的内容对应的关联信息,如果用户不需要修改,还可以选择对“取消控件”进行触控操作,从而取消对关联信息的突出显示。In the present technical solution, the target associated information can be at least one of the associated information, which is a specific description of the user's selection of "partial modification control", which improves the feasibility of the solution. The user can select one to modify each time, or can select multiple to modify each time, without specific limitation. When making partial modifications, the associated information corresponding to the content of this modification can be further highlighted. If the user does not need to modify, he can also choose to touch the "cancel control" to cancel the highlighting of the associated information.

在一种实现方式中,在所述多媒体资源界面和所述目标编辑界面处于同一界面的情况下,所述多媒体资源界面中进度条的位置与所述目标编辑对象对应。In an implementation manner, when the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object.

示例性的,如果所述多媒体资源界面和所述目标编辑界面处于同一界面,那么,用户每次在进行编辑操作的时候,多媒体资源界面中播放多媒体资源的进度条的位置与目标编辑对象对应。例如:目标编辑对象是字幕分句1,那么,多媒体资源界面中播放多媒体资源的进度条的位置就显示在字幕分句1对应的位置。如果目标编辑对象是画面素材3,那么,多媒体资源界面中播放多媒体资源的进度条的位置就显示在对画面素材3对应的位置。如图3G所示,为本申请实施例中多媒体资源界面中进度条的位置与所述目标编辑对象对应的一个实施例示意图。Exemplarily, if the multimedia resource interface and the target editing interface are in the same interface, then each time the user performs an editing operation, the position of the progress bar for playing multimedia resources in the multimedia resource interface corresponds to the target editing object. For example: if the target editing object is subtitle sentence 1, then the position of the progress bar for playing multimedia resources in the multimedia resource interface is displayed at the position corresponding to subtitle sentence 1. If the target editing object is screen material 3, then the position of the progress bar for playing multimedia resources in the multimedia resource interface is displayed at the position corresponding to screen material 3. As shown in Figure 3G, this is a schematic diagram of an embodiment in which the position of the progress bar in the multimedia resource interface corresponds to the target editing object in an embodiment of the present application.

在本技术方案中,如果多媒体资源界面和所述目标编辑界面处于同一界面,多媒体资源界面中进度条的位置与所述目标编辑对象对应,便于用户可以直观感受到每次编辑后的显示效果,确定本次编辑是否满意,是否还需要再次编辑等,即可以辅助用户进行编辑,提高用户进行编辑操作的效率。In the present technical solution, if the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object, so that the user can intuitively feel the display effect after each editing, determine whether the current editing is satisfactory, whether it needs to be edited again, etc., which can assist the user in editing and improve the efficiency of the user's editing operations.

在一种实现方式中,所述目标编辑对象为所述多个可编辑对象中的至少两个,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:在检测对所有所述目标编辑对象的编辑操作之后,响应于对所述编辑操作的确认操作,显示进行所述编辑操作之后的界面。In one implementation, the target editing objects are at least two of the multiple editable objects, and the detecting and responding to the editing operation on the target editing objects and displaying the interface after the editing operation may include: after detecting the editing operations on all the target editing objects, responding to a confirmation operation on the editing operation and displaying the interface after the editing operation.

示例性的,如果目标编辑对象为字幕分句,假设这里用户想对对字幕分句1、字幕分句2进行编辑,编辑之后,如果没有其他要编辑的,可以进行确认操作,例如,在目标编辑界面包括保存控件,响应于用户对保存控件的触控操作,保存对字幕分句1和字幕分句2的编辑。For example, if the target editing object is a subtitle sentence, assuming that the user wants to edit subtitle sentence 1 and subtitle sentence 2, after editing, if there is nothing else to edit, a confirmation operation can be performed. For example, the target editing interface includes a save control, and in response to the user's touch operation on the save control, the edits to subtitle sentence 1 and subtitle sentence 2 are saved.

在相关技术中,对每个编辑对象,需要先触发第一编辑对象处于可编辑状态,对第一编辑对象进行编辑后,想对其他编辑对象进行编辑,必须先对第一编辑对象的编辑操作进行保存,然后再触发第二编辑对象处于可编辑状态,对第二编辑对象进行编辑后,想对其他编辑对象进行编辑,必须先对第二编辑对象的编辑操作进行保存,然后再触发第三编辑对象处于可编辑状态,以此类推。即相关技术中,需要每个对编辑对象进行编辑保存后,才可进行下一编辑对象的编辑,操作比较累赘。而在本技术方案中,用户可以对想编辑的编辑对象都进行编辑后,统一进行保存,所以称为批量编辑,从而可以提高用户编辑多媒体资源的效率。In the related art, for each editing object, it is necessary to first trigger the first editing object to be in an editable state. After editing the first editing object, if you want to edit other editing objects, you must first save the editing operation of the first editing object, and then trigger the second editing object to be in an editable state. After editing the second editing object, if you want to edit other editing objects, you must first save the editing operation of the second editing object, and then trigger the third editing object to be in an editable state, and so on. That is, in the related art, each editing object needs to be edited and saved before the next editing object can be edited, and the operation is cumbersome. In the present technical solution, the user can edit all the editing objects he wants to edit and save them uniformly, so it is called batch editing, which can improve the efficiency of users in editing multimedia resources.

在一种实现方式中,在所述检测并响应于对目标编辑对象的编辑操作之前,所述方法还可以包括:检测对可编辑对象的选择触发操作,显示可编辑对象的选择界面,所述可编辑对象的选择界面包括处于可选状态的多个可编辑对象;响应于在所述可编辑对象的选择界面对可编辑对象的选择操作,确定处于选中状态的编辑对象为所述目标编辑对象。示例性的,这里的选择触发操作,可以是长按操作,或者双击操作,或者滑动操作等,本申请实施例不做具体限定。如图3H所示,为本申请实施例中可编辑对象的选择界面包括处于可选状态的多个可编辑对象的一个示意图。用户可以进行选择操作,终端设备响应于用户的选择操作,将选择的可编辑对象变更为选中状态,那么,处于选中状态的可编辑对象即为目标编辑对象,用户可对其进行合并、拆分、删除、替换等编辑操作。In one implementation, before detecting and responding to the editing operation on the target editing object, the method may further include: detecting a selection trigger operation on the editable object, displaying a selection interface of the editable object, wherein the selection interface of the editable object includes a plurality of editable objects in an optional state; in response to the selection operation on the editable object in the selection interface of the editable object, determining that the editing object in the selected state is the target editing object. Exemplarily, the selection trigger operation here may be a long press operation, a double-click operation, a sliding operation, etc., which is not specifically limited in the embodiment of the present application. As shown in FIG3H, a schematic diagram of the selection interface of the editable object in the embodiment of the present application includes a plurality of editable objects in an optional state. The user can perform a selection operation, and the terminal device changes the selected editable object to a selected state in response to the user's selection operation. Then, the editable object in the selected state is the target editing object, and the user can perform editing operations such as merging, splitting, deleting, and replacing it.

在本技术方案中,提供了一种确定目标编辑对象的方式,可以选择多个可编辑对象作为目标编辑对象进行批量编辑,从而提高用户进行编辑操作的效率。In the present technical solution, a method for determining a target editing object is provided, and multiple editable objects can be selected as target editing objects for batch editing, thereby improving the efficiency of the user's editing operation.

在本技术方案中,在生成图文视频后,用户还可以再次调整字幕分句和画面素材。例如通过点击的交互方式对字幕分句和画面素材进行批量合并、拆分、删除、修改、替换等操作,而且,在编辑字幕分句的情况下,还可以联动编辑对应的画面素材,在编辑画面素材的情况下,还可以联动编辑对应的字幕分句。In this technical solution, after generating the graphic video, the user can adjust the subtitle sentences and screen materials again. For example, the subtitle sentences and screen materials can be batch merged, split, deleted, modified, replaced, etc. through the interactive mode of clicking. Moreover, when editing the subtitle sentences, the corresponding screen materials can also be edited in conjunction, and when editing the screen materials, the corresponding subtitle sentences can also be edited in conjunction.

在编辑字幕分句的情况下,还可以联动编辑对应的画面素材,可以分为以下几种实现方式:When editing subtitle sentences, you can also link edit the corresponding screen materials, which can be divided into the following implementation methods:

批量合并操作:将多个相邻或非相邻的字幕分句合并成一个字幕分句,并联动合并相应的画面素材。Batch merge operation: merge multiple adjacent or non-adjacent subtitle sentences into one subtitle sentence, and merge the corresponding screen materials in a linked manner.

批量拆分操作:将一个字幕分句拆分成多个字幕分句,并联动拆分成多个画面素材。Batch split operation: split a subtitle sentence into multiple subtitle sentences, and then split them into multiple screen materials.

批量删除操作:删除选中的字幕分句及其对应的画面素材。Batch deletion operation: Delete the selected subtitle sentences and their corresponding screen materials.

在编辑画面素材的情况下,还可以联动编辑对应的字幕分句,可以分为以下几种实现方式:When editing screen materials, you can also edit the corresponding subtitle sentences in linkage, which can be implemented in the following ways:

批量合并操作:将多个相邻或非相邻的画面素材合并成一个画面素材,并联动合并相应的字幕分句。Batch merge operation: merge multiple adjacent or non-adjacent screen materials into one screen material, and merge the corresponding subtitle sentences in a linked manner.

批量拆分操作:将一个画面素材拆分成多个画面素材,并联动拆分成多个字幕分句。Batch split operation: split a screen material into multiple screen materials, and then split them into multiple subtitle sentences.

批量删除操作:删除选中的画面素材及其对应的字幕分句。Batch deletion operation: Delete the selected screen materials and their corresponding subtitle sentences.

下面对画面素材对应于字幕分句和字幕分句对应于画面素材的两种情况,提供的一个示例说明,如下所示:The following is an example of two cases: the picture material corresponds to the subtitle sentence and the subtitle sentence corresponds to the picture material, as shown below:

情况1:画面素材对应于字幕分句Case 1: The picture material corresponds to the subtitle sentence

1、他是一个天才,擅长各种科学,发明了许多奇妙的东西。对应画面素材1。1. He is a genius, good at various sciences, and has invented many wonderful things. Corresponding picture material 1.

2、他的最大愿望,就是能够穿越时空,见证历史的变迁。对应画面素材2。2. His greatest wish is to travel through time and space and witness the changes of history. Corresponding picture material 2.

3、他制造了一台时光机,决定去未来探索。对应画面素材3。3. He built a time machine and decided to explore the future. Corresponding image material 3.

4、他按下了按钮,却发现自己回到了过去。对应画面素材4。4. He pressed the button, but found himself back in time. Corresponding image material 4.

情况2:字幕分句对应于画面素材Case 2: Subtitle sentences correspond to the picture material

1、画面素材1,在这个阳光明媚的日子里,我们将会为大家带来一场风筝比赛。1. Picture material 1. On this sunny day, we will bring you a kite competition.

2、画面素材2,无论老少,都可以在这里展示自己的风采。2. Picture material 2. No matter young or old, everyone can show their style here.

3、画面素材3,让我们跟着春天的脚步,去寻找属于自己的美好。3. Picture material 3, let us follow the footsteps of spring and find our own beauty.

下面可以对这几种编辑操作分别进行说明,如下所示:These editing operations can be described separately below, as shown below:

1、编辑操作为合并操作1. The editing operation is a merge operation

所述目标编辑界面包括合并控件,所述目标编辑对象包括所述多个可编辑对象中的至少两个目标可编辑对象,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述合并控件的触控操作,显示进行所述合并操作后的界面,所述进行所述合并操作后的界面包括将所述至少两个目标可编辑对象合并后的可编辑对象。在本技术方案中,如果用户想对多个目标可编辑对象进行合并,可以通过合并控件,实现对目标可编辑对象的合并,提高了对目标可编辑对象进行合并的便捷性。The target editing interface includes a merge control, the target editing object includes at least two target editable objects among the multiple editable objects, and the detecting and responding to the editing operation on the target editing object to display the interface after the editing operation may include: responding to the touch operation on the merge control to display the interface after the merge operation, and the interface after the merge operation includes the editable object after the at least two target editable objects are merged. In this technical solution, if the user wants to merge multiple target editable objects, the merge control can be used to achieve the merge of the target editable objects, thereby improving the convenience of merging the target editable objects.

如图3A和图3B所示,为目标编辑界面包括合并控件的一个实施例示意图。该合并控件,可以用于仅合并字幕分句,也可以用于仅合并画面素材,也可以用于在合并字幕分句的情况下,联动合并画面素材,也可以用于在合并画面素材的情况下,联动合并字幕分句。As shown in Fig. 3A and Fig. 3B, it is a schematic diagram of an embodiment that the target editing interface includes a merging control. The merging control can be used to merge only subtitle sentences, or only picture materials, or to merge picture materials in conjunction with merging subtitle sentences, or to merge subtitle sentences in conjunction with merging picture materials.

在一种实现方式中,对于合并控件,可以包括向上合并控件和向下合并控件,而向上合并控件不仅支持相邻字幕分句的向上合并,也支持跨字幕分句的向上合并,还支持相邻画面素材的向上合并,还支持跨画面素材的向上合并;向下合并控件,也不仅支持相邻字幕分句的向下合并,也支持跨字幕分句的向下合并,还支持相邻画面素材的向下合并,还支持跨画面素材的向下合并。在本技术方案中,提供了多种合并实现方式,更能提高合并操作的便捷性。In one implementation, the merge control may include an upward merge control and a downward merge control, and the upward merge control supports not only the upward merge of adjacent subtitle sentences, but also the upward merge of cross-subtitle sentences, the upward merge of adjacent screen materials, and the upward merge of cross-screen materials; the downward merge control supports not only the downward merge of adjacent subtitle sentences, but also the downward merge of cross-subtitle sentences, the downward merge of adjacent screen materials, and the downward merge of cross-screen materials. In this technical solution, multiple merge implementation methods are provided, which can further improve the convenience of the merge operation.

在一种实现方式中,对于字幕分句的拆分,是按照字幕文案的顺序来拆分的,所以通常来说,就算初始字幕文案的拆分不满足用户需求,想要合并,一般也是合并至上一句,或,合并至下一句。对于画面素材的拆分,也是通过画面素材的顺序来拆分的,所以通常来说,就算初始换上素材的拆分不满足用户需求,想合并,一般也是合并至上一个画面素材,或,合并至下一个画面素材。所以,在本技术方案中,针对常用的场景,适应性提供的合并控件可以包括合并至上个控件,合并至下个控件,更能满足用户的需求,提高合并操作的便捷性。In one implementation, the subtitle sentences are split according to the order of the subtitle text, so generally speaking, even if the initial split of the subtitle text does not meet the user's needs, if you want to merge, it is generally merged to the previous sentence, or merged to the next sentence. The screen material is also split according to the order of the screen material, so generally speaking, even if the initial split of the subtitle text does not meet the user's needs, if you want to merge, it is generally merged to the previous screen material, or merged to the next screen material. Therefore, in the present technical solution, for commonly used scenarios, the adaptive merge controls provided can include merging to the previous control and merging to the next control, which can better meet the needs of users and improve the convenience of the merging operation.

(1)下面以合并字幕分句为例进行说明,如下所示:(1) The following is an example of merging subtitle sentences, as shown below:

在一种实现方式中,至少两个目标可编辑对象为至少两个目标字幕分句,进行所述合并操作后的界面包括将所述至少两个目标字幕分句合并后的字幕分句。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the at least two target editable objects are at least two target subtitle sentences, and the interface after the merging operation includes a subtitle sentence after the at least two target subtitle sentences are merged. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括合并控件。如果用户想合并字幕分句1和字幕分句2,那么,可以选中字幕分句1和字幕分句2,然后对合并控件进行触控操作,响应于对合并控件的触控操作,合并字幕分句1和字幕分句2,如图4A所示,为本申请实施例中对字幕分句进行合并操作的一个示意图。如果用户想合并字幕分句1和字幕分句3,那么,可以选中字幕分句1和字幕分句3,然后对合并控件进行触控操作,响应于对合并控件的触控操作,合并字幕分句1和字幕分句3,但因为字幕分句1和字幕分句3是跨字幕分句的合并,所以,就存在一个问题,到底是将字幕分句3合并到字幕分句1的位置,还是将字幕分句1合并到字幕分句3的位置,这里可以通过弹窗输出第二提示信息,供用户选择向上合并还是向下合并;也可以是用户对合并控件的左半边进行触控操作,响应于用户对合并控件的左半边的触控操作,向上合并,即将字幕分句3合并到字幕分句1的位置,用户对合并控件的右半边进行触控操作,响应于用户对合并控件的右半边的触控操作,向下合并,即将字幕分句1合并到字幕分句3的位置。如图4B所示,为本申请实施例中对字幕分句进行合并操作的另一个示意图。在图4B所示中,是对合并控件的左半边进行触控操作,将字幕分句3合并至字幕分句1的位置进行的示例。Assume that the target editing interface includes a merge control. If the user wants to merge subtitle sentence 1 and subtitle sentence 2, then the user can select subtitle sentence 1 and subtitle sentence 2, and then perform a touch operation on the merge control. In response to the touch operation on the merge control, subtitle sentence 1 and subtitle sentence 2 are merged, as shown in FIG4A , which is a schematic diagram of a merging operation of subtitle sentences in an embodiment of the present application. If the user wants to merge subtitle sentence 1 and subtitle sentence 3, then, subtitle sentence 1 and subtitle sentence 3 can be selected, and then the merge control can be touched. In response to the touch operation on the merge control, subtitle sentence 1 and subtitle sentence 3 are merged. However, because subtitle sentence 1 and subtitle sentence 3 are merged across subtitle sentences, there is a problem, whether to merge subtitle sentence 3 into the position of subtitle sentence 1 or merge subtitle sentence 1 into the position of subtitle sentence 3. Here, a second prompt information can be output through a pop-up window for the user to choose to merge upward or merge downward; or the user can touch the left half of the merge control, and in response to the user's touch operation on the left half of the merge control, merge upward, that is, merge subtitle sentence 3 into the position of subtitle sentence 1, and the user can touch the right half of the merge control, and in response to the user's touch operation on the right half of the merge control, merge downward, that is, merge subtitle sentence 1 into the position of subtitle sentence 3. As shown in Figure 4B, it is another schematic diagram of merging subtitle sentences in an embodiment of the present application. As shown in FIG. 4B , it is an example of performing a touch operation on the left half of the merge control to merge subtitle sentence 3 into the position of subtitle sentence 1.

假设目标编辑界面包括向上合并控件和向下合并控件,如图4C所示,为本申请实施例中对字幕分句进行合并操作的另一个示意图。如果用户想合并字幕分句1和字幕分句2。可以对向上合并控件进行触控操作,响应于向上合并控件的触控操作,将字幕分句2合并至字幕分句1,得到合并后的字幕分句。也可以对向下合并控件进行触控操作,响应于向下合并控件的触控操作,将字幕分句1合并至字幕分句2,得到合并后的字幕分句。Assuming that the target editing interface includes an upward merge control and a downward merge control, as shown in FIG4C , it is another schematic diagram of merging subtitle sentences in an embodiment of the present application. If the user wants to merge subtitle sentence 1 and subtitle sentence 2. The upward merge control can be touched, and in response to the touch operation of the upward merge control, subtitle sentence 2 is merged into subtitle sentence 1 to obtain the merged subtitle sentence. The downward merge control can also be touched, and in response to the touch operation of the downward merge control, subtitle sentence 1 is merged into subtitle sentence 2 to obtain the merged subtitle sentence.

需要说明的是,这里是对目标字幕分句的合并说明,关于目标字幕分句对应的目标画面素材,用户也可以进行合并操作,拆分操作,替换操作,删除操作等,本申请实施例不作具体限定。It should be noted that this is an explanation of the merging of target subtitle sentences. Regarding the target picture material corresponding to the target subtitle sentence, the user can also perform merging operations, splitting operations, replacing operations, deleting operations, etc., which are not specifically limited in the embodiments of the present application.

在一种实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述方法还可以包括:响应于对所述合并后的字幕分句进行修改的触发操作,显示键盘界面;检测并响应于在所述键盘界面的输入操作,对所述合并后的幕分句进行修改,显示修改及合并后的字幕分句。In one implementation, the at least two target editable objects are at least two target subtitle sentences, and the method may further include: in response to a trigger operation to modify the merged subtitle sentence, displaying a keyboard interface; detecting and responding to an input operation on the keyboard interface, modifying the merged subtitle sentence, and displaying the modified and merged subtitle sentence.

在本技术方案中,用户在对至少两个字幕分句进行合并后,还可以对合并后的字幕分句进行修改,从而提高用户编辑字幕分句的效率。In this technical solution, after merging at least two subtitle sentences, the user can also modify the merged subtitle sentence, thereby improving the efficiency of the user in editing the subtitle sentences.

(2)下面以合并画面素材为例进行说明,如下所示:(2) The following is an example of merging screen materials, as shown below:

在一种实现方式中,至少两个目标可编辑对象为至少两个目标画面素材,进行所述合并操作后的界面包括将所述至少两个目标画面素材合并后的画面素材。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the at least two target editable objects are at least two target screen materials, and the interface after the merging operation includes a screen material after the at least two target screen materials are merged. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括合并控件。如果用户想合并画面素材1和画面素材2,那么,可以选中画面素材1和画面素材2,然后对合并控件进行触控操作,响应于对合并控件的触控操作,合并画面素材1和画面素材2,如图5A所示,为本申请实施例中对画面素材进行合并操作的一个示意图。如果用户想合并画面素材1和画面素材3,那么,可以选中画面素材1和画面素材3,然后对合并控件进行触控操作,响应于对合并控件的触控操作,合并画面素材1和画面素材3,但因为画面素材1和画面素材3是跨画面素材的合并,所以,就存在一个问题,到底是将画面素材3合并到画面素材1的位置,还是将画面素材1合并到画面素材3的位置,这里可以通过弹窗输出第二提示信息,供用户选择向上合并还是向下合并;也可以是用户对合并控件的左半边进行触控操作,响应于用户对合并控件的左半边的触控操作,向上合并,即将画面素材3合并到画面素材1的位置,用户对合并控件的右半边进行触控操作,响应于用户对合并控件的右半边的触控操作,向下合并,即将画面素材1合并到画面素材3的位置。如图5B所示,为本申请实施例中对画面素材进行合并操作的另一个示意图。在图5B所示中,是对合并控件的左半边进行触控操作,将画面素材3合并至画面素材1的位置进行的示例。Assume that the target editing interface includes a merge control. If the user wants to merge screen material 1 and screen material 2, then the user can select screen material 1 and screen material 2, and then perform a touch operation on the merge control. In response to the touch operation on the merge control, screen material 1 and screen material 2 are merged, as shown in FIG5A, which is a schematic diagram of a merge operation on screen materials in an embodiment of the present application. If the user wants to merge screen material 1 and screen material 3, then screen material 1 and screen material 3 can be selected, and then the merge control can be touched. In response to the touch operation on the merge control, screen material 1 and screen material 3 are merged. However, because screen material 1 and screen material 3 are merged across screen materials, there is a problem, whether to merge screen material 3 into the position of screen material 1 or merge screen material 1 into the position of screen material 3. Here, a second prompt information can be output through a pop-up window for the user to choose to merge upward or merge downward; or the user can touch the left half of the merge control, and in response to the user's touch operation on the left half of the merge control, merge upward, that is, merge screen material 3 into the position of screen material 1, and the user can touch the right half of the merge control, and in response to the user's touch operation on the right half of the merge control, merge downward, that is, merge screen material 1 into the position of screen material 3. As shown in Figure 5B, it is another schematic diagram of merging screen materials in an embodiment of the present application. As shown in FIG. 5B , it is an example of performing a touch operation on the left half of the merge control to merge the screen material 3 into the position of the screen material 1 .

假设目标编辑界面包括向上合并控件和向下合并控件,如图5C所示,为本申请实施例中对画面素材进行合并操作的另一个示意图。如果用户想合并画面素材1和画面素材2。可以对向上合并控件进行触控操作,响应于向上合并控件的触控操作,将画面素材2合并至画面素材1,得到合并后的画面素材。也可以对向下合并控件进行触控操作,响应于向下合并控件的触控操作,将画面素材1合并至画面素材2,得到合并后的画面素材。Assuming that the target editing interface includes an upward merge control and a downward merge control, as shown in FIG5C , it is another schematic diagram of merging screen materials in an embodiment of the present application. If the user wants to merge screen material 1 and screen material 2. The upward merge control can be touched, and in response to the touch operation of the upward merge control, screen material 2 is merged into screen material 1 to obtain the merged screen material. The downward merge control can also be touched, and in response to the touch operation of the downward merge control, screen material 1 is merged into screen material 2 to obtain the merged screen material.

需要说明的是,这里是对目标画面素材的合并说明,关于目标画面素材对应的目标字幕分句,用户也可以进行合并操作,拆分操作,修改操作,删除操作等,本申请实施例不作具体限定。It should be noted that this is an explanation of the merging of the target picture materials. Regarding the target subtitle sentences corresponding to the target picture materials, the user can also perform merge operations, split operations, modify operations, delete operations, etc., and the embodiments of the present application do not make specific limitations.

(3)下面以合并字幕分句的情况下,联动合并画面素材为例进行说明,如下所示:(3) The following is an example of merging subtitle sentences and linking and merging screen materials, as shown below:

在一种实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,所述方法还可以包括:显示合并后的字幕分句对应的合并画面素材,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并得到的字幕分句,所述合并画面素材为根据所述合并后的字幕分句生成的新的画面素材。In one implementation, the at least two target editable objects are at least two target subtitle sentences, and the method may further include: displaying a merged screen material corresponding to the merged subtitle sentence, the merged subtitle sentence being a subtitle sentence obtained by merging the at least two target subtitle sentences, and the merged screen material being a new screen material generated based on the merged subtitle sentence.

在本技术方案中,在将至少两个目标字幕分句进行合并后,还需要根据合并后的字幕分句生成新的画面素材,从而可以提高与合并后的字幕分句所对应合并画面素材的适配率,提高用户体验。In this technical solution, after merging at least two target subtitle sentences, new picture materials need to be generated based on the merged subtitle sentences, thereby improving the adaptation rate of the merged picture materials corresponding to the merged subtitle sentences and improving the user experience.

而合并画面素材的生成方式可以包括但不限于人工智能AI生成素材方式,AI匹配素材库方式,自由填充素材方式,以及AI数字人方式中的至少一项。其中,所述AI生成素材方式是根据字幕分句自动生成的画面素材;所述AI匹配素材库方式是在素材库中查找与所述字幕分句匹配的画面素材;所述自由填充素材方式是响应用户的选择操作,获取与所述选择操作对应的画面素材;所述AI数字人是由人工智能技术生成的虚拟人物形象。通过不同的画面素材生成方式,可以满足用户的不同需求,从而提高所生成视频的多样性及趣味性。The generation method of the merged screen material may include but is not limited to at least one of an artificial intelligence AI generation material method, an AI matching material library method, a free filling material method, and an AI digital human method. Among them, the AI generation material method is to automatically generate screen materials based on subtitle sentences; the AI matching material library method is to search for screen materials matching the subtitle sentences in the material library; the free filling material method is to respond to the user's selection operation and obtain the screen material corresponding to the selection operation; the AI digital human is a virtual character image generated by artificial intelligence technology. Through different screen material generation methods, different needs of users can be met, thereby improving the diversity and fun of the generated video.

在一种实现方式中,在至少两个目标可编辑对象为至少两个目标字幕分句,对至少两个目标字幕分句进行合并操作后,显示至少两个目标字幕分句合并后的字幕分句的情况下,还会显示对至少两个目标画面素材进行合并操作后的界面,所述至少两个目标画面素材与所述至少两个目标字幕分句一一对应。这种实现方式,对上述的情况1适用。In one implementation, when the at least two target editable objects are at least two target subtitle sentences, after the at least two target subtitle sentences are merged, the subtitle sentence after the at least two target subtitle sentences are merged is displayed, and an interface after the at least two target screen materials are merged is also displayed, and the at least two target screen materials correspond to the at least two target subtitle sentences one by one. This implementation is applicable to the above-mentioned situation 1.

在本技术方案中,对多个目标字幕分句进行合并的情况下,也会对对应的多个目标画面素材进行合并,即可以实现联动合并,提高用户进行合并操作的效率。In this technical solution, when multiple target subtitle sentences are merged, the corresponding multiple target screen materials will also be merged, that is, linkage merging can be achieved, thereby improving the efficiency of the user's merging operation.

在一种实现方式中,所述至少两个目标画面素材包括第一目标画面素材和第二目标画面素材,在所述显示对至少两个目标画面素材进行合并操作后的界面之前,所述方法还可以包括:显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将所述第一目标画面素材作为画面合并结果,所述第二合并选项用于将所述第二目标画面素材作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果;In an implementation, the at least two target screen materials include a first target screen material and a second target screen material. Before displaying an interface after a merging operation is performed on the at least two target screen materials, the method may further include: displaying a merging selection interface, the merging selection interface including a first merging option, a second merging option and a third merging option, the first merging option being used to use the first target screen material as a screen merging result, the second merging option being used to use the second target screen material as a screen merging result, and the third merging option being used to generate a new screen material as a screen merging result according to the merged subtitle sentences;

所述显示对至少两个目标画面素材进行合并操作后的界面,可以包括:响应于对目标合并选项的触控操作,显示对至少两个目标画面素材进行合并操作后的界面,所述进行合并操作后的界面包括与所述目标选项对应的画面合并结果。The display of the interface after the merging operation on at least two target screen materials may include: in response to a touch operation on a target merging option, displaying the interface after the merging operation on at least two target screen materials, wherein the interface after the merging operation includes a screen merging result corresponding to the target option.

假设目标编辑界面包括合并控件。如果用户想合并字幕分句1和字幕分句2,那么,可以选中字幕分句1和字幕分句2,然后对合并控件进行触控操作,响应于对合并控件的触控操作,显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将画面素材1作为画面合并结果,所述第二合并选项用于将画面素材2作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果;在合并操作后的界面,显示字幕分句1和字幕分句2的字幕分句合并结果,以及与该字幕分句合并结果对应的画面合并结果。如图6A所示,为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的一个示意图。Assume that the target editing interface includes a merge control. If the user wants to merge subtitle sentence 1 and subtitle sentence 2, then the user can select subtitle sentence 1 and subtitle sentence 2, and then perform a touch operation on the merge control. In response to the touch operation on the merge control, a merge selection interface is displayed, and the merge selection interface includes a first merge option, a second merge option, and a third merge option. The first merge option is used to use the screen material 1 as the screen merge result, the second merge option is used to use the screen material 2 as the screen merge result, and the third merge option is used to generate a new screen material as the screen merge result based on the merged subtitle sentence; in the interface after the merge operation, the subtitle sentence merge result of subtitle sentence 1 and subtitle sentence 2, as well as the screen merge result corresponding to the subtitle sentence merge result are displayed. As shown in FIG6A, it is a schematic diagram of performing a merge operation on subtitle sentences to link and merge corresponding screen materials in an embodiment of the present application.

如果用户想合并字幕分句1和字幕分句3,那么,可以选中字幕分句1和字幕分句3,然后对合并控件进行触控操作,响应于对合并控件的触控操作,显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将画面素材1作为画面合并结果,所述第二合并选项用于将画面素材3作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果;在合并操作后的界面,显示字幕分句1和字幕分句3的字幕分句合并结果,以及与该字幕分句合并结果对应的画面合并结果。如图6B所示,为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的另一个示意图。If the user wants to merge subtitle sentence 1 and subtitle sentence 3, then the user can select subtitle sentence 1 and subtitle sentence 3, and then perform a touch operation on the merge control. In response to the touch operation on the merge control, a merge selection interface is displayed, and the merge selection interface includes a first merge option, a second merge option, and a third merge option. The first merge option is used to use the screen material 1 as the screen merge result, the second merge option is used to use the screen material 3 as the screen merge result, and the third merge option is used to generate a new screen material as the screen merge result based on the merged subtitle sentence; in the interface after the merge operation, the subtitle sentence merge result of subtitle sentence 1 and subtitle sentence 3 and the screen merge result corresponding to the subtitle sentence merge result are displayed. As shown in FIG6B, it is another schematic diagram of performing a merge operation on subtitle sentences in an embodiment of the present application to link and merge corresponding screen materials.

在本技术方案中,对多个目标字幕分句进行合并的情况下,也会对对应的多个目标画面素材进行合并,即可以实现联动合并,但是在合并多个目标画面素材时,又可以给用户提供不同的选择,以满足用户的不同需求,本技术方案进行了具体说明,提高用户进行合并操作的效率。In this technical solution, when multiple target subtitle sentences are merged, the corresponding multiple target screen materials will also be merged, that is, linkage merging can be achieved. However, when merging multiple target screen materials, different options can be provided to users to meet their different needs. This technical solution provides specific instructions to improve the efficiency of users' merging operations.

(4)下面以合并画面素材的情况下,联动合并字幕分句为例进行说明,如下所示:(4) The following is an example of how to merge subtitle sentences in a linked manner when merging screen materials, as shown below:

在一种实现方式中,所述至少两个目标可编辑对象为至少两个目标画面素材,所述方法还可以包括:显示合并后的画面素材对应的合并字幕分句,所述合并后的画面素材为将所述至少两个目标画面素材进行合并得到的画面素材,所述合并字幕分句为根据所述合并后的画面素材生成的新的字幕分句。In one implementation, the at least two target editable objects are at least two target screen materials, and the method may further include: displaying a merged subtitle sentence corresponding to the merged screen material, the merged screen material being a screen material obtained by merging the at least two target screen materials, and the merged subtitle sentence being a new subtitle sentence generated based on the merged screen material.

在本技术方案中,在将至少两个目标画面素材进行合并后,还需要根据合并后的画面素材生成新的字幕分句,从而可以提高与合并后的画面素材所对应合并字幕分句的适配率,提高用户体验。In this technical solution, after merging at least two target picture materials, new subtitle sentences need to be generated based on the merged picture materials, thereby improving the adaptation rate of the merged subtitle sentences corresponding to the merged picture materials and improving the user experience.

而合并字幕分句的生成方式可以包括但不限于人工智能AI生成字幕分句方式,AI匹配字幕分句库方式,及自由输入字幕分句方式中的至少一项。其中,所述AI生成字幕分句方式是根据画面素材自动生成的字幕分句;所述AI匹配字幕分句库方式是在字幕分句库中查找与所述画面素材匹配的字幕分句;所述自由输入字幕分句方式是响应用户的输入操作,获取与所述输入操作对应的字幕分句。通过不同的字幕分句生成方式,可以满足用户的不同需求,从而提高所生成视频的多样性及趣味性。The generation method of the merged subtitle sentences may include but is not limited to at least one of an artificial intelligence AI method of generating subtitle sentences, an AI method of matching subtitle sentence libraries, and a method of freely inputting subtitle sentences. Among them, the AI method of generating subtitle sentences is to automatically generate subtitle sentences based on the picture material; the AI method of matching subtitle sentence libraries is to search for subtitle sentences matching the picture material in the subtitle sentence library; the free input subtitle sentence method is to respond to the user's input operation and obtain the subtitle sentence corresponding to the input operation. Through different subtitle sentence generation methods, different needs of users can be met, thereby improving the diversity and fun of the generated video.

在一种实现方式中,在至少两个目标可编辑对象为至少两个目标画面素材,对至少两个目标画面素材进行合并操作后,显示至少两个目标画面素材合并后的画面素材的情况下,还会显示对至少两个目标字幕分句进行合并操作后的界面,所述至少两个目标字幕分句与所述至少两个目标画面素材一一对应。这种实现方式,对上述的情况2适用。In one implementation, when the at least two target editable objects are at least two target screen materials, after the at least two target screen materials are merged, the screen material after the at least two target screen materials are merged is displayed, and an interface after the at least two target subtitle sentences are merged is also displayed, and the at least two target subtitle sentences correspond to the at least two target screen materials one by one. This implementation is applicable to the above-mentioned situation 2.

在本技术方案中,对多个目标画面素材进行合并的情况下,也会对对应的多个目标字幕分句进行合并,即可以实现联动合并,提高用户进行合并操作的效率。In this technical solution, when multiple target screen materials are merged, the corresponding multiple target subtitle sentences will also be merged, that is, linkage merging can be achieved, thereby improving the efficiency of the user's merging operation.

在一种实现方式中,所述至少两个目标字幕分句包括第一目标字幕分句和第二目标字幕分句,在所述显示对至少两个目标字幕分句进行合并操作后的界面之前,所述方法还可以包括:显示合并选择界面,所述合并选择界面包括第四合并选项、所述第五合并选项和所述第六合并选项,所述第四合并选项用于将所述第一目标字幕分句作为字幕合并结果,所述第五合并选项用于将所述第二目标字幕分句作为字幕合并结果,所述第六合并选项用于根据合并后的画面素材生成新的字幕分句作为字幕合并结果;In an implementation, the at least two target subtitle sentences include a first target subtitle sentence and a second target subtitle sentence. Before displaying an interface after the at least two target subtitle sentences are merged, the method may further include: displaying a merge selection interface, the merge selection interface including a fourth merge option, a fifth merge option, and a sixth merge option, the fourth merge option is used to use the first target subtitle sentence as a subtitle merging result, the fifth merge option is used to use the second target subtitle sentence as a subtitle merging result, and the sixth merge option is used to generate a new subtitle sentence as a subtitle merging result according to the merged picture material;

所述显示对至少两个目标字幕分句进行合并操作后的界面,可以包括:响应于对目标合并选项的触控操作,显示对至少两个目标字幕分句进行合并操作后的界面,所述进行合并操作后的界面包括与所述目标选项对应的字幕分句合并结果。The display of the interface after the merging operation on at least two target subtitle sentences may include: in response to a touch operation on a target merging option, displaying the interface after the merging operation on at least two target subtitle sentences, wherein the interface after the merging operation includes the merging result of the subtitle sentences corresponding to the target option.

假设目标编辑界面包括合并控件。如果用户想合并画面素材1和画面素材2,那么,可以选中画面素材1和画面素材2,然后对合并控件进行触控操作,响应于对合并控件的触控操作,显示合并选择界面,所述合并选择界面包括第四合并选项、所述第五合并选项和所述第六合并选项,所述第四合并选项用于将字幕分句1作为字幕合并结果,所述第五合并选项用于将字幕分句2作为字幕合并结果,所述第六合并选项用于根据合并后的画面素材生成新的字幕分句作为字幕合并结果;在合并操作后的界面,显示画面素材1和画面素材2的画面合并结果,以及与该画面合并结果对应的字幕分句合并结果。如图7A所示,为本申请实施例中对画面素材进行合并操作联动合并对应字幕分句的一个示意图。Assume that the target editing interface includes a merge control. If the user wants to merge screen material 1 and screen material 2, then screen material 1 and screen material 2 can be selected, and then the merge control can be touched. In response to the touch operation on the merge control, a merge selection interface is displayed, and the merge selection interface includes a fourth merge option, a fifth merge option, and a sixth merge option. The fourth merge option is used to use subtitle sentence 1 as a subtitle merge result, the fifth merge option is used to use subtitle sentence 2 as a subtitle merge result, and the sixth merge option is used to generate a new subtitle sentence as a subtitle merge result based on the merged screen material; in the interface after the merge operation, the screen merge result of screen material 1 and screen material 2, as well as the subtitle sentence merge result corresponding to the screen merge result are displayed. As shown in FIG. 7A, it is a schematic diagram of performing a merge operation on the screen material to link and merge the corresponding subtitle sentences in an embodiment of the present application.

如果用户想合并画面素材1和画面素材3,那么,可以选中画面素材1和画面素材3,然后对合并控件进行触控操作,响应于对合并控件的触控操作,显示合并选择界面,所述合并选择界面包括第四合并选项、所述第五合并选项和所述第六合并选项,所述第四合并选项用于将字幕分句1作为字幕合并结果,所述第五合并选项用于将字幕分句3作为字幕合并结果,所述第六合并选项用于根据合并后的画面素材生成新的字幕分句作为字幕合并结果;在合并操作后的界面,显示画面素材1和画面素材3的画面合并结果,以及与该画面合并结果对应的字幕分句合并结果。如图7B所示,为本申请实施例中对字幕分句进行合并操作联动合并对应画面素材的另一个示意图。If the user wants to merge screen material 1 and screen material 3, then screen material 1 and screen material 3 can be selected, and then the merge control can be touched. In response to the touch operation on the merge control, a merge selection interface is displayed, and the merge selection interface includes a fourth merge option, a fifth merge option, and a sixth merge option. The fourth merge option is used to use subtitle sentence 1 as a subtitle merge result, the fifth merge option is used to use subtitle sentence 3 as a subtitle merge result, and the sixth merge option is used to generate a new subtitle sentence as a subtitle merge result based on the merged screen material; in the interface after the merge operation, the screen merge result of screen material 1 and screen material 3 and the subtitle sentence merge result corresponding to the screen merge result are displayed. As shown in FIG. 7B, it is another schematic diagram of performing a merge operation on subtitle sentences in an embodiment of the present application to link and merge corresponding screen materials.

在本技术方案中,对多个目标画面素材进行合并的情况下,也会对对应的多个目标字幕分句进行合并,即可以实现联动合并,但是在合并多个目标字幕分句时,又可以给用户提供不同的选择,以满足用户的不同需求,本技术方案进行了具体说明,提高用户进行合并操作的效率。In this technical solution, when multiple target screen materials are merged, the corresponding multiple target subtitle sentences will also be merged, that is, linkage merging can be achieved. However, when merging multiple target subtitle sentences, different options can be provided to users to meet their different needs. This technical solution provides specific instructions to improve the efficiency of users' merging operations.

2、编辑操作为拆分操作2. Editing operation is split operation

所述目标编辑界面包括拆分控件,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面,所述进行所述拆分操作后的界面包括拆分所述目标编辑对象得到的至少两个拆分后的可编辑对象。在本技术方案中,如果用户想对某个目标编辑对象进行拆分,可以通过拆分控件,实现对某个目标编辑对象的拆分,提高了对目标编辑对象进行拆分的便捷性。The target editing interface includes a split control, and the detecting and responding to the editing operation on the target editing object and displaying the interface after the editing operation may include: responding to the touch operation on the split control, displaying the interface after the split operation, and the interface after the split operation includes at least two split editable objects obtained by splitting the target editing object. In this technical solution, if the user wants to split a target editing object, the split control can be used to achieve the splitting of the target editing object, thereby improving the convenience of splitting the target editing object.

如图3A和图3B所示,为目标编辑界面包括拆分控件的一个实施例示意图。该拆分控件,可以用于仅拆分字幕分句,也可以用于仅拆分画面素材,也可以用于在拆分字幕分句的情况下,联动拆分画面素材,也可以用于在拆分画面素材的情况下,联动拆分字幕分句。As shown in Fig. 3A and Fig. 3B, it is a schematic diagram of an embodiment that the target editing interface includes a split control. The split control can be used to split only the subtitle sentence, or only the screen material, or to split the screen material in conjunction with the subtitle sentence, or to split the screen material in conjunction with the subtitle sentence.

在一种实现方式中,在所述响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面之前,所述方法还可以包括:检测拆分位置的输入操作;所述至少两个拆分后的可编辑对象是根据所述拆分位置对所述目标编辑对象进行拆分得到的。在本技术方案中,不管是目标编辑对象是字幕分句,还是画面素材,都可以通过检测拆分位置进行拆分,从而可以提高拆分的准确率。In one implementation, before the interface after the split operation is displayed in response to the touch operation on the split control, the method may further include: detecting an input operation of a split position; the at least two split editable objects are obtained by splitting the target edit object according to the split position. In this technical solution, whether the target edit object is a subtitle sentence or a screen material, it can be split by detecting the split position, thereby improving the accuracy of the split.

(1)下面以拆分字幕分句为例进行说明,如下所示:(1) The following is an example of splitting subtitle sentences, as shown below:

在一种实现方式中,目标编辑对象为目标字幕分句,进行所述拆分操作后的界面包括对目标字幕分句进行拆分得到的至少两个拆分后的字幕分句。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the target editing object is a target subtitle sentence, and the interface after the splitting operation includes at least two split subtitle sentences obtained by splitting the target subtitle sentence. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括拆分控件。如果用户想拆分字幕分句1,那么,可以选中字幕分句1,选择拆分位置,例如可以是用户想从某处进行拆分,就可以将光标置于某处,然后对拆分控件进行触控操作,响应于对拆分控件的触控操作,通过拆分位置拆分字幕分句1,如图8A所示,为本申请实施例中对字幕分句进行拆分操作的一个示意图。Assume that the target editing interface includes a split control. If the user wants to split subtitle sentence 1, then the user can select subtitle sentence 1 and select the split position. For example, if the user wants to split from a certain position, the user can place the cursor at a certain position and then perform a touch operation on the split control. In response to the touch operation on the split control, subtitle sentence 1 is split through the split position. As shown in FIG8A , it is a schematic diagram of a subtitle sentence splitting operation in an embodiment of the present application.

需要说明的是,这里是对目标字幕分句的拆分说明,关于目标字幕分句对应的目标画面素材,用户也可以进行拆分操作,替换操作,删除操作,合并操作等,本申请实施例不作具体限定。It should be noted that this is an explanation of the splitting of the target subtitle sentence. Regarding the target picture material corresponding to the target subtitle sentence, the user can also perform splitting operations, replacement operations, deletion operations, merging operations, etc., which are not specifically limited in the embodiments of the present application.

(2)下面以拆分画面素材为例进行说明,如下所示:(2) The following is an example of split screen material, as shown below:

在一种实现方式中,目标编辑对象为目标画面素材,进行所述拆分操作后的界面包括对目标画面素材进行拆分得到的至少两个拆分后的画面素材。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the target editing object is a target screen material, and the interface after the split operation includes at least two split screen materials obtained by splitting the target screen material. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括拆分控件。如果用户想拆分画面素材1,那么,可以选中画面素材1,选择拆分位置,然后对拆分控件进行触控操作,响应于对拆分控件的触控操作,通过拆分位置拆分画面素材1。在画面素材是图片,且只有一张图片时,可以上下一分为二进行拆分,也可以左右一分为二进行拆分,本申请实施例不做具体限定。在画面素材是图片,且有多张图片时,可以通过拆分位置将多张图片进行拆分,例如画面素材1包括图片1、图片2和图片3,顺序排列,如果光标置于图片2和图片3之间,那么拆分位置就为图片2和图片3之间的位置,拆分得到的画面素材为新画面素材1(包括图片1和图片2)和新画面素材2(包括图片3)。在画面素材是视频时,可以通过视频的目标播放时长,确定拆分位置,再根据拆分位置将视频进行拆分。例如画面素材1包括的视频总共有1分钟,用户将光标置于20秒处,那么,可以从20秒处进行拆分,前20秒的视频作为新画面素材1,后40秒的视频作为新画面素材2。如图8B所示,为本申请实施例中对画面素材进行拆分操作的一个示意图。在图8B所示中,画面素材1包括图片1和图片2,这里将图片1和图片2拆分。Assume that the target editing interface includes a split control. If the user wants to split the screen material 1, then the screen material 1 can be selected, the split position can be selected, and then the split control can be touched. In response to the touch operation of the split control, the screen material 1 is split by the split position. When the screen material is a picture and there is only one picture, it can be split into two parts up and down, or it can be split into two parts left and right. The embodiment of the present application is not specifically limited. When the screen material is a picture and there are multiple pictures, multiple pictures can be split by the split position. For example, the screen material 1 includes picture 1, picture 2 and picture 3, which are arranged in sequence. If the cursor is placed between picture 2 and picture 3, the split position is the position between picture 2 and picture 3. The screen material obtained by splitting is a new screen material 1 (including picture 1 and picture 2) and a new screen material 2 (including picture 3). When the screen material is a video, the split position can be determined by the target playback duration of the video, and then the video can be split according to the split position. For example, if the video included in screen material 1 is 1 minute in total, and the user places the cursor at 20 seconds, then the video can be split from 20 seconds, with the first 20 seconds of the video as the new screen material 1 and the last 40 seconds of the video as the new screen material 2. As shown in FIG8B , a schematic diagram of the splitting operation of screen materials in an embodiment of the present application is shown. As shown in FIG8B , screen material 1 includes picture 1 and picture 2, and picture 1 and picture 2 are split here.

需要说明的是,这里是对目标画面素材的拆分说明,关于目标画面素材对应的目标字幕分句,用户也可以进行拆分操作,合并操作,修改操作,删除操作等,本申请实施例不作具体限定。It should be noted that this is an explanation of the splitting of the target picture material. Regarding the target subtitle sentences corresponding to the target picture material, the user can also perform splitting operations, merging operations, modification operations, deletion operations, etc., and the embodiments of the present application do not make specific limitations.

(3)下面以拆分字幕分句的情况下,联动拆分画面素材为例进行说明,如下所示:(3) The following is an example of how to split the subtitle into sentences and link the split screen material, as shown below:

在一种实现方式中,所述目标编辑对象为目标字幕分句,所述方法还可以包括:显示与至少两个拆分后的字幕分句一一对应的画面素材。这种实现方式,对上述的情况1适用。In one implementation, the target editing object is a target subtitle sentence, and the method may further include: displaying screen materials corresponding to at least two split subtitle sentences. This implementation is applicable to the above-mentioned situation 1.

在本技术方案中,对目标字幕分句进行拆分的情况下,也会对对应的目标画面素材进行拆分,即可以实现联动拆分,提高用户进行拆分操作的效率。In this technical solution, when the target subtitle sentences are split, the corresponding target picture materials will also be split, that is, linkage splitting can be achieved, thereby improving the efficiency of the user's splitting operation.

在一种实现方式中,所述至少两个拆分后的字幕分句一一对应的画面素材,可以包括:In one implementation, the one-to-one corresponding picture materials of the at least two split subtitle sentences may include:

对目标画面素材进行拆分后得到的至少两个拆分后的画面素材,所述目标画面素材为与所述目标字幕分句对应的画面素材;或,At least two split screen materials are obtained by splitting the target screen material, wherein the target screen material is the screen material corresponding to the target subtitle sentence; or,

至少两个新的画面素材;或,At least two new footage; or,

所述目标画面素材以及至少一个新的画面素材;The target picture material and at least one new picture material;

其中,所述新的画面素材是在所述目标画面素材之后生成的。The new picture material is generated after the target picture material.

示例性的,假设对目标字幕分句进行拆分,得到目标字幕拆分分句1和目标字幕拆分分句2。而目标字幕分句对应的目标画面素材,也可以相应进行拆分,得到目标画面拆分素材1和目标画面拆分素材2,而这里对目标画面素材的拆分位置,可以是根据目标字幕分句的拆分位置自动匹配得到的拆分位置,也可以是用户输入的拆分位置,此处不做具体限定。For example, it is assumed that the target subtitle sentence is split to obtain target subtitle split sentence 1 and target subtitle split sentence 2. The target screen material corresponding to the target subtitle sentence can also be split accordingly to obtain target screen split material 1 and target screen split material 2, and the split position of the target screen material here can be a split position automatically matched according to the split position of the target subtitle sentence, or a split position input by the user, which is not specifically limited here.

目标字幕拆分分句1和目标字幕拆分分句2对应的画面素材,可以都是通过用户新选择的画面素材生成方式生成的画面素材,也即理解为新的画面素材。画面素材生成方式可以包括但不限于:AI生成素材,AI匹配素材库,自由填充素材,AI数字人。The screen materials corresponding to the target subtitle split sentence 1 and the target subtitle split sentence 2 can be screen materials generated by the screen material generation method newly selected by the user, that is, understood as new screen materials. The screen material generation method can include but is not limited to: AI generated materials, AI matching material library, free filling materials, and AI digital people.

目标字幕拆分分句1和目标字幕拆分分句2对应的画面素材,一个可以是目标字幕分句对应的目标画面素材,一个可以是通过用户新选择的画面素材生成方式生成的画面素材,也即理解为新的画面素材。The screen materials corresponding to the target subtitle split sentence 1 and the target subtitle split sentence 2 can be the target screen material corresponding to the target subtitle sentence, and can be the screen material generated by the screen material generation method newly selected by the user, that is, understood as a new screen material.

在本技术方案中,对至少两个拆分后的字幕分句一一对应的画面素材进行了详细说明,可以都是拆分得到的画面素材,也可以都是新的画面素材,也可以一个是原目标字幕分句对应的画面素材,一个是新的画面素材,本申请提供了多种实现方式,提高了方案的可行性。In the present technical solution, the picture materials corresponding to at least two split subtitle sentences are described in detail. They may all be the picture materials obtained by splitting, or they may all be new picture materials, or one may be the picture material corresponding to the original target subtitle sentence, and the other may be a new picture material. The present application provides a variety of implementation methods to improve the feasibility of the solution.

(4)下面以拆分画面素材的情况下,联动拆分字幕分句为例进行说明,如下所示:(4) The following is an example of how to split subtitle sentences in a split screen material, as shown below:

在一种实现方式中,所述目标编辑对象为目标画面素材,所述方法还可以包括:显示与至少两个拆分后的画面素材一一对应的字幕分句。这种实现方式,对上述的情况2适用。In one implementation, the target editing object is a target screen material, and the method may further include: displaying subtitle sentences corresponding to at least two split screen materials. This implementation is applicable to the above-mentioned situation 2.

在本技术方案中,对目标画面素材进行拆分的情况下,也会对对应的目标字幕分句进行拆分,即可以实现联动拆分,提高用户进行拆分操作的效率。In this technical solution, when the target picture material is split, the corresponding target subtitle sentences will also be split, that is, linkage splitting can be achieved, thereby improving the efficiency of the user's splitting operation.

在一种实现方式中,所述至少两个拆分后的画面素材一一对应的字幕分句,可以包括:In one implementation, the subtitle sentences corresponding to the at least two split screen materials may include:

对目标字幕分句进行拆分后得到的至少两个拆分后的字幕分句,所述目标字幕分句为与所述目标画面素材对应的字幕分句;或,At least two subtitle sentences obtained by splitting a target subtitle sentence, wherein the target subtitle sentence is a subtitle sentence corresponding to the target picture material; or,

至少两个新的字幕分句;或,At least two new subtitle sentences; or,

所述目标字幕分句以及至少一个新的字幕分句;The target subtitle sentence and at least one new subtitle sentence;

其中,所述新的字幕分句是在所述目标字幕分句之后生成的。The new subtitle sentence is generated after the target subtitle sentence.

示例性的,假设对目标画面素材进行拆分,得到目标画面拆分素材1和目标画面拆分素材2。而目标画面素材对应的目标字幕分句,也可以相应进行拆分,得到目标字幕拆分分句1和目标字幕拆分分句2,而这里对目标字幕分句的拆分位置,可以是根据目标画面素材的拆分位置自动匹配得到的拆分位置,也可以是用户输入的拆分位置,此处不做具体限定。For example, it is assumed that the target screen material is split to obtain target screen split material 1 and target screen split material 2. The target subtitle sentences corresponding to the target screen material can also be split accordingly to obtain target subtitle split sentence 1 and target subtitle split sentence 2, and the split position of the target subtitle sentence here can be a split position automatically matched according to the split position of the target screen material, or a split position input by the user, which is not specifically limited here.

目标画面拆分素材1和目标画面拆分素材2对应的字幕分句,可以都是通过用户新输入的字幕分句。The subtitle sentences corresponding to the target screen split material 1 and the target screen split material 2 may both be subtitle sentences newly input by the user.

目标画面拆分素材1和目标画面拆分素材2对应的画面素材,一个可以是目标画面素材对应的目标字幕分句,一个可以是通过用户输入的字幕分句。The screen materials corresponding to the target screen split material 1 and the target screen split material 2 may be a target subtitle sentence corresponding to the target screen material or a subtitle sentence input by a user.

在本技术方案中,对至少两个拆分后的画面素材一一对应的字幕分句进行了详细说明,可以都是拆分得到的字幕分句,也可以都是新的字幕分句,也可以一个是原目标画面素材对应的字幕分句,一个是新的字幕分句,本申请提供了多种实现方式,提高了方案的可行性。In the present technical solution, subtitle sentences corresponding to at least two split picture materials are described in detail. They may all be subtitle sentences obtained by splitting, or they may all be new subtitle sentences, or one may be the subtitle sentence corresponding to the original target picture material, and the other may be a new subtitle sentence. The present application provides a variety of implementation methods to improve the feasibility of the solution.

3、编辑操作为删除操作3. Edit operation is a delete operation

所述目标编辑界面包括删除控件,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述删除控件的触控操作,显示进行所述删除操作后的界面,所述进行所述删除操作后的界面不包括所述目标编辑对象。在本技术方案中,如果用户想对目标编辑对象进行删除,可以通过删除控件,实现对目标编辑对象的删除,提高了对目标编辑对象进行删除的便捷性。The target editing interface includes a delete control, and the detecting and responding to an editing operation on the target editing object and displaying an interface after the editing operation is performed may include: responding to a touch operation on the delete control and displaying an interface after the deletion operation is performed, wherein the interface after the deletion operation does not include the target editing object. In this technical solution, if a user wants to delete the target editing object, the deletion control can be used to delete the target editing object, thereby improving the convenience of deleting the target editing object.

如图3A和图3B所示,为目标编辑界面包括删除控件的一个实施例示意图。该拆分控件,可以用于仅删除字幕分句,也可以用于仅删除画面素材,也可以用于在删除字幕分句的情况下,联动删除画面素材,也可以用于在删除画面素材的情况下,联动删除字幕分句。As shown in Figures 3A and 3B, it is a schematic diagram of an embodiment of the target editing interface including a deletion control. The deleting control can be used to delete only the subtitle sentence, or only the picture material, or to delete the picture material in conjunction with deleting the subtitle sentence, or to delete the subtitle sentence in conjunction with deleting the picture material.

(1)下面以删除字幕分句为例进行说明,如下所示:(1) The following is an example of deleting a subtitle sentence, as shown below:

在一种实现方式中,目标编辑对象为目标字幕分句,进行所述删除操作后的界面不包括所述目标字幕分句。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the target editing object is a target subtitle sentence, and the interface after the deletion operation does not include the target subtitle sentence. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括删除控件。如果用户想删除字幕分句1和字幕分句3,那么,可以选中字幕分句1和字幕分句3,然后对删除控件进行触控操作,响应于对删除控件的触控操作,删除字幕分句1和字幕分句3,如图9A所示,为本申请实施例中对字幕分句进行删除操作的一个示意图。Assuming that the target editing interface includes a deletion control. If the user wants to delete subtitle sentence 1 and subtitle sentence 3, then the user can select subtitle sentence 1 and subtitle sentence 3, and then perform a touch operation on the deletion control. In response to the touch operation on the deletion control, subtitle sentence 1 and subtitle sentence 3 are deleted, as shown in FIG9A , which is a schematic diagram of a deletion operation on subtitle sentences in an embodiment of the present application.

需要说明的是,这里是对目标字幕分句的删除,关于目标字幕分句对应的目标画面素材,用户也可以进行删除操作,拆分操作,合并操作等,本申请实施例不作具体限定。It should be noted that the target subtitle sentence is deleted here. Regarding the target picture material corresponding to the target subtitle sentence, the user can also perform deletion operations, split operations, merge operations, etc., which are not specifically limited in the embodiments of the present application.

(2)下面以删除画面素材为例进行说明,如下所示:(2) The following is an example of deleting a picture material, as shown below:

在一种实现方式中,目标编辑对象为目标画面素材,进行所述删除操作后的界面不包括所述目标画面素材。这种实现方式,对上述的情况1和情况2都适用。In one implementation, the target editing object is a target screen material, and the interface after the deletion operation does not include the target screen material. This implementation is applicable to both the above-mentioned situation 1 and situation 2.

假设目标编辑界面包括删除控件。如果用户想删除画面素材1和画面素材3,那么,可以选中画面素材1和画面素材3,然后对删除控件进行触控操作,响应于对删除控件的触控操作,删除画面素材1和画面素材3,如图9B所示,为本申请实施例中对画面素材进行删除操作的一个示意图。Assume that the target editing interface includes a delete control. If the user wants to delete screen material 1 and screen material 3, then screen material 1 and screen material 3 can be selected, and then the delete control can be touched. In response to the touch operation on the delete control, screen material 1 and screen material 3 are deleted, as shown in FIG9B , which is a schematic diagram of the deletion operation of screen materials in an embodiment of the present application.

需要说明的是,这里是对目标画面素材的删除,关于目标画面素材对应的目标字幕分句,用户也可以进行删除操作,拆分操作,合并操作等,本申请实施例不作具体限定。It should be noted that this is the deletion of the target picture material. Regarding the target subtitle sentence corresponding to the target picture material, the user can also perform deletion operations, split operations, merge operations, etc., which are not specifically limited in the embodiments of the present application.

(3)下面以删除字幕分句的情况下,联动删除画面素材为例进行说明,如下所示:(3) The following is an example of deleting subtitle sentences and deleting screen materials in conjunction with them, as shown below:

在一种实现方式中,所述目标编辑对象为目标字幕分句,所述方法还可以包括:显示对目标画面素材进行删除操作后的界面,所述目标画面素材为与所述目标字幕分句对应的画面素材。这种实现方式,对上述的情况1适用。In one implementation, the target editing object is a target subtitle sentence, and the method may further include: displaying an interface after a target screen material is deleted, wherein the target screen material is a screen material corresponding to the target subtitle sentence. This implementation is applicable to the above-mentioned situation 1.

示例性的,假设对目标字幕分句1进行删除,可以联动删除目标字幕分句1对应的目标画面素材1。如图9C所示,为本申请实施例中对目标字幕分句删除联动删除对应目标画面素材的一个示意图。For example, assuming that the target subtitle sentence 1 is deleted, the target screen material 1 corresponding to the target subtitle sentence 1 can be deleted in conjunction with it. As shown in FIG9C , it is a schematic diagram of deleting the target subtitle sentence and deleting the corresponding target screen material in conjunction with it in an embodiment of the present application.

示例性的,假设对目标字幕分句1和目标字幕分句3进行删除,可以联动删除目标字幕分句1对应的目标画面素材1,以及目标字幕分句3对应的目标画面素材3。For example, assuming that target subtitle sentence 1 and target subtitle sentence 3 are deleted, target screen material 1 corresponding to target subtitle sentence 1 and target screen material 3 corresponding to target subtitle sentence 3 may be deleted in conjunction.

在本技术方案中,对目标字幕分句进行删除的情况下,也会对对应的目标画面素材进行删除,即可以实现联动删除,提高用户进行删除操作的效率。In this technical solution, when a target subtitle sentence is deleted, the corresponding target screen material will also be deleted, that is, linkage deletion can be achieved, thereby improving the efficiency of the user's deletion operation.

(4)下面以拆分画面素材的情况下,联动拆分字幕分句为例进行说明,如下所示:(4) The following is an example of how to split subtitle sentences in a split screen material, as shown below:

在一种实现方式中,在一种实现方式中,所述目标编辑对象为目标字幕分句,所述方法还可以包括:显示对目标画面素材进行删除操作后的界面,所述目标画面素材为与所述目标字幕分句对应的画面素材。这种实现方式,对上述的情况2适用。In one implementation, the target editing object is a target subtitle sentence, and the method may further include: displaying an interface after a target screen material is deleted, wherein the target screen material is a screen material corresponding to the target subtitle sentence. This implementation is applicable to the above-mentioned situation 2.

示例性的,假设对目标画面素材3进行删除,可以联动删除目标画面素材3对应的目标画面素材3。Exemplarily, assuming that the target screen material 3 is deleted, the target screen material 3 corresponding to the target screen material 3 may be deleted in conjunction.

示例性的,假设对目标画面素材1和目标画面素材3进行删除,可以联动删除目标画面素材1对应的目标字幕分句1,以及目标画面素材3对应的目标字幕分句3。如图9D所示,为本申请实施例中对目标画面素材删除联动删除对应目标字幕分句的一个示意图。For example, assuming that target screen material 1 and target screen material 3 are deleted, target subtitle sentence 1 corresponding to target screen material 1 and target subtitle sentence 3 corresponding to target screen material 3 can be deleted in conjunction. As shown in FIG9D , it is a schematic diagram of deleting the corresponding target subtitle sentence in conjunction with deleting the target screen material in an embodiment of the present application.

在本技术方案中,对目标画面素材进行删除的情况下,也会对对应的目标字幕分句进行删除,即可以实现联动删除,提高用户进行删除操作的效率。In this technical solution, when the target picture material is deleted, the corresponding target subtitle sentence will also be deleted, that is, linkage deletion can be achieved, thereby improving the efficiency of the user's deletion operation.

4、编辑操作为对目标字幕分句的修改操作4. Editing operation is to modify the target subtitle sentence

所述对目标编辑对象的编辑操作包括对所述目标字幕分句的修改操作,所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对目标字幕分句进行修改的触发操作,显示键盘界面;检测并响应于在所述键盘界面的输入操作,对所述目标字幕分句进行修改,显示修改后的目标字幕分句。The editing operation on the target editing object includes a modification operation on the target subtitle sentence. The detecting and responding to the editing operation on the target editing object and displaying the interface after the editing operation may include: responding to a triggering operation to modify the target subtitle sentence and displaying a keyboard interface; detecting and responding to an input operation on the keyboard interface, modifying the target subtitle sentence and displaying the modified target subtitle sentence.

示例性的,假设目标字幕分句包括字幕分句1和字幕分句2,字幕分句1“他是一个天才,擅长各种科学,发明了许多奇妙的东西。”用户想将其修改为“他是一个天才,擅长各种科学,发明创造了许多奇妙的东西”。字幕分句2“他的最大愿望,就是能够穿越时空,见证历史的变迁。”用户想将其修改为“他的最大愿望,就是能够穿越时空,见证历史的变迁和朝代的更替。”那么,用户可以先选中字幕分句1,会显示键盘界面,将光标移至“发明”后,用户通过键盘输入“创造”,在进行修改操作后的界面就会显示:他是一个天才,擅长各种科学,发明创造了许多奇妙的东西。然后再选中字幕分句2,会显示键盘界面,将光标移至“变迁”后,用户通过键盘输入“和朝代的更替”,在进行修改操作后的界面上就会显示:他的最大愿望,就是能够穿越时空,见证历史的变迁和朝代的更替。然后,如果么有其他要修改的内容,用户可以对修改的字幕分句1和字幕分句2进行确认操作,例如保存操作(对保存控件的触控操作),保存修改的字幕分句1和字幕分句2。如图10A所示,为本申请实施例中对目标字幕分句进行修改操作的一个示意图。For example, it is assumed that the target subtitle sentence includes subtitle sentence 1 and subtitle sentence 2. Subtitle sentence 1 is "He is a genius, good at various sciences, and has invented many wonderful things." The user wants to modify it to "He is a genius, good at various sciences, and has invented many wonderful things." Subtitle sentence 2 is "His greatest wish is to be able to travel through time and space and witness the changes in history." The user wants to modify it to "His greatest wish is to be able to travel through time and space and witness the changes in history and the replacement of dynasties." Then, the user can first select subtitle sentence 1, and the keyboard interface will be displayed. After moving the cursor to "invention", the user enters "creation" through the keyboard, and the interface after the modification operation will display: He is a genius, good at various sciences, and has invented many wonderful things. Then select subtitle sentence 2, and the keyboard interface will be displayed. After moving the cursor to "change", the user enters "and the replacement of dynasties" through the keyboard, and the interface after the modification operation will display: His greatest wish is to be able to travel through time and space and witness the changes in history and the replacement of dynasties. Then, if there is no other content to be modified, the user can perform a confirmation operation on the modified subtitle sentence 1 and subtitle sentence 2, such as a save operation (a touch operation on the save control), to save the modified subtitle sentence 1 and subtitle sentence 2. As shown in FIG10A , it is a schematic diagram of a modification operation on a target subtitle sentence in an embodiment of the present application.

在本技术方案中,用户如果对目标字幕分句的措辞,术语等不满意,还可以对其进行修改,提高了用户对目标字幕分句修改的便捷性。用户可以批量对多个字幕分句进行文案修改,修改后的字幕分句将自动与对应的画面素材进行匹配,保持对应关系。In this technical solution, if the user is not satisfied with the wording, terminology, etc. of the target subtitle sentence, he can also modify it, which improves the convenience of the user to modify the target subtitle sentence. The user can modify the copywriting of multiple subtitle sentences in batches, and the modified subtitle sentences will automatically match the corresponding picture materials to maintain the corresponding relationship.

5、编辑操作为对目标画面素材的替换操作5. The editing operation is to replace the target screen material

所述对目标编辑对象的编辑操作包括对所述目标画面素材的替换操作,在所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面之前,所述方法还可以包括:响应于针对所述替换操作的触发操作,显示配图方式选择界面,所述配图方式选择界面包括至少一种配图方式;The editing operation on the target editing object includes a replacement operation on the target screen material. Before detecting and responding to the editing operation on the target editing object and displaying an interface after the editing operation, the method may further include: responding to a trigger operation for the replacement operation, displaying a picture matching mode selection interface, wherein the picture matching mode selection interface includes at least one picture matching mode;

所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:检测响应于对目标配图方式的选择操作,显示进行所述替换操作后的界面,所述进行所述替换操作后的界面包括根据所述目标配图方式生成的新的画面素材,所述新的画面素材是在所述目标画面素材之后生成的。The detecting and responding to an editing operation on a target editing object and displaying an interface after the editing operation is performed may include: detecting and responding to a selection operation on a target graphic matching method and displaying an interface after the replacement operation is performed, wherein the interface after the replacement operation includes new picture material generated according to the target graphic matching method, and the new picture material is generated after the target picture material.

在一种实现方式中,所述至少一种配图方式包括人工智能AI生成素材方式,AI匹配素材库方式,自由填充素材方式,以及AI数字人方式中的至少一项;所述AI生成素材方式是根据字幕分句自动生成的画面素材;所述AI匹配素材库方式是在素材库中查找与所述字幕分句匹配的画面素材;所述自由填充素材方式是响应用户的选择操作,获取与所述选择操作对应的画面素材;所述AI数字人是由人工智能技术生成的虚拟人物形象。In one implementation, the at least one illustration method includes at least one of an artificial intelligence AI generated material method, an AI matching material library method, a free filling material method, and an AI digital human method; the AI generated material method is a picture material automatically generated according to the subtitle sentence; the AI matching material library method is to search for picture materials matching the subtitle sentence in the material library; the free filling material method is to respond to the user's selection operation and obtain the picture material corresponding to the selection operation; the AI digital human is a virtual character image generated by artificial intelligence technology.

在本技术方案中,通过不同的画面素材生成方式,可以满足用户的不同需求,从而提高所生成视频的多样性及趣味性。In this technical solution, different screen material generation methods can meet different needs of users, thereby improving the diversity and interest of the generated videos.

示例性的,用户如果对画面素材不满意,可以进行替换操作,以替换掉不满意的画面素材。例如,用户对画面素材1不满意,可以对画面素材1进行长按,双击或滑动等操作,响应于长按,双击或滑动等操作,显示配图方式选择界面,该配图方式选择界面包括的配图方式例如AI生成素材、智能匹配素材库、手动选择素材、生成数字人等方式。如果用户选择了AI生成素材,那么,可以根据字幕分句1智能再重新生成一个新的画面素材1。如果用户选择了智能匹配素材库,那么,可以根据字幕分句1,在预设的画面素材库中,将匹配率最高的画面素材作为新的画面素材1,如果匹配率最高的画面素材有多个,可以将其都作为新的画面素材1,也可以供用户选择,将选择的画面素材作为新的画面素材1,也可以根据预设数量,随机选择满足预设数量的画面素材作为新的画面素材1,本申请实施例不做具体限定。如果用户选择了手动选择素材,那么,可以在终端设备的图库中,选择响要的视频和/或图片作为新的画面素材1。如果用户选择了生成数字人,那么,可以根据字幕分句1智能生成一个或多个虚拟人物形象,作为新的画面素材1。如图10B所示,为本申请实施例中对目标画面素材进行替换操作的一个示意图。Exemplarily, if the user is not satisfied with the screen material, a replacement operation can be performed to replace the unsatisfactory screen material. For example, if the user is not satisfied with the screen material 1, the screen material 1 can be long pressed, double-clicked or slid, etc. In response to the long press, double-click or slide operation, the picture matching method selection interface is displayed, and the picture matching method selection interface includes matching methods such as AI generated materials, intelligent matching material library, manual selection of materials, and generation of digital people. If the user selects AI generated materials, then a new screen material 1 can be intelligently regenerated according to the subtitle sentence 1. If the user selects the intelligent matching material library, then, according to the subtitle sentence 1, in the preset screen material library, the screen material with the highest matching rate can be used as the new screen material 1. If there are multiple screen materials with the highest matching rate, they can all be used as the new screen material 1, or the user can choose to use the selected screen material as the new screen material 1, or the screen material that meets the preset number can be randomly selected as the new screen material 1 according to the preset number. The embodiment of the present application is not specifically limited. If the user chooses to manually select the material, then the desired video and/or picture can be selected from the gallery of the terminal device as the new screen material 1. If the user chooses to generate a digital human, then one or more virtual characters can be intelligently generated according to the subtitle sentence 1 as the new screen material 1. As shown in FIG10B , it is a schematic diagram of a replacement operation of a target screen material in an embodiment of the present application.

在本技术方案中,支持多种画面素材填充方式,如AI生成素材、智能匹配素材库、手动选择素材、生成数字人等方式,可以提升用户体验和创作质量。也可以批量对多个画面素材进行替换填充,提高用户编辑目标多媒体资源的效率。In this technical solution, multiple screen material filling methods are supported, such as AI-generated materials, intelligent matching material library, manual material selection, digital human generation, etc., which can improve user experience and creation quality. It is also possible to replace and fill multiple screen materials in batches to improve the efficiency of users editing target multimedia resources.

6、编辑操作为对目标编辑对象的移动操作6. The editing operation is to move the target editing object

所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面,可以包括:响应于对所述目标编辑对象的移动操作,将所述目标编辑对象从当前位置移动到目标位置,显示进行移动操作后的界面。The detecting and responding to an editing operation on a target editing object and displaying an interface after the editing operation may include: responding to a move operation on the target editing object, moving the target editing object from a current position to a target position and displaying an interface after the move operation.

可选的,所述响应于对所述目标编辑对象的移动操作,将所述目标编辑对象从当前位置移动到目标位置,可以包括:响应于对所述目标编辑对象的拖拽操作,将所述目标编辑对象从当前位置移动到目标位置。Optionally, in response to a move operation on the target editing object, moving the target editing object from a current position to a target position may include: in response to a drag operation on the target editing object, moving the target editing object from a current position to a target position.

示例性的,用户可以移动字幕分句的位置,例如,用户觉得字幕分句3应该放在字幕分句1的前面,可以对字幕分句3进行移动,响应于对字幕分句3的移动操作,将字幕分句3从当前位置移动到字幕分句1的位置,字幕分句1及其他的字幕分句顺序显示。需要说明的是,在移动字幕分句3时,联动移动字幕分句3对应的画面素材3。可选的,这种实现方式适用于上述的情况1。For example, the user can move the position of the subtitle sentence. For example, if the user thinks that subtitle sentence 3 should be placed in front of subtitle sentence 1, subtitle sentence 3 can be moved. In response to the moving operation of subtitle sentence 3, subtitle sentence 3 is moved from the current position to the position of subtitle sentence 1, and subtitle sentence 1 and other subtitle sentences are displayed in sequence. It should be noted that when subtitle sentence 3 is moved, the picture material 3 corresponding to subtitle sentence 3 is moved in conjunction. Optionally, this implementation method is applicable to the above-mentioned situation 1.

用户还可以移动画面素材的位置,例如,用户觉得画面素材3应该放在画面素材1的前面,可以对画面素材3进行移动,响应于对画面素材3的移动操作,将画面素材3从当前位置移动到画面素材1的位置,画面素材1及其他的画面素材顺序显示。需要说明的是,在移动画面素材3时,联动移动画面素材3对应的字幕分句3。可选的,这种实现方式适用于上述的情况2。The user can also move the position of the picture material. For example, if the user thinks that picture material 3 should be placed in front of picture material 1, the user can move picture material 3. In response to the moving operation of picture material 3, picture material 3 is moved from the current position to the position of picture material 1, and picture material 1 and other picture materials are displayed in sequence. It should be noted that when picture material 3 is moved, subtitle sentence 3 corresponding to picture material 3 is moved in conjunction. Optionally, this implementation method is applicable to the above-mentioned situation 2.

在本技术方案中,如果用户觉得字幕分句或画面素材的顺序不满意,可以通过移动字幕分句或画面素材的位置,调整字幕分句或画面素材的顺序,从而满足用户的不同需求,提高用户编辑目标编辑对象的效率。In this technical solution, if the user is dissatisfied with the order of subtitle sentences or picture materials, the order of subtitle sentences or picture materials can be adjusted by moving the positions of the subtitle sentences or picture materials, thereby meeting the different needs of users and improving the efficiency of users in editing the target editing objects.

在一种实现方式中,目标编辑界面还包括撤回控件,所述方法还可以包括:响应于对所述撤回控件的触发操作,显示所述编辑操作前的界面。In one implementation, the target editing interface further includes a recall control, and the method may further include: in response to a triggering operation on the recall control, displaying the interface before the editing operation.

在本技术方案中,如果用户进行的编辑操作不满意,想撤回,那么,可以通过撤回控件来实现,从而提高用户编辑操作的便捷性。In this technical solution, if the user is not satisfied with the editing operation and wants to withdraw it, this can be achieved through the withdrawal control, thereby improving the convenience of the user's editing operation.

在一种实现方式中,所述目标编辑界面还包括滑动条,所述滑动条用于响应用户的滑动操作,显示所述处于可编辑状态的多个可编辑对象。In one implementation, the target editing interface further includes a slide bar, and the slide bar is used to respond to a sliding operation of a user to display the multiple editable objects in an editable state.

在本技术方案中,可以通过滑动条的方式,供用户上下滑动,来实现对多个可编辑对象的批量编辑,避免处于可编辑状态的多个可编辑对象的数量较多,在目标编辑界面上显示不全,导致用户对显示不全的可编辑对象无法进行编辑。In the present technical scheme, a slider bar can be used to allow users to slide up and down to achieve batch editing of multiple editable objects, thereby avoiding a large number of editable objects in an editable state, which are not fully displayed on the target editing interface, resulting in the user being unable to edit the incompletely displayed editable objects.

在本申请实施例中,目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述目标多媒体资源的画面素材和/或字幕分句,所以,用户可以对多个可编辑对象进行批量编辑,不需要编辑好一个编辑对象保存后,再去编辑下一个编辑对象,从而可以提高用户编辑多媒体资源的效率。通过批量编辑字幕分句和/或画面素材,从而可以提高了视频编辑效率。用户还可以根据自己的需求调整字幕分句和画面素材的对应关系,提高视频创作的自由度。相比于轨道编辑模式中精细复杂的编辑,本申请实施例可以直接修改字幕分句,替换画面素材,操作简单,无需高级编辑技巧,降低了编辑门槛。In an embodiment of the present application, the target editing interface includes a plurality of editable objects in an editable state, and the plurality of editable objects include the screen material and/or subtitle sentences of the target multimedia resource, so the user can batch edit the plurality of editable objects, and does not need to edit one editing object and save it before editing the next editing object, thereby improving the efficiency of the user in editing multimedia resources. By batch editing subtitle sentences and/or screen materials, the efficiency of video editing can be improved. The user can also adjust the correspondence between subtitle sentences and screen materials according to their needs to increase the degree of freedom of video creation. Compared with the delicate and complex editing in the track editing mode, the embodiment of the present application can directly modify the subtitle sentences and replace the screen materials. The operation is simple, and no advanced editing skills are required, which lowers the editing threshold.

上述方法执行步骤的角度对本申请实施例提供的方案进行了介绍。可以理解的是,为了实现上述功能,终端设备可以包括执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请的实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The scheme provided by the embodiment of the present application is introduced from the perspective of the execution steps of the above method. It is understandable that in order to implement the above functions, the terminal device may include hardware structures and/or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

如图11所示,为本申请实施例提供的多媒体资源的编辑装置的一种示例图。所述多媒体资源的编辑装置包括显示单元1101、响应单元1102和检测单元1103;As shown in Fig. 11, it is an example diagram of a multimedia resource editing device provided in an embodiment of the present application. The multimedia resource editing device includes a display unit 1101, a response unit 1102 and a detection unit 1103;

显示单元1101,用于显示多媒体资源界面,所述多媒体资源界面包括目标多媒体资源的画面素材和字幕分句,所述画面素材和所述字幕分句对应;A display unit 1101 is used to display a multimedia resource interface, wherein the multimedia resource interface includes a picture material and a subtitle sentence of a target multimedia resource, wherein the picture material and the subtitle sentence correspond to each other;

响应单元1102,用于响应于对所述目标多媒体资源的编辑触发操作,显示单元1101,用于显示目标编辑界面,所述目标编辑界面包括处于可编辑状态的多个可编辑对象,所述多个可编辑对象包括所述画面素材和/或所述字幕分句;The responding unit 1102 is used to respond to the editing trigger operation of the target multimedia resource, and the display unit 1101 is used to display a target editing interface, wherein the target editing interface includes a plurality of editable objects in an editable state, wherein the plurality of editable objects include the picture material and/or the subtitle sentence;

检测单元1103,用于检测并响应于对目标编辑对象的编辑操作,显示单元1101,用于显示进行所述编辑操作后的第一界面,所述目标编辑对象为所述多个可编辑对象中的至少一个,所述编辑操作后的第一界面中突出显示与所述编辑操作的编辑内容对应的关联信息,所述关联信息属于目标信息中的至少部分内容,所述目标信息包括字幕分句和画面素材中的至少一项。The detection unit 1103 is used to detect and respond to an editing operation on a target editing object, and the display unit 1101 is used to display a first interface after the editing operation is performed. The target editing object is at least one of the multiple editable objects. The first interface after the editing operation highlights associated information corresponding to the editing content of the editing operation, and the associated information belongs to at least part of the target information. The target information includes at least one of a subtitle sentence and a picture material.

在一种可能的实现方式中,所述编辑操作后的第一界面包括提示信息,所述提示信息用于提示是否同步对所述关联信息进行所述编辑操作;In a possible implementation, the first interface after the editing operation includes prompt information, and the prompt information is used to prompt whether to perform the editing operation on the associated information synchronously;

显示单元1101,用于在检测到同步对所述关联信息进行所述编辑操作的情况下,响应于对所述关联信息的编辑操作,显示进行所述编辑操作后的第二界面。The display unit 1101 is used for, when detecting that the editing operation is synchronously performed on the associated information, responding to the editing operation on the associated information, displaying a second interface after the editing operation is performed.

在一种可能的实现方式中,所述编辑操作后的第一界面包括同步编辑控件、部分编辑控件和取消控件,In a possible implementation, the first interface after the editing operation includes a synchronous editing control, a partial editing control, and a cancel control.

检测单元1103,用于检测到对所述同步编辑控件的触控操作,对所述关联信息进行编辑操作,显示单元1101,用于显示进行所述编辑操作后的第二界面;或,The detection unit 1103 is used to detect a touch operation on the synchronous editing control and perform an editing operation on the associated information, and the display unit 1101 is used to display a second interface after the editing operation is performed; or

检测单元1103,用于检测到对所述部分编辑控件的触控操作,对所述关联信息中的部分进行编辑操作,显示单元1101,用于显示进行所述编辑操作后的第三界面;或,The detection unit 1103 is used to detect a touch operation on the part of the editing control, and perform an editing operation on part of the associated information, and the display unit 1101 is used to display a third interface after the editing operation is performed; or

检测单元1103,用于检测到对所述取消控件的触控操作,在所述编辑操作后的第一界面中取消对所述关联信息的突出显示。The detection unit 1103 is used to detect a touch operation on the cancel control, and cancel the highlighting of the associated information in the first interface after the editing operation.

在一种可能的实现方式中,检测单元1103,用于检测到对所述部分编辑控件的触控操作,显示单元1101,用于显示第一选择界面,所述第一选择界面包括处于未选中状态的所述关联信息;In a possible implementation, the detection unit 1103 is used to detect a touch operation on the part of the editing control, and the display unit 1101 is used to display a first selection interface, where the first selection interface includes the associated information in an unselected state;

检测单元1103,用于检测到对所述部分编辑控件的触控操作,检测并响应对目标关联信息的选中操作,显示单元1101,用于显示选中界面,所述选中界面包括处于选中状态的目标关联信息,所述目标关联信息是所述关联信息中的至少一个;The detection unit 1103 is used to detect a touch operation on the part of the editing control, detect and respond to a selection operation on the target association information, and the display unit 1101 is used to display a selection interface, the selection interface includes the target association information in a selected state, and the target association information is at least one of the association information;

检测单元1103,用于检测并响应对所述目标关联信息的编辑操作,所述显示单元1101,用于显示进行所述编辑操作后的第三界面。The detection unit 1103 is used to detect and respond to the editing operation on the target association information, and the display unit 1101 is used to display the third interface after the editing operation is performed.

在一种可能的实现方式中,在所述多媒体资源界面和所述目标编辑界面处于同一界面的情况下,所述多媒体资源界面中进度条的位置与所述目标编辑对象对应。In a possible implementation manner, when the multimedia resource interface and the target editing interface are in the same interface, the position of the progress bar in the multimedia resource interface corresponds to the target editing object.

在一种可能的实现方式中,响应单元1102,具体用于响应于对所述目标多媒体资源的编辑触发操作,显示单元1101,具体用于在所述目标编辑界面中,通过列表的形式显示所述字幕分句和对应的所述画面素材,所述字幕分句是对字幕文案进行分句得到的。In one possible implementation, the response unit 1102 is specifically used to respond to an editing trigger operation on the target multimedia resource, and the display unit 1101 is specifically used to display the subtitle sentences and the corresponding screen materials in the form of a list in the target editing interface, where the subtitle sentences are obtained by sentence-segmenting the subtitle text.

在一种可能的实现方式中,显示单元1101,还用于显示输入界面,所述输入界面包括文字输入区域和生成控件;响应单元1102,还用于响应于在所述文字输入区域的输入操作,显示单元1101,还用于显示所述字幕文案;响应单元1102,还用于响应于对所述生成控件的触控操作,根据所述字幕文案匹配画面素材,生成所述目标多媒体资源。In a possible implementation, the display unit 1101 is also used to display an input interface, which includes a text input area and a generation control; the response unit 1102 is also used to respond to an input operation in the text input area, and the display unit 1101 is also used to display the subtitle text; the response unit 1102 is also used to respond to a touch operation on the generation control, match the screen material according to the subtitle text, and generate the target multimedia resource.

在一种可能的实现方式中,所述目标编辑对象为所述多个可编辑对象中的至少两个,检测单元1103,具体用于在检测对所有所述目标编辑对象的编辑操作之后,响应单元1102,具体用于响应于对所述编辑操作的确认操作,显示单元1101,具体用于显示进行所述编辑操作之后的界面。In one possible implementation, the target editing object is at least two of the multiple editable objects, the detection unit 1103 is specifically used to detect the editing operations on all the target editing objects, the response unit 1102 is specifically used to respond to the confirmation operation of the editing operation, and the display unit 1101 is specifically used to display the interface after the editing operation is performed.

在一种可能的实现方式中,所述多媒体资源界面还包括批量编辑控件,响应单元1102,具体用于响应于对所述批量编辑控件的触控操作,显示单元1101,具体用于显示所述目标编辑界面。In a possible implementation, the multimedia resource interface further includes a batch editing control, a response unit 1102, specifically configured to respond to a touch operation on the batch editing control, and a display unit 1101, specifically configured to display the target editing interface.

在一种可能的实现方式中,所述多媒体资源界面还包括编辑触发控件,在所述响应于对所述目标多媒体资源的编辑触发操作,显示目标编辑界面之前,响应单元1102,具体用于响应于对所述编辑触发控件的触控操作,显示单元1101,具体用于显示初始编辑界面,所述初始编辑界面包括批量编辑控件和处于不可编辑状态的多个不可编辑对象;In a possible implementation, the multimedia resource interface further includes an edit trigger control, and before the target edit interface is displayed in response to the edit trigger operation on the target multimedia resource, the response unit 1102 is specifically used to respond to the touch operation on the edit trigger control, and the display unit 1101 is specifically used to display an initial edit interface, wherein the initial edit interface includes a batch edit control and a plurality of non-editable objects in a non-editable state;

响应单元1102,具体用于响应于对所述批量编辑控件的触控操作,显示单元1101,具体用于显示所述目标编辑界面。The response unit 1102 is specifically used to respond to the touch operation on the batch editing control, and the display unit 1101 is specifically used to display the target editing interface.

在一种可能的实现方式中,所述目标编辑界面包括合并控件,所述目标编辑对象包括所述多个可编辑对象中的至少两个目标可编辑对象,响应单元1102,具体用于响应于对所述合并控件的触控操作,显示单元1101,具体用于进行所述合并操作后的界面,所述进行所述合并操作后的界面包括将所述至少两个目标可编辑对象合并后的可编辑对象。In one possible implementation, the target editing interface includes a merge control, the target editing object includes at least two target editable objects among the multiple editable objects, the response unit 1102 is specifically used to respond to a touch operation on the merge control, and the display unit 1101 is specifically used to perform an interface after the merge operation, and the interface after the merge operation includes an editable object after the at least two target editable objects are merged.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,显示单元1101,还用于显示合并后的字幕分句对应的合并画面素材,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并得到的字幕分句,所述合并画面素材为根据所述合并后的字幕分句生成的新的画面素材。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the display unit 1101 is also used to display the merged screen material corresponding to the merged subtitle sentence, the merged subtitle sentence is a subtitle sentence obtained by merging the at least two target subtitle sentences, and the merged screen material is a new screen material generated according to the merged subtitle sentence.

在一种可能的实现方式中,响应单元1102,还用于响应于对所述合并后的字幕分句进行修改的触发操作,显示单元1101,还用于显示键盘界面;响应单元1102,还用于检测并响应于在所述键盘界面的输入操作,对所述合并后的幕分句进行修改,显示单元1101,还用于显示修改及合并后的字幕分句。In one possible implementation, the response unit 1102 is further used to respond to a trigger operation for modifying the merged subtitle sentence, and the display unit 1101 is further used to display a keyboard interface; the response unit 1102 is further used to detect and respond to an input operation on the keyboard interface to modify the merged subtitle sentence, and the display unit 1101 is further used to display the modified and merged subtitle sentence.

在一种可能的实现方式中,所述至少两个目标可编辑对象为至少两个目标字幕分句,显示单元1101,还用于显示对至少两个目标画面素材进行合并操作后的界面,所述至少两个目标画面素材与所述至少两个目标字幕分句一一对应。In a possible implementation, the at least two target editable objects are at least two target subtitle sentences, and the display unit 1101 is also used to display an interface after a merging operation is performed on the at least two target screen materials, and the at least two target screen materials correspond one-to-one to the at least two target subtitle sentences.

在一种可能的实现方式中,所述至少两个目标画面素材包括第一目标画面素材和第二目标画面素材,在显示单元1101显示对至少两个目标画面素材进行合并操作后的界面之前,显示单元1101,还用于显示合并选择界面,所述合并选择界面包括第一合并选项、所述第二合并选项和所述第三合并选项,所述第一合并选项用于将所述第一目标画面素材作为画面合并结果,所述第二合并选项用于将所述第二目标画面素材作为画面合并结果,所述第三合并选项用于根据合并后的字幕分句生成新的画面素材作为画面合并结果,所述合并后的字幕分句为将所述至少两个目标字幕分句进行合并后的字幕分句;In a possible implementation, the at least two target screen materials include a first target screen material and a second target screen material. Before the display unit 1101 displays an interface after a merging operation is performed on the at least two target screen materials, the display unit 1101 is further used to display a merging selection interface, the merging selection interface including a first merging option, a second merging option and a third merging option. The first merging option is used to use the first target screen material as a screen merging result. The second merging option is used to use the second target screen material as a screen merging result. The third merging option is used to generate a new screen material as a screen merging result according to a merged subtitle sentence. The merged subtitle sentence is a subtitle sentence after merging the at least two target subtitle sentences.

显示单元1101,还用于响应于对目标合并选项的触控操作,显示对至少两个目标画面素材进行合并操作后的界面,所述进行合并操作后的界面包括与所述目标选项对应的画面合并结果。The display unit 1101 is further configured to display an interface after a merging operation is performed on at least two target screen materials in response to a touch operation on a target merging option, wherein the interface after the merging operation includes a screen merging result corresponding to the target option.

在一种可能的实现方式中,所述目标编辑界面包括拆分控件,响应单元1102,具体用于响应于对所述拆分控件的触控操作,显示单元1101,具体用于显示进行所述拆分操作后的界面,所述进行所述拆分操作后的界面包括拆分所述目标编辑对象得到的至少两个拆分后的可编辑对象。In one possible implementation, the target editing interface includes a split control, a response unit 1102, which is specifically used to respond to a touch operation on the split control, and a display unit 1101, which is specifically used to display an interface after the split operation, wherein the interface after the split operation includes at least two split editable objects obtained by splitting the target editing object.

在一种可能的实现方式中,在所述响应于对所述拆分控件的触控操作,显示进行所述拆分操作后的界面之前,检测单元1103,还用于检测拆分位置的输入操作;所述至少两个拆分后的可编辑对象是根据所述拆分位置对所述目标编辑对象进行拆分得到的。In a possible implementation, before the interface after the split operation is displayed in response to the touch operation on the split control, the detection unit 1103 is also used to detect the input operation of the split position; the at least two split editable objects are obtained by splitting the target editing object according to the split position.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,显示单元1101,还用于显示与至少两个拆分后的字幕分句一一对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the display unit 1101 is further configured to display screen materials corresponding to at least two split subtitle sentences.

在一种可能的实现方式中,所述至少两个拆分后的字幕分句一一对应的画面素材,可以包括:对目标画面素材进行拆分后得到的至少两个拆分后的画面素材,所述目标画面素材为与所述目标字幕分句对应的画面素材;或,至少两个新的画面素材;或,所述目标画面素材以及至少一个新的画面素材;其中,所述新的画面素材是在所述目标画面素材之后生成的。In a possible implementation, the at least two split picture materials corresponding to the subtitle sentences may include: at least two split picture materials obtained after splitting the target picture material, the target picture material is the picture material corresponding to the target subtitle sentence; or, at least two new picture materials; or, the target picture material and at least one new picture material; wherein the new picture material is generated after the target picture material.

在一种可能的实现方式中,所述对目标编辑对象的编辑操作包括对所述目标画面素材的替换操作,在所述检测并响应于对目标编辑对象的编辑操作,显示进行所述编辑操作后的界面之前,响应单元1102,还用于响应于针对所述替换操作的触发操作,显示单元1101,还用于显示配图方式选择界面,所述配图方式选择界面包括至少一种配图方式;In a possible implementation, the editing operation on the target editing object includes a replacement operation on the target screen material, and before the detecting and responding to the editing operation on the target editing object and displaying the interface after the editing operation is performed, the response unit 1102 is further used to respond to a triggering operation for the replacement operation, and the display unit 1101 is further used to display a picture matching mode selection interface, and the picture matching mode selection interface includes at least one picture matching mode;

检测单元1103,具体用于检测响应于对目标配图方式的选择操作,显示单元1101,还用于显示进行所述替换操作后的界面,所述进行所述替换操作后的界面包括根据所述目标配图方式生成的新的画面素材,所述新的画面素材是在所述目标画面素材之后生成的。The detection unit 1103 is specifically used to detect a response to a selection operation on a target image matching method, and the display unit 1101 is also used to display an interface after the replacement operation is performed, wherein the interface after the replacement operation includes new picture materials generated according to the target image matching method, and the new picture materials are generated after the target picture materials.

在一种可能的实现方式中,所述至少一种配图方式包括人工智能AI生成素材方式,AI匹配素材库方式,自由填充素材方式,以及AI数字人方式中的至少一项;所述AI生成素材方式是根据字幕分句自动生成的画面素材;所述AI匹配素材库方式是在素材库中查找与所述字幕分句匹配的画面素材;所述自由填充素材方式是响应用户的选择操作,获取与所述选择操作对应的画面素材;所述AI数字人是由人工智能技术生成的虚拟人物形象。In one possible implementation, the at least one illustration method includes at least one of an artificial intelligence AI generated material method, an AI matching material library method, a free filling material method, and an AI digital human method; the AI generated material method is a picture material automatically generated according to the subtitle sentence; the AI matching material library method is to search for picture materials matching the subtitle sentence in the material library; the free filling material method is to respond to the user's selection operation and obtain the picture material corresponding to the selection operation; the AI digital human is a virtual character image generated by artificial intelligence technology.

在一种可能的实现方式中,所述目标编辑界面包括删除控件,响应单元1102,具体用于响应于对所述删除控件的触控操作,显示单元1101,具体用于显示进行所述删除操作后的界面,所述进行所述删除操作后的界面不包括所述目标编辑对象。In one possible implementation, the target editing interface includes a deletion control, a response unit 1102, which is specifically used to respond to a touch operation on the deletion control, and a display unit 1101, which is specifically used to display an interface after the deletion operation is performed, and the interface after the deletion operation does not include the target editing object.

在一种可能的实现方式中,所述目标编辑对象为目标字幕分句,显示单元1101,还用于显示对目标画面素材进行删除操作后的界面,所述目标画面素材为与所述目标字幕分句对应的画面素材。In a possible implementation, the target editing object is a target subtitle sentence, and the display unit 1101 is further used to display an interface after a target screen material is deleted, and the target screen material is a screen material corresponding to the target subtitle sentence.

在一种可能的实现方式中,响应单元1102,还用于响应于对目标字幕分句进行修改的触发操作,显示单元1101,还用于显示键盘界面;响应单元1102,还用于检测并响应于在所述键盘界面的输入操作,对目标字幕分句进行修改,显示单元1101,还用于显示修改后的目标字幕分句。In one possible implementation, the response unit 1102 is further used to respond to a trigger operation for modifying a target subtitle sentence, and the display unit 1101 is further used to display a keyboard interface; the response unit 1102 is further used to detect and respond to an input operation on the keyboard interface to modify the target subtitle sentence, and the display unit 1101 is further used to display the modified target subtitle sentence.

在一种可能的实现方式中,在所述检测并响应于对目标编辑对象的编辑操作之前,检测单元1103,还用于检测对可编辑对象的选择触发操作,显示单元1101,还用于显示可编辑对象的选择界面,所述可编辑对象的选择界面包括处于可选状态的多个可编辑对象;响应单元1102,还用于响应于在所述可编辑对象的选择界面对可编辑对象的选择操作,确定处于选中状态的可编辑对象为所述目标编辑对象。In one possible implementation, before detecting and responding to an editing operation on a target editing object, the detection unit 1103 is further used to detect a selection trigger operation on an editable object, and the display unit 1101 is further used to display a selection interface for an editable object, wherein the selection interface for an editable object includes a plurality of editable objects in an optional state; the response unit 1102 is further used to respond to a selection operation on an editable object in the selection interface for an editable object, and determine that the editable object in a selected state is the target editing object.

在一种可能的实现方式中,响应单元1102,还用于响应于对所述目标编辑对象的移动操作,将所述目标编辑对象从当前位置移动到目标位置,显示单元1101,还用于显示进行移动操作后的界面。In a possible implementation, the response unit 1102 is further used to move the target editing object from the current position to the target position in response to a move operation on the target editing object, and the display unit 1101 is further used to display an interface after the move operation.

在采用集成的单元(模块)的情况下,图12示出了本申请实施例中所涉及的终端设备的可能的示例性框图,该终端设备1200可以以软件的形式存在。终端设备1200可以包括如图11所示的多媒体资源的编辑装置,而多媒体资源的编辑装置可以包括:显示单元1101、响应单元1102和检测单元1103。显示单元1101用于显示界面。响应单元1102用于支持终端设备1200与用户的交互。终端设备1200还可以包括存储单元,用于存储终端设备1200的程序代码和/或数据。In the case of adopting an integrated unit (module), FIG. 12 shows a possible exemplary block diagram of a terminal device involved in an embodiment of the present application, and the terminal device 1200 may exist in the form of software. The terminal device 1200 may include an editing device for multimedia resources as shown in FIG. 11, and the editing device for multimedia resources may include: a display unit 1101, a response unit 1102, and a detection unit 1103. The display unit 1101 is used to display an interface. The response unit 1102 is used to support the interaction between the terminal device 1200 and the user. The terminal device 1200 may also include a storage unit for storing program code and/or data of the terminal device 1200.

其中,显示单元1101可以是显示器,其可以实现或执行结合本申请的实施例公开内容所描述的各种示例性的逻辑方框,模块和电路。响应单元1102可以是处理器等。存储单元可以是存储器。The display unit 1101 may be a display, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosed content of the embodiments of the present application. The response unit 1102 may be a processor, etc. The storage unit may be a memory.

该终端设备1200可以为上述任一实施例中的终端、或者还可以为设置在终端中的芯片。显示单元1101可以支持终端设备1200执行上文中各方法示例中终端设备的动作。例如,用于执行图1所示的实施例中的步骤101。响应单元1102和检测单元1103可以支持终端设备1200与用户交互,例如,用于执行图1所示的实施例中的步骤102和103。The terminal device 1200 may be a terminal in any of the above embodiments, or may be a chip set in a terminal. The display unit 1101 may support the terminal device 1200 to perform the actions of the terminal device in each method example above. For example, it is used to perform step 101 in the embodiment shown in FIG. 1. The response unit 1102 and the detection unit 1103 may support the terminal device 1200 to interact with the user, for example, to perform steps 102 and 103 in the embodiment shown in FIG. 1.

需要说明的是,本申请实施例中对单元(模块)的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that the division of units (modules) in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The functional modules in the embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质可以为存储器等各种可以存储程序代码的介质。If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium can be various media such as a memory that can store program codes.

如图13所示为本申请实施例提供的终端设备,其中,终端设备可以是终端,能够实现本申请实施例提供的方法中终端的功能;终端设备也可以是能够支持终端实现本申请实施例提供的方法中终端的功能的装置。其中,该终端设备可以为芯片系统。本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。As shown in FIG. 13, a terminal device provided in an embodiment of the present application is shown, wherein the terminal device may be a terminal capable of implementing the functions of the terminal in the method provided in an embodiment of the present application; the terminal device may also be a device capable of supporting the terminal to implement the functions of the terminal in the method provided in an embodiment of the present application. The terminal device may be a chip system. In an embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.

终端设备包括至少一个处理器1320和显示器1350,用于实现或用于支持终端设备实现本申请实施例提供的方法中终端的功能。The terminal device includes at least one processor 1320 and a display 1350, which are used to implement or support the terminal device to implement the functions of the terminal in the method provided in the embodiment of the present application.

终端设备还可以包括至少一个存储器1330,用于存储程序指令和/或数据。存储器1330和处理器1320,以及显示器1350耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1320可能和存储器1330协同操作。处理器1320可能执行存储器1330中存储的程序指令。所述至少一个存储器中的至少一个可以包括于处理器中。The terminal device may also include at least one memory 1330 for storing program instructions and/or data. The memory 1330 is coupled to the processor 1320 and the display 1350. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, for information exchange between devices, units or modules. The processor 1320 may operate in conjunction with the memory 1330. The processor 1320 may execute program instructions stored in the memory 1330. At least one of the at least one memory may be included in the processor.

终端设备还可以包括通信接口1310,用于通过传输介质和其它设备进行通信,从而用于终端设备中的装置可以和其它设备进行通信。示例性地,该其它设备可以是网络侧设备。处理器1320可以利用通信接口1310收发数据。通信接口1310具体可以是收发器。The terminal device may also include a communication interface 1310 for communicating with other devices via a transmission medium, so that the device in the terminal device can communicate with other devices. Exemplarily, the other device may be a network side device. The processor 1320 may use the communication interface 1310 to send and receive data. The communication interface 1310 may specifically be a transceiver.

本申请实施例中不限定上述通信接口1310、处理器1320以及存储器1330之间的具体连接介质。本申请实施例在图13中以存储器1330、处理器1320以及通信接口1310之间通过总线1340连接,总线在图13中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 1310, the processor 1320 and the memory 1330 is not limited in the embodiment of the present application. In FIG. 13 , the memory 1330, the processor 1320 and the communication interface 1310 are connected via a bus 1340. The bus is represented by a bold line in FIG. 13 . The connection mode between other components is only for schematic illustration and is not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bold line is used in FIG. 13 , but it does not mean that there is only one bus or one type of bus.

在本申请实施例中,处理器1320可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment of the present application, the processor 1320 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

在本申请实施例中,存储器1330可以是非易失性存储器,比如硬盘(hard diskdrive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatilememory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。In an embodiment of the present application, the memory 1330 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and/or data.

本申请实施例还进一步提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在终端设备上运行时,使得所述终端设备执行前述的多媒体资源的编辑方法。The embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a terminal device, the terminal device executes the aforementioned method for editing multimedia resources.

上述计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(readonly memory,ROM)、可擦式可编程只读存储器(erasable programmable read onlymemory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、射频(radio frequency,RF)等等,或者上述的任意合适的组合。The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(localarea network,LAN)或广域网(wide area network,WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present specification may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中的部分或全部步骤。The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps in the above method embodiment.

本申请实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现前述方法中终端设备的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。The embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the functions of the terminal device in the above method. The chip system may be composed of a chip, or may include a chip and other discrete devices.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (28)

1. A method for editing a multimedia asset, comprising:
Displaying a multimedia resource interface, wherein the multimedia resource interface comprises picture materials and caption clauses of a target multimedia resource, and the picture materials correspond to the caption clauses;
Responding to the editing triggering operation of the target multimedia resource, displaying a target editing interface, wherein the target editing interface comprises a plurality of editable objects in an editable state, and the plurality of editable objects comprise the picture materials and/or the caption clauses;
Detecting and responding to an editing operation on a target editing object, and displaying a first interface after the editing operation, wherein the target editing object is at least one of the plurality of editable objects, the first interface after the editing operation highlights associated information corresponding to editing content of the editing operation, the associated information belongs to at least part of content in target information, and the target information comprises at least one of caption clauses and picture materials.
2. The method according to claim 1, wherein the first interface after the editing operation includes a prompt message for prompting whether to synchronize the editing operation on the associated information; the method further comprises the steps of:
And in the case that the editing operation is detected to be synchronously performed on the associated information, responding to the editing operation on the associated information, and displaying a second interface after the editing operation is performed.
3. The method of claim 1, wherein the first interface after the editing operation comprises a synchronization editing control, a partial editing control, and a cancel control, the method further comprising:
detecting touch operation of the synchronous editing control, editing the associated information, and displaying a second interface after the editing operation; or alternatively, the first and second heat exchangers may be,
Detecting touch operation of the partial editing control, editing the partial related information, and displaying a third interface after the editing operation; or alternatively, the first and second heat exchangers may be,
And detecting the touch operation of the cancel control, and canceling the highlighting of the associated information in a first interface after the editing operation.
4. The method of claim 3, wherein detecting the touch operation on the partial editing control, performing an editing operation on a portion of the associated information, and displaying a third interface after performing the editing operation, includes:
Detecting touch operation of the partial editing control, detecting and responding to selection operation of target association information, and displaying a selection interface, wherein the selection interface comprises target association information in a selection state, and the target association information is at least one of the association information;
And detecting and responding to the editing operation of the target associated information, and displaying a third interface after the editing operation.
5. The method of any of claims 1-4, wherein a location of a progress bar in the multimedia asset interface corresponds to the target editing object if the multimedia asset interface and the target editing interface are at the same interface.
6. The method of any of claims 1-4, wherein displaying a target editing interface in response to an editing trigger operation on the target multimedia asset comprises:
And responding to the editing triggering operation of the target multimedia resource, and displaying the caption clause and the corresponding picture material in a list form in the target editing interface, wherein the caption clause is obtained by clauseing a caption document.
7. The method of claim 6, wherein prior to displaying the multimedia asset interface, the method further comprises:
displaying an input interface, wherein the input interface comprises a text input area and a generation control;
displaying the subtitle text in response to an input operation in the text input area;
and responding to the touch operation of the generation control, and generating the target multimedia resource according to the matched picture materials of the subtitle file.
8. The method of any of claims 1-4, wherein the multimedia asset interface further comprises a bulk editing control, the displaying a target editing interface in response to an edit trigger operation on the target multimedia asset comprising:
Responding to touch operation of the batch editing control, and displaying the target editing interface;
Or alternatively
The multimedia asset interface further includes an edit trigger control, and before the displaying of the target edit interface in response to the edit trigger operation on the target multimedia asset, the method further includes:
responding to touch operation of the editing trigger control, and displaying an initial editing interface, wherein the initial editing interface comprises a batch editing control and a plurality of non-editable objects in a non-editable state;
The responding to the editing triggering operation of the target multimedia resource displays a target editing interface, which comprises the following steps:
and responding to touch operation of the batch editing control, and displaying the target editing interface.
9. The method of any of claims 1-4, wherein the target editing interface comprises a merge control, the target editing object comprising at least two target editable objects of the plurality of editable objects, the detecting and responsive to an editing operation on a target editing object displaying an interface after the editing operation, comprising:
and responding to the touch operation of the merging control, displaying an interface after the merging operation, wherein the interface after the merging operation comprises an editable object after merging the at least two target editable objects.
10. The method of claim 9, wherein the at least two target editable objects are at least two target subtitle clauses, the method further comprising:
And displaying a combined picture material corresponding to the combined caption clause, wherein the combined caption clause is a caption clause obtained by combining the at least two target caption clauses, and the combined picture material is a new picture material generated according to the combined caption clause.
11. The method according to claim 10, wherein the method further comprises:
responding to the triggering operation of modifying the combined caption clause, and displaying a keyboard interface;
and detecting and responding to the input operation on the keyboard interface, modifying the combined caption clause, and displaying the modified and combined caption clause.
12. The method of claim 9, wherein the at least two target editable objects are at least two target subtitle clauses, the method further comprising:
And displaying an interface after the merging operation of at least two target picture materials, wherein the at least two target picture materials are in one-to-one correspondence with the at least two target caption clauses.
13. The method of claim 12, wherein the at least two target frame materials comprise a first target frame material and a second target frame material, the method further comprising, prior to the displaying the interface after the merging of the at least two target frame materials:
Displaying a merging selection interface, wherein the merging selection interface comprises a first merging option, a second merging option and a third merging option, the first merging option is used for taking the first target picture material as a picture merging result, the second merging option is used for taking the second target picture material as a picture merging result, the third merging option is used for generating a new picture material as a picture merging result according to a merged caption clause, and the merged caption clause is a caption clause obtained by merging the at least two target caption clauses;
The displaying the interface after the merging operation of the at least two target picture materials comprises the following steps:
and responding to the touch operation of the target merging options, displaying an interface after merging operation of at least two target picture materials, wherein the interface after merging operation comprises a picture merging result corresponding to the target options.
14. The method of any of claims 1-4, wherein the target editing interface includes a split control, the detecting and responsive to an editing operation on a target editing object, displaying an interface after the editing operation is performed, comprising:
And responding to the touch operation of the splitting control, displaying an interface after splitting operation, wherein the interface after splitting operation comprises at least two split editable objects obtained by splitting the target editing object.
15. The method of claim 14, wherein prior to the displaying the interface after the splitting operation in response to the touch operation on the splitting control, the method further comprises:
detecting an input operation of a split position;
the at least two split editable objects are obtained by splitting the target editing object according to the splitting position.
16. The method of claim 14, wherein the target editing object is a target subtitle clause, the method further comprising:
and displaying the picture materials corresponding to at least two split caption clauses one by one.
17. The method of claim 16, wherein the at least two split caption clauses correspond to the picture material one-to-one, comprising:
at least two split picture materials obtained after splitting a target picture material, wherein the target picture material is a picture material corresponding to the target subtitle clause; or alternatively, the first and second heat exchangers may be,
At least two new picture materials; or alternatively, the first and second heat exchangers may be,
The target picture material and at least one new picture material;
wherein the new picture material is generated after the target picture material.
18. The method according to any one of claims 1-4, wherein the editing operation on the target editing object includes a replacement operation on the target screen material, the method further comprising, prior to the detecting and responsive to the editing operation on the target editing object, displaying an interface after the editing operation is performed:
Responding to the triggering operation for the replacing operation, displaying a graph matching mode selection interface, wherein the graph matching mode selection interface comprises at least one graph matching mode;
the detecting and responding to the editing operation of the target editing object, displaying an interface after the editing operation, comprising the following steps:
And detecting and responding to the selection operation of the target picture matching mode, and displaying an interface after the replacement operation, wherein the interface after the replacement operation comprises new picture materials generated according to the target picture matching mode, and the new picture materials are generated after the target picture materials.
19. The method of claim 18, wherein the at least one mapping mode includes at least one of an artificial intelligence AI generation material mode, an AI matching material library mode, a free fill material mode, and an AI digital person mode;
the AI generating material mode is picture material automatically generated according to caption clauses;
the AI matching material library mode is to search the picture materials matched with the caption clauses in the material library;
the free filling material mode is to respond to the selection operation of a user and acquire the picture material corresponding to the selection operation;
The AI digital person is an avatar generated by artificial intelligence techniques.
20. The method of any of claims 1-4, wherein the target editing interface includes a delete control, the detecting and responsive to an editing operation on a target editing object, displaying an interface after the editing operation is performed, comprising:
And responding to the touch operation of the deletion control, displaying an interface after the deletion operation, wherein the interface after the deletion operation does not comprise the target editing object.
21. The method of claim 20, wherein the target editing object is a target subtitle clause, the method further comprising:
and displaying an interface after deleting the target picture material, wherein the target picture material is the picture material corresponding to the target subtitle clause.
22. The method of any of claims 1-4, wherein the detecting and responsive to an editing operation on a target editing object displaying an interface after the editing operation is performed comprises:
responding to the triggering operation of modifying the target caption clause, and displaying a keyboard interface;
and detecting and responding to the input operation on the keyboard interface, modifying the target caption clause, and displaying the modified target caption clause.
23. The method of any of claims 1-4, wherein prior to the detecting and responding to an editing operation on a target editing object, the method further comprises:
Detecting a selection triggering operation of an editable object, and displaying a selection interface of the editable object, wherein the selection interface of the editable object comprises a plurality of editable objects in selectable states;
And in response to a selection operation of the editable object on the selection interface of the editable object, determining the editable object in the selected state as the target editing object.
24. The method of claim 23, wherein detecting and responsive to an editing operation on a target editing object, displaying an interface after the editing operation is performed, comprises:
and in response to the moving operation of the target editing object, moving the target editing object from the current position to the target position, and displaying an interface after the moving operation.
25. An editing apparatus for a multimedia resource, comprising:
The display unit is used for displaying a multimedia resource interface, wherein the multimedia resource interface comprises picture materials and caption clauses of a target multimedia resource, and the picture materials and the caption clauses correspond to each other;
A response unit, configured to respond to an edit triggering operation on the target multimedia resource, and the display unit is configured to display a target editing interface, where the target editing interface includes a plurality of editable objects in an editable state, and the plurality of editable objects include the picture material and/or the subtitle clause;
The system comprises a detection unit, a display unit and a display unit, wherein the detection unit is used for detecting and responding to the editing operation of a target editing object, the display unit is used for displaying a first interface after the editing operation, the target editing object is at least one of a plurality of editable objects, the first interface after the editing operation highlights associated information corresponding to editing content of the editing operation, the associated information belongs to at least part of content in target information, and the target information comprises at least one of caption clauses and picture materials.
26. A terminal device comprising a memory, a processor, and a display, the memory storing a computer program executable on the processor, the terminal device implementing the method of any of claims 1-24 when the program is executed.
27. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-24.
28. A computer program product having a computer program stored thereon, which, when executed by a processor, implements the method according to any of claims 1-24.
CN202411088157.4A 2024-08-08 2024-08-08 Multimedia resource editing method, device, equipment, storage medium and program product Pending CN118860232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411088157.4A CN118860232A (en) 2024-08-08 2024-08-08 Multimedia resource editing method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411088157.4A CN118860232A (en) 2024-08-08 2024-08-08 Multimedia resource editing method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN118860232A true CN118860232A (en) 2024-10-29

Family

ID=93170918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411088157.4A Pending CN118860232A (en) 2024-08-08 2024-08-08 Multimedia resource editing method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN118860232A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970577A (en) * 2020-08-25 2020-11-20 北京字节跳动网络技术有限公司 Subtitle editing method and device and electronic equipment
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book
CN117956100A (en) * 2022-10-21 2024-04-30 北京字跳网络技术有限公司 Multimedia data processing method, device, equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970577A (en) * 2020-08-25 2020-11-20 北京字节跳动网络技术有限公司 Subtitle editing method and device and electronic equipment
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book
CN117956100A (en) * 2022-10-21 2024-04-30 北京字跳网络技术有限公司 Multimedia data processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
Chen et al. How does automation shape the process of narrative visualization: A survey of tools
US8161452B2 (en) Software cinema
EP3352438B1 (en) User terminal device for recommending response message and method therefor
US8191014B2 (en) Information processing apparatus, display control method and program
US10380773B2 (en) Information processing apparatus, information processing method, and computer readable medium
JPWO2007091512A1 (en) Summary information generation system, summary information generation method, and content distribution system using summary information
US20180143741A1 (en) Intelligent graphical feature generation for user content
KR20190084725A (en) Display apparatus and Method for providing a content thereof
CN115129212A (en) Video editing method, apparatus, computer equipment, storage medium and product
KR20230023804A (en) Text-video creation methods, devices, facilities and media
CN112040142B (en) Method for video authoring on mobile terminal
Jahanlou et al. Katika: An end-to-end system for authoring amateur explainer motion graphics videos
Chi et al. Synthesis-Assisted Video Prototyping From a Document
Warner et al. Interactive flexible style transfer for vector graphics
KR101694303B1 (en) Apparatus and method for generating editable visual object
Chi et al. DemoWiz: re-performing software demonstrations for a live presentation
Fischer et al. Brassau: automatic generation of graphical user interfaces for virtual assistants
CN113438532A (en) Video processing method, video playing method, video processing device, video playing device, electronic equipment and storage medium
CN114793286A (en) Video editing method and system based on virtual image
CN118227904A (en) Data processing method, device, electronic equipment and storage medium
JP7049173B2 (en) Sign language CG translation editing equipment and programs
CN118860232A (en) Multimedia resource editing method, device, equipment, storage medium and program product
JP4514671B2 (en) CONTENT EDITING DEVICE, COMPUTER-READABLE PROGRAM, AND RECORDING MEDIUM CONTAINING THE SAME
CN113901776A (en) Audio interaction method, medium, device and computing equipment
Lee et al. Development of efficient VR Contents writing tools for support storytelling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination