


技术领域technical field
本发明实施例涉及通信技术领域,特别涉及一种剪辑方法、电子设备和计算机可读存储介质。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a clipping method, an electronic device, and a computer-readable storage medium.
背景技术Background technique
目前,如果需要对视频进行剪辑以得到符合需求的视频片段,通常是基于人工和剪辑软件来实现。其中,人工确定剪辑开始和结束的时间点,剪辑软件基于人工确定的时间点对视频进行剪辑。At present, if a video needs to be edited to obtain a video clip that meets the requirements, it is usually realized based on manual labor and editing software. Among them, the time points at which the editing starts and ends are manually determined, and the editing software edits the video based on the manually determined time points.
然而,发明人发现相关技术中至少存在如下问题:目前人工确定剪辑时间点的方式是:通过人工来回拖拽播放视频时的进度条,反复确认剪辑开始和结束的时间,较耗时,操作比较麻烦,用户体验较差。However, the inventor found that there are at least the following problems in the related art: the current way of manually determining the editing time point is: by manually dragging and dropping the progress bar when playing the video back and forth, and repeatedly confirming the start and end times of the editing, it is time-consuming and the operation is relatively time-consuming. Trouble, poor user experience.
发明内容SUMMARY OF THE INVENTION
本发明实施方式的目的在于提供一种剪辑方法、电子设备和计算机可读存储介质,使得可以提高剪辑的便捷性、加快剪辑的速度。The purpose of the embodiments of the present invention is to provide a editing method, an electronic device and a computer-readable storage medium, so that the convenience of editing can be improved and the speed of editing can be accelerated.
为解决上述技术问题,本发明的实施方式提供了一种剪辑方法,包括以下步骤:获取终端被持续触发的时间段;其中,所述终端播放有待剪辑视频;确定在所述时间段内播放的所述待剪辑视频的视频片段;对确定的所述视频片段进行剪辑,得到剪辑后的视频。In order to solve the above technical problem, an embodiment of the present invention provides a method for editing, including the following steps: acquiring a time period in which a terminal is continuously triggered; wherein, the terminal plays a video to be edited; The video segment of the video to be edited; and the determined video segment is edited to obtain the edited video.
本发明的实施方式还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的剪辑方法。Embodiments of the present invention also provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data executable by the at least one processor The instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned clipping method.
本发明的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述的剪辑方法。Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned editing method is implemented.
本发明实施方式相对于现有技术而言,获取终端被持续触发的时间段;其中,终端播放有待剪辑视频;确定在所述时间段内播放的待剪辑视频的视频片段;对确定的视频片段进行剪辑,得到剪辑后的视频。也就是说,当需要剪辑时,可以持续触发终端,终端持续被触发的时间段内播放的视频片段可以视为确定的需要剪辑的片段,从而对确定的需要剪辑的片段进行剪辑,方便了用户在观看视频的过程中随时对想要剪辑的片段进行剪辑,提高了剪辑的便捷性。而且,通过对终端持续触发的时间段确定要剪辑的片段,无需人工关注并来回拖拽视频播放的进度条,更容易快速的确定剪辑的开始时间点和结束时间点,从而有利于加快剪辑的速度。Compared with the prior art, the embodiment of the present invention acquires the time period in which the terminal is continuously triggered; wherein, the terminal plays the video to be edited; determines the video segment of the video to be edited played within the time segment; Trim to get the trimmed video. That is to say, when editing is required, the terminal can be continuously triggered, and the video clips played in the time period when the terminal is continuously triggered can be regarded as the determined clips that need to be edited, so that the determined clips that need to be edited can be edited, which is convenient for users The clips you want to edit can be edited at any time in the process of watching the video, which improves the convenience of editing. Moreover, by determining the clip to be edited for the time period continuously triggered by the terminal, there is no need to manually pay attention and drag the progress bar of the video playback back and forth, which makes it easier to quickly determine the start time point and end time point of the clip, which is conducive to speeding up the editing process. speed.
另外,所述待剪辑视频为:在线视频。相关技术中,难以实现在线剪辑,通常需要将在线视频下载到本地,进行离线剪辑,不够方便。本发明实施方式中,用户可以在观看在线视频的过程中,直接通过持续触发终端,从而自动完成对持续触发终端的时间段内播放的视频片段的剪辑,无需对在线视频进行下载,进一步提高了剪辑的便捷性。In addition, the video to be edited is an online video. In the related art, it is difficult to realize online editing, and it is usually necessary to download the online video to the local for offline editing, which is not convenient enough. In the embodiment of the present invention, the user can directly trigger the terminal continuously in the process of watching the online video, so as to automatically complete the editing of the video clips played in the time period when the terminal is continuously triggered, without downloading the online video, which further improves the Ease of editing.
另外,所述获取终端被持续触发的时间段,具体为:获取终端的屏幕被持续按压的时间段;所述对确定的所述视频片段进行剪辑,包括:获取所述视频片段的起始视频帧;识别所述起始视频帧中位于所述屏幕被按压的区域内的对象;对所述视频片段中包含所述对象的各视频帧进行剪辑。也就是说,对终端的持续触发可以具体表现为对终端的屏幕的持续按压,在刚开始按压屏幕的时刻,将视频中的按压区域中的对象作为用户感兴趣的对象,即目标对象,剪辑的视频片段中的视频帧均为含有目标对象的视频帧,有利于方便、准确的剪辑得到包含用户感兴趣的对象的视频片段。In addition, the acquiring the time period in which the terminal is continuously triggered is specifically: acquiring the time period in which the screen of the terminal is continuously pressed; the clipping the determined video clip includes: acquiring the start video of the video clip frame; identifying an object located in the area where the screen is pressed in the starting video frame; and trimming each video frame containing the object in the video clip. That is to say, the continuous triggering of the terminal can be embodied as continuous pressing of the screen of the terminal. At the moment when the screen is just pressed, the object in the pressing area in the video is regarded as the object of interest to the user, that is, the target object, and the clipping The video frames in the video clips are all video frames containing target objects, which facilitates convenient and accurate editing to obtain video clips containing objects of interest to the user.
另外,所述对所述视频片段中包含所述对象的各视频帧进行剪辑之前,还包括:若识别到所述起始视频帧中位于所述屏幕被按压的区域内的对象的数量为多个,则分别获取各所述对象在所述起始视频帧中所占的区域面积;将所述区域面积最小的对象作为目标对象;所述对所述视频片段中包含所述对象的各视频帧进行剪辑,具体为:对所述视频片段中包含所述目标对象的各视频帧进行剪辑。考虑到对象重叠的可能性,即被按压区域中的对象有多个,而面积最小的对象最有可能是用户真正感兴趣的对象,因此将面积最小的对象作为目标对象,剪辑包含目标对象的各视频帧,更有利于剪辑得到用户真正感兴趣的视频。In addition, before the editing each video frame including the object in the video clip, the method further includes: if it is recognized that the number of objects located in the pressed area of the screen in the initial video frame is large the area occupied by each of the objects in the initial video frame; the object with the smallest area is taken as the target object; The frame clipping is specifically: clipping each video frame including the target object in the video clip. Considering the possibility of overlapping objects, that is, there are multiple objects in the pressed area, and the object with the smallest area is most likely the object that the user is really interested in, so the object with the smallest area is used as the target object, and the clip containing the target object is selected. Each video frame is more conducive to editing to obtain the video that the user is really interested in.
另外,若检测到所述终端的屏幕被按压,则获取所述屏幕被持续按压时的按压压力;根据所述按压压力,获取与所述按压压力对应的播放速度;以获取的所述播放速度播放所述待剪辑视频。也就是说,基于屏幕被按压的压力,控制剪辑视频过程中的视频播放速度,有利于根据实际需要控制剪辑的速度。In addition, if it is detected that the screen of the terminal is pressed, the pressing pressure when the screen is continuously pressed is obtained; according to the pressing pressure, the playback speed corresponding to the pressing pressure is obtained; the obtained playback speed is obtained Play the video to be edited. That is to say, controlling the video playback speed during the video editing process based on the pressure of the screen being pressed is beneficial to control the editing speed according to actual needs.
另外,所述根据所述按压压力、预设的播放倍速档位范围和所述终端的压力检测范围,计算与所述按压压力对应的播放速度,具体为:通过以下公式计算与所述按压压力对应的播放速度:In addition, the calculation of the playback speed corresponding to the pressing pressure according to the pressing pressure, the preset playing speed range and the pressure detection range of the terminal is specifically: calculating the playing speed corresponding to the pressing pressure by the following formula: Corresponding playback speed:
vt=((Nmax-Nmin)(pt-pmin)/(pmax-pmin)+Nmin)v0vt =((Nmax -Nmin )(pt -pmin )/(pmax -pmin )+Nmin )v0
其中,所述vt为计算的所述播放速度,所述pt为所述按压压力,所述Nmax和所述Nmin分别为所述播放倍速档位范围的上限值和下限值,所述pmax和所述pmin分别为所述压力检测范围的上限值和下限值,所述v0为播放倍速档位为1时对应的播放速度。提供了一种具体公式,方便了快速计算按压压力对应的播放速度。Wherein, the vt is the calculated playback speed, the pt is the pressing pressure, and the Nmax and the Nmin are the upper limit value and the lower limit value of the playback speed range, respectively , the pmax and the pmin are the upper limit value and the lower limit value of the pressure detection range, respectively, and the v0 is the corresponding playback speed when the playback speed is 1. A specific formula is provided to facilitate the quick calculation of the playback speed corresponding to the pressing pressure.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments.
图1是根据本发明第一实施方式中的剪辑方法的流程图;1 is a flowchart of a clipping method according to a first embodiment of the present invention;
图2是根据本发明第二实施方式中的剪辑方法的流程图;FIG. 2 is a flowchart of a clipping method according to a second embodiment of the present invention;
图3是根据本发明第二实施方式中的起始视频帧的示意图;3 is a schematic diagram of a start video frame according to a second embodiment of the present invention;
图4是根据本发明第三实施方式中的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本发明的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized. The following divisions of the various embodiments are for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention, and the various embodiments may be combined with each other and referred to each other on the premise of not contradicting each other.
本发明的第一实施方式涉及一种剪辑方法,应用于电子设备,其中,电子设备可以为手机、电脑等终端也可以为服务器等,本实施方式对此不做具体限定。下面对本实施方式的剪辑方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The first embodiment of the present invention relates to a editing method, which is applied to an electronic device, wherein the electronic device may be a terminal such as a mobile phone, a computer, or a server, which is not specifically limited in this embodiment. The implementation details of the editing method of the present embodiment will be specifically described below, and the following contents are only provided for the convenience of understanding, and are not necessary for implementing this solution.
本实施方式中的剪辑方法的流程图如图1所示,具体包括:The flowchart of the editing method in this embodiment is shown in FIG. 1 , and specifically includes:
步骤101:获取终端被持续触发的时间段。Step 101: Acquire the time period during which the terminal is continuously triggered.
其中,终端播放有待剪辑视频;待剪辑视频可以为终端中缓存的离线视频,也可以为在线视频,在线视频可以为在线点播视频,也可以为在线直播视频。值得一提的是,本实施方式中,可以直接对在线视频进行剪辑,而无需再将在线视频下载到本地后再进行剪辑,使得对于在线视频的剪辑更加方便简单方便。另外,终端可以为手机、笔记本电脑、平板电脑等。为方便说明,本实施方式以及以下各实施方式中终端均以手机为例,但在具体实现中并不以此为限。手机被持续触发可以为:手机的屏幕被持续按压、手机侧面的音量键被持续按压、手机屏幕上预设的虚拟按钮被持续按压、手机机身与水平面持续处于预设角度、手机持续接收到预设的语音指示等;其中,预设的虚拟按钮、预设角度和预设的语音指示均可以根据实际需要进行设置,对此本实施方式不做具体限定。The terminal plays the video to be edited; the video to be edited may be an offline video cached in the terminal or an online video, and the online video may be an online video on demand or an online live video. It is worth mentioning that, in this embodiment, the online video can be edited directly without downloading the online video to the local and then editing, which makes the online video editing more convenient, simple and convenient. In addition, the terminal may be a mobile phone, a notebook computer, a tablet computer, or the like. For the convenience of description, the terminal in this embodiment and the following embodiments takes a mobile phone as an example, but the specific implementation is not limited to this. The mobile phone is continuously triggered can be: the screen of the mobile phone is continuously pressed, the volume button on the side of the mobile phone is continuously pressed, the preset virtual button on the mobile phone screen is continuously pressed, the mobile phone body and the horizontal plane are continuously at a preset angle, and the mobile phone continues to receive Preset voice instructions, etc.; wherein, preset virtual buttons, preset angles, and preset voice instructions can all be set according to actual needs, which are not specifically limited in this embodiment.
在一个例子中,手机被持续触发具体为手机持续收到预设的语音指示,预设的语音指示可以为用户欢呼声或笑声。比如,用户正在观看视频,当出现精彩片段时,可能会发出持续的欢呼声,当出现搞笑的片段时,可能会发出持续的笑声。手机可以将接收到持续的欢呼声或是笑声的时间段作为被持续触发的时间段,使得后续步骤中可以对该时间段内播放的视频片段进行剪辑。也就是说,手机可以对引起用户发出欢呼声或笑声的视频片段进行自动剪辑,方便了用户随时对自动剪辑的精彩片段或搞笑片段进行回看,有利于提升用户体验。In one example, when the mobile phone is continuously triggered, specifically, the mobile phone continues to receive a preset voice instruction, and the preset voice instruction may be cheers or laughter for the user. For example, a user is watching a video, and there may be continuous cheering when there is a highlight clip, and continuous laughter when there is a funny clip. The mobile phone can take the time period when the continuous cheering or laughter is received as the time period that is continuously triggered, so that the video clips played in the time period can be edited in the subsequent steps. That is to say, the mobile phone can automatically edit the video clips that cause the user to cheer or laugh, which is convenient for the user to review the automatically edited highlight clips or funny clips at any time, which is conducive to improving the user experience.
具体的说,手机可以从检测到刚被触发时开始计时,检测到被停止触发结束计时,最终计时得到的时间段即为手机被持续触发的时间段。Specifically, the mobile phone can start timing when it is detected that it is just triggered, and end the timing when it is detected that it is stopped, and the time period obtained by the final timing is the period in which the mobile phone is continuously triggered.
在具体实现中,执行获取终端被持续触发的时间段之前,可以先判定终端是否进入剪辑模式。在一个例子中,当检测到终端在播放视频的过程中,预设的实体按钮或是虚拟按钮被点击,可以认为终端进入剪辑模式,预设的实体按钮或是虚拟按钮可以根据实际需要进行设置旨在提醒用户该按钮被按下后将进入视频剪辑模式,然而本实施方式对此不做具体限定。在另一个例子中,当终端在播放视频的过程中,如果接收到用户发出的用于表示可进入剪辑模式的语音指令,可以认为终端进入剪辑模式。其中,语音指令可以预先根据实际需要进行设置,本实施方式对此不做具体限定。需要说明的是,本实施方式中只是为方便说明,提供两种可以判定终端进入剪辑模式的实现方式,在具体实现中可以判定终端进入剪辑模式的实现方式并不以上述两种方式为限。In a specific implementation, before executing the acquisition of the time period in which the terminal is continuously triggered, it may be determined whether the terminal enters the clip mode. In one example, when it is detected that a preset physical button or virtual button is clicked when the terminal is playing a video, it can be considered that the terminal enters the editing mode, and the preset physical button or virtual button can be set according to actual needs The purpose is to remind the user that the button will enter the video clip mode after being pressed, but this embodiment does not specifically limit this. In another example, when the terminal is playing a video, if it receives a voice instruction from the user indicating that the editing mode can be entered, it may be considered that the terminal enters the editing mode. The voice command may be set in advance according to actual needs, which is not specifically limited in this embodiment. It should be noted that this embodiment is only for the convenience of description, and provides two implementation manners for determining that the terminal enters the clip mode.
在一个例子中,电子设备可以为终端,终端可以在检测到终端进入剪辑模式后,获取终端被持续触发的时间段。在另一个例子中,电子设备可以为服务器,终端在检测到终端进入剪辑模式后,可以获取终端被持续触发的时间段,然后将获取的时间段发送给服务器。In one example, the electronic device may be a terminal, and after detecting that the terminal enters the clip mode, the terminal may acquire a time period during which the terminal is continuously triggered. In another example, the electronic device may be a server. After the terminal detects that the terminal enters the editing mode, it may acquire the time period during which the terminal is continuously triggered, and then send the acquired time period to the server.
步骤102:确定在所述时间段内播放的待剪辑视频的视频片段。Step 102: Determine the video segment of the video to be edited that is played within the time period.
也就是说,在播放待剪辑视频的过程中,确定终端被持续触发的时间段内播放的具体是待剪辑视频中哪一段视频片段。That is to say, in the process of playing the video to be edited, it is determined which video segment in the to-be-edited video is being played in the time period when the terminal is continuously triggered.
在一个例子中,所述时间段为手机持续接收到用户的笑声或是欢呼声的时间段,那么在该时间段内确定的视频片段即为引起用户发出欢呼声或笑声的视频片段。In one example, the time period is the time period when the mobile phone continuously receives the user's laughter or cheering, and then the video clip determined in this time period is the video clip that causes the user to cheer or laugh.
步骤103:对确定的视频片段进行剪辑,得到剪辑后的视频。Step 103: Edit the determined video segment to obtain the edited video.
具体的说,确定的视频片段即为需要剪辑的视频片段,提取该视频片段的起始视频帧的时间戳作为剪辑开始时间点,提取该视频片段的结束视频帧的时间戳作为剪辑结束时间点,对剪辑开始时间点和剪辑结束时间点之间的视频片段进行剪辑,得到剪辑后的视频。Specifically, the determined video clip is the video clip that needs to be edited, the time stamp of the start video frame of the video clip is extracted as the clip start time point, and the time stamp of the end video frame of the video clip is extracted as the clip end time point , and trim the video segment between the clip start time point and the clip end time point to obtain the clipped video.
在一个例子中,剪辑后的视频可以自动保存在终端中预设的存储空间内,比如可以存储在手机中的图库中,方便用户在剪辑完成后查看所剪辑的视频。In one example, the edited video can be automatically saved in a preset storage space in the terminal, for example, in the gallery of the mobile phone, so that the user can view the edited video after the editing is completed.
值得一提的是,终端可以根据屏幕被按压的压力大小控制正在播放的待剪辑视频的播放速度,使得可以根据实际需要控制剪辑速度。具体的,若检测到终端的屏幕被按压,则可以检测屏幕被按压时的按压压力,根据按压压力,获取与按压压力对应的播放速度,以获取的播放速度播放待剪辑视频。比如,终端的屏幕下可以设置压力传感器,通过压力传感器检测按压压力,终端中可以预存按压压力与播放速度的对应关系,根据检测的当前时刻的按压压力调整正在播放的视频的播放速度。It is worth mentioning that the terminal can control the playback speed of the video to be edited that is being played according to the pressure with which the screen is pressed, so that the editing speed can be controlled according to actual needs. Specifically, if it is detected that the screen of the terminal is pressed, the pressing pressure when the screen is pressed can be detected, and the playback speed corresponding to the pressing pressure is obtained according to the pressing pressure, and the video to be edited is played at the obtained playback speed. For example, a pressure sensor can be set under the screen of the terminal, the pressure sensor can detect the pressing pressure, the corresponding relationship between the pressing pressure and the playback speed can be pre-stored in the terminal, and the playback speed of the video being played can be adjusted according to the detected pressing pressure at the current moment.
在一个例子中,获取与按压压力对应的播放速度的方式可以为:根据按压压力、预设的倍速档位范围和终端的压力检测范围,计算与按压压力对应的播放速度。其中,预设的倍速档位范围可以根据实际需要进行设置,对此本实施方式不做具体限定。比如,预设的倍速档位范围为[0.2,5],表示视频的播放速度可以为0.2倍速到5倍速之间。终端的压力检测范围可以为终端内置的压力传感器的压力检测范围。In an example, the manner of obtaining the playback speed corresponding to the pressing pressure may be: calculating the playback speed corresponding to the pressing pressure according to the pressing pressure, the preset multi-speed gear range and the pressure detection range of the terminal. The preset multi-speed gear range can be set according to actual needs, which is not specifically limited in this embodiment. For example, the preset speed range is [0.2, 5], which means that the playback speed of the video can be between 0.2 times and 5 times. The pressure detection range of the terminal may be the pressure detection range of the pressure sensor built in the terminal.
在一个例子中,可以根据如下公式计算与按压压力对应的播放速度:In one example, the playback speed corresponding to the pressing pressure can be calculated according to the following formula:
vt=((Nmax-Nmin)(pt-pmin)/(pmax-pmin)+Nmin)v0vt =((Nmax -Nmin )(pt -pmin )/(pmax -pmin )+Nmin )v0
其中,vt为计算的播放速度,pt为按压压力,Nmax和Nmin分别为播放倍速档位范围的上限值和下限值,pmax和pmin分别为压力检测范围的上限值和下限值,v0为播放倍速档位为1时对应的播放速度。比如,终端内的压力传感器可以实时获取用户在第t秒的按压压力,记为pt,pt可以决定第t秒到第t+1秒之间的视频播放速度,即以根据pt计算得到的播放速度播放第t秒到第t+1秒之间的视频。Among them, vt is the calculated playback speed, pt is the pressing pressure, Nmax and Nmin are the upper limit and lower limit of the playback speed range, respectively, pmax and pmin are the upper limit of the pressure detection range, respectively value and lower limit value, v0 is the corresponding playback speed when the playback speed is 1. For example, the pressure sensor in the terminal can acquire the user's pressing pressure in the t second in real time, which is recorded aspt , andpt can determine the video playback speed between the t second and thet +1 second, that is, calculated according to pt The resulting playback speed plays the video from t second to t+1 second.
在一个例子中,终端被持续触发具体可以为终端的屏幕被持续按压。此种情况下,屏幕被持续按压的时间段内播放的视频片段可以视为需要剪辑的视频片段。屏幕被按压的压力大小可以作为终端正在播放的待剪辑视频的播放速度的决定性因子,按压压力越大,播放速度越快。In an example, the terminal being continuously triggered may specifically be that the screen of the terminal is continuously pressed. In this case, the video clips played during the time period when the screen is continuously pressed can be regarded as the video clips that need to be edited. The pressure with which the screen is pressed can be used as a decisive factor for the playback speed of the video to be edited that is being played by the terminal. The greater the pressing pressure, the faster the playback speed.
需要说明的是,本实施方式中的上述各示例均为为方便理解进行的举例说明,并不对本发明的技术方案构成限定。It should be noted that, the above examples in this embodiment are all examples for the convenience of understanding, and do not limit the technical solutions of the present invention.
与现有技术相比,本实施方式,当需要剪辑时,可以持续触发终端,终端持续被触发的时间段内播放的视频片段可以视为确定的需要剪辑的片段,从而对确定的需要剪辑的片段进行剪辑,方便了用户在观看视频的过程中随时对想要剪辑的片段进行剪辑,提高了剪辑的便捷性。而且,通过对终端持续触发的时间段确定要剪辑的片段,无需人工关注并来回拖拽视频播放的进度条,更容易快速的确定剪辑的开始时间点和结束时间点,从而有利于加快剪辑的速度。而且,用户可以在观看在线视频的过程中,直接通过持续触发终端,从而自动完成对持续触发终端的时间段内播放的视频片段的剪辑,无需对在线视频进行下载,进一步提高了剪辑的便捷性。另外,本实施方式中,还可以基于屏幕被按压的压力,控制剪辑视频过程中的视频播放速度,有利于根据实际需要控制剪辑的速度。Compared with the prior art, in this embodiment, when editing is required, the terminal can be continuously triggered, and the video clips played in the time period during which the terminal is continuously triggered can be regarded as the determined clips that need to be edited, so that the determined clips that need to be edited can be ignored. Clip editing facilitates the user to edit the desired clip at any time in the process of watching the video, which improves the convenience of editing. Moreover, by determining the clip to be edited for the time period continuously triggered by the terminal, there is no need to manually pay attention and drag the progress bar of the video playback back and forth, which makes it easier to quickly determine the start time point and end time point of the clip, which is conducive to speeding up the editing process. speed. Moreover, the user can directly trigger the terminal continuously while watching the online video, so as to automatically complete the editing of the video clips played within the time period when the terminal is continuously triggered, without downloading the online video, which further improves the convenience of editing . In addition, in this embodiment, the video playback speed during the video editing process can also be controlled based on the pressure of the screen being pressed, which is beneficial to control the editing speed according to actual needs.
本发明的第二实施方式涉及一种剪辑方法。下面对本实施方式的剪辑方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。A second embodiment of the present invention relates to a clipping method. The implementation details of the editing method of the present embodiment will be specifically described below, and the following contents are only provided for the convenience of understanding, and are not necessary for implementing this solution.
本实施方式中的剪辑方法的流程图如图2所示,具体包括:The flowchart of the editing method in this embodiment is shown in FIG. 2 , and specifically includes:
步骤201:获取终端的屏幕被持续按压的时间段。Step 201: Acquire the time period during which the screen of the terminal is continuously pressed.
比如,终端在进入剪辑模式后,可以从其内置的压力传感器刚检测到屏幕被按压开始计时,并在检测到屏幕被停止按压时停止计时,从而得到终端被持续按压的时间段。For example, after the terminal enters the editing mode, the built-in pressure sensor can start timing from the moment when the built-in pressure sensor detects that the screen is being pressed, and stop timing when it is detected that the screen is stopped being pressed, so as to obtain the time period during which the terminal is continuously pressed.
步骤202:确定在所述时间段内播放的待剪辑视频的视频片段。Step 202: Determine the video segment of the video to be edited that is played within the time period.
也就是说,确定终端被持续按压的时间段内终端播放的待剪辑视频的视频片段。That is to say, the video segment of the video to be edited played by the terminal within the time period in which the terminal is continuously pressed is determined.
步骤203:获取视频片段的起始视频帧。Step 203: Acquire the starting video frame of the video clip.
具体的说,视频片段的起始视频帧即为刚开始按压终端屏幕时终端播放的视频画面,也就是该视频片段的第一帧视频图像。终端可以对该视频片段进行拆帧操作,从而截取起始视频帧。Specifically, the start video frame of the video clip is the video image played by the terminal when the terminal screen is just pressed, that is, the first video frame of the video clip. The terminal may perform a frame splitting operation on the video segment, thereby intercepting the starting video frame.
步骤204:识别起始视频帧中位于屏幕被按压的区域内的对象。Step 204 : Identify the object located in the pressed area of the screen in the starting video frame.
具体的说,首先可以基于Mask-RCNN算法对该起始视频帧进行实例分割,即对步骤202中确定的视频片段的第一帧视频图像进行实例分割,得到第一帧视频图像中各不同对象在图像中所占的区域;其中,不同对象可以为人物、动物、植物等。然后,可以识别第一帧视频图像中处于屏幕被按压的区域内的对象具体是什么对象,比如,可以识别用户手指按压屏幕的触点所属的对象具体是什么。需要说明的是,本实施方式中只是以基于Mask-RCNN算法对该起始视频帧进行实例分割为例,在具体实现中并不以此为限。Specifically, first, instance segmentation can be performed on the initial video frame based on the Mask-RCNN algorithm, that is, instance segmentation is performed on the first frame of the video image of the video segment determined in
步骤205:对视频片段中包含所述对象的各视频帧进行剪辑。Step 205: Edit each video frame including the object in the video clip.
在一个例子中,识别的起始视频帧中位于屏幕被按压的区域内的对象的数量为1个,则可以将识别到的该对象作为用户感兴趣的对象。在用户持续按压屏幕期间,首先可以对播放的每一帧视频图像进行人脸检测、人脸识别和目标检测;其中,人脸检测即为检测视频图像中存在的人脸,人脸识别即为识别检测到的人脸具体是谁,目标检测即为检测除了人脸之外的其他物体。然后确定每一帧视频图像中是否包含用户感兴趣的对象。最后,对包含用户感兴趣的对象的各视频帧均进行剪辑。In an example, if the number of objects located in the area where the screen is pressed in the identified initial video frame is 1, the identified object may be used as the object of interest to the user. While the user keeps pressing the screen, face detection, face recognition and target detection can be performed on each frame of the video image played; among them, face detection is to detect the faces existing in the video images, and face recognition is Identify who the detected face is, and target detection is to detect objects other than faces. Then it is determined whether each frame of video image contains an object of interest to the user. Finally, each video frame containing the object of interest to the user is clipped.
在一个例子中,可以根据视频片段中的各相邻视频帧中是否包含上述用户感兴趣的对象,确定用户感兴趣的对象的出现时间点和消失时间点。比如,对于任意连续两帧视频图像即各相邻视频帧,如果前一帧视频图像包含用户感兴趣的对象,后一帧视频图像不包含用户感兴趣的对象,则可以提取后一帧视频图像的时间戳,记录为消失时间点。类似的,如果前一帧视频图像不包含用户感兴趣的对象,后一帧视频图像包含用户感兴趣的对象,则可以提取后一帧视频图像的时间戳,记录为出现时间点。若确定了多组出现时间点和消失时间点,说明持续按压期间所播放的视频片段中,用户感兴趣的对象一会出现,一会消失,则可以将每一组出现时间点和消失时间点之间播放的视频帧进行剪辑。比如,将第一个“出现点”到第一个“消失点”之间的视频帧截取为视频片段1,将第二个“出现点”到第二个“消失点”之间的视频帧截取为视频片段2,以此类推,有利于快速剪辑得到包含用户感兴趣的对象的视频片段。In one example, the appearance time point and the disappearance time point of the object of interest to the user may be determined according to whether the above-mentioned object of interest to the user is included in each adjacent video frame in the video clip. For example, for any two consecutive video frames, that is, each adjacent video frame, if the previous frame of video image contains the object of interest to the user, and the next frame of video image does not contain the object of interest to the user, the next frame of video image can be extracted. The timestamp is recorded as the disappearance time point. Similarly, if the previous frame of video image does not contain the object of interest to the user, and the next frame of video image contains the object of interest to the user, the timestamp of the next frame of video image can be extracted and recorded as the occurrence time point. If multiple groups of appearance time points and disappearance time points are determined, it means that in the video clip played during the continuous pressing, the object of interest to the user will appear and disappear for a while, and then each group of appearance time points and disappearance time points can be set. Video frames played between are clipped. For example, the video frame between the first "appearance point" and the first "vanishing point" is cut as video clip 1, and the video frame between the second "appearance point" and the second "vanishing point" is cut. The interception is video clip 2, and so on, which is beneficial to quickly edit and obtain a video clip containing an object of interest to the user.
在一个例子中,当识别到的起始视频帧中位于屏幕被按压的区域内的对象的数量为多个时,可以分别获取各对象在起始视频帧中所占的区域面积,将区域面积最小的对象作为目标对象。然后对视频片段中包含目标对象的各视频帧进行剪辑。比如,可以参考图3,假设图3为截取的起始视频帧,用户实际按压的区域为A区域。可以看出图3中位于A区域中的对象有一个人和一只狗,此时可以分别获取图中人所占的区域面积以及狗所占的区域面积。由图3可以看出,在A区域内的两个对象中狗所占的区域面积最小,可以将狗作为用户真正感兴趣的目标对象。最后,在进行剪辑时,可以对用户持续按压屏幕期间播放的每一帧视频图像进行识别,识别是否包含图3中的狗,对包含图3中的狗的各视频帧进行剪辑,使得剪辑后的视频中每一帧都包含图3中的狗。In an example, when the number of objects located in the area where the screen is pressed in the identified starting video frame is multiple, the area area occupied by each object in the starting video frame can be obtained separately, and the area area The smallest object is used as the target object. Each video frame in the video clip that contains the target object is then clipped. For example, referring to FIG. 3 , it is assumed that FIG. 3 is a captured start video frame, and the area actually pressed by the user is area A. It can be seen that the objects located in the area A in Figure 3 include a person and a dog. At this time, the area occupied by the person and the area occupied by the dog can be obtained respectively. It can be seen from Figure 3 that among the two objects in area A, the area occupied by the dog is the smallest, and the dog can be regarded as the target object that the user is really interested in. Finally, when editing, it is possible to identify each frame of video images played during the user's continuous pressing of the screen, identify whether the dog in FIG. 3 is included, and edit each video frame including the dog in FIG. 3, so that after editing Each frame in the video contains the dog in Figure 3.
在另一个例子中,当识别到的起始视频帧中位于屏幕被按压的区域内的对象的数量为多个时,可以选择靠前图层中的对象作为目标对象,对步骤202中确定的视频片段中包含目标对象的各视频帧进行剪辑。靠前图层中的对象为用户真正感兴趣的对象的可能性更大,因此选择靠前图层中的对象作为目标对象,对包含目标对象的各视频帧进行剪辑,更容易剪辑得到用户真正感兴趣的视频片段。In another example, when the number of objects located in the pressed area of the screen in the identified starting video frame is multiple, the object in the front layer may be selected as the target object, and the object determined in
在一个例子中,选择靠前图层中的对象作为目标对象的方式可以如下:确定各不同对象所占区域的像素颜色,提取各不同对象所占的重叠区域的像素颜色,将重叠区域的像素颜色分别与各不同对象所占的区域的像素颜色进行对比,并将与重叠区域的像素颜色相似度最高的区域中的对象作为靠前图层中的对象。比如,可以参考图3,假设图3为截取的起始视频帧,用户实际按压的区域为A区域。可以看出图3中位于A区域的对象有一个人和一只狗,可以分别获取图中人和狗所占区域的像素颜色,假设人所占的区域的像素颜色为黑色,狗所占区域的像素颜色为棕色。由图3可以看出,人和狗所占区域中存在重叠区域,可以提取人该重叠区域的像素颜色,假设提取的该重叠区域的像素颜色为棕色。综上可以得出,重叠区域与狗所在的区域的像素颜色相似度更高,进而可以将图3中的狗作为选择出的靠前图层中的对象,即图3中的狗作为最终确定的目标对象。In an example, the method of selecting the object in the front layer as the target object may be as follows: determining the pixel color of the area occupied by different objects, extracting the pixel color of the overlapping area occupied by the different objects, and assigning the pixel color of the overlapping area The colors are compared with the pixel colors of the areas occupied by different objects, and the object in the area with the highest similarity to the pixel color of the overlapping area is taken as the object in the front layer. For example, referring to FIG. 3 , it is assumed that FIG. 3 is a captured start video frame, and the area actually pressed by the user is area A. It can be seen that there are a person and a dog in the object located in area A in Figure 3, and the pixel colors of the area occupied by the person and the dog can be obtained respectively. Assume that the pixel color of the area occupied by the person is black, and the area occupied by the dog is black. Pixel color is brown. It can be seen from Figure 3 that there is an overlapping area in the area occupied by humans and dogs, and the pixel color of the overlapping area can be extracted. It is assumed that the extracted pixel color of the overlapping area is brown. To sum up, it can be concluded that the pixel color similarity between the overlapping area and the area where the dog is located is higher, and then the dog in Figure 3 can be used as the object in the selected front layer, that is, the dog in Figure 3 can be used as the final determination. target object.
需要说明的是,本实施方式中只是提供了以上两个示例以举例说明,在多个对象中如何确定一个目标对象,但在具体实现中并不以上述两个示例中的方式为限。任何在多个对象中确定一个目标对象的方式均在本实施方式保护范围之内。It should be noted that this embodiment only provides the above two examples to illustrate how to determine a target object among multiple objects, but the specific implementation is not limited to the above two examples. Any method of determining one target object among multiple objects falls within the protection scope of this embodiment.
还需要说明的是,本实施方式中的上述各示例均为为方便理解进行的举例说明,并不对本发明的技术方案构成限定。It should also be noted that the above examples in this embodiment are all examples for the convenience of understanding, and do not limit the technical solutions of the present invention.
与现有技术相比,本实施方式中,对终端的持续触发可以具体表现为对终端的屏幕的持续按压,在刚开始按压屏幕的时刻,将视频中的按压区域中的对象作为用户感兴趣的对象,即目标对象,剪辑的视频片段中的视频帧均为含有目标对象的视频帧,有利于方便、准确的剪辑得到包含用户感兴趣的对象的视频片段。另外,考虑到对象重叠的可能性,即起始视频帧中被按压区域中的对象有多个,而面积最小的对象最有可能是用户真正感兴趣的对象,因此将面积最小的对象作为目标对象,剪辑包含目标对象的各视频帧,更有利于剪辑得到用户真正感兴趣的视频。而且,本实施方式还提供了另一种通过像素颜色的相似度的方式确定多个对象中用户真正可能感兴趣的目标对象,使得本实施方式的实现方式灵活多样。Compared with the prior art, in this embodiment, the continuous triggering of the terminal can be embodied as continuous pressing on the screen of the terminal, and at the moment when the screen is just pressed, the object in the pressing area in the video is taken as the user's interest. The object, that is, the target object, the video frames in the clipped video clips are all video frames containing the target object, which is conducive to convenient and accurate clipping to obtain video clips containing objects of interest to the user. In addition, considering the possibility of objects overlapping, that is, there are multiple objects in the pressed area in the initial video frame, and the object with the smallest area is most likely the object that the user is really interested in, so the object with the smallest area is taken as the target Object, clip each video frame containing the target object, which is more conducive to clip to get the video that the user is really interested in. Moreover, this embodiment also provides another way of determining a target object that the user may be really interested in among the multiple objects by using the similarity of pixel colors, so that the implementation of this embodiment is flexible and diverse.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the above various methods are divided only for the purpose of describing clearly. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as the same logical relationship is included, they are all within the protection scope of this patent. ;Adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本发明第三实施方式涉及一种电子设备,如图4所示,包括至少一个处理器301;以及,与至少一个处理器301通信连接的存储器302;其中,存储器302存储有可被至少一个处理器301执行的指令,指令被至少一个处理器301执行,以使至少一个处理器301能够执行第一、或第二实施方式中的剪辑方法。The third embodiment of the present invention relates to an electronic device, as shown in FIG. 4 , comprising at least one processor 301; and a memory 302 connected in communication with the at least one processor 301; wherein, the memory 302 stores data that can be processed by the at least one processor 301. The instructions are executed by the processor 301, and the instructions are executed by the at least one processor 301, so that the at least one processor 301 can execute the editing method in the first or second embodiment.
其中,存储器302和处理器301采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器301和存储器302的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器301处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器301。The memory 302 and the processor 301 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 301 and various circuits of the memory 302 together. The bus may also connect together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface between the bus and the transceiver. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. The data processed by the processor 301 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 301 .
处理器301负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器302可以被用于存储处理器301在执行操作时所使用的数据。Processor 301 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. The memory 302 may be used to store data used by the processor 301 when performing operations.
本发明第四实施方式涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a device ( It may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those skilled in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present invention. scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910800267.1ACN110703976B (en) | 2019-08-28 | 2019-08-28 | Clipping method, electronic device, and computer-readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910800267.1ACN110703976B (en) | 2019-08-28 | 2019-08-28 | Clipping method, electronic device, and computer-readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN110703976Atrue CN110703976A (en) | 2020-01-17 |
| CN110703976B CN110703976B (en) | 2021-04-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910800267.1AActiveCN110703976B (en) | 2019-08-28 | 2019-08-28 | Clipping method, electronic device, and computer-readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN110703976B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111447505A (en)* | 2020-03-09 | 2020-07-24 | 咪咕文化科技有限公司 | Video clipping method, network device, and computer-readable storage medium |
| CN111524076A (en)* | 2020-04-07 | 2020-08-11 | 咪咕文化科技有限公司 | Image processing method, electronic device, and computer-readable storage medium |
| CN111556328A (en)* | 2020-04-17 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Program acquisition method and device for live broadcast room, electronic equipment and storage medium |
| CN113115106A (en)* | 2021-03-31 | 2021-07-13 | 影石创新科技股份有限公司 | Automatic clipping method, device, terminal and storage medium of panoramic video |
| CN114697749A (en)* | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video editing method, video editing device, storage medium and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105307051A (en)* | 2015-05-04 | 2016-02-03 | 维沃移动通信有限公司 | Video processing method and device |
| CN105657537A (en)* | 2015-12-23 | 2016-06-08 | 小米科技有限责任公司 | Video editing method and device |
| US20160365115A1 (en)* | 2015-06-11 | 2016-12-15 | Martin Paul Boliek | Video editing system and method using time-based highlight identification |
| CN106341725A (en)* | 2016-09-27 | 2017-01-18 | 北京小米移动软件有限公司 | Video message processing method and device for electronic apparatus |
| CN106970762A (en)* | 2017-03-31 | 2017-07-21 | 联想(北京)有限公司 | A kind of method for processing video frequency and electronic equipment |
| CN107124662A (en)* | 2017-05-10 | 2017-09-01 | 腾讯科技(上海)有限公司 | Net cast method, device, electronic equipment and computer-readable recording medium |
| CN108604378A (en)* | 2015-11-30 | 2018-09-28 | 斯纳普公司 | Image segmentation and modification of video streams |
| CN109076263A (en)* | 2017-12-29 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Video data processing method, device, system and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105307051A (en)* | 2015-05-04 | 2016-02-03 | 维沃移动通信有限公司 | Video processing method and device |
| US20160365115A1 (en)* | 2015-06-11 | 2016-12-15 | Martin Paul Boliek | Video editing system and method using time-based highlight identification |
| CN108604378A (en)* | 2015-11-30 | 2018-09-28 | 斯纳普公司 | Image segmentation and modification of video streams |
| CN105657537A (en)* | 2015-12-23 | 2016-06-08 | 小米科技有限责任公司 | Video editing method and device |
| CN106341725A (en)* | 2016-09-27 | 2017-01-18 | 北京小米移动软件有限公司 | Video message processing method and device for electronic apparatus |
| CN106970762A (en)* | 2017-03-31 | 2017-07-21 | 联想(北京)有限公司 | A kind of method for processing video frequency and electronic equipment |
| CN107124662A (en)* | 2017-05-10 | 2017-09-01 | 腾讯科技(上海)有限公司 | Net cast method, device, electronic equipment and computer-readable recording medium |
| CN109076263A (en)* | 2017-12-29 | 2018-12-21 | 深圳市大疆创新科技有限公司 | Video data processing method, device, system and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111447505A (en)* | 2020-03-09 | 2020-07-24 | 咪咕文化科技有限公司 | Video clipping method, network device, and computer-readable storage medium |
| CN111524076A (en)* | 2020-04-07 | 2020-08-11 | 咪咕文化科技有限公司 | Image processing method, electronic device, and computer-readable storage medium |
| CN111524076B (en)* | 2020-04-07 | 2023-07-21 | 咪咕文化科技有限公司 | Image processing method, electronic device and computer-readable storage medium |
| CN111556328A (en)* | 2020-04-17 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Program acquisition method and device for live broadcast room, electronic equipment and storage medium |
| US11553019B2 (en) | 2020-04-17 | 2023-01-10 | Beijing Dajia Internet Information Technology Co., Ltd. | Method, apparatus, electronic device and storage medium for acquiring programs in live streaming room |
| CN114697749A (en)* | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video editing method, video editing device, storage medium and electronic equipment |
| CN113115106A (en)* | 2021-03-31 | 2021-07-13 | 影石创新科技股份有限公司 | Automatic clipping method, device, terminal and storage medium of panoramic video |
| Publication number | Publication date |
|---|---|
| CN110703976B (en) | 2021-04-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN110703976A (en) | Clipping method, electronic device, and computer-readable storage medium | |
| CN110225369B (en) | Video selective playing method, device, equipment and readable storage medium | |
| US10643667B2 (en) | Bounding box doubling as redaction boundary | |
| US11393208B2 (en) | Video summarization using selected characteristics | |
| CN109168037B (en) | Video playing method and device | |
| CN111371988B (en) | Content operation method, device, terminal and storage medium | |
| CN107111620A (en) | Video editing using context data and the content discovery using group | |
| US10257436B1 (en) | Method for using deep learning for facilitating real-time view switching and video editing on computing devices | |
| CN108810637A (en) | Video broadcasting method, device and terminal device | |
| US12051446B2 (en) | Video processing method and apparatus and terminal device | |
| CN114430499B (en) | Video editing method, video editing device, electronic device and readable storage medium | |
| CN113055709B (en) | Video publishing method, device, equipment, storage medium and program product | |
| CN111182359A (en) | Video preview method, video frame extraction method, video processing device and storage medium | |
| CN115086554A (en) | Video special effect generation method and terminal | |
| CN110580508A (en) | video classification method and device, storage medium and mobile terminal | |
| CN113806570A (en) | Image generation method and generation device, electronic device and storage medium | |
| CN112887480A (en) | Audio signal processing method and device, electronic equipment and readable storage medium | |
| CN106507201A (en) | A kind of video playing control method and device | |
| CN115484474A (en) | Video clip processing method, device, electronic device and storage medium | |
| JP6214762B2 (en) | Image search system, search screen display method | |
| CN113852756B (en) | Image acquisition method, device, equipment and storage medium | |
| CN105808231A (en) | System and method for recording script and system and method for playing script | |
| CN112243065B (en) | Video recording method and device | |
| CN112330728B (en) | Image processing method, device, electronic device and readable storage medium | |
| CN109101964A (en) | Determine the method, equipment and storage medium in head and the tail region in multimedia file |
| 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 |