CN110012231A - Method for processing video frequency, device, electronic equipment and storage medium - Google Patents

Method for processing video frequency, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110012231A
CN110012231A CN201910313323.9A CN201910313323A CN110012231A CN 110012231 A CN110012231 A CN 110012231A CN 201910313323 A CN201910313323 A CN 201910313323A CN 110012231 A CN110012231 A CN 110012231A
Authority
CN
China
Prior art keywords
video
sub
time
time stamp
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910313323.9A
Other languages
Chinese (zh)
Inventor
朱天一
陈政熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huan Ai Network Technology (shanghai) Co Ltd
Original Assignee
Huan Ai Network Technology (shanghai) 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 Huan Ai Network Technology (shanghai) Co Ltd filed Critical Huan Ai Network Technology (shanghai) Co Ltd
Priority to CN201910313323.9A priority Critical patent/CN110012231A/en
Publication of CN110012231A publication Critical patent/CN110012231A/en
Pending legal-status Critical Current

Links

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60—Control of cameras or camera modules
    • H04N23/62—Control of parameters via user interfaces
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80—Camera processing pipelines; Components thereof

Landscapes

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

Abstract

本公开提供一种视频处理方法、装置、电子设备以及存储介质。在实施例中,视频处理方法包括对源视频设置至少一个时间标志;以及基于时间标志从源视频生成子视频并进行存储。子视频与用于生成该子视频的时间标志相关联。

The present disclosure provides a video processing method, apparatus, electronic device, and storage medium. In an embodiment, a video processing method includes setting at least one time stamp to a source video; and generating and storing a sub-video from the source video based on the time stamp. A sub-video is associated with a time stamp used to generate the sub-video.

Description

视频处理方法、装置、电子设备以及存储介质Video processing method, device, electronic device, and storage medium

技术领域technical field

本公开总体上涉及视频技术领域,更具体而言,涉及一种从(多个)视频中生成(多个)子视频的处理方法、装置、电子设备以及存储介质。The present disclosure generally relates to the field of video technology, and more particularly, to a processing method, apparatus, electronic device, and storage medium for generating sub-video(s) from video(s).

背景技术Background technique

随着通信技术与移动互联网技术的日趋成熟以及移动端设备大量的普及,用户更加便捷地获取信息、资讯、娱乐的需求与日俱增。例如从长视频中截取精彩片段、高光时刻或者个性化定制片段的短视频生产方式,正好满足了用户在碎片化的时间中对竞技体育类、热门影视剧作品、综艺娱乐类等长视频资源的观赏需求,也符合时下用户期望快速获得娱乐资源或者能够获取个性化娱乐资源的消费习惯。With the maturity of communication technology and mobile Internet technology and the popularization of a large number of mobile devices, users' demands for more convenient access to information, information and entertainment are increasing day by day. For example, the short video production method of intercepting highlight clips, highlight moments or personalized customized clips from long videos just meets the needs of users for long video resources such as competitive sports, popular film and television dramas, and variety entertainment in a fragmented time. The viewing needs are also in line with the current consumption habits of users who expect to quickly obtain entertainment resources or be able to obtain personalized entertainment resources.

目前,传统的视频精彩集锦大多是通过人工手段对精彩片段进行定义、定位、剪辑、拼接后的处理结果。其结果有着时效性低、人工成本高、视频集锦产量低的问题,无法及时覆盖如此丰富多样的短视频内容需求。At present, most of the traditional video highlights are the processing results of defining, locating, editing, and splicing highlights by artificial means. As a result, there are problems of low timeliness, high labor costs, and low video collection output, which cannot cover such a variety of short video content needs in a timely manner.

发明内容SUMMARY OF THE INVENTION

本公开提供一种视频处理方法、装置、电子设备以及存储介质,解决了以往制作视频集锦时效性低、人工成本高、产量低的问题。The present disclosure provides a video processing method, an apparatus, an electronic device and a storage medium, which solve the problems of low timeliness, high labor cost and low output in the past for making video highlights.

本公开的一个方面描述了一种视频处理方法,包括:对源视频设置至少一个时间标志;以及基于时间标志从源视频生成子视频并进行存储,其中子视频与用于生成该子视频的时间标志相关联。One aspect of the present disclosure describes a video processing method, comprising: setting at least one time stamp on a source video; and generating and storing a sub-video from the source video based on the time stamp, wherein the sub-video is related to a time used to generate the sub-video associated with the logo.

本公开的另一方面描述了一种视频处理方法,包括:在本地针对过程拍摄源视频;从外部接收与源视频针对的过程相关联的至少一个时间标志;以及基于时间标志从源视频生成子视频并进行存储,其中子视频与用于生成该子视频的时间标志相关联。Another aspect of the present disclosure describes a video processing method, comprising: capturing a source video locally for a process; externally receiving at least one time stamp associated with the process for which the source video is directed; and generating a subplot from the source video based on the time stamp video and stored with the sub-video associated with the time stamp used to generate the sub-video.

实施例通过对源视频设置时间标志以及与时间标志相对应的标签,从而能够自动根据时间标志从源视频中生成子视频,且该生成的子视频具有对应的标签,由此能够快速地生成集锦用于进一步的处理,解决了以往制作视频集锦时效性低、人工成本高、产量低的问题。In the embodiment, by setting a time mark and a label corresponding to the time mark on the source video, a sub-video can be automatically generated from the source video according to the time mark, and the generated sub-video has a corresponding label, so that a collection can be quickly generated. It is used for further processing, which solves the problems of low timeliness, high labor cost and low output in the past in the production of video highlights.

附图说明Description of drawings

图1是示出根据实施例的示例性视频处理方法的流程图。FIG. 1 is a flowchart illustrating an exemplary video processing method according to an embodiment.

图2图示出根据实施例的在拍摄过程中通过按钮触发来设置时间标志的示例性界面。FIG. 2 illustrates an exemplary interface for setting a time stamp through button triggering during a capture, according to an embodiment.

图3图示出根据实施例的在拍摄过程中对某一对象设置时间标志的示例性界面。FIG. 3 illustrates an exemplary interface for setting a time stamp on an object during shooting, according to an embodiment.

图4图示出根据实施例的用于在拍摄视频时设置标签的示例性界面。4 illustrates an exemplary interface for setting tags when capturing video, according to an embodiment.

图5图示出根据实施例的用于在拍摄视频时设置标签的另一示例性界面。FIG. 5 illustrates another exemplary interface for setting tags when capturing video, according to an embodiment.

图6示出根据另一实施例的示例性视频处理方法的流程图。FIG. 6 shows a flowchart of an exemplary video processing method according to another embodiment.

图7示出根据另一实施例的合并子视频的示例性方法的流程图。FIG. 7 shows a flowchart of an exemplary method of combining sub-videos according to another embodiment.

图8示出根据又一实施例的合并子视频的示例性方法的流程图。8 shows a flowchart of an exemplary method of combining sub-videos according to yet another embodiment.

图9图示出根据实施例的示例性电子设备。9 illustrates an exemplary electronic device according to an embodiment.

具体实施方式Detailed ways

以下描述包括对附图的讨论,这些附图具有通过本公开的实施例的实现的示例的方式给出的例示。这些附图应被理解成作为示例,而不是作为限制。The following description includes a discussion of the accompanying drawings with illustrations given by way of example of implementations of embodiments of the present disclosure. These figures are to be understood by way of example and not by way of limitation.

说明书中对“一个实施例”、“实施例”、“示例实施例”等的引用表明所描述的实施例可以包括特定的特征、结构或特性,但是每个实施例不一定都包括该特定的特征、结构或特性。此外,此类短语不一定是指同一个实施例。此外,当结合实施例描述特定的特征、结构或特性时,认为结合无论是否被明确描述的其他实施例而影响此类特征、结构或特性是在本领域技术人员的知识范围之内的。References in the specification to "one embodiment," "an embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but not every embodiment necessarily includes the particular feature, structure or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Furthermore, when a particular feature, structure or characteristic is described in connection with one embodiment, it is believed to be within the purview of those skilled in the art to affect such feature, structure or characteristic in connection with other embodiments, whether expressly described or not.

本申请中使用了流程图用来说明根据本申请的实施例的方法所执行的操作。应当理解的是,前面或下面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。Flow diagrams are used in this application to illustrate operations performed by methods according to embodiments of the application. It should be understood that the preceding or following operations are not necessarily performed in exact order. Rather, the various steps may be processed in reverse order or concurrently. At the same time, other actions are either added to these processes, or a step or steps are removed from these processes.

本文的实施例可用于从长视频中快速地截取一个或多个子视频并进行合并。在非限制性实施例中,长视频可以通过拍摄获得。拍摄对象例如可以是体育赛事、电竞比赛、影视作品、节目等。在一种示例性应用中,使用者希望在拍摄体育赛事(诸如篮球、足球比赛)的过程中快速地标记精彩事件(诸如投篮、射门、抢断),并在拍摄结束后自动生成这些精彩事件的短视频以及它们的集锦。在另一种示例性应用中,使用者可能希望在拍摄过程中快速地标记与某一人物相关的事件,并且在拍摄结束后将与该人物相关的短视频制作成集锦,即便这些短视频可能来自不同的源视频。在另一种示例性应用中,直播方可能希望第一时间生成视频集锦并分发给用户。在另一种示例性应用中,使用者可能在拍摄视频时仅针对自己关注的事件或对象进行了标记,但在拍摄结束后希望快速地对之前未关注的其他事件或对象生成视频集锦。在另一种示例性应用中,可以由被拍摄对象携带外部设备,该外部设备可以是遥控器,也可以是具有数据存储功能(如时间信息标记等)和/或计时功能的设备(包括装有相应应用的移动设备)等,由该外部设备控制设置在另一处的相机,以便由被拍摄对象本身通过遥控器控制该相机的拍摄以及标记,或由被拍摄者通过所述设备记录时间标记,从而更准确或更便捷地对事件进行标记。本文描述的实施例能够应用于以上诸多应用,但应当理解,上述应用是示例性的,并非用于限制本公开的技术方案或其用途。Embodiments herein can be used to quickly crop and merge one or more sub-videos from a long video. In a non-limiting example, long videos may be obtained by filming. The shooting object may be, for example, sports events, e-sports competitions, film and television works, programs, and the like. In an exemplary application, a user wishes to quickly mark highlights (such as a field goal, field goal, steal) during filming of a sporting event (such as a basketball, soccer game), and automatically generate a snapshot of these highlights after the filming is over. Short videos and their highlights. In another exemplary application, a user may wish to quickly mark events related to a person during filming, and make short videos related to that person into a compilation after filming, even though these short videos may Videos from different sources. In another exemplary application, the live broadcaster may wish to generate and distribute video highlights to users at the first time. In another exemplary application, the user may only mark events or objects that he pays attention to when shooting a video, but after shooting ends, he wants to quickly generate video highlights for other events or objects that he did not pay attention to before. In another exemplary application, an external device may be carried by the subject, and the external device may be a remote control, or a device with data storage function (such as time information marking, etc.) and/or timing function (including A mobile device with a corresponding application), etc., the external device controls a camera set at another place, so that the subject itself can control the shooting and marking of the camera through the remote control, or the subject can record the time through the device. tagging to more accurately or conveniently tag events. The embodiments described herein can be applied to many of the above applications, but it should be understood that the above applications are exemplary and not intended to limit the technical solutions of the present disclosure or their uses.

示例性视频处理方法Exemplary Video Processing Method

图1是示出根据实施例的示例性视频处理方法的流程图。该方法可以采用硬件和/或软件实现,可配置于电子设备中。FIG. 1 is a flowchart illustrating an exemplary video processing method according to an embodiment. The method can be implemented in hardware and/or software, and can be configured in an electronic device.

本实施例的方法开始于步骤101,其中,可以对源视频设置至少一个时间标志。The method of this embodiment starts at step 101, wherein at least one time mark may be set on the source video.

这里,为了便于理解,首先对实施例中涉及到的一些概念进行解释。Here, for ease of understanding, some concepts involved in the embodiments are first explained.

本文描述的“源视频”是相对于“子视频”而言的,并不旨在对视频本身施加任何限定,旨在表示该子视频是源视频的一个或多个部分,或者该子视频从源视频直接生成或者经处理后生成。The "source video" described herein is relative to the "sub-video" and is not intended to impose any limitations on the video itself, but is intended to mean that the sub-video is one or more parts of the source video, or that the sub-video is derived from The source video is generated directly or after processing.

在实施例中,源视频例如是针对体育赛事、电竞比赛、影视作品、节目等(下文有事称为“过程”)而拍摄的视频,可以是现场视频,也可以是转播或转录的视频。本文描述的“事件”是过程中的一段子过程,例如通常是使用者感兴趣的子过程,诸如体育赛事中的关键事件(诸如投篮、射门)、影视作品或节目中的精彩片段等。In an embodiment, the source video is, for example, a video shot for sports events, e-sports competitions, film and television works, programs, etc. (hereinafter referred to as "processes"), which may be live videos or rebroadcast or transcribed videos. An "event" described herein is a sub-process of a process, such as a sub-process that is generally of interest to a user, such as a key event in a sporting event (such as a shot, a goal), a highlight in a movie or program, and the like.

源视频可以通过任何方式获得,诸如拍摄(录制)、有线传输、无线传输等。拍摄源视频的方式不限于普通的录制方式,即以正常速度录制视频的录制方式,在一些实施例中,可以以慢镜头录制方式来录制源视频,也可以采用其他方式。在一些实施例中,源视频也可以从外部设备获得,诸如另一设备、客户端、服务器等。The source video may be obtained by any means, such as filming (recording), wired transmission, wireless transmission, and the like. The method of shooting the source video is not limited to the common recording method, that is, the recording method of recording the video at a normal speed. In some embodiments, the source video may be recorded in a slow-motion recording method, or other methods may be used. In some embodiments, the source video may also be obtained from an external device, such as another device, client, server, or the like.

时间标志用于对源视频的某个时间点进行标记,从而能够通过该时间标志定位到源视频中的特定帧。时间标志可以表示相对时间,即,表示相对于源视频本身的时间。时间标志也可以表示绝对时间,诸如格林尼治时间、时区时间等。在一些实施例中,源视频本身可以具有表示自身拍摄时间的时间信息。在该情况下,可以使时间标志所表示的时间与源视频自身携带的时间信息相匹配。这样,当同一源视频被不同的设备获取时,能够结合其携带的时间信息来识别时间标志所定位的正确帧,而不会因时区不同或设备的系统时间不同导致定位到错误的帧。尤其是,对于由不同设备针对同一过程(体育赛事、影视作品、节目等)拍摄的不同源视频,其视频长度、开始时刻和结束时刻可能会不同。此时,如果希望相同的一组时间标志能适用于这些源视频,可以采用表示绝对时间的时间标志。当然,也可以采用相对时间,例如在不需要将时间标志应用于其他源视频的情况下。The time stamp is used to mark a certain time point in the source video, so that a specific frame in the source video can be located through the time stamp. The time stamp may represent relative time, ie, time relative to the source video itself. Time stamps may also represent absolute time, such as Greenwich Mean Time, time zone time, and the like. In some embodiments, the source video itself may have temporal information representing when it was taken. In this case, the time indicated by the time stamp can be matched with the time information carried by the source video itself. In this way, when the same source video is acquired by different devices, the correct frame located by the time stamp can be identified in combination with the time information carried by it, and the wrong frame will not be located due to different time zones or different system times of the devices. In particular, for different source videos shot by different devices for the same process (sports events, film and television works, programs, etc.), the video length, start time and end time may be different. At this time, if it is desired that the same set of time stamps can be applied to these source videos, a time stamp representing absolute time can be used. Of course, relative times can also be used, for example in cases where time stamps do not need to be applied to other source videos.

在实施例中,时间标志可以设置一个或多个。例如可以针对过程中的一个事件设置一个时间标志。此时,可以将该时间标志的向前一段时间和/或向后一段时间内的帧确定为属于该事件,本文称为“标志推移模式”。在另一实施例中,可以针对过程中的一个事件设置例如两个时间标志,此时,可以将这两个时间标志之间的(多个)帧确定为属于该事件,本文称为“标志界定模式”。因此,对于同一组时间标志,不同的规则可以得到不同的一个或多个子视频。这种规则可以根据需要来定义,并且可以随时变更。In an embodiment, one or more time stamps may be set. For example, a time stamp can be set for an event in the process. At this time, frames within a period of time forward and/or a period of time backward of the time mark may be determined to belong to the event, which is referred to herein as a "marker shift mode". In another embodiment, for example, two time markers may be set for an event in the process, and at this time, the frame(s) between the two time markers may be determined to belong to the event, which is referred to herein as "marker" Defining Patterns". Therefore, for the same set of time stamps, different rules can obtain different one or more sub-videos. Such rules can be defined as needed and can be changed at any time.

时间标志的设置例如可以通过触发来实现。图2图示出根据实施例的在拍摄过程中通过按钮触发来设置时间标志的示例性界面。如图2所示,假设使用者正在录制一场篮球赛,并且已经录制了5分13秒。此时,使用者例如可以通过球员A的动作判断球员A有较大可能即将投篮并想标记这次投篮事件。此时,使用者可以触摸界面上的“设置标志”按钮来设置时间标志。The setting of the time stamp can be achieved, for example, by triggering. FIG. 2 illustrates an exemplary interface for setting a time stamp through button triggering during a capture, according to an embodiment. As shown in Figure 2, it is assumed that the user is recording a basketball game and has recorded 5 minutes and 13 seconds. At this time, the user may, for example, determine that player A is likely to shoot a ball through the action of player A and wants to mark this shooting event. At this time, the user can touch the "Set Flag" button on the interface to set the time flag.

在标志推移模式下,使用者可以预先设置例如将时间标志前2秒和后3秒这一时间段内的子视频(帧集合)确定为最终生成的子视频。向前或向后的推移量可以根据需要或根据使用者的习惯任意设置。在一些实施例中,可以仅设置向前推移量和向后推移量中的一者。在一些实施例中,可以在生成子视频前进行调整这些时间段。In the mark transition mode, the user can preset, for example, the sub-video (frame set) in the time period of 2 seconds before and 3 seconds after the time mark as the final generated sub-video. The amount of forward or backward shift can be arbitrarily set as required or according to the user's habit. In some embodiments, only one of the forward shift amount and the backward shift amount may be set. In some embodiments, these time periods may be adjusted prior to generating the sub-video.

在标志界定模式下,使用者可以在认为球员A即将投篮时触摸“设置标志”按钮来设置作为子视频的起始的时间标志,并且在例如投篮完成后再次触摸“设置标志”按钮来设置作为子视频的终止的时间标志。在一些实施例中,可以在触摸“设置标志”按钮来设置作为子视频的起始的时间标志之后,在界面上呈现一定的指示来使使用者能够得知当前已经设置了起始的时间标志,这样能防止使用者混淆。这种指示可以通过多种方式实现。在一些实施例中,可以使“设置标志”按钮本身的显示状态改变(诸如高亮、闪烁等)。在另一实施例中,可以在界面上显示相应的提示信息,包括但不限于文字、符号、动画、图片和/或声音等。In the flag-defining mode, the user can touch the "Set Flag" button when he thinks Player A is about to shoot to set the time flag as the start of the sub-video, and touch the "Set Flag" button again after, for example, the shot is completed to set the time flag as the start of the sub-video. Time stamp for the termination of the sub-video. In some embodiments, after the "Set Flag" button is touched to set the time flag as the start of the sub-video, a certain indication may be presented on the interface to enable the user to know that the start time flag has currently been set , which prevents user confusion. This indication can be achieved in a number of ways. In some embodiments, the display state of the "Set Flag" button itself may be changed (such as highlighted, blinking, etc.). In another embodiment, corresponding prompt information may be displayed on the interface, including but not limited to text, symbols, animations, pictures, and/or sounds.

图2所示的界面上各个要素的设置只是一种示例,可以根据需要采用各种设计或者省略其一部分。The setting of each element on the interface shown in FIG. 2 is just an example, and various designs may be adopted or a part of them may be omitted as required.

设置标志的触发可以是触摸动作、按键操作、手势、语音输入、语意输入、远程指令中的至少一种。触发既可以通过软件方式实现,也可以通过硬件方式实现,该情况下,可以利用设备已有的硬件组件,也可以设置专用的硬件组件。在一些实施例中,该触发可以通过来自遥控器的远程指令来发送,该遥控器与拍摄源视频的设备可通信地耦合,并且具有触发机制以用于向该设备发送设置时间标志的指令。The trigger for setting the flag may be at least one of a touch action, a key operation, a gesture, a voice input, a semantic input, and a remote command. Triggering can be implemented by software or hardware. In this case, existing hardware components of the device can be used, or dedicated hardware components can be set. In some embodiments, the trigger may be sent by remote command from a remote control communicatively coupled to the device capturing the source video and having a trigger mechanism for sending the device an command to set a time stamp.

需要注意的是,上文描述了针对一个事件设置时间标志的过程,但应当理解,也可以通过多次触发来以同样的方式设置多个时间标志,并且一个事件可以对应多个时间标志。It should be noted that the process of setting a time mark for one event is described above, but it should be understood that multiple time marks can also be set in the same manner by triggering multiple times, and one event may correspond to multiple time marks.

此外,上文描述了针对事件设置时间标志的过程,但应当理解,也可以对过程中的其他要素(诸如对象)来设置时间标志。图3图示出根据实施例的在拍摄过程中对某一对象设置时间标志的示例性界面。这里,假设使用者正在录制一场篮球赛,并且已经录制了5分13秒。然而,使用者可能只关注某一球员的表现,此时,可以不根据某一事件而根据例如该球员是否活动来设置事件标志,并设置相应的标签,关于标签的细节将在下文阐述。Furthermore, the above describes the process of setting time stamps for events, but it should be understood that other elements in the process, such as objects, may also be time stamped. FIG. 3 illustrates an exemplary interface for setting a time stamp on an object during shooting, according to an embodiment. Here, it is assumed that the user is recording a basketball game and has recorded 5 minutes and 13 seconds. However, the user may only pay attention to the performance of a certain player. In this case, the event flag may be set according to whether the player is active or not, and a corresponding label may be set instead of a certain event. The details of the label will be described below.

回到图1,在步骤102中,可选地,可以对在步骤101中设置的时间标志设置标签。Returning to FIG. 1 , in step 102 , optionally, a label may be set for the time mark set in step 101 .

本文所述的标签例如可以用于标识根据与其对应的时间标志所生成的子视频,包括但不限于对事件内容(诸如投篮、射门、抢断)、拍摄对象(诸如人物、场景)或者事件发生时间的描述,也可以是图形(诸如图5中的“◎”)等。The tags described herein may, for example, be used to identify sub-videos generated according to their corresponding time stamps, including but not limited to the content of events (such as shots, shots, steals), objects (such as people, scenes), or the time of the event. The description can also be graphics (such as "◎" in Figure 5) and so on.

可以对一个时间标志设置一个标签,也可以对一个时间标志设置多个标签。这样,根据时间标志生成的子视频也与对该时间标志设置的标签相关联。这些标签之后可用于快速地检取与之相对应的子视频。当然,本申请并不要求对所有时间标志设置标签,可以仅对部分时间标志设置标签,或根据使用者需要,不对时间标志设置标签。One label can be set for one time stamp, or multiple labels can be set for one time stamp. In this way, the sub-video generated from the time stamp is also associated with the tag set for the time stamp. These tags can then be used to quickly retrieve the sub-videos corresponding to them. Of course, the present application does not require to set labels on all the time markers, and only some of the time markers can be labeled, or according to the user's needs, no labels are set on the time markers.

在一些实施例中,标签的设置可以是紧接在时间标志的设置之后。在这种情况下,可以在拍摄(录制)源视频的同时进行时间标志和标签的设定。图4图示出根据实施例的用于在拍摄视频时设置标签的示例性界面。这里,假设使用者正在录制一场篮球赛,并且在录制了5分13秒时按下了“设置标志”按钮。这样,系统记录下在5分13秒对该视频设置了时间标志。然后如图4所示,例如可以在下一秒,即5分14秒向使用者呈现输入标签的界面。使用者可以在输入所需内容并保存后完成标签的设置。实际的间隔时间不限于下一秒,可以根据需要来设置。在一些实施例中,可以在输入标签的同时继续视频的拍摄。In some embodiments, the setting of the label may be immediately after the setting of the time stamp. In this case, the setting of time stamps and labels can be done while shooting (recording) the source video. 4 illustrates an exemplary interface for setting tags when capturing video, according to an embodiment. Here, assume that the user is recording a basketball game and presses the "set flag" button when 5 minutes and 13 seconds have been recorded. In this way, the system records that a time stamp is set for the video at 5 minutes and 13 seconds. Then, as shown in FIG. 4 , for example, an interface for inputting a tag may be presented to the user in the next second, ie, 5 minutes and 14 seconds. The user can complete the setting of the label after entering the desired content and saving it. The actual interval time is not limited to the next second and can be set as required. In some embodiments, the capture of the video may continue while the tag is being entered.

在一些实施例中,标签可以通过手动方式输入(诸如字符、图形)。在另一实施例中,可以预先设置一个或多个标签,从而可以在输入时直接选择所需的标签。图5图示出根据实施例的用于在拍摄视频时设置标签的另一示例性界面。如图5所示,在标签输入界面41中呈现了多个预先设置的标签选项42。标签选项42的内容可以预先设置。这样,当使用者设置了时间标记后可以通过选择标签选项42来快速地输入标签,同时能避免因手动输入造成设备抖动从而影响拍摄质量。在另一实施例中,可以在按下“触摸输入”按钮的同时直接通过触摸滑动来选择相应的标签。在又一实施例中,可以通过语音来输入标签。应理解,标签输入界面41和标签选项42可以根据需要以任意方式设置,不限于图4和图5所示的情况。In some embodiments, labels may be entered manually (such as characters, graphics). In another embodiment, one or more tags can be preset, so that the desired tag can be directly selected when inputting. FIG. 5 illustrates another exemplary interface for setting tags when capturing video, according to an embodiment. As shown in FIG. 5 , a plurality of preset label options 42 are presented in the label input interface 41 . The content of the tab option 42 can be preset. In this way, after the user has set the time stamp, the user can quickly input the label by selecting the label option 42, and at the same time, it is possible to avoid the device shaking due to manual input and thus affecting the shooting quality. In another embodiment, the corresponding label can be directly selected by touch sliding while pressing the "touch input" button. In yet another embodiment, the tag may be entered by voice. It should be understood that the label input interface 41 and the label option 42 can be set in any manner as required, and are not limited to the situations shown in FIGS. 4 and 5 .

在一些实施例中,标签可以与标志推移模式下的推移时间相关联。例如当标签设置为“投篮”时,可以自动选择生成从时间标志向后2秒这一时间段内的子视频。而例如当标签设置为“过人”时,可以自动选择生成从时间标志向前2秒到向后3秒这一时间段内的子视频。这样,当使用者选择了某一标签以后,能够以与该标签相对应的方式生成子视频。In some embodiments, the label may be associated with the elapsed time in the flag elapsed mode. For example, when the label is set to "shooting", the sub-video in the time period 2 seconds backward from the time mark can be automatically selected to be generated. For example, when the label is set to "extraordinary", the sub-video in the time period from the time mark forward 2 seconds to the backward 3 seconds can be automatically selected to be generated. In this way, after the user selects a certain tag, the sub-video can be generated in a manner corresponding to the tag.

回到图1,在步骤103中,当视频拍摄完成后,根据所设置的(多个)时间标志以预先定义的方式(标志推移模式、标志界定模式等)生成子视频,对该时间标志设置的标签(如果有)自动关联到对应的子视频。子视频既可以以正常速度生成,也可以以慢镜头方式生成。之后将所生成的子视频进行保存。应当理解,步骤103可以自动执行,也可以依指令执行。此外,也可以在视频拍摄完成后包括对已设置的时间标志进行更改、前后调整或删减的步骤。Returning to FIG. 1, in step 103, after the video shooting is completed, a sub-video is generated in a pre-defined manner (mark shift mode, mark definition mode, etc.) according to the set time stamp(s), and the time stamp is set The tags (if any) are automatically associated to the corresponding sub-videos. Sub-videos can be generated either at normal speed or in slow motion. The generated sub-video is then saved. It should be understood that step 103 can be executed automatically, or can be executed according to an instruction. In addition, it is also possible to include steps to change, adjust or delete the set time stamp after the video is shot.

通过步骤101至103,能够在拍摄视频的过程中设置时间标志和标签并在视频拍摄结束后生成相应的子视频。Through steps 101 to 103, a time stamp and a label can be set during the process of shooting a video, and a corresponding sub-video can be generated after the shooting of the video is completed.

之后,可选地,在步骤104中,可以在任意时刻从所生成的(多个)子视频中选择一个或多个子视频进行合成以用于生成视频集锦。Afterwards, optionally, in step 104, one or more sub-videos may be selected from the generated sub-video(s) at any moment for synthesis to be used for generating a video highlight.

可选地,在步骤105中,可以在任意时刻将所生成的时间标志以及表示该时间标志与其源视频所针对的过程的对应关系的信息上传到外部设备,该对应关系使得该时间标志能够正确地与其他针对同一过程拍摄的源视频相匹配。该信息例如可以包括时间标志的绝对时间。在另一实施例中,该信息可以进一步包括源视频所针对的过程的标识信息,以便于识别时间标志针对的是哪个过程。所上传的时间标志以及上述表示对应关系的信息例如可以供其他使用者应用于针对同一过程的另一源视频来生成子视频。Optionally, in step 105, the generated time stamp and the information representing the corresponding relationship between the time stamp and the process for which the source video is directed can be uploaded to the external device at any time, and the corresponding relationship enables the time stamp to be correct. matched to other source videos shot for the same process. This information may include, for example, the absolute time of the time stamp. In another embodiment, the information may further include identification information of the procedure for which the source video is directed, in order to identify which procedure the time stamp is directed to. The uploaded time stamp and the above-mentioned information representing the corresponding relationship can be used by other users to generate sub-videos by applying them to another source video for the same process, for example.

这里,步骤102、步骤104和步骤105用虚线框表示是因为这些步骤可以省略。Here, step 102, step 104 and step 105 are represented by dotted boxes because these steps can be omitted.

图6示出根据另一实施例的示例性视频处理方法的流程图。该方法与图1所示的方法的不同之处在于,在拍摄视频时不进行标签的设置,取而代之在拍摄结束后对生成子视频及其对应的时间标志设置标签。标签的设置方式不作限定。FIG. 6 shows a flowchart of an exemplary video processing method according to another embodiment. The difference between this method and the method shown in FIG. 1 is that the label is not set when shooting the video, instead, the label is set for the generated sub-video and its corresponding time stamp after the shooting ends. There is no restriction on how the label is set.

步骤601对应于图1中的步骤101,步骤602对应于图1中的步骤103。在步骤603中,可以在拍摄完视频后的任何时刻对至少一个时间标志及其对应的子视频设置标签。因此,即便使用者在拍摄过程中没有设置标签,也可以在将来补充需要的标签。Step 601 corresponds to step 101 in FIG. 1 , and step 602 corresponds to step 103 in FIG. 1 . In step 603, a label can be set for at least one time stamp and its corresponding sub-video at any moment after the video is shot. Therefore, even if the user does not set the label during the shooting process, the required label can be supplemented in the future.

应当理解,图6所示的方法可以与图1所示的方法结合,即,可以在拍摄过程中设置标签,并在拍摄结束后另行添加标签。当然也可以在拍摄结束后对已添加的标签进行修改或删减。It should be understood that the method shown in FIG. 6 may be combined with the method shown in FIG. 1 , that is, a label may be set during the shooting process, and a label may be added after the shooting ends. Of course, the added tags can also be modified or deleted after the shooting.

图7示出根据另一实施例的合并子视频的方法的流程图。该流程可以在任何时间发起。本实施例与图1的实施例的不同之处在于,通过选择时间标志和/或标签(而非子视频)来生成视频集锦。FIG. 7 shows a flowchart of a method of merging sub-videos according to another embodiment. This process can be initiated at any time. This embodiment differs from the embodiment of FIG. 1 in that the video highlights are generated by selecting time stamps and/or tags instead of sub-videos.

该流程可以接在图1的步骤103或步骤603之后,也可以开始于步骤701,因为可能存在事后需要生成视频集锦的情况。The process may be followed by step 103 or step 603 in FIG. 1 , or may start at step 701, because there may be situations in which a video collection needs to be generated afterwards.

在步骤701中,首先选择要生成视频集锦的源视频。这里选择的可以是源视频本身,也可以选择用于标识与该源视频相关的(多个)时间标志和/或(多个)标签的标题、缩略图等,只要能够检取到与源视频相关的(多个)时间标志和/或(多个)标签即可。In step 701, a source video for which a video highlight is to be generated is first selected. The selection here can be the source video itself, or the title, thumbnail, etc. used to identify the time stamp(s) and/or tag(s) related to the source video, as long as the source video can be retrieved Relevant time stamp(s) and/or label(s) will suffice.

之后,在步骤702中,从所呈现的与源视频相关联的(多个)标签中选择所需的(多个)标签,然后在步骤703中,将与所选择的(多个)标签相关联的子视频合并来生成视频集锦。在其他实施例中,也可以通过选择时间标志来合并子视频。在该情况下,可以重新设定子视频生成方式,诸如标志推移模式、标志界定模式、慢镜头模式等。在选择标签的情况下,能够方便地从多个源视频生成满足特定需要的视频集锦。Thereafter, in step 702, the desired tag(s) are selected from the presented tag(s) associated with the source video, and then in step 703 the selected tag(s) are associated Combined sub-videos to generate video highlights. In other embodiments, sub-videos may also be merged by selecting a time stamp. In this case, the sub-video generation mode can be reset, such as a logo shift mode, a logo delineation mode, a slow motion mode, and the like. With the selection of tags, video highlights that meet specific needs can be easily generated from multiple source videos.

图8示出根据另一实施例的合并子视频的示例性方法的流程图。该方法与图7所示的方法的不同之处在于,通过选择标签来快速地从多个源视频生成视频集锦。本实施例设想使用者在不同时期拍摄了包含某一对象(例如某球员)的多个源视频并希望针对该对象制作视频集锦的情况。当然,本实施例并不要求该对象出现在各个源视频的每一帧中,即便部分源视频中没有与该对象相关的帧(换言之,没有针对该对象设置标签),也不影响实现本实施例的效果。8 illustrates a flowchart of an exemplary method of merging sub-videos according to another embodiment. This method differs from the method shown in Figure 7 in that video highlights are quickly generated from multiple source videos by selecting tags. This embodiment assumes a situation where a user shoots multiple source videos containing a certain object (eg, a certain player) at different times and wishes to make a video highlight for the object. Of course, this embodiment does not require the object to appear in every frame of each source video, even if there are no frames related to the object in some source videos (in other words, no label is set for the object), it will not affect the implementation of this implementation. example effect.

在步骤801中,可以选择需要用于生成视频集锦的多个源视频。在实施例中,假设已经通过图1或图5所示的方法分别对各个源视频设置了时间标志并且至少针对感兴趣的对象(例如球员)设置了标签。In step 801, multiple source videos to be used for generating a video collection may be selected. In an embodiment, it is assumed that time stamps have been set for each source video by the method shown in FIG. 1 or FIG. 5 , and tags are set at least for objects of interest (eg, players), respectively.

接着,在步骤802中,使用者可以从所呈现的与各个源视频相关联的标签所构成的组中选择至少一个标签,例如“球员A”。然后在步骤803中,将与所选择的标签(“球员A”)相对应的子视频合并来生成该球员A的视频集锦。这样,能够方便地从多个源视频生成需要的视频集锦。Next, in step 802, the user may select at least one tag, eg, "Player A," from the presented group of tags associated with each source video. Then in step 803, the sub-videos corresponding to the selected tag ("player A") are merged to generate a video highlight of the player A. In this way, desired video highlights can be easily generated from multiple source videos.

在替代实施例中,可以从外部获取源视频以及对其设置的时间标志(在一些实施例中可以进一步包括标签)。例如针对同一过程(例如赛事),可能有多个设备从不同角度进行了拍摄。该情况下,可以通过从这些设备或服务器接收包括源视频和时间标志(在一些实施例中可以进一步包括标签)在内的数据包。然后可以通过图8所示的方法生成视频集锦。In an alternative embodiment, the source video and the time stamp (which in some embodiments may further include a tag) set to it may be obtained externally. For example, for the same process (such as an event), there may be multiple devices filming from different angles. In this case, data packets including source video and time stamps (which may further include tags in some embodiments) may be received from these devices or servers. Video highlights can then be generated by the method shown in FIG. 8 .

在其它实施例中,例如针对同一过程(例如赛事),可能有多个设备从不同角度进行了拍摄。使用者可能只拍摄源视频而未设置时间标记和标签。此时,该使用者可以从另一设备或服务器下载与该过程相关联的(多个)时间标志。此时,如上所述,接收的数据中可以包含该时间标志与所针对的过程的对应关系的信息,以便这些时间标记能够正确地与使用者自身拍摄的源视频相匹配。In other embodiments, such as for the same process (eg, an event), there may be multiple devices filming from different angles. The user may just shoot the source video without setting timestamps and labels. At this point, the user may download the time stamp(s) associated with the process from another device or server. At this time, as described above, the received data may contain information on the correspondence between the time stamps and the targeted process, so that these time stamps can be correctly matched with the source video shot by the user himself.

示例性电子设备Exemplary Electronics

图9图示出根据实施例的示例性电子设备900。电子设备900包括:一个或多个处理器920;存储装置910,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器920执行,使得所述一个或多个处理器920实现实施例所提供的视频处理方法。处理器诸如例如,数字信号处理器(DSP)、微控制器、专用集成电路(ASIC)或微处理器。FIG. 9 illustrates an exemplary electronic device 900 according to an embodiment. The electronic device 900 includes: one or more processors 920; a storage device 910 for storing one or more programs, when the one or more programs are executed by the one or more processors 920, so that the one or more programs The processor or processors 920 implement the video processing methods provided by the embodiments. The processor is such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC) or a microprocessor.

图9所示的电子设备900仅仅是一个示例,不应对实施例的功能和使用范围带来任何限制。The electronic device 900 shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiment.

如图9所示,电子设备900以通用计算设备的形式表现。电子设备900的组件可以包括但不限于:一个或者多个处理器920,存储装置910,连接不同系统组件(包括存储装置910和处理器920)的总线950。As shown in FIG. 9, electronic device 900 takes the form of a general-purpose computing device. The components of the electronic device 900 may include, but are not limited to, one or more processors 920 , a storage device 910 , and a bus 950 connecting various system components (including the storage device 910 and the processor 920 ).

总线950表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外国总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外国组件互连(PCI)总线。Bus 950 represents one or more of several types of bus structures, including a memory bus or memory controller, a foreign bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Foreign Component Interconnect ( PCI) bus.

电子设备900典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备900访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 900 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 900, including volatile and non-volatile media, removable and non-removable media.

存储装置910可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)911和/或高速缓存存储器912。电子设备900可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统913可以用于读写不可移动的、非易失性磁介质(图9未显示,通常称为“硬盘驱动器”)。尽管图9中未示出,可以提供用于对可移动非易失性磁盘(例如"软盘")读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线950相连。存储装置910可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。Storage 910 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 911 and/or cache memory 912 . Electronic device 900 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 913 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard disk drive"). Although not shown in Figure 9, a magnetic disk drive for reading and writing to removable non-volatile magnetic disks (eg "floppy disks") and removable non-volatile optical disks (eg CD-ROM, DVD-ROM) may be provided or other optical media) to read and write optical drives. In these cases, each drive may be connected to bus 950 through one or more data media interfaces. Storage 910 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present disclosure.

具有一组(至少一个)程序模块915的程序/实用工具914,可以存储在例如存储装置910中,这样的程序模块915包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块915通常执行本公开所描述的任意实施例中的功能和/或方法。A program/utility 914 having a set (at least one) of program modules 915, which may be stored, for example, in storage 910, such program modules 915 including, but not limited to, an operating system, one or more application programs, other program modules, and programs Data, each or some combination of these examples may include an implementation of a network environment. Program modules 915 generally perform the functions and/or methods of any of the embodiments described in this disclosure.

电子设备900也可以与一个或多个外部设备960(例如键盘、指向设备、显示器970等)通信,还可与一个或者多个使得用户能与该电子设备900交互的设备通信,和/或与使得该电子设备900能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口930进行。并且,电子设备900还可以通过网络适配器940与一个或者多个网络(例如局域网(LAN)、广域网(WAN)和/或公共网络,例如因特网)通信。如图9所示,网络适配器940通过总线950与电子设备900的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备900使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 900 may also communicate with one or more external devices 960 (eg, keyboard, pointing device, display 970, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and/or communicate with the electronic device 900. Any device (eg, network card, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 930 . Also, the electronic device 900 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 940 . As shown in FIG. 9 , the network adapter 940 communicates with other modules of the electronic device 900 through the bus 950 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.

处理器920通过运行存储在存储装置910中的程序,从而执行各种功能应用以及数据处理,例如实现实施例所提供的一种视频处理方法。The processor 920 executes various functional applications and data processing by running the programs stored in the storage device 910, for example, to implement a video processing method provided by the embodiments.

程序代码可以用高级过程编程语言或面向对象的编程语言来实现,以便与处理系统通信。如果需要,也可用汇编语言或机器语言来实现程序代码。事实上,本文中所描述的机制不限于任何特定的编程语言的范围。在任何情况下,该语言可以是编译语言或解释语言。The program code may be implemented in a high-level procedural programming language or an object-oriented programming language to communicate with the processing system. The program code may also be implemented in assembly or machine language, if desired. In fact, the mechanisms described herein are not limited to the scope of any particular programming language. In any case, the language can be a compiled language or an interpreted language.

至少一个实施例的一个或多个方面可由存储在机器可读介质上的表示处理器中的各种逻辑的表示性指令来实现,该表示性指令在由机器读取时使得该机器制造用于执行本文中所描述的技术的逻辑。One or more aspects of at least one embodiment may be implemented by representative instructions stored on a machine-readable medium representing various logic in a processor, which when read by a machine cause the machine to be manufactured for Logic that implements the techniques described herein.

此类机器可读存储介质可以包括但不限于通过机器或设备制造或形成的物品的非暂态的有形安排,其包括存储介质,诸如:硬盘;任何其他类型的盘,包括软盘、光盘、紧致盘只读存储器(CD-ROM)、紧致盘可重写(CD-RW)以及磁光盘;半导体器件,诸如只读存储器(ROM)、诸如动态随机存取存储器(DRAM)和静态随机存取存储器(SRAM)之类的随机存取存储器(RAM)、可擦除可编程只读存储器(EPROM)、闪存、电可擦除可编程只读存储器(EEPROM);相变存储器(PCM);磁卡或光卡;或适于存储电子指令的任何其他类型的介质。Such machine-readable storage media may include, but are not limited to, non-transitory, tangible arrangements of items manufactured or formed by machines or equipment, including storage media, such as: hard disks; any other type of disks, including floppy disks, optical disks, compact disks compact disk read only memory (CD-ROM), compact disk rewritable (CD-RW), and magneto-optical disks; semiconductor devices such as read only memory (ROM), such as dynamic random access memory (DRAM) and static random access memory Random Access Memory (RAM) such as Access Memory (SRAM), Erasable Programmable Read Only Memory (EPROM), Flash Memory, Electrically Erasable Programmable Read Only Memory (EEPROM); Phase Change Memory (PCM); Magnetic or optical cards; or any other type of medium suitable for storing electronic instructions.

还可以经由利用许多传输协议(例如,帧中继、网际协议(IP)、传输控制协议(TCP)、用户数据报协议(UDP)、超文本传输协议(HTTP)等等)中的任何一种协议的网络接口设备,通过使用传输介质的通信网络来进一步发送或接收指令。It is also possible to use any of a number of transport protocols (eg, Frame Relay, Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), etc.) A protocol's network interface device that further sends or receives instructions over a communications network using a transmission medium.

示例通信网络可包括局域网(LAN)、广域网(WAN)、分组数据网络(例如,因特网)、移动电话网络(例如,蜂窝网络)、普通老式电话(POTS)网络、以及无线数据网络(例如,称为的电气与电子工程师协会(IEEE)802.11系列标准、称为的IEEE 802.16系列标准)、IEEE 802.15.4系列标准、对等(P2P)网络等。在示例中,网络接口设备可包括用于连接到通信网络的一个或多个物理插口(jack)(例如,以太网、同轴、或电话插口)或者一根或多根天线。在示例中,网络接口设备可包括使用单输入多输出(SIMO)、多输入多输出(MIMO)、或多输入单输出(MISO)技术中的至少一种技术来无线地通信的多根天线。Example communication networks may include local area networks (LANs), wide area networks (WANs), packet data networks (eg, the Internet), mobile telephone networks (eg, cellular networks), plain old telephone (POTS) networks, and wireless data networks (eg, called for The Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, known as IEEE 802.16 series of standards), IEEE 802.15.4 series of standards, peer-to-peer (P2P) networks, etc. In an example, the network interface device may include one or more physical jacks (eg, Ethernet, coaxial, or telephone jacks) or one or more antennas for connecting to a communication network. In an example, the network interface device may include multiple antennas that communicate wirelessly using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) techniques.

术语“传输介质”应当认为包括能够存储、编码或承载供由机器执行的指令的任何无形介质,并且“传输介质”包括数字或模拟通信信号或者用于促进此类软件的通信的其他无形的介质。The term "transmission medium" shall be taken to include any intangible medium capable of storing, encoding or carrying instructions for execution by a machine, and "transmission medium" includes digital or analog communication signals or other intangible medium used to facilitate the communication of such software .

以下示例涉及根据本说明书的实施例。The following examples relate to embodiments according to the present specification.

示例1是一种视频处理方法,包括:对源视频设置至少一个时间标志;以及基于时间标志从源视频生成子视频并进行存储,其中子视频与用于生成该子视频的时间标志相关联。Example 1 is a video processing method comprising: setting at least one time stamp on a source video; and generating and storing a sub-video from the source video based on the time stamp, wherein the sub-video is associated with the time stamp used to generate the sub-video.

示例2可包括示例1的主题的至少一部分,其中,还包括:对至少一个时间标志设置至少一个标签,其中子视频与用于生成该子视频的时间标志所对应的标签相关联。Example 2 can include at least a portion of the subject matter of Example 1, further comprising: setting at least one tag to at least one time stamp, wherein the sub-video is associated with a tag corresponding to the time stamp used to generate the sub-video.

示例3可包括示例2的主题的至少一部分,其中,在拍摄源视频期间执行设置时间标志的步骤和设置标签的步骤。Example 3 can include at least a portion of the subject matter of Example 2, wherein the step of setting the time stamp and the step of setting the label are performed during capturing of the source video.

示例4可包括示例3的主题的至少一部分,其中,在设置时间标志之后呈现供使用者输入标签的界面。Example 4 can include at least a portion of the subject matter of Example 3, wherein an interface for a user to enter a tag is presented after the time stamp is set.

示例5可包括示例4的主题的至少一部分,其中,在使用者输入标签期间,继续拍摄视频。Example 5 can include at least a portion of the subject matter of Example 4, wherein the video continues to be captured during user input of the tag.

示例6可包括示例4的主题的至少一部分,其中,界面包括多个预先设定和/或使用者可以即时自定义输入的标签。Example 6 can include at least a portion of the subject matter of Example 4, wherein the interface includes a plurality of pre-set and/or user-enterable labels that can be customized on-the-fly.

示例7可包括示例2的主题的至少一部分,其中,基于时间标志的向前第一时间段和/或向后第二时间段的总时段来从视频中提取子视频。Example 7 can include at least a portion of the subject matter of Example 2, wherein the sub-video is extracted from the video based on a total period of the forward first time period and/or the backward second time period of the time stamp.

示例8可包括示例7的主题的至少一部分,其中,第一时间段和第二时间段为预先设置并且可调整。Example 8 can include at least a portion of the subject matter of Example 7, wherein the first time period and the second time period are preset and adjustable.

示例9可包括示例7的主题的至少一部分,其中,第一时间段和第二时间段与标签相关联。Example 9 can include at least a portion of the subject matter of Example 7, wherein the first time period and the second time period are associated with the tag.

示例10可包括示例1的主题的至少一部分,其中,从视频中提取相邻两个时间标志之间的子视频。Example 10 may include at least a portion of the subject matter of Example 1, wherein a sub-video between two adjacent time markers is extracted from the video.

示例11可包括示例2的主题的至少一部分,其中,还包括:将多个子视频合并。Example 11 can include at least a portion of the subject matter of Example 2, further comprising: combining the plurality of sub-videos.

示例12可包括示例11的主题的至少一部分,其中,将多个子视频合并包括:对被选择的子视频进行合并。Example 12 can include at least a portion of the subject matter of Example 11, wherein combining the plurality of sub-videos includes combining the selected sub-videos.

示例13可包括示例11的主题的至少一部分,其中,将多个子视频合并包括:对与被选择的标签相对应的子视频进行合并。Example 13 can include at least a portion of the subject matter of Example 11, wherein combining the plurality of sub-videos includes combining the sub-videos corresponding to the selected tags.

示例14可包括示例11的主题的至少一部分,其中,多个子视频中的至少一个从另一源视频生成,并基于相同的标签而被合并。Example 14 can include at least a portion of the subject matter of Example 11, wherein at least one of the plurality of sub-videos is generated from another source video and merged based on the same tag.

示例15可包括示例1的主题的至少一部分,其中,基于触发设置时间标志。Example 15 may include at least a portion of the subject matter of Example 1, wherein the time flag is set based on the trigger.

示例16可包括示例15的主题的至少一部分,其中,触发包括触摸动作、按键操作、手势、语音输入、语意输入、远程指令中的至少一种。Example 16 can include at least a portion of the subject matter of Example 15, wherein the trigger includes at least one of a touch action, a key operation, a gesture, a voice input, a semantic input, a remote command.

示例17可包括示例1的主题的至少一部分,其中,还包括:将对源视频设置的至少一个时间标志以及表示时间标志与源视频针对的过程的对应关系的信息上传到外部设备。Example 17 may include at least a portion of the subject matter of Example 1, further comprising uploading to the external device at least one time stamp set to the source video and information indicating a correspondence between the time stamp and the process for which the source video is directed.

示例18是一种视频处理方法,包括:在本地针对过程拍摄源视频;从外部接收与源视频针对的过程相关联的至少一个时间标志;以及基于时间标志从源视频生成子视频并进行存储,其中子视频与用于生成该子视频的时间标志相关联。Example 18 is a video processing method, comprising: photographing a source video locally for a process; externally receiving at least one time stamp associated with the process for which the source video is directed; and generating and storing a sub-video from the source video based on the time stamp, Wherein the sub-video is associated with the time stamp used to generate the sub-video.

示例18可包括示例17的主题的至少一部分,其中,还包括:对至少一个时间标志设置至少一个标签,其中子视频与用于生成该子视频的时间标志所对应的标签相关联。Example 18 can include at least a portion of the subject matter of Example 17, further comprising: setting at least one tag to at least one time stamp, wherein the sub-video is associated with a tag corresponding to the time stamp used to generate the sub-video.

示例20可包括示例18的主题的至少一部分,其中,还包括:从外部接收表示时间标志与源视频针对的过程的对应关系的信息。Example 20 can include at least a portion of the subject matter of Example 18, further comprising: externally receiving information representing a correspondence of the time stamp to the process for which the source video is directed.

示例21可包括示例19的主题的至少一部分,其中,基于时间标志的向前第一时间段和/或向后第二时间段的总时段来从视频中提取子视频。Example 21 can include at least a portion of the subject matter of Example 19, wherein the sub-video is extracted from the video based on a total period of time-marked forward first time period and/or backward second time period.

示例22可包括示例21的主题的至少一部分,其中,第一时间段和第二时间段为预先设置并且可调整。Example 22 can include at least a portion of the subject matter of Example 21, wherein the first time period and the second time period are preset and adjustable.

示例23可包括示例21的主题的至少一部分,其中,第一时间段和第二时间段与标签相关联。Example 23 can include at least a portion of the subject matter of Example 21, wherein the first time period and the second time period are associated with the tag.

示例24可包括示例18的主题的至少一部分,其中,从视频中提取相邻两个时间标志之间的子视频。Example 24 may include at least a portion of the subject matter of Example 18, wherein a sub-video between two adjacent time markers is extracted from the video.

示例25可包括示例19的主题的至少一部分,其中,还包括:将多个子视频合并。Example 25 can include at least a portion of the subject matter of Example 19, further comprising: combining the plurality of sub-videos.

示例26可包括示例25的主题的至少一部分,其中,将多个子视频合并包括:对被选择的子视频进行合并。Example 26 can include at least a portion of the subject matter of Example 25, wherein combining the plurality of sub-videos includes combining the selected sub-videos.

示例27可包括示例25的主题的至少一部分,其中,将多个子视频合并包括:对与被选择的标签相对应的子视频进行合并。Example 27 can include at least a portion of the subject matter of Example 25, wherein combining the plurality of sub-videos includes combining the sub-videos corresponding to the selected tags.

示例28可包括示例25的主题的至少一部分,其中,多个子视频中的至少一个从另一源视频生成,并基于相同的标签而被合并。Example 28 can include at least a portion of the subject matter of Example 25, wherein at least one of the plurality of sub-videos is generated from another source video and merged based on the same tag.

示例29是一种电子设备,包括处理器,处理器被配置用于执行示例1至28中任一示例的方法。Example 29 is an electronic device including a processor configured to perform the method of any of Examples 1-28.

示例30是一种视频处理装置,包括用于执行如示例1至28中任一示例的方法的装置。Example 30 is a video processing apparatus comprising means for performing the method of any of Examples 1-28.

示例31是一种遥控装置,能与如示例29的电子设备可通信地耦合,包括触发机制,触发机制被配置用于向电子设备发送设置时间标志的指令。Example 31 is a remote control device communicatively coupled with an electronic device as in Example 29, including a trigger mechanism configured to send an instruction to the electronic device to set a time stamp.

示例32是一种计算机可读存储介质,包括一条或多条指令,当由处理器执行指令时,使得处理器执行如示例1至28中任一示例的方法。Example 32 is a computer-readable storage medium comprising one or more instructions that, when executed by a processor, cause the processor to perform the method of any of Examples 1-28.

注意,上述仅为本公开的较佳实施例及所运用技术原理。本领域技术人员会理解,本公开不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本公开的保护范围。因此,虽然通过以上实施例对本公开进行了较为详细的说明,但是本公开不仅仅限于以上实施例,在不脱离本公开构思的情况下,还可以包括更多其他等效实施例,而本公开的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present disclosure and applied technical principles. Those skilled in the art will understand that the present disclosure is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present disclosure. Therefore, although the present disclosure has been described in detail through the above embodiments, the present disclosure is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present disclosure. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种视频处理方法,包括:1. A video processing method, comprising: 对源视频设置至少一个时间标志;以及set at least one time stamp on the source video; and 基于所述时间标志从所述源视频生成子视频并进行存储,A sub-video is generated from the source video based on the time stamp and stored, 其中所述子视频与用于生成该子视频的所述时间标志相关联。wherein the sub-video is associated with the time stamp used to generate the sub-video. 2.如权利要求1所述的视频处理方法,其特征在于,还包括:对至少一个所述时间标志设置至少一个标签,2. The video processing method according to claim 1, further comprising: setting at least one label to at least one of the time marks, 其中所述子视频与用于生成该子视频的所述时间标志所对应的所述标签相关联。The sub-video is associated with the tag corresponding to the time stamp used to generate the sub-video. 3.如权利要求2所述的视频处理方法,其特征在于,在拍摄所述源视频期间执行设置所述时间标志的步骤和设置所述标签的步骤。3. The video processing method of claim 2, wherein the step of setting the time stamp and the step of setting the label are performed during shooting of the source video. 4.如权利要求2所述的视频处理方法,其特征在于,基于所述时间标志的向前第一时间段和/或向后第二时间段的总时段来从所述视频中提取所述子视频。4. The video processing method according to claim 2, wherein the extraction of the said video is based on the total period of the forward first time period and/or the backward second time period of the time stamp sub video. 5.如权利要求4所述的视频处理方法,其特征在于,所述第一时间段和所述第二时间段与所述标签相关联。5. The video processing method of claim 4, wherein the first time period and the second time period are associated with the tag. 6.如权利要求1所述的视频处理方法,其特征在于,从所述视频中提取相邻两个时间标志之间的子视频。6. The video processing method according to claim 1, wherein a sub-video between two adjacent time marks is extracted from the video. 7.如权利要求1所述的视频处理方法,其特征在于,还包括:对与被选择的标签相对应的子视频进行合并。7. The video processing method according to claim 1, further comprising: merging the sub-videos corresponding to the selected tags. 8.一种视频处理方法,包括:8. A video processing method, comprising: 在本地针对过程拍摄源视频;Capture source video locally for the process; 从外部接收与所述源视频针对的过程相关联的至少一个时间标志;以及externally receiving at least one time stamp associated with the process for which the source video is directed; and 基于所述时间标志从所述源视频生成子视频并进行存储,A sub-video is generated from the source video based on the time stamp and stored, 其中所述子视频与用于生成该子视频的所述时间标志相关联。wherein the sub-video is associated with the time stamp used to generate the sub-video. 9.如权利要求8所述的视频处理方法,其特征在于,还包括:对至少一个所述时间标志设置至少一个标签,9. The video processing method according to claim 8, further comprising: setting at least one label to at least one of the time markers, 其中所述子视频与用于生成该子视频的所述时间标志所对应的所述标签相关联。The sub-video is associated with the tag corresponding to the time stamp used to generate the sub-video. 10.一种电子设备,包括处理器,所述处理器被配置用于执行如权利要求1至9中任一项所述的方法。10. An electronic device comprising a processor configured to perform the method of any of claims 1 to 9.
CN201910313323.9A 2019-04-18 2019-04-18 Method for processing video frequency, device, electronic equipment and storage medium Pending CN110012231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910313323.9A CN110012231A (en) 2019-04-18 2019-04-18 Method for processing video frequency, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910313323.9A CN110012231A (en) 2019-04-18 2019-04-18 Method for processing video frequency, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110012231A true CN110012231A (en) 2019-07-12

Family

ID=67172833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910313323.9A Pending CN110012231A (en) 2019-04-18 2019-04-18 Method for processing video frequency, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110012231A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212225A (en) * 2020-01-10 2020-05-29 上海摩象网络科技有限公司 A method, device and electronic device for automatic generation of video data
WO2021036617A1 (en) * 2019-08-28 2021-03-04 深圳Tcl新技术有限公司 Short video production method, storage medium, and terminal
CN119094669A (en) * 2024-08-28 2024-12-06 深圳疆泰科技有限公司 Data processing method and related device based on satellite positioning equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168864A1 (en) * 2006-01-11 2007-07-19 Koji Yamamoto Video summarization apparatus and method
CN101740082A (en) * 2009-11-30 2010-06-16 孟智平 Method and system for clipping video based on browser
CN103024447A (en) * 2012-12-31 2013-04-03 合一网络技术(北京)有限公司 Method and server capable of achieving mobile end editing and cloud end synthesis of multiple videos shot in same place and at same time
CN105007442A (en) * 2015-07-22 2015-10-28 深圳市万姓宗祠网络科技股份有限公司 Marking method for continuously recording video and image
CN106104692A (en) * 2014-02-03 2016-11-09 诺基亚技术有限公司 The sequence of Highlights video segmentation
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168864A1 (en) * 2006-01-11 2007-07-19 Koji Yamamoto Video summarization apparatus and method
CN101740082A (en) * 2009-11-30 2010-06-16 孟智平 Method and system for clipping video based on browser
CN103024447A (en) * 2012-12-31 2013-04-03 合一网络技术(北京)有限公司 Method and server capable of achieving mobile end editing and cloud end synthesis of multiple videos shot in same place and at same time
CN106104692A (en) * 2014-02-03 2016-11-09 诺基亚技术有限公司 The sequence of Highlights video segmentation
CN105007442A (en) * 2015-07-22 2015-10-28 深圳市万姓宗祠网络科技股份有限公司 Marking method for continuously recording video and image
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021036617A1 (en) * 2019-08-28 2021-03-04 深圳Tcl新技术有限公司 Short video production method, storage medium, and terminal
CN111212225A (en) * 2020-01-10 2020-05-29 上海摩象网络科技有限公司 A method, device and electronic device for automatic generation of video data
CN119094669A (en) * 2024-08-28 2024-12-06 深圳疆泰科技有限公司 Data processing method and related device based on satellite positioning equipment

Similar Documents

Publication Publication Date Title
US12099487B2 (en) Event-related media management system
AU2025200867A1 (en) System and method for creating and distributing multimedia content
CN103780974B (en) Scene clip playback system and method thereof
US11520741B2 (en) Independent content tagging of media files
CN107155138A (en) Video playback jump method, equipment and computer-readable recording medium
CN102318341A (en) Be the combination of video playback route behavior performance to the image of joining day stamp
US20160182956A1 (en) Method of providing service for recommending game video
US20080269924A1 (en) Method of summarizing sports video and apparatus thereof
US20250046081A1 (en) System and method for generation and delivering of video clips of sport
CN106412645A (en) Method and apparatus for uploading video file to multimedia server
US20180091858A1 (en) Event based video generation
CN110798692A (en) A video live broadcast method, server and storage medium
CN110287934B (en) Object detection method and device, client and server
US11749309B2 (en) Information processor, information processing method, and program
CN101167134A (en) Method, apparatus and system for creating and editing an operation list for previously recorded media content
CN110022451B (en) Method and system for generating sub-video and medium storing corresponding program
CN110225279A (en) A kind of video production system and video creating method of mobile terminal
HK40003960A (en) Method, apparatus and electronic device for video processing, and storage medium
CN112019789A (en) Video playback method and device
TW527834B (en) Data processing device for generation of database storing picture data
JP5544030B2 (en) Clip composition system, method and recording medium for moving picture scene
CN116405624B (en) A video tagging method, apparatus, electronic device, and storage medium
JP2005185830A (en) Viewing history information storage recording medium and actual experience service system
KR102694201B1 (en) Apparatus and method for providing a relay service related to cultural events
HK40003963A (en) Method and system for generating a sub-video, and medium having corresponding program stored thereon

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40003960

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 40003960

Country of ref document: HK