[go: up one dir, main page]

CN114430499B - Video editing method, video editing device, electronic device and readable storage medium - Google Patents

Video editing method, video editing device, electronic device and readable storage medium Download PDF

Info

Publication number
CN114430499B
CN114430499B CN202210103282.2A CN202210103282A CN114430499B CN 114430499 B CN114430499 B CN 114430499B CN 202210103282 A CN202210103282 A CN 202210103282A CN 114430499 B CN114430499 B CN 114430499B
Authority
CN
China
Prior art keywords
video
editing
comment information
application
input
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.)
Active
Application number
CN202210103282.2A
Other languages
Chinese (zh)
Other versions
CN114430499A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210103282.2A priority Critical patent/CN114430499B/en
Publication of CN114430499A publication Critical patent/CN114430499A/en
Application granted granted Critical
Publication of CN114430499B publication Critical patent/CN114430499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application discloses a video editing method, a video editing device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The video editing method comprises the following steps: receiving a first input of a user to a first video in a first application; transmitting the first video to the second application in response to the first input; acquiring first comment information of a first video in a second application; and editing the first video according to the first comment information to generate a second video.

Description

视频编辑方法、视频编辑装置、电子设备和可读存储介质Video editing method, video editing device, electronic device and readable storage medium

技术领域Technical field

本申请属于通信技术领域,具体涉及一种视频编辑方法、视频编辑装置、电子设备和可读存储介质。This application belongs to the field of communication technology, and specifically relates to a video editing method, video editing device, electronic equipment and readable storage medium.

背景技术Background technique

目前,视频编辑应用的相关编辑技术较为成熟,但用户在使用时,需掌握较多的应用使用知识及功能操作技巧,操作难度大耗时长,上手困难,对用户体验影响较大。并且,当用户在编辑视频的过程中,若需要就视频的制作效果向其他用户征求建议并进行对应修改时,则需要反复切换视频编辑应用及聊天工具,以及按照建议手动点击编辑视频,操作步骤多且繁琐,对用户、尤其是新手或非专业用户极其不友好。At present, the editing technology related to video editing applications is relatively mature, but when using it, users need to master a lot of application knowledge and function operation skills. The operation is difficult and time-consuming, difficult to get started, and has a great impact on the user experience. Moreover, when the user is editing a video and needs to seek advice from other users on the production effect of the video and make corresponding modifications, the user needs to repeatedly switch video editing applications and chat tools, and manually click to edit the video according to the suggestions. The operation steps Many and cumbersome, extremely unfriendly to users, especially novice or non-professional users.

发明内容Contents of the invention

本申请实施例的目的是提供一种视频编辑方法、视频编辑装置、电子设备和可读存储介质,能够解决相关技术中视频编辑操作步骤多且繁琐的问题。The purpose of the embodiments of the present application is to provide a video editing method, a video editing device, an electronic device and a readable storage medium, which can solve the problem of multiple and cumbersome video editing operation steps in related technologies.

第一方面,本申请实施例提供了一种视频编辑方法,该方法包括:In a first aspect, embodiments of the present application provide a video editing method, which method includes:

接收用户对第一应用中的第一视频的第一输入;receiving first input from a user to a first video in the first application;

响应于第一输入,将第一视频发送至第二应用;responsive to the first input, sending the first video to the second application;

获取第二应用中对第一视频的第一评论信息;Obtain the first comment information on the first video in the second application;

根据第一评论信息,对第一视频进行编辑,生成第二视频。Edit the first video based on the first comment information to generate a second video.

第二方面,本申请实施例提供了一种视频编辑装置,该装置包括:In a second aspect, embodiments of the present application provide a video editing device, which includes:

接收模块,用于接收用户对第一应用中的第一视频的第一输入;A receiving module, configured to receive the user's first input to the first video in the first application;

发送模块,用于响应于第一输入,将第一视频发送至第二应用;a sending module, configured to send the first video to the second application in response to the first input;

获取模块,用于获取第二应用中对第一视频的第一评论信息;The acquisition module is used to obtain the first comment information on the first video in the second application;

编辑模块,用于根据第一评论信息,对第一视频进行编辑,生成第二视频。An editing module is used to edit the first video based on the first comment information and generate a second video.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, the following is implemented: Steps of the first method.

第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method in the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method of the first aspect.

第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method of the first aspect.

在本申请实施例中,电子设备安装有第一应用和第二应用,第一应用可以为具有视频编辑功能的应用,第二应用可以为具有聊天功能的应用。在第一应用中显示有第一视频,此时第一视频可以为播放或为进行播放的视频,接收用户对第一视频的第一输入,从而将第一视频发送至第二应用中特定的联系人或者群组。在第二应用中接收到其他用户对该第一视频的评论信息后,第一应用自动按照评论信息的具体内容对第一视频进行编辑,生成第二视频。本申请实施例,对视频编辑的方式进行改进,无需反复切换第一应用界面及第二应用界面,减少用户的操作步骤,以便用户能通过更简单、更便捷的操作对视频进行后期编辑。In this embodiment of the present application, the electronic device is installed with a first application and a second application. The first application may be an application with a video editing function, and the second application may be an application with a chat function. The first video is displayed in the first application. At this time, the first video may be played or a video to be played. The user's first input to the first video is received, thereby sending the first video to a specific user in the second application. Contact or group. After receiving other users' comment information on the first video in the second application, the first application automatically edits the first video according to the specific content of the comment information to generate a second video. The embodiment of the present application improves the video editing method, eliminating the need to repeatedly switch the first application interface and the second application interface, reducing the user's operation steps, so that the user can post-edit the video through simpler and more convenient operations.

附图说明Description of drawings

图1是本申请实施例的视频编辑方法的流程示意图之一;Figure 1 is one of the flow diagrams of the video editing method according to the embodiment of the present application;

图2是本申请实施例的电子设备的显示示意图之一;Figure 2 is one of the schematic display diagrams of the electronic device according to the embodiment of the present application;

图3是本申请实施例的电子设备的显示示意图之二;Figure 3 is the second schematic display diagram of the electronic device according to the embodiment of the present application;

图4是本申请实施例的电子设备的显示示意图之三;Figure 4 is the third schematic display diagram of the electronic device according to the embodiment of the present application;

图5是本申请实施例的电子设备的显示示意图之四;Figure 5 is the fourth schematic display diagram of the electronic device according to the embodiment of the present application;

图6是本申请实施例的电子设备的显示示意图之五;Figure 6 is a fifth display schematic diagram of the electronic device according to the embodiment of the present application;

图7是本申请实施例的电子设备的显示示意图之六;Figure 7 is the sixth schematic display diagram of the electronic device according to the embodiment of the present application;

图8是本申请实施例的群组成员的电子设备的显示示意图;Figure 8 is a schematic diagram showing the display of electronic devices of group members according to an embodiment of the present application;

图9是本申请实施例的电子设备的显示示意图之七;Figure 9 is the seventh schematic display diagram of the electronic device according to the embodiment of the present application;

图10是本申请实施例的电子设备的显示示意图之八;Figure 10 is the eighth schematic display diagram of the electronic device according to the embodiment of the present application;

图11是本申请实施例的视频编辑方法的流程示意图之二;Figure 11 is the second schematic flow chart of the video editing method according to the embodiment of the present application;

图12是本申请实施例的视频编辑装置的示意框图;Figure 12 is a schematic block diagram of a video editing device according to an embodiment of the present application;

图13是本申请实施例的电子设备的示意框图之一;Figure 13 is one of the schematic block diagrams of the electronic device according to the embodiment of the present application;

图14是本申请实施例的电子设备的示意框图之二。Figure 14 is a second schematic block diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that data so used are interchangeable under appropriate circumstances so that embodiments of the present application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频编辑方法、视频编辑装置、电子设备和可读存储介质进行详细地说明。The video editing method, video editing device, electronic device and readable storage medium provided by the embodiments of the present application will be described in detail through specific embodiments and application scenarios with reference to the accompanying drawings.

本申请实施例提供了一种视频编辑方法,如图1所示,该方法包括:An embodiment of the present application provides a video editing method, as shown in Figure 1. The method includes:

步骤102,接收用户对第一应用中的第一视频的第一输入;Step 102: Receive the user's first input for the first video in the first application;

步骤104,响应于第一输入,将第一视频发送至第二应用;Step 104: In response to the first input, send the first video to the second application;

步骤106,获取第二应用中对第一视频的第一评论信息;Step 106: Obtain the first comment information on the first video in the second application;

步骤108,根据第一评论信息,对第一视频进行编辑,生成第二视频。Step 108: Edit the first video based on the first comment information to generate a second video.

其中,第一输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第一输入的方式不作具体限定,可为任一可实现的方式。The first input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the first input method, and it can be any implementable method.

在该实施例中,电子设备安装有第一应用和第二应用,第一应用可以为具有视频编辑功能的应用,第二应用可以为具有聊天功能的应用。在第一应用中显示有第一视频,接收用户对第一视频的第一输入,从而将第一视频发送至第二应用中特定的联系人或者群组。在第二应用中接收到其他用户对该第一视频的评论信息后,第一应用自动按照评论信息的具体内容对第一视频进行编辑,生成第二视频。In this embodiment, the electronic device is installed with a first application and a second application. The first application may be an application with a video editing function, and the second application may be an application with a chat function. The first video is displayed in the first application, and the user's first input of the first video is received, thereby sending the first video to a specific contact or group in the second application. After receiving other users' comment information on the first video in the second application, the first application automatically edits the first video according to the specific content of the comment information to generate a second video.

需要说明的是,第一视频可以为正在播放或未进行播放的视频,第一视频还可以是当前已完成拍摄的视频,也可以是拍摄完成后直接进行编辑的视频。It should be noted that the first video may be a video that is being played or not being played. The first video may also be a video that has been currently shot, or it may be a video that is edited directly after the shooting is completed.

第一评论信息包括图片、视频、音频、文本等信息。对第一视频进行的编辑具体包括对第一视频进行图片索引及加入、视频剪辑及风格处理、视频音频修改等操作,以实现对第一视频的编辑。其中,图片索引及加入的编辑指通过评论信息找到对应的表情包、图片等内容,并将其根据评论信息的指引加入到视频指定时间或指定区域中;视频剪辑及风格处理的编辑指通过评论信息判断视频需要执行的剪辑及风格处理操作,并进行对应的变更;视频音频修改的编辑指根据评论信息调整视频中的音频内容,合成音效或更改背景音乐等。The first comment information includes pictures, videos, audios, texts and other information. The editing of the first video specifically includes operations such as image indexing and adding to the first video, video editing and style processing, video and audio modification, etc., to achieve editing of the first video. Among them, the editing of image indexing and adding refers to finding the corresponding emoticons, pictures and other content through comment information, and adding them to the specified time or designated area of the video according to the guidance of the comment information; the editing of video editing and style processing refers to editing through comments The information determines the editing and style processing operations that need to be performed on the video, and makes corresponding changes; editing of video audio modification refers to adjusting the audio content in the video based on the comment information, synthesizing sound effects, or changing background music, etc.

本申请实施例,对视频编辑的方式进行改进,无需反复切换第一应用界面及第二应用界面,减少用户的操作步骤,以便用户能通过更简单、更便捷的操作对视频进行后期编辑。The embodiment of the present application improves the video editing method, eliminating the need to repeatedly switch the first application interface and the second application interface, reducing the user's operation steps, so that the user can post-edit the video through simpler and more convenient operations.

进一步地,在本申请的一个实施例中,在根据第一评论信息,对第一视频进行编辑,生成第二视频之前,该方法还包括:接收用户对第一视频的第二输入;响应于第二输入,确定第一视频的编辑范围信息;其中,编辑范围信息用于指示第一视频的可编辑的视频参数,视频参数包括以下至少一种:视频时间段或时间点、显示区域、显示风格以及显示色调;获取第二应用中对第一视频的第一评论信息包括:获取第二应用中与编辑范围信息关联的第一评论信息。Further, in one embodiment of the present application, before editing the first video and generating the second video according to the first comment information, the method further includes: receiving a second input from the user on the first video; responding to The second input determines the editing range information of the first video; wherein the editing range information is used to indicate editable video parameters of the first video, and the video parameters include at least one of the following: video time period or time point, display area, display style and display tone; obtaining the first comment information on the first video in the second application includes: obtaining the first comment information associated with the editing range information in the second application.

其中,第二输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第二输入的方式不作具体限定,可为任一可实现的方式。The second input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the second input method, and it can be any implementable method.

在该实施例中,在完成视频选择后,且对视频进行编辑前,用户可以选择允许对第一视频进行编辑的内容。具体地,响应于用户的第二输入,确定用户指定的编辑范围信息,编辑范围信息用于指示第一视频的可编辑的视频时间段或时间点、显示区域、显示风格以及显示色调等。In this embodiment, after completing the video selection and before editing the video, the user can select content that allows editing of the first video. Specifically, in response to the user's second input, user-specified editing range information is determined, and the editing range information is used to indicate the editable video time period or time point, display area, display style, display tone, etc. of the first video.

在获取第二应用中对第一视频的第一评论信息时,获取与编辑范围信息相关的第一评论信息,进而进行第一视频的编辑。When obtaining the first comment information on the first video in the second application, the first comment information related to the editing range information is obtained, and then the first video is edited.

通过上述方式,保证后续对第一视频添加的内容处于特定的时间段,或者处于特定的视频区域,或者符合用户所指定的风格、色调,从而满足用户的视频编辑需求。Through the above method, it is ensured that the content subsequently added to the first video is in a specific time period, or is in a specific video area, or conforms to the style and tone specified by the user, thereby meeting the user's video editing needs.

在本申请的一个实施例中,响应于第一输入,将第一视频发送至第二应用,包括:响应于第一输入,显示第二应用;接收用户对第二应用的第八输入;响应于第八输入,确定第二应用的第一目标聊天对象;将第一视频发送至第二应用的第一目标聊天对象。In one embodiment of the present application, in response to the first input, sending the first video to the second application includes: in response to the first input, displaying the second application; receiving an eighth input from the user to the second application; responding In the eighth input, the first target chat object of the second application is determined; the first video is sent to the first target chat object of the second application.

其中,第八输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第八输入的方式不作具体限定,可为任一可实现的方式。The eighth input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the eighth input method, and it can be any implementable method.

在该实施例中,在确认需要编辑的视频后,用户可以选择编辑内容的参考对象范围。具体地,响应于第一输入,显示第二应用的界面,用户继续在第二应用的界面上进行第八输入的操作,在第二应用中选定一个或多个第一目标聊天对象,进而将第一视频发送至第一目标聊天对象。In this embodiment, after confirming the video that needs to be edited, the user can select a reference object range for editing content. Specifically, in response to the first input, the interface of the second application is displayed, the user continues to perform the eighth input operation on the interface of the second application, selects one or more first target chat objects in the second application, and then Send the first video to the first target chat partner.

需要说明的是,第一目标聊天对象可以为群组,也可以为单独的联系人。It should be noted that the first target chat object can be a group or an individual contact.

通过上述方式,限定提供编辑建议的聊天对象,提高视频编辑的灵活性。Through the above method, the chat objects that provide editing suggestions are limited to improve the flexibility of video editing.

进一步地,在本申请的一个实施例中,获取第二应用中对第一视频的第一评论信息,包括:接收用户将第二应用的第一目标聊天对象的标识移动至第一视频的第一显示区域的第三输入;响应于第三输入,接收第一目标聊天对象发送的第一评论信息;根据第一评论信息,对第一视频进行编辑,生成第二视频,包括:根据第一目标聊天对象发送的第一评论信息,对第一视频的第一显示区域进行编辑,生成第二视频。Further, in one embodiment of the present application, obtaining the first comment information on the first video in the second application includes: receiving the user's move of the identification of the first target chat object of the second application to the first video. A third input in a display area; in response to the third input, receiving first comment information sent by the first target chat object; editing the first video according to the first comment information and generating a second video, including: according to the first comment information The first comment information sent by the target chat object is used to edit the first display area of the first video to generate a second video.

在该实施例中,用户可以通过拖动第二应用中第一目标聊天对象的标识(例如,头像)至第一视频中,以预先设置根据第一目标聊天对象的评论信息所编辑的视频区域。具体地,当第一目标聊天对象的标识被移动至第一视频的第一显示区域上时,则利用第一目标聊天对象的评论信息对该第一显示区域进行编辑。示例性地,当第一目标聊天对象提供了一张建议插入第一视频中的图片,则在用户将第一目标聊天对象的标识移动至第一视频的第一显示区域后,将上述图片直接添加到第一显示区域。In this embodiment, the user can drag the identification (for example, avatar) of the first target chat object in the second application to the first video to preset the video area edited according to the comment information of the first target chat object. . Specifically, when the logo of the first target chat object is moved to the first display area of the first video, the first display area is edited using the comment information of the first target chat object. For example, when the first target chat object provides a picture that is recommended to be inserted into the first video, after the user moves the identification of the first target chat object to the first display area of the first video, the above picture is directly displayed in the first video. Added to the first display area.

需要说明的是,第一显示区域可以为一个位置点,也可以为一个区域范围。It should be noted that the first display area may be a location point or a region range.

通过上述方式,能够指定第一目标聊天对象的可编辑的视频区域,从而满足用户的视频编辑需求。Through the above method, the editable video area of the first target chat object can be specified, thereby meeting the user's video editing needs.

在本申请的一个实施例中,还包括:在用户移动的第一目标聊天对象的标识包括多个的情况下,显示多个第一目标聊天对象的标识;接收用户对第二目标聊天对象的标识的第九输入,第二目标聊天对象为多个第一目标聊天对象中的一个;响应于第九输入,确定第一显示区域为第二目标聊天对象的可编辑区域。In one embodiment of the present application, the method further includes: when the identifiers of the first target chat objects moved by the user include multiple ones, displaying the identifiers of multiple first target chat objects; and receiving the user's response to the second target chat object. A ninth input identifies that the second target chat object is one of the plurality of first target chat objects; in response to the ninth input, it is determined that the first display area is an editable area of the second target chat object.

其中,第九输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第九输入的方式不作具体限定,可为任一可实现的方式。Among them, the ninth input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the ninth input method, and it can be any implementable method.

在该实施例中,如果用户向同一个显示区域中拖动了一个以上的标识,则将这些标识识别为并列关系,并将这些标识向用户进行并列展示,以供用户在多个标识中进行选择。在用户选定后,确定该显示区域为用户选定的目标聊天对象(即第二目标聊天对象)的可编辑区域,从而利用第二目标聊天对象的评论信息对该显示区域进行编辑。In this embodiment, if the user drags more than one logo into the same display area, these logos will be identified as a parallel relationship, and these logos will be displayed to the user side by side so that the user can select among the multiple logos. choose. After the user selects, the display area is determined to be the editable area of the target chat object selected by the user (ie, the second target chat object), so that the display area can be edited using the comment information of the second target chat object.

通过上述方式,方便用户选择编辑内容的参考对象,提高了视频编辑的灵活性。Through the above method, it is convenient for users to select reference objects for editing content, and the flexibility of video editing is improved.

进一步地,在本申请的一个实施例中,根据第一评论信息,对第一视频进行编辑,生成第二视频,包括:在第一评论信息包括多个的情况下,将满足预设条件的第一评论信息作为目标评论信息;根据目标评论信息对第一视频进行编辑,生成第二视频;其中,预设条件包括出现频率大于或等于第一预设阈值、与第一视频的视频内容的关联程度大于或等于第二预设阈值、用户的查看次数大于或等于第三预设阈值。Further, in one embodiment of the present application, editing the first video to generate a second video based on the first comment information includes: in the case where the first comment information includes multiple items, the one that satisfies the preset condition is The first comment information is used as target comment information; the first video is edited according to the target comment information to generate a second video; wherein the preset conditions include an occurrence frequency greater than or equal to a first preset threshold and a frequency consistent with the video content of the first video. The degree of correlation is greater than or equal to the second preset threshold, and the number of views by the user is greater than or equal to the third preset threshold.

在该实施例中,限定了确定评论信息的一种方式。具体地,在发送第一视频至用户选定的第二应用后,第一应用将收集第二应用中目标聊天对象所回复的评论信息,并将评论信息进行汇总后进行筛选,筛选出满足预设条件的目标评论信息,进而利用该目标评论信息对第一视频进行编辑。In this embodiment, one way of determining review information is defined. Specifically, after sending the first video to the second application selected by the user, the first application will collect the comment information replied by the target chat object in the second application, summarize the comment information and filter it to select the video that meets the predetermined requirements. Set conditional target comment information, and then use the target comment information to edit the first video.

需要说明的是,目标评论信息即为出现频率大于或等于第一预设阈值、与第一视频的视频内容的关联程度大于或等于第二预设阈值、或者用户的查看次数大于或等于第三预设阈值的评论信息。It should be noted that the target comment information means that the frequency of occurrence is greater than or equal to the first preset threshold, the degree of association with the video content of the first video is greater than or equal to the second preset threshold, or the number of views by the user is greater than or equal to the third Comment information with preset threshold.

通过上述方式,筛选出更加准确的评论信息,从而利用该评论信息进行视频编辑,以提高视频编辑的效果。Through the above method, more accurate comment information is screened out, and the comment information is used for video editing to improve the effect of video editing.

进一步地,在本申请的一个实施例中,在获取第二应用中对第一视频的第一评论信息之后,该方法还包括:显示第一评论信息;根据第一评论信息,对第一视频进行编辑,生成第二视频,包括:接收用户将第一评论信息移动至第一视频的第四输入,第四输入作用于第一视频的第二显示区域或第一视频的时间进度条的目标时间点;响应于第四输入,根据第一评论信息,对第一视频的第二显示区域或在目标时间点对第一视频进行编辑,生成第二视频。Further, in one embodiment of the present application, after obtaining the first comment information on the first video in the second application, the method further includes: displaying the first comment information; and, according to the first comment information, comment on the first video. Editing and generating the second video includes: receiving a fourth input from the user to move the first comment information to the first video, and the fourth input acting on the second display area of the first video or the target of the time progress bar of the first video. Time point; in response to the fourth input, edit the second display area of the first video or the first video at the target time point according to the first comment information to generate a second video.

其中,第四输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第四输入的方式不作具体限定,可为任一可实现的方式。The fourth input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the fourth input method, and it can be any implementable method.

在该实施例中,限定了确定评论信息的另一种方式,也即通过拖动评论信息进行快速添加。具体地,在获取到第一评论信息后,同时显示第一视频的界面和第一评论信息,此时第一评论信息可以为通知消息。例如,在显示第一视频的界面中悬浮显示第一评论信息,或者在与第一视频的界面并列显示的窗口中显示第一评论信息。用户将第一评论信息拖动至第一视频的界面上,则自动根据第一评论信息对第一视频进行编辑。In this embodiment, another way of determining the comment information is defined, that is, by dragging the comment information to quickly add it. Specifically, after obtaining the first comment information, the interface of the first video and the first comment information are simultaneously displayed. At this time, the first comment information may be a notification message. For example, the first comment information is displayed in a floating manner on an interface that displays the first video, or the first comment information is displayed in a window that is displayed side by side with the interface of the first video. The user drags the first comment information onto the interface of the first video, and then the first video is automatically edited based on the first comment information.

另外,如果第一评论信息包括多个,则用户可通过拖动的方式选择其中一个评论信息。In addition, if the first comment information includes multiple comments, the user can select one of the comment information by dragging.

其中,第一评论信息可以是图片、视频、音频、文本等信息。The first comment information may be pictures, videos, audios, texts and other information.

通过上述方式,用户可通过直接拖动评论信息至第一视频中,以实现评论信息对第一视频的编辑,提高用户对视频进行编辑的便捷性。Through the above method, the user can directly drag the comment information to the first video to edit the first video with the comment information, thereby improving the convenience of the user in editing the video.

进一步地,当用户将第一评论信息拖动至第一视频的第二显示区域后,根据该第一评论信息对第一视频的第二显示区域进行编辑。示例性地,当第一评论信息为一张图片或者为一个文本,当用户将第一评论信息拖动至第一视频的第二显示区域后,则在第二显示区域显示该图片或文本。或者,如图2所示,在第一视频的界面202中悬浮显示第一评论信息的通知消息204,该第一评论信息为“在视频的左下角位置加上一个微笑的表情包吧”。如图3所示,当用户将该通知消息204拖动至第一视频的第二显示区域(拖动方向如图3中的箭头方向)后,如图4所示,在第一视频的第二显示区域添加了微笑的表情包206。Further, after the user drags the first comment information to the second display area of the first video, the second display area of the first video is edited according to the first comment information. For example, when the first comment information is a picture or a text, after the user drags the first comment information to the second display area of the first video, the picture or text is displayed in the second display area. Or, as shown in FIG. 2 , a notification message 204 of the first comment information is displayed suspended in the interface 202 of the first video. The first comment information is "Add a smiling emoticon to the lower left corner of the video." As shown in Figure 3, when the user drags the notification message 204 to the second display area of the first video (the drag direction is the direction of the arrow in Figure 3), as shown in Figure 4, in the second display area of the first video A smiling emoticon package 206 is added to the second display area.

或者,当用户将第一评论信息拖动至第一视频的时间进度条的目标时间点后,根据该第一评论信息在第一视频的目标时间点进行编辑。示例性地,当第一评论信息为一条语音信息,则在用户将该语音信息拖动至第一视频的时间进度条上的第5分钟的位置后,从第一视频的第5分钟开始,将该语音信息作为背景音,合成至第一视频中。或者,如图5所示,在第一视频的界面202中悬浮显示第一评论信息的通知消息208,该第一评论信息为“视频太长了,中间部分删掉5分钟吧”。如图6所示,当用户将该通知消息208拖动至第一视频的时间进度条上的第1分钟的位置后(拖动方向如图6中的箭头方向)后,如图7所示,从第一视频的第1分钟开始删掉5分钟的视频,生成总时长为5分钟的第二视频。Alternatively, after the user drags the first comment information to the target time point of the time progress bar of the first video, editing is performed at the target time point of the first video based on the first comment information. For example, when the first comment information is a voice message, after the user drags the voice message to the 5th minute position on the time progress bar of the first video, starting from the 5th minute of the first video, The voice information is used as background sound and synthesized into the first video. Or, as shown in FIG. 5 , a notification message 208 of the first comment information is displayed suspended in the interface 202 of the first video. The first comment information is "The video is too long, please delete 5 minutes of the middle part." As shown in Figure 6, when the user drags the notification message 208 to the 1st minute position on the time progress bar of the first video (the drag direction is the direction of the arrow in Figure 6), as shown in Figure 7 , delete 5 minutes of video starting from minute 1 of the first video, and generate a second video with a total duration of 5 minutes.

通过上述方式,用户可通过直接拖动评论信息至第一视频中,以实现评论信息对第一视频的编辑,并同时实现对编辑内容的显示区域或添加时间作出限制。Through the above method, the user can directly drag the comment information to the first video to edit the first video with the comment information, and at the same time limit the display area or adding time of the edited content.

进一步地,在本申请的一个实施例中,在根据第一评论信息,对第一视频进行编辑,生成第二视频之后,该方法还包括:接收用户对第二视频的第五输入;响应于第五输入,将第二视频发送至第二应用;获取第二应用中对第一视频的第二评论信息;根据第二评论信息,对第二视频进行编辑。Further, in one embodiment of the present application, after editing the first video and generating the second video according to the first comment information, the method further includes: receiving a fifth input from the user on the second video; responding to The fifth input is to send the second video to the second application; obtain the second comment information on the first video in the second application; and edit the second video based on the second comment information.

其中,第五输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第五输入的方式不作具体限定,可为任一可实现的方式。The fifth input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the fifth input method, and it can be any implementable method.

在该实施例中,在向第一视频进行编辑从而生成第二视频后,第一应用还可根据用户的设置,将第二视频发送到第二应用中,获取第二应用中的聊天对象对第二视频的第二评论信息,从而继续根据第二评论信息对第二视频进行编辑。In this embodiment, after editing the first video to generate the second video, the first application can also send the second video to the second application according to the user's settings, and obtain the chat object pair in the second application. the second comment information of the second video, thereby continuing to edit the second video based on the second comment information.

示例性地,将第二视频发送到聊天群组中,邀请聊天群组的成员对编辑效果进行反馈,群组成员可以发送聊天内容对编辑效果进行评论,或者,在其电子设备上点选第二视频中新增内容的菜单,并在菜单中选择“推荐”或“不推荐”。例如,如图8所示,在群组成员的电子设备上显示第二视频中的添加内容“表情包A”以及菜单802,如果群组成员点击“不推荐”,则表示对“表情包A”的添加不满意,如果群组成员点击“推荐”,则表示对“表情包A”的添加满意。For example, the second video is sent to a chat group, and members of the chat group are invited to provide feedback on the editing effect. The group members can send chat content to comment on the editing effect, or click on the third video on their electronic devices. 2. Menu for new content in the video, and select "Recommended" or "Not Recommended" in the menu. For example, as shown in Figure 8, the added content "emoticon package A" in the second video and the menu 802 are displayed on the electronic devices of the group members. If the group member clicks "not recommended", it means that the added content "emoticon package A" is not recommended. If the group member clicks "Recommend", it means that they are satisfied with the addition of "Emoji Pack A".

若某一编辑内容收到了较多的负面反馈,第一应用将会根据反馈情况,进行编辑内容的撤回或替换操作。If a certain edited content receives a lot of negative feedback, the first application will withdraw or replace the edited content based on the feedback.

通过上述方式,使得用户能够知晓朋友对其视频编辑情况的反馈,为对视频的重新编辑提供基础。Through the above method, users can know their friends' feedback on their video editing situation, providing a basis for re-editing the video.

进一步地,在本申请的一个实施例中,在根据第一评论信息,对第一视频进行编辑,生成第二视频之后,该方法还包括:接收用户对第二视频的第六输入;响应于第六输入,显示编辑记录信息;接收用户对编辑记录信息的第七输入;响应于第七输入,根据编辑记录信息,调整第二视频中的已编辑内容。Further, in one embodiment of the present application, after editing the first video and generating the second video according to the first comment information, the method further includes: receiving a sixth input from the user on the second video; responding to The sixth input is to display the editing record information; receive the seventh input of the editing record information from the user; and in response to the seventh input, adjust the edited content in the second video according to the editing record information.

其中,第六输入包括但不限于单击输入、双击输入、滑动输入、按压输入等。具体地,本申请实施例对第六输入的方式不作具体限定,可为任一可实现的方式。The sixth input includes but is not limited to single-click input, double-click input, sliding input, press input, etc. Specifically, the embodiment of the present application does not specifically limit the method of the sixth input, and it can be any implementable method.

在该实施例中,用户可以随时查看第一应用的自动编辑记录信息,并可以对视频中的已编辑内容进行调整。当用户需要调整编辑内容时,第一应用将根据添加方式,展示编辑记录信息,编辑记录信息具体包括编辑信息、指引信息以及编辑时所搜索到的图片或视频或音频等备选信息。用户可通过直接选择其他备选信息的方式,对已编辑内容进行直接替换。同时,用户也可以对已编辑内容进行位置、时间上的修改。In this embodiment, the user can view the automatic editing record information of the first application at any time, and can adjust the edited content in the video. When the user needs to adjust the editing content, the first application will display the editing record information according to the adding method. The editing record information specifically includes editing information, guidance information, and alternative information such as pictures, videos, or audios searched during editing. Users can directly replace the edited content by directly selecting other alternative information. At the same time, users can also modify the location and time of the edited content.

确认替换或修改后,第一应用将结束本次的视频编辑操作,并对视频和编辑内容进行保存与导出。After confirming the replacement or modification, the first application will end the current video editing operation, and save and export the video and edited content.

通过上述方式,用户能够对已编辑的视频进行编辑内容的修改或替换,以满足用户的需求,提高视频编辑效果。Through the above method, the user can modify or replace the editing content of the edited video to meet the user's needs and improve the video editing effect.

进一步地,在本申请的一个实施例中,第一评论信息包括编辑信息;根据第一评论信息,对第一视频进行编辑,生成第二视频,包括:根据编辑信息,对第一视频进行编辑,生成第二视频;其中,编辑信息包括以下至少一种:文本、图片、视频、音频。Further, in one embodiment of the present application, the first comment information includes editing information; editing the first video according to the first comment information to generate the second video includes: editing the first video according to the editing information. , generate a second video; wherein the editing information includes at least one of the following: text, picture, video, and audio.

在该实施例中,在完成对第一评论信息的获取后,第一应用将对第一评论信息的内容进行分析,获取第一评论信息中高频的编辑信息,该编辑信息包括文本、图片、视频或音频。进而根据编辑信息,对第一视频进行编辑,生成第二视频。示例性地,如图9所示,在第一群组中多个朋友给出了对第一视频的评论信息,获取到其中高频的编辑信息为“添加微笑的表情包”,则如图10所示,在第一视频中添加微笑的表情包。In this embodiment, after completing the acquisition of the first comment information, the first application will analyze the content of the first comment information and obtain high-frequency editing information in the first comment information. The editing information includes text, pictures, Video or audio. Then, the first video is edited according to the editing information to generate a second video. For example, as shown in Figure 9, multiple friends in the first group have provided comment information on the first video, and the high-frequency editing information obtained is "add a smiling emoticon package", as shown in Figure As shown in 10, add a smiling emoticon to the first video.

需要说明的是,如果编辑信息为图片、视频或音频,则可直接利用该图片、视频或音频编辑第一视频。如果编辑信息为文本信息,则分析文本信息,如果该文本信息为指示将某个词或某段话插入视频,则将其添加至第一视频中,例如该文本为“在视频中插入加油”,则将“加油”添加至第一视频。如果该文本信息为指示向视频中添加图片、视频或音频,则会自动搜索相关的图片、视频或音频并插入到第一视频中,例如,该文本为“在视频中插入一个生气的表情包”,则寻找生气的表情包,并添加至第一视频。其中,搜索到的图片可以是较为流行的表情包,也可以是用户所保存的照片,或是聊天记录中高频出现的图片及其对应的类似图片等。如果该文本信息为基于时间的文本信息,例如“视频太长了,可以将第5分钟之后的视频删除”,则会进行视频的剪辑操作。此时,第一应用确定需要编辑的时间点为第5分钟,并进行剪辑操作。It should be noted that if the editing information is a picture, video or audio, the first video can be edited directly using the picture, video or audio. If the editing information is text information, the text information is analyzed, and if the text information is an instruction to insert a certain word or a certain paragraph into the video, then it is added to the first video, for example, the text is "Insert cheers in the video" , then add "Come on" to the first video. If the text information is an instruction to add a picture, video or audio to the video, the relevant picture, video or audio will be automatically searched and inserted into the first video. For example, the text is "Insert an angry emoticon into the video." ”, then look for angry emoticons and add them to the first video. Among them, the searched pictures can be more popular emoticons, photos saved by users, or pictures that appear frequently in chat records and their corresponding similar pictures, etc. If the text information is time-based text information, such as "The video is too long, the video after the 5th minute can be deleted", the video will be edited. At this time, the first application determines that the time point that needs to be edited is the fifth minute, and performs the editing operation.

在获取到多张相关的图片、视频或音频后,第一应用将根据第一视频整体色调和风格、图片或视频或音频的大小、关联程度等方面,自动选择出一个或多个待添加的图片、视频或音频,并将其添加在第一视频中。After obtaining multiple related pictures, videos or audios, the first application will automatically select one or more to be added based on the overall tone and style of the first video, the size of the pictures, videos or audios, and the degree of correlation. Picture, video or audio and add it to the first video.

在选择待添加的内容时,第一应用还会参考用户之前的编辑记录,选取接近用户往期编辑风格的图片、视频或音频等内容。When selecting content to be added, the first application will also refer to the user's previous editing records and select images, videos, audio, etc. that are close to the user's previous editing style.

另外,当第一应用识别到多条类似的语音,或多条包含歌曲名、音效名的文本信息,则会对第一视频进行音频更改及音效合成等操作。In addition, when the first application recognizes multiple similar voices, or multiple pieces of text information including song names and sound effect names, it will perform operations such as audio modification and sound effect synthesis on the first video.

通过上述方式,实现根据第二应用中的评论信息进行第一视频编辑的目的,减少用户的操作步骤,以便用户能通过更简单、更便捷的操作对视频进行后期编辑。Through the above method, the purpose of editing the first video based on the comment information in the second application is achieved, and the user's operation steps are reduced, so that the user can post-edit the video through simpler and more convenient operations.

进一步地,在本申请的一个实施例中,第一评论信息还包括指引信息;根据编辑信息,对第一视频进行编辑,生成第二视频,包括:按照指引信息,根据编辑信息,对第一视频进行编辑,生成第二视频;其中,指引信息包括以下至少一种:视频时间段或时间点、显示区域。Further, in one embodiment of the present application, the first comment information also includes guidance information; editing the first video according to the editing information to generate the second video includes: according to the guidance information, according to the editing information, editing the first video The video is edited to generate a second video; wherein the guidance information includes at least one of the following: video time period or time point, and display area.

在该实施例中,在完成对第一评论信息的获取后,第一应用将对第一评论信息的内容进行分析,获取第一评论信息中高频的编辑信息的同时,还获取第一评论信息中的指引信息,指引信息是指将编辑信息添加至第一视频的时间点或显示区域,也即,对编辑信息的视频时间段或视频区域进行微调。从而根据指引信息,对第一视频进行文本或图片或视频或音频插入、视频剪辑或音频更改等编辑操作。In this embodiment, after completing the acquisition of the first comment information, the first application will analyze the content of the first comment information, obtain the high-frequency editing information in the first comment information, and also obtain the first comment information. The guidance information refers to adding editing information to the time point or display area of the first video, that is, fine-tuning the video time period or video area of the editing information. Thereby, according to the guidance information, editing operations such as text or picture or video or audio insertion, video clipping or audio modification are performed on the first video.

若评论信息中高频出现“在视频开头”等指代视频时间段的语句时,第一应用则会将添加内容的时机向前微调,若评论信息中高频出现“视频底部”等指代视频显示区域的语句时,第一应用则会将添加内容的区域向下微调。例如,当第一应用识别到评论信息为“在视频开头且视频左下角位置,加个表情包”时,即会进行表情包插入操作。此时,第一应用会自动查询相关的表情包并插入到第一视频对应的时间段与对应显示区域中。If statements such as "at the beginning of the video" that refer to the video time period appear frequently in the comment information, the first application will fine-tune the timing of adding content forward. If "at the bottom of the video" or other statements that refer to the video display appear frequently in the comment information When adding a statement to a region, the first application will fine-tune the region where the content is added downwards. For example, when the first application recognizes that the comment information is "Add an emoticon at the beginning of the video and in the lower left corner of the video", it will perform the emoticon insertion operation. At this time, the first application will automatically query the relevant emoticon package and insert it into the corresponding time period and corresponding display area of the first video.

当第一应用识别到评论信息包括指引信息,以及多条类似的音频,或多条包含歌曲名、音效名的文本信息时,会根据音频的长度,指引信息的描述以及与视频内容的契合程度,在对应的视频时间段内进行音频添加。When the first application recognizes that the comment information includes guidance information, as well as multiple pieces of similar audio, or multiple pieces of text information including song names and sound effect names, the first application will use the length of the audio, the description of the guidance information, and the degree of fit with the video content. , add audio within the corresponding video time period.

需要说明的是,若第一评论信息中无对应的指引文信息,则会根据视频内容,自动确定编辑信息的添加时间及添加区域。It should be noted that if there is no corresponding guideline information in the first comment information, the adding time and adding area of the editing information will be automatically determined based on the video content.

通过上述方式,实现对编辑信息的显示区域或添加时间作出指引,以满足用户的编辑需求。Through the above method, the display area or adding time of editing information is guided to meet the user's editing needs.

在本申请的一个实施例中,第一应用为视频编辑应用,第二应用为聊天应用。如图11所示,该方法包括:In one embodiment of the present application, the first application is a video editing application, and the second application is a chat application. As shown in Figure 11, the method includes:

步骤1102,在视频编辑应用中确定需要编辑的视频及编辑范围信息;Step 1102: Determine the video to be edited and the editing range information in the video editing application;

步骤1104,视频编辑应用发送视频至指定的聊天应用中;Step 1104: The video editing application sends the video to the designated chat application;

步骤1106,视频编辑应用根据聊天记录收集高频评论语句;Step 1106: The video editing application collects high-frequency comment sentences based on chat records;

步骤1108,用户通过拖动聊天通知进行评论语句的快速添加;Step 1108: The user quickly adds comment sentences by dragging the chat notification;

步骤1110,分析评论语句,利用评论语句中的编辑信息和指引信息进行视频编辑;Step 1110: Analyze the comment sentence and use the editing information and guidance information in the comment sentence to edit the video;

步骤1112,发送视频至指定的聊天应用并显示初步编辑结果,收集反馈信息;Step 1112: Send the video to the designated chat application and display the preliminary editing results and collect feedback information;

步骤1114,根据反馈信息对视频中的已编辑内容进行调整。Step 1114: Adjust the edited content in the video based on the feedback information.

本申请实例,用户在需要编辑视频时,先确定需要编辑的视频以及视频中允许编辑的范围,然后将视频发送给聊天应用中特定的联系人或者群组,待联系人或群组成员回复后,可通过直接拖动推送通知的方式指定评论语句,或通过由视频编辑应用将各成员所回复的评论语句汇总筛选出关键评论语句,并根据关键评论语句进行图片索引及加入、视频剪辑及风格处理、视频音频修改等操作,以实现对视频的编辑。In this application example, when the user needs to edit a video, he first determines the video that needs to be edited and the scope of editing allowed in the video, and then sends the video to a specific contact or group in the chat application, and waits for the contact or group member to reply. , you can specify comment sentences by directly dragging the push notification, or use the video editing application to summarize the comment sentences replied by each member and filter out the key comment sentences, and perform image indexing and adding, video editing and style based on the key comment sentences Processing, video and audio modification and other operations to achieve video editing.

另外,再发送编辑好的视频至聊天应用并在聊天应用上显示初步编辑结果,联系人或群组成员可以对该初步编辑结果进行反馈。用户在收到反馈信息后,可根据反馈信息对视频中的已编辑内容进行调整。当然,用户也可以不基于反馈信息,而是根据自己的需要对视频中的已编辑内容进行调整。In addition, the edited video is sent to the chat application and the preliminary editing result is displayed on the chat application. Contacts or group members can provide feedback on the preliminary editing result. After receiving the feedback information, the user can adjust the edited content in the video based on the feedback information. Of course, users can also adjust the edited content in the video according to their own needs, not based on feedback information.

本申请实例,能够通过充分利用现有聊天工具的功能特性,实现基于聊天工具的视频编辑方法。通过本申请实例所提供的方法,用户可以快速实现对视频的后期编辑操作,并可在编辑过程中迅速采纳其他用户的建议及看法,可极大简化用户编辑视频的过程,降低视频编辑的操作门槛,减少操作步骤,提升用户体验,具有时间成本低、效果与体验好、易使用操作简便等特点。This application example can implement a video editing method based on chat tools by fully utilizing the functional characteristics of existing chat tools. Through the method provided by the example of this application, users can quickly implement post-editing operations on videos, and can quickly adopt other users' suggestions and opinions during the editing process, which can greatly simplify the user's video editing process and reduce the operation of video editing. The threshold is reduced, the operation steps are reduced, and the user experience is improved. It has the characteristics of low time cost, good effect and experience, easy to use and simple operation.

本申请实施例提供的视频编辑方法,执行主体可以为视频编辑装置。本申请实施例中以视频编辑装置执行视频编辑方法为例,说明本申请实施例提供的视频编辑装置。For the video editing method provided by the embodiments of the present application, the execution subject may be a video editing device. In the embodiment of the present application, a video editing device performing a video editing method is used as an example to illustrate the video editing device provided by the embodiment of the present application.

本申请实施例提供了一种视频编辑装置,如图12所示,该视频编辑装置1200包括:An embodiment of the present application provides a video editing device. As shown in Figure 12, the video editing device 1200 includes:

接收模块1202,用于接收用户对第一应用中的第一视频的第一输入;The receiving module 1202 is configured to receive the user's first input to the first video in the first application;

发送模块1204,用于响应于第一输入,将第一视频发送至第二应用;A sending module 1204, configured to send the first video to the second application in response to the first input;

获取模块1206,用于获取第二应用中对第一视频的第一评论信息;The acquisition module 1206 is used to acquire the first comment information on the first video in the second application;

编辑模块1208,用于根据第一评论信息,对第一视频进行编辑,生成第二视频。The editing module 1208 is used to edit the first video according to the first comment information and generate a second video.

在该实施例中,电子设备安装有第一应用和第二应用,第一应用可以为具有视频编辑功能的应用,第二应用可以为具有聊天功能的应用。在第一应用中显示有第一视频,此时第一视频可以为播放或为进行播放的视频,接收用户对第一视频的第一输入,从而将第一视频发送至第二应用中特定的联系人或者群组。在第二应用中接收到其他用户对该第一视频的评论信息后,第一应用自动按照评论信息的具体内容对第一视频进行编辑,生成第二视频。本申请实施例,对视频编辑的方式进行改进,无需反复切换第一应用界面及第二应用界面,减少用户的操作步骤,以便用户能通过更简单、更便捷的操作对视频进行后期编辑。In this embodiment, the electronic device is installed with a first application and a second application. The first application may be an application with a video editing function, and the second application may be an application with a chat function. The first video is displayed in the first application. At this time, the first video may be played or a video to be played. The user's first input to the first video is received, thereby sending the first video to a specific user in the second application. Contact or group. After receiving other users' comment information on the first video in the second application, the first application automatically edits the first video according to the specific content of the comment information to generate a second video. The embodiment of the present application improves the video editing method, eliminating the need to repeatedly switch the first application interface and the second application interface, reducing the user's operation steps, so that the user can post-edit the video through simpler and more convenient operations.

进一步地,在本申请的一个实施例中,接收模块1202,还用于接收用户对第一视频的第二输入;该视频编辑装置1200还包括:确定模块,用于响应于第二输入,确定第一视频的编辑范围信息;其中,编辑范围信息用于指示第一视频的可编辑的视频参数,视频参数包括以下至少一种:视频时间段或时间点、显示区域、显示风格以及显示色调;获取模块1206,具体用于获取第二应用中与编辑范围信息关联的第一评论信息。Further, in one embodiment of the present application, the receiving module 1202 is also configured to receive the user's second input on the first video; the video editing device 1200 further includes: a determining module, configured to determine in response to the second input Editing range information of the first video; wherein the editing range information is used to indicate editable video parameters of the first video, and the video parameters include at least one of the following: video time period or time point, display area, display style, and display tone; The acquisition module 1206 is specifically used to acquire the first comment information associated with the editing range information in the second application.

进一步地,在本申请的一个实施例中,接收模块1202,还用于接收用户将第二应用的第一目标聊天对象的标识移动至第一视频的第一显示区域的第三输入;获取模块1206,具体用于响应于第三输入,接收第一目标聊天对象发送的第一评论信息;编辑模块1208,具体用于根据第一目标聊天对象发送的第一评论信息,对第一视频的第一显示区域进行编辑,生成第二视频。Further, in one embodiment of the present application, the receiving module 1202 is also configured to receive a third input that the user moves the identification of the first target chat object of the second application to the first display area of the first video; the obtaining module 1206, specifically configured to receive the first comment information sent by the first target chat object in response to the third input; the editing module 1208, specifically configured to edit the first comment information of the first video according to the first comment information sent by the first target chat object. Edit the first display area to generate a second video.

进一步地,在本申请的一个实施例中,编辑模块1208,具体用于在第一评论信息包括多个的情况下,将满足预设条件的第一评论信息作为目标评论信息,以及根据目标评论信息对第一视频进行编辑,生成第二视频;其中,预设条件包括出现频率大于或等于第一预设阈值、与第一视频的视频内容的关联程度大于或等于第二预设阈值、用户的查看次数大于或等于第三预设阈值。Further, in one embodiment of the present application, the editing module 1208 is specifically configured to use the first comment information that satisfies the preset conditions as the target comment information when the first comment information includes multiple items, and select the target comment information according to the target comment. The information edits the first video and generates a second video; wherein the preset conditions include that the frequency of occurrence is greater than or equal to the first preset threshold, the degree of association with the video content of the first video is greater than or equal to the second preset threshold, the user The number of views is greater than or equal to the third preset threshold.

进一步地,在本申请的一个实施例中,显示模块,还用于显示第一评论信息;接收模块1202,还用于接收用户将第一评论信息移动至第一视频的第四输入,第四输入作用于第一视频的第二显示区域或第一视频的时间进度条的目标时间点;编辑模块1208,具体用于响应于第四输入,根据第一评论信息,对第一视频的第二显示区域或在目标时间点对第一视频进行编辑,生成第二视频。Further, in one embodiment of the present application, the display module is also used to display the first comment information; the receiving module 1202 is also used to receive the fourth input of the user moving the first comment information to the first video. Input the target time point that acts on the second display area of the first video or the time progress bar of the first video; the editing module 1208 is specifically configured to respond to the fourth input, according to the first comment information, edit the second time point of the first video. Display the area or edit the first video at the target time point to generate the second video.

进一步地,在本申请的一个实施例中,接收模块1202,还用于接收用户对第二视频的第五输入;发送模块1204,还用于响应于第五输入,将第二视频发送至第二应用;获取模块1206,还用于获取第二应用中对第二视频的第二评论信息;编辑模块1208,还用于根据第二评论信息,对第二视频进行编辑。Further, in one embodiment of the present application, the receiving module 1202 is also configured to receive the user's fifth input on the second video; the sending module 1204 is also configured to respond to the fifth input and send the second video to the third video. Second application; the acquisition module 1206 is also used to obtain the second comment information on the second video in the second application; the editing module 1208 is also used to edit the second video based on the second comment information.

进一步地,在本申请的一个实施例中,接收模块1202,还用于接收用户对第二视频的第六输入;显示模块,还用于响应于第六输入,显示编辑记录信息;接收模块1202,还用于接收用户对编辑记录信息的第七输入;编辑模块1208,还用于响应于第七输入,根据编辑记录信息,调整第二视频中的已编辑内容。Further, in one embodiment of the present application, the receiving module 1202 is also configured to receive the user's sixth input on the second video; the display module is also configured to display the editing record information in response to the sixth input; the receiving module 1202 , and is also configured to receive the seventh input of the editing record information from the user; the editing module 1208 is also configured to adjust the edited content in the second video according to the editing record information in response to the seventh input.

本申请实施例中的视频编辑装置1200可以是装置,也可以是终端中的部件、集成电路或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video editing device 1200 in the embodiment of the present application may be a device, or a component, integrated circuit or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a personal digital assistant (Personal Digital Assistant). Assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., this application The examples are not specifically limited.

本申请实施例中的视频编辑装置1200可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video editing device 1200 in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.

本申请实施例提供的视频编辑装置1200能够实现图1和图11的视频编辑方法实施例中实现的各个过程,为避免重复,这里不再赘述。The video editing device 1200 provided by the embodiment of the present application can implement various processes implemented in the video editing method embodiments of Figures 1 and 11. To avoid duplication, they will not be described again here.

可选的,如图13所示,本申请实施例还提供一种电子设备1300,包括处理器1302,存储器1304,存储在存储器1304上并可在处理器1302上运行的程序或指令,该程序或指令被处理器1302执行时实现上述视频编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 13, this embodiment of the present application also provides an electronic device 1300, including a processor 1302, a memory 1304, and a program or instructions stored on the memory 1304 and executable on the processor 1302. The program Or when the instruction is executed by the processor 1302, each process of the above video editing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.

需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图14为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 14 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.

该电子设备1400包括但不限于:射频单元1402、网络模块1404、音频输出单元1406、输入单元1408、传感器1410、显示单元1412、用户输入单元1414、接口单元1416、存储器1418、以及处理器1420等部件。The electronic device 1400 includes but is not limited to: radio frequency unit 1402, network module 1404, audio output unit 1406, input unit 1408, sensor 1410, display unit 1412, user input unit 1414, interface unit 1416, memory 1418, processor 1420, etc. part.

本领域技术人员可以理解,电子设备1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1420逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1400 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1420 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 14 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .

其中,用户输入单元1414,用于接收用户对第一应用中的第一视频的第一输入;Wherein, the user input unit 1414 is used to receive the user's first input to the first video in the first application;

射频单元1402,用于响应于第一输入,将第一视频发送至第二应用;The radio frequency unit 1402 is configured to send the first video to the second application in response to the first input;

射频单元1402,用于获取第二应用中对第一视频的第一评论信息;Radio frequency unit 1402, used to obtain the first comment information on the first video in the second application;

处理器1420,用于根据第一评论信息,对第一视频进行编辑,生成第二视频。The processor 1420 is configured to edit the first video according to the first comment information and generate a second video.

在该实施例中,电子设备安装有第一应用和第二应用,第一应用可以为具有视频编辑功能的应用,第二应用可以为具有聊天功能的应用。在第一应用中显示有第一视频,此时第一视频可以为播放或为进行播放的视频,接收用户对第一视频的第一输入,从而将第一视频发送至第二应用中特定的联系人或者群组。在第二应用中接收到其他用户对该第一视频的评论信息后,第一应用自动按照评论信息的具体内容对第一视频进行编辑,生成第二视频。本申请实施例,对视频编辑的方式进行改进,无需反复切换第一应用界面及第二应用界面,减少用户的操作步骤,以便用户能通过更简单、更便捷的操作对视频进行后期编辑。In this embodiment, the electronic device is installed with a first application and a second application. The first application may be an application with a video editing function, and the second application may be an application with a chat function. The first video is displayed in the first application. At this time, the first video may be played or a video to be played. The user's first input to the first video is received, thereby sending the first video to a specific user in the second application. Contact or group. After receiving other users' comment information on the first video in the second application, the first application automatically edits the first video according to the specific content of the comment information to generate a second video. The embodiment of the present application improves the video editing method, eliminating the need to repeatedly switch the first application interface and the second application interface, reducing the user's operation steps, so that the user can post-edit the video through simpler and more convenient operations.

进一步地,在本申请的一个实施例中,用户输入单元1414,还用于接收用户对第一视频的第二输入;处理器1420,还用于响应于第二输入,确定第一视频的编辑范围信息;其中,编辑范围信息用于指示第一视频的可编辑的视频参数,视频参数包括以下至少一种:视频时间段或时间点、显示区域、显示风格以及显示色调;射频单元1402,具体用于获取第二应用中与编辑范围信息关联的第一评论信息。Further, in one embodiment of the present application, the user input unit 1414 is also configured to receive a second input from the user on the first video; the processor 1420 is also configured to respond to the second input and determine the editing of the first video. Range information; wherein the editing range information is used to indicate editable video parameters of the first video, and the video parameters include at least one of the following: video time period or time point, display area, display style, and display tone; radio frequency unit 1402, specifically Used to obtain the first comment information associated with the editing scope information in the second application.

进一步地,在本申请的一个实施例中,用户输入单元1414,还用于接收用户将第二应用的第一目标聊天对象的标识移动至第一视频的第一显示区域的第三输入;射频单元1402,具体用于响应于第三输入,接收第一目标聊天对象发送的第一评论信息;处理器1420,具体用于根据第一目标聊天对象发送的第一评论信息,对第一视频的第一显示区域进行编辑,生成第二视频。Further, in one embodiment of the present application, the user input unit 1414 is also configured to receive a third input in which the user moves the identification of the first target chat object of the second application to the first display area of the first video; radio frequency Unit 1402 is specifically configured to receive the first comment information sent by the first target chat object in response to the third input; the processor 1420 is specifically configured to comment on the first video according to the first comment information sent by the first target chat object. The first display area is edited to generate a second video.

进一步地,在本申请的一个实施例中,处理器1420,具体用于在第一评论信息包括多个的情况下,将满足预设条件的第一评论信息作为目标评论信息,以及根据目标评论信息对第一视频进行编辑,生成第二视频;其中,预设条件包括出现频率大于或等于第一预设阈值、与第一视频的视频内容的关联程度大于或等于第二预设阈值、用户的查看次数大于或等于第三预设阈值。Further, in one embodiment of the present application, the processor 1420 is specifically configured to use the first comment information that satisfies the preset condition as the target comment information when the first comment information includes multiple items, and select the target comment information according to the target comment. The information edits the first video and generates a second video; wherein the preset conditions include that the frequency of occurrence is greater than or equal to the first preset threshold, the degree of association with the video content of the first video is greater than or equal to the second preset threshold, the user The number of views is greater than or equal to the third preset threshold.

进一步地,在本申请的一个实施例中,显示单元1412,还用于显示第一评论信息;用户输入单元1414,还用于接收用户将第一评论信息移动至第一视频的第四输入,第四输入作用于第一视频的第二显示区域或第一视频的时间进度条的目标时间点;处理器1420,具体用于响应于第四输入,根据第一评论信息,对第一视频的第二显示区域或在目标时间点对第一视频进行编辑,生成第二视频。Further, in one embodiment of the present application, the display unit 1412 is also used to display the first comment information; the user input unit 1414 is also used to receive the fourth input from the user to move the first comment information to the first video, The fourth input acts on the second display area of the first video or the target time point of the time progress bar of the first video; the processor 1420 is specifically configured to respond to the fourth input, according to the first comment information, to the first video. The second display area or the first video is edited at the target time point to generate a second video.

进一步地,在本申请的一个实施例中,用户输入单元1414,还用于接收用户对第二视频的第五输入;射频单元1402,还用于响应于第五输入,将第二视频发送至第二应用;处理器1420,还用于获取第二应用中对第二视频的第二评论信息,以及根据第二评论信息,对第二视频进行编辑。Further, in one embodiment of the present application, the user input unit 1414 is also used to receive the user's fifth input to the second video; the radio frequency unit 1402 is also used to respond to the fifth input and send the second video to The second application; the processor 1420 is also configured to obtain the second comment information on the second video in the second application, and edit the second video according to the second comment information.

进一步地,在本申请的一个实施例中,用户输入单元1414,还用于接收用户对第二视频的第六输入;显示单元1412,还用于响应于第六输入,显示编辑记录信息;用户输入单元1414,还用于接收用户对编辑记录信息的第七输入;处理器1420,还用于响应于第七输入,根据编辑记录信息,调整第二视频中的已编辑内容。Further, in one embodiment of the present application, the user input unit 1414 is also configured to receive the user's sixth input for the second video; the display unit 1412 is also configured to display the editing record information in response to the sixth input; the user The input unit 1414 is further configured to receive a seventh input of the editing record information from the user; the processor 1420 is further configured to respond to the seventh input and adjust the edited content in the second video according to the editing record information.

应理解的是,本申请实施例中,输入单元1408可以包括图形处理器(GraphicsProcessing Unit,GPU)14082和麦克风14084,图形处理器14082对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1412可包括显示面板14122,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14122。用户输入单元1414包括触控面板14142以及其他输入设备14144中的至少一种。触控面板14142,也称为触摸屏。触控面板14142可包括触摸检测装置和触摸控制器两个部分。其他输入设备14144可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1408 may include a graphics processor (Graphics Processing Unit, GPU) 14082 and a microphone 14084. The graphics processor 14082 is responsible for the image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 1412 may include a display panel 14122, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1414 includes a touch panel 14142 and at least one of other input devices 14144. Touch panel 14142, also called touch screen. The touch panel 14142 may include two parts: a touch detection device and a touch controller. Other input devices 14144 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.

存储器1418可用于存储软件程序以及各种数据。存储器1418可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1418可以包括易失性存储器或非易失性存储器,或者,存储器1418可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1418包括但不限于这些和任意其它适合类型的存储器。Memory 1418 may be used to store software programs as well as various data. The memory 1418 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 1418 may include volatile memory or nonvolatile memory, or memory 1418 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 1418 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

处理器1420可包括一个或多个处理单元;可选的,处理器1420集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1420中。The processor 1420 may include one or more processing units; optionally, the processor 1420 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1420.

本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above video editing method embodiment is implemented, and the same technology can be achieved. The effect will not be described here in order to avoid repetition.

其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the above embodiment. Readable storage media include computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.

本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述视频编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above video editing method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.

本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述视频编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above video editing method embodiment, and can achieve the same technical effect. , to avoid repetition, we will not go into details here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (9)

1. A video editing method, comprising:
receiving a first input of a user to a first video in a first application;
transmitting the first video to a second application in response to the first input;
acquiring first comment information of the first video in the second application;
editing the first video according to the first comment information to generate a second video;
the obtaining the first comment information of the first video in the second application includes:
receiving a third input that a user moves an identification of a first target chat object of the second application to a first display area of a first video in the first application;
receiving first comment information sent by the first target chat object in response to the third input;
editing the first video according to the first comment information to generate a second video, including:
editing the first display area of the first video according to the first comment information sent by the first target chat object, and generating a second video.
2. The video editing method according to claim 1, further comprising, before said editing said first video based on said first comment information, generating a second video:
Receiving a second input of a user to the first video;
determining edit scope information of the first video in response to the second input;
wherein the edit scope information is used to indicate editable video parameters of the first video, the video parameters including at least one of: video time period or point, display area, display style, and display tone;
the obtaining the first comment information of the first video in the second application includes:
and acquiring first comment information associated with the editing range information in the second application.
3. The video editing method according to claim 1, wherein editing the first video according to the first comment information to generate a second video includes:
taking the first comment information meeting the preset condition as target comment information when the first comment information comprises a plurality of pieces;
editing the first video according to the target comment information to generate a second video;
the preset conditions comprise the occurrence frequency being greater than or equal to a first preset threshold value, the association degree of the video content of the first video being greater than or equal to a second preset threshold value, and the number of times of viewing of a user being greater than or equal to a third preset threshold value.
4. The video editing method according to claim 1, further comprising, after the acquiring the first comment information on the first video in the second application:
displaying the first comment information;
editing the first video according to the first comment information to generate a second video, including:
receiving a fourth input of a user to move the first comment information to the first video, wherein the fourth input acts on a second display area of the first video or a target time point of a time progress bar of the first video;
and responding to the fourth input, editing the second display area of the first video or the first video at the target time point according to the first comment information, and generating a second video.
5. The video editing method according to any one of claims 1 to 4, characterized by further comprising, after said editing of said first video according to said first comment information, generating a second video:
receiving a fifth input of a user to the second video;
transmitting the second video to the second application in response to the fifth input;
Acquiring second comment information of the second video in the second application;
and editing the second video according to the second comment information.
6. The video editing method according to any one of claims 1 to 4, characterized by further comprising, after said editing of said first video according to said first comment information, generating a second video:
receiving a sixth input of a user to the second video;
displaying edit record information in response to the sixth input;
receiving a seventh input of the editing record information by a user;
and adjusting edited content in the second video according to the editing record information in response to the seventh input.
7. A video editing apparatus, comprising:
the receiving module is used for receiving a first input of a first video in a first application by a user;
a sending module for sending the first video to a second application in response to the first input;
the acquisition module is used for acquiring first comment information of the first video in the second application;
the editing module is used for editing the first video according to the first comment information to generate a second video;
The receiving module is further configured to receive a third input from a user to move an identification of a first target chat object of the second application to a first display area of a first video in the first application;
the obtaining module is specifically configured to receive, in response to the third input, first comment information sent by the first target chat object;
the editing module is specifically configured to edit the first display area of the first video according to the first comment information sent by the first target chat object, so as to generate a second video.
8. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the video editing method of any of claims 1 to 6.
9. A readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the video editing method of any of claims 1 to 6.
CN202210103282.2A 2022-01-27 2022-01-27 Video editing method, video editing device, electronic device and readable storage medium Active CN114430499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103282.2A CN114430499B (en) 2022-01-27 2022-01-27 Video editing method, video editing device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103282.2A CN114430499B (en) 2022-01-27 2022-01-27 Video editing method, video editing device, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114430499A CN114430499A (en) 2022-05-03
CN114430499B true CN114430499B (en) 2024-02-06

Family

ID=81313899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103282.2A Active CN114430499B (en) 2022-01-27 2022-01-27 Video editing method, video editing device, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114430499B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20250014606A1 (en) * 2023-07-03 2025-01-09 Lemon Inc. Chat application for video content creation
CN117714784A (en) * 2023-12-12 2024-03-15 脸萌有限公司 Video editing method and device based on dialogue, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307232A (en) * 2018-02-24 2018-07-20 北京奇艺世纪科技有限公司 A kind of video comments online editing and synchronous broadcast method and device
CN112040330A (en) * 2020-09-09 2020-12-04 北京字跳网络技术有限公司 Video file processing method, device, electronic device and computer storage medium
WO2021147414A1 (en) * 2020-01-22 2021-07-29 腾讯科技(深圳)有限公司 Video message generation method and apparatus, electronic device, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307232A (en) * 2018-02-24 2018-07-20 北京奇艺世纪科技有限公司 A kind of video comments online editing and synchronous broadcast method and device
WO2021147414A1 (en) * 2020-01-22 2021-07-29 腾讯科技(深圳)有限公司 Video message generation method and apparatus, electronic device, and storage medium
CN112040330A (en) * 2020-09-09 2020-12-04 北京字跳网络技术有限公司 Video file processing method, device, electronic device and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
视频编辑领域中计算机技术的应用分析;郭文经;;中小企业管理与科技(下旬刊)(06);全文 *

Also Published As

Publication number Publication date
CN114430499A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN114003326B (en) Message processing methods, devices, equipment and storage media
CN110069758B (en) Method, device and storage medium for publishing multimedia information
CN115176456B (en) Content operation method, device, terminal and storage medium
CN114430499B (en) Video editing method, video editing device, electronic device and readable storage medium
CN116017043B (en) Video generation method, device, electronic equipment and storage medium
CN113986083B (en) File processing method and electronic device
WO2023061414A1 (en) File generation method and apparatus, and electronic device
CN112887480A (en) Audio signal processing method and device, electronic equipment and readable storage medium
WO2024230507A1 (en) Expression image generation method and apparatus, and electronic device and readable storage medium
CN112866092B (en) Group chat creation method and group chat creation device
CN111757177B (en) Video clipping method and device
CN112672088A (en) Video call method and device
CN116437163A (en) Video generation method and device
CN105095170A (en) Text deleting method and device
CN108108143B (en) Recording playback method, mobile terminal and device with storage function
CN112307252B (en) File processing method and device and electronic equipment
CN111813236B (en) Input method, device, electronic device and readable storage medium
WO2025077527A1 (en) Media content generation method and apparatus, and electronic device and readable storage medium
CN117472195A (en) Expression processing method, device, electronic device and readable storage medium
WO2024230571A1 (en) Screenshot file control method and apparatus, and electronic device and storage medium
CN117675997A (en) Information entry method and device
CN116033094B (en) Video editing method and device
CN113905125B (en) Video display method and device, electronic equipment and storage medium
CN114221923B (en) Message processing method and device and electronic equipment
CN113179207B (en) Message processing method and electronic device

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
GR01 Patent grant
GR01 Patent grant