HK40092315A - Video playing method and related apparatus - Google Patents
Video playing method and related apparatus Download PDFInfo
- Publication number
- HK40092315A HK40092315A HK42023081835.3A HK42023081835A HK40092315A HK 40092315 A HK40092315 A HK 40092315A HK 42023081835 A HK42023081835 A HK 42023081835A HK 40092315 A HK40092315 A HK 40092315A
- Authority
- HK
- Hong Kong
- Prior art keywords
- plot
- target video
- preview information
- playback
- information
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及数据处理领域,特别是涉及一种视频播放方法和相关装置。This application relates to the field of data processing, and in particular to a video playback method and related apparatus.
背景技术Background Technology
用户可以通过内容平台观看各类视频,在观看的过程中,越来越多的用户不会从头到尾的观看完整视频,而是会快速跳转到自己感兴趣的视频内容部分进行观看。Users can watch various videos on content platforms. During the viewing process, more and more users will not watch the entire video from beginning to end, but will quickly jump to the part of the video content that interests them.
相关技术中提供了拖动视频时间轴的方式进行视频内容的跳转,即用户可以通过滑动操作、点击操作等方式选择时间轴的播放进度,以便观看播放进度对应的视频内容。Related technologies provide a way to jump between video content by dragging the video timeline. That is, users can select the playback progress of the timeline by swiping, clicking, etc., so as to watch the video content corresponding to the playback progress.
然而,上述拖动视频时间轴的方式需要用户多次尝试后才有可能定位到自己实际感兴趣的视频内容,增加了后台响应次数,会消耗不必要的处理资源。However, the above method of dragging the video timeline requires users to try multiple times before they can locate the video content they are actually interested in, which increases the number of background responses and consumes unnecessary processing resources.
发明内容Summary of the Invention
为了解决上述技术问题,本申请提供了一种视频播放方法和相关装置,降低了用户寻找所需视频内容的尝试次数,节约了处理资源。To address the aforementioned technical problems, this application provides a video playback method and related apparatus, which reduces the number of attempts users need to find the desired video content and saves processing resources.
本申请实施例公开了如下技术方案:The embodiments of this application disclose the following technical solutions:
一方面,本申请实施例提供了一种视频播放方法,所述方法包括:On one hand, embodiments of this application provide a video playback method, the method comprising:
通过目标视频的显示区域获取针对所述目标视频的进度切换操作;The progress switching operation for the target video is obtained by measuring the display area of the target video;
在所述显示区域中展示多个剧情预览信息,所述剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,所述目标视频包括所述多个剧情预览信息分别对应的剧情片段;Multiple plot preview information is displayed in the display area. The plot preview information includes video footage of the corresponding plot segment and plot description text. The target video includes the plot segments corresponding to the multiple plot preview information.
当确定所述多个剧情预览信息中的第一剧情预览信息被选择时,将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放。When it is determined that the first plot preview information among the multiple plot preview information is selected, the target video will be redirected to the first plot segment corresponding to the first plot preview information for playback.
另一方面,本申请实施例提供了一种视频播放装置,所述装置包括获取单元、展示单元和跳转单元:On the other hand, embodiments of this application provide a video playback device, the device including an acquisition unit, a display unit, and a jump unit:
所述获取单元,用于通过目标视频的显示区域获取针对所述目标视频的进度切换操作;The acquisition unit is used to acquire the progress switching operation for the target video through the display area of the target video;
所述展示单元,用于在所述显示区域中展示多个剧情预览信息,所述剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,所述目标视频包括所述多个剧情预览信息分别对应的剧情片段;The display unit is used to display multiple plot preview information in the display area. The plot preview information includes video footage of the corresponding plot segment and plot description text. The target video includes plot segments corresponding to the multiple plot preview information.
所述跳转单元,用于当确定所述多个剧情预览信息中的第一剧情预览信息被选择时,将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放。The jump unit is used to jump the target video to the first plot segment corresponding to the first plot preview information when it is determined that the first plot preview information among the plurality of plot preview information is selected.
又一方面,本申请实施例提供了一种计算机设备,所述计算机设备包括处理器以及存储器:In another aspect, embodiments of this application provide a computer device, the computer device including a processor and a memory:
所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;The memory is used to store program code and transmit the program code to the processor;
所述处理器用于根据所述程序代码中的指令执行上述方面所述的方法。The processor is configured to execute the methods described above according to instructions in the program code.
又一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序用于执行上述方面所述的方法。In another aspect, embodiments of this application provide a computer-readable storage medium for storing a computer program for performing the methods described above.
又一方面,本申请实施例提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行上述方面所述的方法。In another aspect, embodiments of this application provide a computer program product including instructions that, when run on a computer, cause the computer to perform the methods described above.
由上述技术方案可以看出,响应于通过目标视频的显示区域获取的针对该目标视频的进度切换操作,在所述显示区域中展示目标视频所包括剧情片段的多个剧情预览信息,由于该剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,从图像和文字对目标视频的剧情片段进行多维度的展示,使得用户基于剧情预览信息所提供丰富信息,可以更为准确的了解目标视频的多个剧情片段的具体信息,为用户选择目标视频中自己感兴趣的视频内容提供了更为完备的参考。故当确定多个剧情预览信息中的第一剧情预览信息被选择时,将目标视频跳转至第一剧情预览信息对应的第一剧情片段进行播放时,所播放的视频内容符合用户需求的可能性更大,降低了用户寻找所需视频内容的尝试次数,节约了处理资源。As can be seen from the above technical solution, in response to the progress switching operation of the target video obtained through the display area of the target video, multiple plot preview information of the plot segments included in the target video is displayed in the display area. Since the plot preview information includes the video footage and plot description text of the corresponding plot segment, the plot segments of the target video are displayed from multiple dimensions through images and text. This allows users to more accurately understand the specific information of multiple plot segments of the target video based on the rich information provided by the plot preview information, providing a more complete reference for users to select video content of interest from the target video. Therefore, when it is determined that the first plot preview information among multiple plot preview information is selected, when the target video jumps to the first plot segment corresponding to the first plot preview information for playback, the video content played is more likely to meet the user's needs, reducing the number of attempts for the user to find the required video content and saving processing resources.
附图说明Attached Figure Description
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
图1为本申请实施例提供的一种视频播放场景的示意图;Figure 1 is a schematic diagram of a video playback scenario provided in an embodiment of this application;
图2为本申请实施例提供的一种视频播放方法的方法流程图;Figure 2 is a flowchart of a video playback method provided in an embodiment of this application;
图3为一种视频拖动方式的示意图;Figure 3 is a schematic diagram of a video dragging method;
图4为本申请实施例提供的一种剧情预览信息的展示方式示意图;Figure 4 is a schematic diagram of a plot preview information display method provided in an embodiment of this application;
图5为本申请实施例提供的一种对剧情预览信息进行突出显示的示意图;Figure 5 is a schematic diagram illustrating the highlighting of plot preview information according to an embodiment of this application;
图6为本申请实施例提供的一种进度切换操作过程中对剧情预览信息中视频画面进行更新的示意图;Figure 6 is a schematic diagram of updating the video frame in the plot preview information during a progress switching operation provided in an embodiment of this application;
图7a为本申请实施例提供的一种在剧情预览信息中展示进度切换操作所对应剧情进度的示意图;Figure 7a is a schematic diagram of displaying the plot progress corresponding to the progress switching operation in the plot preview information according to an embodiment of this application;
图7b为本申请实施例提供的另一种在剧情预览信息中展示进度切换操作所对应剧情进度的示意图;Figure 7b is a schematic diagram of another way to display the plot progress corresponding to the progress switching operation in the plot preview information provided by an embodiment of this application;
图8为本申请实施例提供的一种通过进度切换操作调整调整所展示剧情预览信息的示意图;Figure 8 is a schematic diagram of adjusting the displayed plot preview information through a progress switching operation according to an embodiment of this application;
图9为本申请实施例提供的一种通过预览控件展示剧情预览信息的示意图;Figure 9 is a schematic diagram of displaying plot preview information through a preview control according to an embodiment of this application;
图10为本申请实施例提供的一种通过滑动操作调整所展示剧情预览信息的示意图;Figure 10 is a schematic diagram of adjusting the displayed plot preview information by sliding operation according to an embodiment of this application;
图11a为本申请实施例提供的一种基于弹幕确定剧情片段的示意图;Figure 11a is a schematic diagram of determining plot segments based on bullet comments according to an embodiment of this application;
图11b为本申请实施例提供的一种基于剧情选择确定剧情片段的示意图;Figure 11b is a schematic diagram of determining a plot segment based on plot selection according to an embodiment of this application;
图11c为本申请实施例提供的一种基于倍速播放确定剧情片段的示意图;Figure 11c is a schematic diagram of determining a plot segment based on playback speed adjustment according to an embodiment of this application;
图12为本申请实施例提供的一种视频播放系统的示意图;Figure 12 is a schematic diagram of a video playback system provided in an embodiment of this application;
图13为本申请实施例提供的一种确定剧情预览信息的流程图;Figure 13 is a flowchart of determining plot preview information provided in an embodiment of this application;
图14为本申请实施例提供的一种视频播放装置的装置结构图;Figure 14 is a structural diagram of a video playback device provided in an embodiment of this application;
图15为本申请实施例提供的一种终端设备的结构图;Figure 15 is a structural diagram of a terminal device provided in an embodiment of this application;
图16为本申请实施例提供的一种服务器的结构图。Figure 16 is a structural diagram of a server provided in an embodiment of this application.
具体实施方式Detailed Implementation
下面结合附图,对本申请的实施例进行描述。The embodiments of this application will now be described with reference to the accompanying drawings.
在视频播放场景中,若用户需要观看视频中自己感兴趣的内容,相关技术中需要用户多次尝试后才有可能定位到自己实际感兴趣的视频内容,增加了后台响应次数,会消耗不必要的处理资源。In video playback scenarios, if a user needs to watch content that interests them within a video, the relevant technologies require the user to make multiple attempts before they can locate the video content they are actually interested in. This increases the number of background responses and consumes unnecessary processing resources.
为此,本申请实施例提供了一种视频播放方法和相关装置,降低了用户寻找所需视频内容的尝试次数,节约了处理资源。Therefore, embodiments of this application provide a video playback method and related apparatus, which reduces the number of attempts users need to find the desired video content and saves processing resources.
本申请实施例所提供的视频播放方法可以通过计算机设备实施,该计算机设备可以是终端设备或服务器,其中,服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云计算服务的云服务器。终端设备包括但不限于手机、电脑、智能语音交互设备、智能家电、车载终端等。终端设备以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。本发明实施例可应用于各种场景,包括但不限于云技术、人工智能、智慧交通、辅助驾驶等。The video playback method provided in this application can be implemented using a computer device, which can be a terminal device or a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include, but are not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, and in-vehicle terminals. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, which is not limited herein. This invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, and assisted driving.
可以理解的是,在本申请的具体实施方式中,涉及到用户观看视频时的历史用户观看数据,例如评论信息、播放位置切换信息或变速播放信息等可能与用户信息相关的数据,当本申请以上实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It is understood that in the specific implementation of this application, historical user viewing data, such as comment information, playback position switching information, or variable speed playback information, which may be related to user information, are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
图1为本申请实施例提供的一种视频播放场景示意图,在本实施例中,以终端设备作为前述计算机设备为例进行说明。在图1中终端设备100(示例性的以手机示出)的显示屏幕正在播放作为目标视频的电影,播放该电影的区域记为显示区域200。Figure 1 is a schematic diagram of a video playback scenario provided in an embodiment of this application. In this embodiment, a terminal device is used as an example of the aforementioned computer device. In Figure 1, the display screen of the terminal device 100 (exemplarily shown as a mobile phone) is playing a movie as the target video, and the area where the movie is played is denoted as the display area 200.
响应于通过该电影的显示区域200获取的针对该电影的进度切换操作,终端设备100在显示区域200中展示该电影所包括剧情片段的多个剧情预览信息,图1中示例性的示出了三个剧情预览信息,分别为剧情预览信息301、剧情预览信息302和剧情预览信息303,不同的剧情预览信息对应该电影中不同的剧情片段。In response to a progress switch operation for the movie obtained through the display area 200 of the movie, the terminal device 100 displays multiple plot preview information of the plot segments included in the movie in the display area 200. Figure 1 shows three plot preview information examples, namely plot preview information 301, plot preview information 302 and plot preview information 303. Different plot preview information corresponds to different plot segments in the movie.
剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,例如剧情预览信息101中包括剧情预览信息101所对应剧情片段的关键帧图像和剧情说明文字“小明惊艳登场,整层楼都晕了”。The plot preview information includes video footage of the corresponding plot segment and plot description text. For example, plot preview information 101 includes keyframe images of the plot segment corresponding to plot preview information 101 and plot description text "Xiao Ming makes a stunning appearance, and the whole floor is dizzy".
由于该剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,从图像和文字对该电影的剧情片段进行多维度的展示,使得用户基于剧情预览信息所提供丰富信息,可以更为准确的了解该电影的这三个剧情片段的具体信息,为用户选择该电影中自己感兴趣的视频内容提供了更为完备的参考。Because the plot preview information includes video footage of the corresponding plot segment and plot description text, it presents the plot segments of the movie from multiple dimensions through images and text. Based on the rich information provided by the plot preview information, users can more accurately understand the specific information of these three plot segments of the movie, providing a more complete reference for users to select video content of interest in the movie.
例如当用户在看到图1中三个剧情预览信息时,从中选择了剧情预览信息303,终端设备100确定多个剧情预览信息中剧情预览信息303作为第一剧情预览信息被选择,将该电影跳转至第一剧情预览信息对应的第一剧情片段进行播放时,所播放的电影内容符合剧情预览信息303中示出的视频画面和剧情说明文字“小张拿别人当挡箭牌被一眼看穿”,使得该电影跳转后的电影内容符合用户需求的可能性更大。例如无需用户再次进行电影进度的拖拽,从而降低了用户寻找所需视频内容的尝试次数,节约了终端设备100的处理资源。For example, when a user sees three plot previews in Figure 1 and selects plot preview 303, the terminal device 100 determines that plot preview 303 is selected as the first plot preview. When the movie jumps to the first plot segment corresponding to the first plot preview, the content of the movie played matches the video footage and plot description text shown in plot preview 303 ("Xiao Zhang used someone else as a shield but was seen through at a glance"). This makes it more likely that the movie content after the jump will meet the user's needs. For example, the user does not need to drag the movie progress again, thereby reducing the number of attempts the user makes to find the desired video content and saving the processing resources of the terminal device 100.
图2为本申请实施例提供的一种视频播放方法的方法流程图,在本实施例中,以终端设备为前述计算机设备为例进行说明,所述方法包括:Figure 2 is a flowchart of a video playback method provided in an embodiment of this application. In this embodiment, the terminal device is the aforementioned computer device as an example for illustration. The method includes:
S201:通过目标视频的显示区域获取针对所述目标视频的进度切换操作。S201: Obtain the progress switching operation for the target video through the display area of the target video.
终端设备可以通过自身的显示屏幕对目标视频进行展示,显示屏幕中展示目标视频的区域为该显示区域。在获取针对目标视频的进度切换操作时,显示区域中的目标视频可以处于正在播放的状态,也可以处于暂停或尚未播放的状态,本申请对此不做限定。The terminal device can display the target video through its own display screen, and the area on the display screen where the target video is displayed is the display area. When a progress switch operation is performed on the target video, the target video in the display area can be in a playing state, or it can be paused or not yet played; this application does not limit this.
在显示区域显示的目标视频可以是通过内容平台提供的,也可以是保存在终端设备本地的,若是基于内容平台提供的目标视频,终端设备可以通过内容平台的客户端显示该目标视频,若是保存在终端设备本地的,终端设备可以通过播放器应用显示该目标视频。The target video displayed in the display area can be provided by a content platform or stored locally on the terminal device. If the target video is provided by a content platform, the terminal device can display the target video through the content platform's client. If the target video is stored locally on the terminal device, the terminal device can display the target video through a player application.
该进度切换操作用于对目标视频的播放进度进行切换,使得终端设备可以将当前的播放进度跳转至基于进度切换操作所指示的播放进度。例如当前播放进度为目标视频的第1分钟,进度切换操作所指示的播放进度为第8分钟第3秒,那么终端设备会将目标视频的播放进度跳转至进度切换操作所指示的播放进度,开始从第8分钟第3秒播放目标视频。This progress switching operation is used to switch the playback progress of the target video, allowing the terminal device to jump from the current playback progress to the playback progress indicated by the progress switching operation. For example, if the current playback progress is 1 minute of the target video, and the playback progress indicated by the progress switching operation is 8 minutes and 3 seconds, then the terminal device will jump the playback progress of the target video to the playback progress indicated by the progress switching operation and start playing the target video from 8 minutes and 3 seconds.
进度切换操作可以为持续性操作,也可以是非持续性操作,本申请对此不做限定,例如可以是持续的滑动操作,也可以是断续的点击操作(例如至少一次)。The progress switching operation can be a continuous operation or a non-continuous operation. This application does not limit this. For example, it can be a continuous swipe operation or an intermittent click operation (e.g., at least once).
S202:在所述显示区域中展示多个剧情预览信息。S202: Display multiple plot preview information in the display area.
其中,剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,剧情预览信息与剧情片段具有一一对应关系,多个剧情预览信息分别对应的剧情片段均包括在目标视频中。The plot preview information includes video footage and plot description text for the corresponding plot segment. There is a one-to-one correspondence between the plot preview information and the plot segment, and the plot segments corresponding to multiple plot preview information are all included in the target video.
剧情片段用于标识目标视频中具有较为完整剧情结构的一部分视频内容,可以体现为目标视频中的优质内容或精彩片段,这些内容相对于目标视频中非剧情片段的视频内容来说,不被用户跳过观看的可能性更大,属于目标视频中会更可能被观看的部分。本申请中提出的剧情片段并不局限于电影、电视剧、综艺中具有剧本情节的视频片段,还可以包括体育视频中的高光片段、新闻视频中重要新闻片段等。A narrative segment is used to identify a portion of video content within a target video that has a relatively complete narrative structure. This can be represented by high-quality content or exciting clips within the target video. Compared to non-narrative segments, these clips are more likely to be watched by users and are therefore the more likely parts of the target video to be viewed. The narrative segments proposed in this application are not limited to scripted video clips from movies, TV series, or variety shows; they can also include highlight segments from sports videos, important news segments from news videos, etc.
在一些相关技术中,用户可以通过在显示区域中通过持续的滑动操作来进行视频播放进度的调整。如图3所示,通过在所播放视频的显示区域中进行持续的滑动操作,可以调整视频时间轴上的时间轴时刻,例如通过向右滑动操作,将时间轴时刻从第3分钟(如左侧图)调整到第5分钟(如右侧图),在取消滑动操作后,视频会被切换到取消时对应的时间轴时刻进行播放。In some related technologies, users can adjust the video playback progress by continuously sliding their fingers across the display area. As shown in Figure 3, by continuously sliding across the display area of the video being played, the timeline position on the video timeline can be adjusted. For example, by sliding to the right, the timeline position can be adjusted from the 3rd minute (as shown in the left figure) to the 5th minute (as shown in the right figure). After canceling the sliding operation, the video will switch to the timeline position corresponding to when the sliding operation was canceled.
在基于滑动操作调整的过程中,显示区域中会显示较小的视频图像,该视频图像用于体现当前时间轴时刻对应的视频关键帧。在此过程中,用户仅能看到微缩版的视频图像,仅凭借视频图像提供的信息用户难以明确具体对应什么剧情,使得在取消滑动操作后播放的视频内容符合用户实际需求的可能性不高,需要用户再次甚至多次进行调整后才能定位到自己想要观看的视频内容。During the adjustment process based on the swipe operation, a smaller video image is displayed in the display area. This video image is used to represent the video keyframe corresponding to the current timeline moment. During this process, the user can only see a miniature version of the video image. Based solely on the information provided by the video image, the user cannot clearly understand what plot it corresponds to. This makes it unlikely that the video content played after canceling the swipe operation will meet the user's actual needs. The user will need to adjust again or even multiple times to locate the video content they want to watch.
而在本申请实施例中,在显示区域中展示的剧情预览信息中不仅包括了图像维度的视频画面,还提供了文字维度的剧情说明文字,使得剧情预览信息可以从多个信息维度提供对剧情片段的介绍。其中,视频预览信息中的视频画面可以是所对应剧情片段中的某个关键帧,或者基于关键帧确定的。视频预览信息中的剧情说明文字用于标识所对应剧情片段的内容概要,该剧情说明文字可以通过对剧情片段的内容解析得到,例如当剧情片段中具有字幕等文字、语音内容时,可以基于此得到剧情说明文字,该剧情说明文字还可以基于与剧情片段相关的交互信息得到,该交互信息可以包括弹幕、评论等文字、表情内容。In this embodiment, the plot preview information displayed in the display area includes not only video footage in the image dimension but also textual plot descriptions, allowing the plot preview information to provide an introduction to the plot segment from multiple information dimensions. The video footage in the video preview information can be a keyframe from the corresponding plot segment, or a description determined based on a keyframe. The plot description text in the video preview information is used to identify the content summary of the corresponding plot segment. This description text can be obtained by parsing the content of the plot segment. For example, when the plot segment contains text or audio content such as subtitles, the description text can be obtained based on this. The description text can also be obtained based on interactive information related to the plot segment, such as bullet comments, comments, and emoticons.
在一些场景下,基于交互信息确定的剧情说明文字可以用于调整原基于剧情片段的内容所确定的剧情说明文字。In some scenarios, the plot description text determined based on interactive information can be used to adjust the original plot description text determined based on plot fragments.
例如,目标视频中的一个剧情片段涉及字幕确定的剧情说明文字为“角色B临危受命执行任务”,当弹幕信息大量涉及“演员A的高光时刻”时(演员A在目标视频中扮演角色B),可以基于此更正该剧情片段的剧情说明文字为“演员A的高光时刻”,调整后的剧情说明文字相对于调整前更贴近用户对剧情片段的理解。For example, if a scene in the target video has a subtitle stating "Character B is tasked with a mission in a time of crisis," and the comments section heavily mentions "Actor A's highlight moment" (Actor A plays character B in the target video), the subtitle can be corrected to "Actor A's highlight moment." The adjusted subtitle better reflects the user's understanding of the scene.
而且相对于相关技术中展示的当前时间轴时刻的一张视频帧,本申请会展示多个剧情预览信息,且不同剧情预览信息对应目标视频中不同的剧情片段,使得用户可以充分了解目标视频所包括多个剧情片段的剧情信息,以此能够更好并且更为准确的做出切换决策,提高了切换播放进度后符合用户观看需求的可能性,减少了切换播放进度后的调整次数。Moreover, compared to a single video frame at the current timeline shown in related technologies, this application displays multiple plot previews, with each preview corresponding to a different plot segment in the target video. This allows users to fully understand the plot information of the multiple plot segments included in the target video, enabling them to make better and more accurate switching decisions. This increases the likelihood that switching playback progress will meet the user's viewing needs and reduces the number of adjustments required after switching playback progress.
需要说明的是,在展示多个剧情预览信息前若目标视频处于正在播放的状态,那么在展示多个剧情预览信息的过程中,目标视频可以在原本的播放进度继续播放,也可以在原本的播放进度暂停播放。It should be noted that if the target video is playing before displaying multiple plot previews, the target video can continue playing at its original playback speed or pause at its original playback speed during the display of multiple plot previews.
在上述目标视频在原本的播放进度进行播放的场景下,用户可以在查看多个剧情预览信息的同时继续观看目标视频当前播放的剧情。In the scenario where the target video is playing at its original playback progress, users can continue watching the currently playing episode of the target video while viewing multiple plot previews.
故在一种可能的实现方式中,S202包括:在所述显示区域中通过具有透明度的导航图层展示多个剧情预览信息,在显示方向上,所述导航图层覆盖在所述目标视频的显示图层之上。Therefore, in one possible implementation, S202 includes: displaying multiple plot preview information in the display area through a navigation layer with transparency, wherein the navigation layer overlaps the display layer of the target video in the display direction.
基于在显示方向上导航图层与显示图层之间的位置关系,用户可以查看到导航图层覆盖在显示图层之上,由于导航图层具有透明度,故在通过导航图层展示剧情预览信息的同时,处于导航图层之后的显示图层中展示的视频内容也可以一定程度的被用户看到,避免用户错过当前播放的目标视频的视频内容。Based on the positional relationship between the navigation layer and the display layer in the display direction, users can see that the navigation layer is overlaid on the display layer. Since the navigation layer has transparency, while displaying plot preview information through the navigation layer, the video content displayed in the display layer behind the navigation layer can also be seen to a certain extent by the user, preventing the user from missing the video content of the currently playing target video.
如图4所示,灰色部分为具有透明度的导航图层10,终端设备通过导航图层10对剧情预览信息300进行展示。通过导航图层10,用户还可以查看到覆盖在导航图层10下的显示图层20,进而可以继续留意显示图层20中正在播放的视频内容。As shown in Figure 4, the gray area represents the navigation layer 10 with transparency. The terminal device displays the plot preview information 300 through the navigation layer 10. Through the navigation layer 10, the user can also see the display layer 20 covered by the navigation layer 10, and thus continue to pay attention to the video content playing in the display layer 20.
针对终端设备在显示区域显示的多个剧情预览信息,为了能够更好的提供为用户切换播放进度的指引,可以将展示的多个剧情预览信息间建立关联性,以提高指引作用。To better guide users in switching playback progress, multiple plot previews displayed on the terminal device's display area can be correlated to enhance their guidance.
在一种可能的实现方式中,所述方法还包括:In one possible implementation, the method further includes:
S11:确定所述多个剧情预览信息分别对应的剧情片段在所述目标视频中的播放先后关系。S11: Determine the playback order of the plot segments corresponding to the multiple plot preview information in the target video.
S12:依据所述播放先后关系确定所述多个剧情预览信息的展示顺序。S12: Determine the display order of the multiple plot preview information based on the playback sequence.
相应的,S202包括:Accordingly, S202 includes:
根据所述展示顺序在所述显示区域中展示所述多个剧情预览信息。The multiple plot preview information are displayed in the display area according to the display order.
目标视频包括的剧情片段分布在目标视频的不同播放时间区间中,例如目标视频为一段10分钟的视频,包括三个剧情片段,其中剧情片段1的播放时间区间为第1分钟到第3分钟,剧情片段2的播放时间区间为第6分钟到第7分钟,剧情片段3的播放时间区间为第9分钟到第10分钟。在正常播放目标视频的过程中,会先播放剧情片段1,然后再播放剧情片段2,最后播放剧情片段3,这就体现出剧情片段间的播放先后关系。The target video contains story segments distributed across different playback time intervals. For example, if the target video is a 10-minute video containing three story segments, segment 1 might play from minute 1 to minute 3, segment 2 from minute 6 to minute 7, and segment 3 from minute 9 to minute 10. During normal playback of the target video, segment 1 will play first, then segment 2, and finally segment 3, demonstrating the playback order of the story segments.
通过基于目标视频中剧情片段的播放先后顺序,终端设备可以将剧情片段对应的剧情预览信息基于该播放先后顺序进行顺序展示。如上例中,剧情片段1-3分别对应的剧情预览信息1-3的展示顺序为剧情预览信息1处于剧情预览信息2的左侧,剧情预览信息3处于剧情预览信息2的右侧,从而使得多个剧情预览信息的展示顺序符合该多个剧情预览信息所对应剧情片段的播放先后关系。By determining the playback order of plot segments within the target video, the terminal device can sequentially display the plot preview information corresponding to each plot segment. In the example above, the display order of plot preview information 1-3 for plot segments 1-3 is as follows: plot preview information 1 is to the left of plot preview information 2, and plot preview information 3 is to the right of plot preview information 2. This ensures that the display order of multiple plot preview information items conforms to the playback order of the plot segments they correspond to.
终端设备基于该展示顺序展示多个剧情预览信息时,进一步向用户提供了所对应剧情片段在目标视频中出现的先后关系,而且还起到了标识目标视频中剧情走势的作用,用户可以基于多个剧情预览信息大致了解目标视频的大致剧情,进一步的向用户的播放进度切换提供了参考依据,提高了用户基于进度切换操作完成播放进度切换的准确性。When the terminal device displays multiple plot previews based on this display order, it further provides users with the sequential relationship of the corresponding plot segments in the target video. It also serves to indicate the plot development in the target video. Users can get a general understanding of the plot of the target video based on multiple plot previews, which further provides a reference for users to switch playback progress and improves the accuracy of users switching playback progress based on progress switching operations.
S203:当确定所述多个剧情预览信息中的第一剧情预览信息被选择时,将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放。S203: When it is determined that the first plot preview information among the plurality of plot preview information is selected, the target video is jumped to the first plot segment corresponding to the first plot preview information for playback.
本申请不限定第一剧情预览信息被选择的方式,可以与前述进度切换操作的类型相关,在后续实施例中会详细说明,这里不再赘述。This application does not limit the method in which the first plot preview information is selected. It can be related to the type of the aforementioned progress switching operation, which will be described in detail in subsequent embodiments and will not be repeated here.
由于前述展示的多个剧情预览信息携带有丰富的与剧情片段相关的信息,故在第一剧情预览信息被选择时,目标视频基于第一剧情片段播放的视频内容更有可能被用户接受。Since the aforementioned multiple plot previews contain a wealth of information related to plot segments, when the first plot preview is selected, the video content played by the target video based on the first plot segment is more likely to be accepted by the user.
在将目标视频跳转至第一剧情片段进行播放时,播放的是与第一剧情片段相关的视频内容。本申请并不限定具体的播放时刻(即跳转到的播放时刻),可以是第一剧情片段在目标视频中的开始时刻,也可以是进度切换操作被取消时的时间轴时刻。When the target video is redirected to the first plot segment for playback, video content related to the first plot segment is played. This application does not limit the specific playback time (i.e., the playback time at which the video is redirected); it can be the start time of the first plot segment in the target video, or the timeline moment when the progress switch operation is canceled.
由此可见,响应于通过目标视频的显示区域获取的针对该目标视频的进度切换操作,在所述显示区域中展示目标视频所包括剧情片段的多个剧情预览信息,由于该剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,从图像和文字对目标视频的剧情片段进行多维度的展示,使得用户基于剧情预览信息所提供的丰富信息,可以更为准确的了解目标视频的多个剧情片段的具体信息,为用户选择目标视频中自己感兴趣的视频内容提供了更为完备的参考。故当确定多个剧情预览信息中的第一剧情预览信息被选择,将目标视频跳转至第一剧情预览信息对应的第一剧情片段进行播放时,所播放的视频内容符合用户需求的可能性更大,降低了用户寻找所需视频内容的尝试次数,节约了处理资源。Therefore, in response to the progress switching operation of the target video obtained through the display area of the target video, multiple plot preview information of the plot segments included in the target video is displayed in the display area. Since the plot preview information includes the video footage and plot description text of the corresponding plot segment, the plot segments of the target video are displayed from multiple dimensions through images and text. This allows users to more accurately understand the specific information of multiple plot segments of the target video based on the rich information provided by the plot preview information, providing a more complete reference for users to select video content of interest from the target video. Therefore, when the first plot preview information among multiple plot preview information is selected, and the target video jumps to the first plot segment corresponding to the first plot preview information for playback, the video content played is more likely to meet the user's needs, reducing the number of attempts the user makes to find the desired video content and saving processing resources.
接下来将针对进度切换操作的各种可能实现方式,以其中两种进行具体说明。这两种分别为满足触发条件的滑动操作和基于控件的触发操作。The following sections will explain two specific implementation methods for progress switching operations: a sliding operation that meets triggering conditions and a control-based triggering operation.
首先以滑动操作作为进度切换操作进行说明:First, let's explain the swipe gesture as the progress switching action:
在一种可能的实现方式中,S201:通过目标视频的显示区域获取针对所述目标视频的进度切换操作,包括:In one possible implementation, S201: Obtaining a progress switching operation for the target video through the display area of the target video, including:
S2011:通过目标视频的显示区域获取滑动操作。S2011: Obtain the sliding operation through the display area of the target video.
S2012:若所述滑动操作满足触发条件,确定所述滑动操作为针对所述目标视频的进度切换操作,并根据所述进度切换操作的滑动参数调整所述目标视频的时间轴对应的时间轴时刻。S2012: If the sliding operation meets the triggering condition, determine that the sliding operation is a progress switching operation for the target video, and adjust the time axis time corresponding to the time axis of the target video according to the sliding parameters of the progress switching operation.
触发条件可以基于实际场景或者需求设置,例如可以包括该滑动操作的持续时长,该持续时长用于标识进行滑动操作时,产生滑动操作的接触面存续的时间长度。例如用户通过手指在终端设备的显示屏幕上按压移动产生滑动操作,当该手指保持按压在显示屏幕上尚未离开时,手指会与显示屏幕一直保持有接触面,该接触面的存续时长标识了滑动操作的持续时长。Triggering conditions can be set based on actual scenarios or needs. For example, they can include the duration of the swipe operation, which indicates the length of time the contact surface remains in contact with the screen during the swipe operation. For instance, when a user presses and moves their finger on the display screen of a terminal device to generate a swipe operation, the finger remains in contact with the screen as long as it is pressed and has not been removed. The duration of this contact surface indicates the duration of the swipe operation.
当将滑动操作确定为进度切换操作后,终端设备可以基于滑动操作的滑动参数调整目标视频的时间轴对应的时间轴时刻。Once the sliding operation is determined as a progress switching operation, the terminal device can adjust the time axis time corresponding to the time axis of the target video based on the sliding parameters of the sliding operation.
该滑动参数用于标识滑动操作的滑动方向和滑动距离或速度。滑动方向用于标识时间轴时刻变大还是变小,滑动距离或速度用于标识时间轴时刻的改变程度。本申请不限定基于滑动参数进行时间轴时刻调整的具体方式,例如在终端设备横屏展示目标视频的场景中,向左滑动可以减少时间轴时刻,如从第3分钟调整为第2分钟,向右滑动可以增加时间轴时刻,如从第3分钟调整为第4分钟,或者,也可以通过向下滑动减少时间轴时刻,向上滑动增加时间轴时刻,再或者通过其他滑动方向增减时间轴时刻等。The sliding parameter is used to identify the sliding direction and distance or speed of the sliding operation. The sliding direction indicates whether the timeline time increases or decreases, and the sliding distance or speed indicates the degree of change in the timeline time. This application does not limit the specific method of adjusting the timeline time based on the sliding parameter. For example, in a scenario where the target video is displayed in landscape mode on a terminal device, sliding to the left can decrease the timeline time, such as adjusting from the 3rd minute to the 2nd minute, and sliding to the right can increase the timeline time, such as adjusting from the 3rd minute to the 4th minute. Alternatively, one can decrease the timeline time by sliding down and increase the timeline time by sliding up, or increase or decrease the timeline time by other sliding directions, etc.
时间轴时刻用于指示所述进度切换操作被取消时的待播放时刻。也就是说,时间轴时刻在进度切换操作被取消时(例如用于产生滑动操作的手指离开终端设备的显示屏幕时)才会生效,作为将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放的依据。而在进度切换操作持续过程中,时间轴时刻可以不作用在目标视频的播放中,例如不会因为时间轴时刻的改变而播放该时间轴时刻对应的视频内容。The timeline time indicates the point at which playback is pending when the progress switching operation is canceled. In other words, the timeline time only takes effect when the progress switching operation is canceled (e.g., when the finger used to perform the swipe operation leaves the display screen of the terminal device), serving as the basis for jumping to the first plot segment corresponding to the first plot preview information for playback. During the progress switching operation, the timeline time may not affect the playback of the target video; for example, the video content corresponding to that timeline time will not be played due to changes in the timeline time.
时间轴时刻在被调整的过程中,终端设备可以在显示区域中实时显示当前的时间轴时刻,用于指示用户当前被调整到的播放进度,用户可以明确当进度切换操作被取消时,将要播放的视频内容在目标视频中对应的进度,该进度例如可以是进度切换操作被取消时的时间轴时刻。During the adjustment of the timeline, the terminal device can display the current timeline in real time in the display area to indicate the current playback progress to the user. The user can clearly see the progress of the video content to be played in the target video when the progress switching operation is canceled. This progress can be, for example, the timeline moment when the progress switching operation is canceled.
由于目标视频中不同的剧情片段具有不同的播放时间区间,在通过进度切换操作调整时间轴时刻时,时间轴时刻会进入某个剧情片段的播放时间区间,或者离开该播放时间区间。为了能够更好的起到提示剧情片段在目标视频中位置的作用,本申请实施例提供了一种突出显示剧情预览信息的方式。Since different plot segments in the target video have different playback time intervals, when adjusting the timeline using the progress switch operation, the timeline will either enter or leave the playback time interval of a certain plot segment. To better indicate the position of plot segments in the target video, this application provides a method for highlighting plot preview information.
在一种的实现方式中,所述方法还包括:若所述时间轴时刻处于所述目标视频的第二剧情片段的播放时间区间,在所述显示区域中将所述第二剧情片段对应的第二剧情预览信息相对于其他显示的剧情预览信息进行突出显示。In one implementation, the method further includes: if the timeline is currently within the playback time interval of the second plot segment of the target video, highlighting the second plot preview information corresponding to the second plot segment relative to other displayed plot preview information in the display area.
本申请不限定突出显示的具体方式,只要是可以从显示层面能够区别于当前显示的其他剧情预览信息即可。例如图5所示,当前时间轴时刻为第3分钟,剧情片段1的播放时间区间为第2分钟至第5分钟,即当前时间轴时刻被调整到剧情片段1的播放时间区间中,剧情片段1对应的剧情预览信息1相对于此时同时被显示的剧情预览信息2和剧情预览信息3被突出显示,具体的突出显示方式为放大剧情预览信息1的显示范围,并加粗剧情预览信息1中剧情说明文字。除此之外,在其他突出显示方式中,还可以改变剧情说明文字的颜色、视频图像的外框颜色等,例如改变为橙色。This application does not limit the specific method of highlighting, as long as it can be distinguished from other currently displayed plot preview information from a display perspective. For example, as shown in Figure 5, the current timeline is at minute 3, and the playback time range of plot segment 1 is from minute 2 to minute 5. That is, the current timeline is adjusted to the playback time range of plot segment 1. The plot preview information 1 corresponding to plot segment 1 is highlighted relative to the plot preview information 2 and plot preview information 3 displayed at the same time. The specific highlighting method is to enlarge the display area of plot preview information 1 and bold the plot description text in plot preview information 1. In addition, other highlighting methods can also change the color of the plot description text, the outer frame color of the video image, etc., for example, changing it to orange.
需要说明的是,以上仅为示例性的图示,当时间轴时刻一旦进入剧情片段的播放时间区间,即可将该剧情片段对应的剧情预览信息进行突出显示,当时间轴时刻一旦离开剧情片段的播放时间区间,即可将该剧情片段对应的剧情预览信息取消突出显示,如恢复为突出显示之前的显示状态。It should be noted that the above is only an illustrative example. Once the timeline enters the playback time range of a plot segment, the plot preview information corresponding to that plot segment will be highlighted. Once the timeline leaves the playback time range of a plot segment, the highlighting of the plot preview information corresponding to that plot segment will be canceled, and the display will return to the state before the highlighting.
例如,随着进度切换操作的持续,在时间轴时刻滑出第二剧情片段的播放时间区间后,第二剧情预览信息恢复常规显示;在时间轴再次进入另一个剧情片段例如第三剧情片段的播放时间区间时,第三剧情片段的剧情预览信息被突出显示。For example, as the progress switching operation continues, after the timeline slides out of the playback time range of the second plot segment, the preview information of the second plot segment returns to normal display; when the timeline enters the playback time range of another plot segment, such as the third plot segment, the plot preview information of the third plot segment is highlighted.
由于多个剧情预览信息之一可以基于进度切换操作被突出显示,使得用户可以明确当前调整到的时间轴时刻是否符合观看需求,从而确定何时取消进度切换操作。Because one of the multiple plot preview information can be highlighted based on the progress switch operation, users can clearly see whether the currently adjusted timeline moment meets their viewing needs, and thus determine when to cancel the progress switch operation.
故在一种可能的实现方式中,所述方法还包括:当在所述第二剧情预览信息被突出显示时确定所述进度切换操作被取消,将所述第二剧情预览信息确定为被选择的所述第一剧情预览信息,第二剧情片段为第一剧情片段。Therefore, in one possible implementation, the method further includes: determining that the progress switching operation is canceled when the second plot preview information is highlighted, determining the second plot preview information as the selected first plot preview information, and the second plot segment as the first plot segment.
即当第二剧情预览信息被突出显示时确定进度切换操作被取消时,终端设备可以确定用户希望观看与第二剧情预览信息所对应剧情片段的视频内容。从而可以将第二剧情预览信息确定为S203中的第一剧情预览信息,并将第二剧情片段确定为需要跳转播放的第一剧情片段。When the second plot preview information is highlighted and the progress switching operation is canceled, the terminal device can determine that the user wants to watch the video content of the plot segment corresponding to the second plot preview information. Therefore, the second plot preview information can be identified as the first plot preview information in S203, and the second plot segment can be identified as the first plot segment to be skipped to.
而S203中的将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放,包括:S203, which involves jumping the target video to the first plot segment corresponding to the first plot preview information for playback, includes:
将所述目标视频跳转至所述第一剧情片段的起始时刻进行播放;或者,将所述目标视频跳转至所述进度切换操作被取消时的时间轴时刻进行播放。The target video is redirected to the beginning of the first story segment for playback; or, the target video is redirected to the timeline moment when the progress switching operation was canceled for playback.
终端设备在对目标视频进行播放进度的跳转后,所播放的视频内容与第一剧情片段相关即可,例如上述从第一剧情片段的起始时刻进行播放,可以让用户观看完整的第一剧情片段。After the terminal device jumps to the playback progress of the target video, the video content played can be related to the first plot segment. For example, playing from the beginning of the first plot segment as mentioned above allows the user to watch the complete first plot segment.
例如上述从进度切换操作被取消时的时间轴时刻,所播放的时刻完全符合用户取消进度切换操作时的时间轴时刻。For example, the timeline at which the progress switch operation was canceled perfectly matches the timeline at which the user canceled the progress switch operation.
不论上述哪一种跳转方式,均可以从不同角度降低用户重新定位播放位置的可能。具体采用哪一种方式可以基于具体场景进行设置。Regardless of the method used, all of these can reduce the likelihood of users needing to reposition for playback. The specific method chosen can be selected based on the specific scenario.
如前所述,本申请通过对剧情预览信息突出显示的方式,帮助用户确定当前调整到的时间轴时刻与哪个剧情片段相关,由于剧情片段的播放时间区间具有一定时间长度,故为了提高用户基于剧情预览信息确定跳转播放位置的准确性,在一种可能的实现方式中,所述方法还包括:As mentioned above, this application helps users determine which plot segment is related to the currently adjusted timeline moment by highlighting the plot preview information. Since the playback time interval of a plot segment has a certain length, in order to improve the accuracy of users determining the jump playback position based on the plot preview information, in one possible implementation, the method further includes:
S21:在将所述第二剧情预览信息进行突出显示的过程中,确定所述第二剧情片段对应所述时间轴时刻的关键帧图像,所述第二剧情片段包括多个关键帧图像。S21: During the process of highlighting the second plot preview information, the key frame image corresponding to the timeline moment of the second plot segment is determined, and the second plot segment includes multiple key frame images.
S22:将确定出的关键帧图像作为所述视频画面更新显示在所述第二剧情预览信息中。S22: The determined keyframe images are updated and displayed as video frames in the second plot preview information.
也就是说,第二剧情片段具有多个关键帧图像,不同的关键帧图像对应于不同的时间轴时刻,故当第二剧情预览信息被突出显示期间,随着时间轴时刻在第二剧情片段对应播放时间区间内的变化,第二剧情预览信息中的视频画面可以随之发生改变,从而使得剧情预览信息中的视频画面也可以体现出同一个剧情片段中随着时间轴变化的视频画面,用户可以基于被突出显示的第二剧情预览信息中变化的视频画面,更为细致的了解到目前的时间轴时刻对应于第二剧情片段的哪一部分。In other words, the second plot segment has multiple keyframe images, and different keyframe images correspond to different timeline moments. Therefore, when the second plot preview information is highlighted, as the timeline moment changes within the corresponding playback time interval of the second plot segment, the video images in the second plot preview information can change accordingly. This allows the video images in the plot preview information to also reflect the video images changing with the timeline within the same plot segment. Based on the changing video images in the highlighted second plot preview information, users can gain a more detailed understanding of which part of the second plot segment the current timeline moment corresponds to.
从而基于对第二剧情片段的关键帧图像更新第二剧情预览信息中的视频画面,使得用户可以更为清楚的了解第二剧情片段的具体内容和剧情走势等,有助于提高用户进行播放进度切换的准确度。例如当第二剧情预览信息中刚刚更新的视频画面符合用户观看需求时,用户可以及时取消进度切换操作实现对目标视频进行播放进度的准确切换。This allows the video footage in the second story segment preview to be updated based on keyframe images of the second story segment, enabling users to more clearly understand the specific content and plot development of the second story segment, thus improving the accuracy of playback progress switching. For example, when the newly updated video footage in the second story segment preview matches the user's viewing needs, the user can promptly cancel the progress switch operation to accurately switch the playback progress of the target video.
如图6所示,随着时间轴时刻在第二剧情片段的播放时间区间内发生变动时,第二剧情预览信息中的视频画面出现了相应的更新,使得用户更清晰的了解第二视频片段的剧情走势,以及当前所处的剧情信息。As shown in Figure 6, as the timeline changes within the playback time interval of the second story segment, the video footage in the second story preview information is updated accordingly, allowing users to more clearly understand the plot development of the second video segment and the current story information.
基于让用户在进行进度切换操作过程中能够更为明确的了解当前时间轴时刻对应的播放进度,在一种可能的实现方式中,所述方法还包括:To allow users to more clearly understand the playback progress at the current timeline point during progress switching, in one possible implementation, the method further includes:
S31:在将所述第二剧情预览信息进行突出显示的过程中,确定所述时间轴时刻在所述第二剧情片段的播放时间区间对应的剧情进度参数。S31: During the process of highlighting the second plot preview information, determine the plot progress parameter corresponding to the playback time interval of the second plot segment at the time of the time axis.
S32:在被突出显示的第二剧情预览信息中标识所述剧情进度参数。S32: Identify the plot progress parameters in the highlighted second plot preview information.
该剧情进度参数用于标识当前时间轴时刻在第二剧情片段的播放时间区间内对应的进度比例,可以体现出该播放时间区间中处于时间轴时刻之前或之后的时间长度与播放时间区间的总时长的关系。This plot progress parameter is used to identify the progress ratio corresponding to the current timeline moment within the playback time interval of the second plot segment. It can reflect the relationship between the length of time before or after the timeline moment in this playback time interval and the total duration of the playback time interval.
例如第二剧情片段的播放时间区间为5分钟,当前的时间轴时刻处于这5分钟中的第3分钟,第二剧情片段处于时间轴时刻之前的时长占第二剧情片段总时长的60%。For example, the playback time interval of the second plot segment is 5 minutes, and the current timeline is at the 3rd minute of these 5 minutes. The time of the second plot segment before the current timeline moment accounts for 60% of the total duration of the second plot segment.
故通过剧情进度参数,可以明确的体现出若跳转到目前的时间轴时刻下,第二剧情片段还剩余多少视频内容可以观看。Therefore, the plot progress parameter clearly shows how much video content of the second plot segment is still available to watch if we jump to the current timeline.
如图7a-图7b所示的为两种不同的标识剧情进度参数的方式。在图7a中为竖线刻度的方式(其中箭头用于指示进度的方向,实际使用时不示出),在图7b中为百分数的方式(以45%为示例示出)。Figures 7a and 7b show two different ways of indicating plot progress parameters. Figure 7a shows the vertical scale method (where the arrows are used to indicate the direction of progress, but are not shown in actual use), and Figure 7b shows the percentage method (shown as an example of 45%).
需要注意的是,在一些目标视频中包括的剧情片段数量可能较多,使得通过终端设备的显示区域难以将全部剧情片段的剧情预览信息进行展示,故同时被展示的剧情预览信息仅为部分剧情片段对应的剧情预览信息。It should be noted that some target videos may contain a large number of plot segments, making it difficult to display the plot preview information of all plot segments through the display area of the terminal device. Therefore, the plot preview information displayed at the same time is only the plot preview information corresponding to a portion of the plot segments.
故在一种可能的实现方式中,若所述多个剧情预览信息分别对应的剧情片段为所述目标视频中的部分剧情片段,所述方法还包括:Therefore, in one possible implementation, if the plot segments corresponding to the plurality of plot preview information are part of the plot segments in the target video, the method further includes:
S41:在根据所述进度切换操作的滑动参数调整所述目标视频的时间轴对应的时间轴时刻的过程中,基于所述时间轴时刻在所述时间轴中的调整位置,确定所述目标视频中播放时间处于所述调整位置前后的多个剧情片段作为待预览片段。S41: During the process of adjusting the time axis moment corresponding to the time axis of the target video according to the sliding parameters of the progress switching operation, based on the adjusted position of the time axis moment in the time axis, multiple plot segments in the target video whose playback time is before or after the adjusted position are determined as segments to be previewed.
S42:将所述待预览片段分别对应的剧情预览信息更新显示在所述显示区域中。S42: Update and display the plot preview information corresponding to the segments to be previewed in the display area.
由此,在目标视频的显示区域中展示多个剧情预览信息时,可以基于当前时间轴时刻,展示处于该时间轴时刻周边的剧情片段的剧情预览信息,使得展示的剧情预览信息与当前时间轴时刻直接相关,更有聚焦性。Therefore, when displaying multiple plot preview information in the display area of the target video, plot preview information of plot segments around the current timeline moment can be displayed based on the current timeline moment, making the displayed plot preview information directly related to the current timeline moment and more focused.
如图8所示,目标视频具有10个剧情片段,在当前时间轴时刻下,展示的是剧情片段2、3和4的剧情预览信息(此时剧情预览信息2被突出显示),当时间轴时刻在进度切换操作下向右调整后,时间轴时刻周边的剧情片段变为剧情片段4、5和6,相应的,所展示的剧情预览信息更新为剧情预览信息4、5和6(此时剧情预览信息5被突出显示)。As shown in Figure 8, the target video has 10 plot segments. At the current timeline moment, the plot preview information of plot segments 2, 3, and 4 is displayed (plot preview information 2 is highlighted at this time). When the timeline moment is adjusted to the right under the progress switch operation, the plot segments around the timeline moment become plot segments 4, 5, and 6. Correspondingly, the displayed plot preview information is updated to plot preview information 4, 5, and 6 (plot preview information 5 is highlighted at this time).
以上实施例说明了两种进度切换操作中满足触发条件的滑动操作的实施方式和处理流程,接下来对基于控件的触发操作作为进度切换操作进行说明。The above embodiments illustrate the implementation methods and processing flow of sliding operations that meet the triggering conditions in two progress switching operations. Next, we will explain the control-based triggering operation as a progress switching operation.
在一种可能的实现方式中,S201:通过目标视频的显示区域获取针对所述目标视频的进度切换操作,包括:In one possible implementation, S201: Obtaining a progress switching operation for the target video through the display area of the target video, including:
S2013:通过所述显示区域展示预览控件。S2013: Display the preview control through the display area.
S2014:响应于针对预览控件的触发操作,确定获取针对所述目标视频的进度切换操作。S2014: In response to a trigger operation on the preview control, determine to obtain a progress switching operation for the target video.
基于滑动操作作为进度切换操作时,在进行时间轴时刻调整的期间滑动操作需要一直保持,当确定当前时间轴时刻满足观看需求时才会取消滑动操作以实现目标视频的播放进度跳转,也就是说,调整期间需要有持续性操作,显示区域中或多或少会有被持续性操作对象(例如手指、触控笔等)遮盖的情况。When using a swipe gesture as a progress switch, the swipe gesture needs to be maintained throughout the timeline adjustment. The swipe gesture will only be canceled when the current timeline is determined to meet the viewing requirements, thus allowing the playback progress of the target video to jump. In other words, continuous operation is required during the adjustment period, and the display area will be more or less covered by the continuous operation object (such as a finger, stylus, etc.).
而基于预览控件的方式,终端设备在展示剧情预览信息期间用户无需实施持续性操作,使得显示区域所展示的剧情预览信息能够被更为完整的被观察到。With the preview control-based approach, users do not need to perform continuous operations while the terminal device displays the plot preview information, allowing the plot preview information displayed in the display area to be observed more completely.
例如图9所示,通过对预览控件的触发操作,多个剧情预览信息被展示在目标视频的显示区域中。For example, as shown in Figure 9, by triggering the preview control, multiple plot preview information is displayed in the display area of the target video.
当基于剧情预览信息确定出符合观看需求的剧情时,用户可以通过选择对应的剧情预览信息,实现将目标视频跳转到该剧情预览信息对应的剧情片段进行播放的目的。When a plot that meets the user's viewing needs is determined based on the plot preview information, the user can select the corresponding plot preview information to jump to the plot segment corresponding to that plot preview information for playback.
故在一种可能的实现方式中,所述方法还包括:Therefore, in one possible implementation, the method further includes:
获取针对所述多个剧情预览信息中的第一剧情预览信息的选中操作;确定所述第一剧情预览信息被选择。Obtain the selection operation for the first plot preview information among the multiple plot preview information; determine that the first plot preview information is selected.
该选中操作可以通过对第一剧情预览信息的点击操作等方式实现。This selection can be achieved by clicking on the first plot preview information, etc.
需要注意的是,在一些目标视频中包括的剧情片段数量可能较多,使得通过终端设备的显示区域难以将全部剧情片段的剧情预览信息进行展示,故同时被展示的剧情预览信息仅为部分剧情片段对应的剧情预览信息。It should be noted that some target videos may contain a large number of plot segments, making it difficult to display the plot preview information of all plot segments through the display area of the terminal device. Therefore, the plot preview information displayed at the same time is only the plot preview information corresponding to a portion of the plot segments.
若所述多个剧情预览信息分别对应的剧情片段为所述目标视频中的部分剧情片段,在一种可能的实现方式中,所述方法还包括:响应于针对所述多个剧情预览信息的滑动操作,根据所述滑动操作的滑动参数更新所述显示区域所显示的剧情预览信息。If the plot segments corresponding to the plurality of plot preview information are part of the plot segments in the target video, in one possible implementation, the method further includes: in response to a sliding operation on the plurality of plot preview information, updating the plot preview information displayed in the display area according to the sliding parameters of the sliding operation.
也就是说,用户可以通过在剧情预览信息展示的区域进行滑动操作,来调整当前显示的剧情预览信息。如图10所示,目标视频具有10个剧情片段,在当前时间轴时刻下,展示的是剧情片段2、3和4的剧情预览信息,当获取对剧情预览信息的向左滑动的滑动操作时,所展示的剧情预览信息更新为剧情预览信息4、5和6。In other words, users can adjust the currently displayed plot preview information by swiping in the area where the plot preview information is displayed. As shown in Figure 10, the target video has 10 plot segments. At the current timeline, the plot preview information for plot segments 2, 3, and 4 is displayed. When a swipe operation is performed to the left on the plot preview information, the displayed plot preview information is updated to plot preview information 4, 5, and 6.
为了能够通过剧情预览信息为用户的播放进度切换提供准确参考,需要能够对目标视频确定出高质量的剧情片段。也就是说,通过对目标视频的剧情分段,若能够得到优质的剧情片段,可以有效的引导用户进行视频消费。In order to provide users with accurate references for switching playback progress based on plot preview information, it is necessary to identify high-quality plot segments in the target video. In other words, by segmenting the plot of the target video, if high-quality plot segments can be obtained, it can effectively guide users to consume the video.
为此,本申请实施例提供了至少两种确定目标视频中剧情片段的方式,第一种方式是基于视频处理方式确定得到的剧情片段,第二种方式为基于历史用户观看数据确定出剧情片段。第一种方式可以应用于尚未上线,还不具有历史用户观看数据的目标视频(也可以应用于已经上线,已具有历史用户观看数据的目标视频)。第二种方式可以应用于具有历史用户观看数据的目标视频,还可以用于对基于第一种方式确定出的剧情片段进行调优的场景。To this end, embodiments of this application provide at least two methods for determining plot segments in a target video. The first method is based on plot segments determined by video processing methods, and the second method is based on historical user viewing data. The first method can be applied to target videos that have not yet been released and do not yet have historical user viewing data (it can also be applied to target videos that have already been released and have historical user viewing data). The second method can be applied to target videos that have historical user viewing data, and can also be used in scenarios where plot segments determined based on the first method are being optimized.
接下来对第二种方式进行说明。在一种可能的实现方式中,所述方法还包括:The second method will be described next. In one possible implementation, the method further includes:
S51:确定所述目标视频的历史用户观看数据。S51: Determine the historical user viewing data of the target video.
S52:根据所述历史用户观看数据确定所述目标视频包括的剧情片段。S52: Determine the plot segments included in the target video based on the historical user viewing data.
其中,历史用户观看数据可以体现出用户曾经观看目标视频时产生的观看数据,标识了各类基于观看目标视频做出的操作行为,基于这些操作行为可以确定出目标视频中哪些部分受到用户共情、哪些部分用户更感兴趣,这些部分应属于目标视频的优质部分,可以划分为剧情片段。Among them, historical user viewing data can reflect the viewing data generated when users watched the target video, and identify various operational behaviors based on watching the target video. Based on these operational behaviors, it can be determined which parts of the target video resonate with users and which parts users are more interested in. These parts should be considered high-quality parts of the target video and can be divided into plot segments.
历史用户观看数据可以包括评论信息、播放位置切换信息或变速播放信息中的至少一种。Historical user viewing data may include at least one of the following: comment information, playback position switching information, or variable speed playback information.
若所述历史用户观看数据包括评论信息,前述S52包括:If the historical user viewing data includes comment information, the aforementioned S52 includes:
从所述评论信息中确定与剧情相关的目标评论信息;根据所述目标评论信息所指示的第一播放时间参数,确定所述目标视频包括的剧情片段。Target comment information related to the plot is determined from the comment information; plot segments included in the target video are determined based on the first playback time parameter indicated by the target comment information.
在一些评论信息中可能具有涉及剧情评价的,若能够指向所评价剧情的具体时间,则可以作为目标评论信息来确定剧情片段。Some comments may contain plot evaluations. If the specific time of the evaluated plot can be pointed to, it can be used as the target comment to identify the plot segment.
例如常见的弹幕属于一种评论信息,弹幕一般与具体的播放时刻具有关联关系,故可以将评论剧情的弹幕作为目标评论信息,其关联的播放时刻作为第一播放时间参数。For example, common bullet comments are a type of comment information. Bullet comments are generally related to a specific playback time. Therefore, bullet comments that comment on the plot can be used as target comment information, and their associated playback time can be used as the first playback time parameter.
如图11a所示,根据用户在目标视频中所发表的弹幕内容进行提取,来判断此时播放内容的共情价值,进而系统判断此片段是否为优质内容。如:弹幕词条“前方高能”、“名场面”刷屏,判定当面画面为大部分用户喜欢看且优质的内容,将此片段划分为剧情片段。As shown in Figure 11a, the system extracts the empathy value of the content being played based on the comments posted by users in the target video, and then determines whether the segment is high-quality content. For example, if the comments are filled with phrases like "High energy ahead" or "Famous scene," the system determines that the scene is high-quality content that most users like to watch, and classifies this segment as a story segment.
若所述历史用户观看数据包括播放位置切换信息,前述S52包括:If the historical user viewing data includes playback position switching information, the aforementioned S52 includes:
确定在所述播放位置切换信息对应的播放切换行为后所述目标视频的持续播放时长;当所述持续播放时长满足播放条件时,根据所述播放位置切换信息所指示的第二播放时间参数确定所述目标视频包括的剧情片段。Determine the duration of continuous playback of the target video after the playback switching behavior corresponding to the playback position switching information; when the duration of continuous playback meets the playback conditions, determine the plot segments included in the target video according to the second playback time parameter indicated by the playback position switching information.
例如在历史播放中经常被跳过的部分可以不划分为剧情片段,而经常被正常播放的部分可以作为剧情片段。For example, parts that are frequently skipped in the playback history can be excluded from the plot segment classification, while parts that are frequently played normally can be classified as plot segments.
如图11b所示,如果用户通过左右滑动的方式,来进行剧情的选择,我们可以依照用户的行为进行剧情分段,用户滑动过的视频为不感兴趣内容,如果用户定位到感兴趣的内容且观看时长超过1分钟,可以断定此内容用户感兴趣,拉取此片段作为目标视频的剧情片段。As shown in Figure 11b, if a user selects a storyline by swiping left or right, we can segment the storyline based on the user's behavior. Videos that the user swipes over are content they are not interested in. If the user locates content they are interested in and watches it for more than 1 minute, we can determine that the user is interested in this content and extract this segment as the storyline segment of the target video.
若所述历史用户观看数据包括变速播放信息,前述S52包括:If the historical user viewing data includes variable speed playback information, the aforementioned S52 includes:
从所述变速播放信息中确定所述目标视频在被加速播放后进行降速播放的播放速度切换行为;根据所述播放速度切换行为所指示的第三播放时间参数确定所述目标视频包括的剧情片段。The playback speed switching behavior of the target video, which is accelerated and then slowed down, is determined from the variable speed playback information; the plot segments included in the target video are determined according to the third playback time parameter indicated by the playback speed switching behavior.
用户一般针对不感兴趣的视频内容会采用加速播放的方式(例如2倍速)观看,在观看到自己感兴趣的部分时,会进行降速(例如降到1倍速、1.5倍速)观看。Users typically speed up video playback (e.g., 2x speed) for content they are not interested in, and slow it down (e.g., to 1x or 1.5x speed) when they reach parts they are interested in.
如图11c所示,如果用户对不感兴趣的内容采用倍速播放,此时观看的视频内容不作为剧情片段,如果用户在倍速播放期间取消了倍速播放或降低倍速播放(图示中为从2倍速切换为1.5倍速),可以判断取消后的视频内容为用户感兴趣的优质内容,拉取此片段作为剧情片段。As shown in Figure 11c, if a user plays content at an accelerated speed but is not interested in it, the video content watched at this time will not be used as a plot segment. If the user cancels the accelerated playback or reduces the accelerated playback speed during the accelerated playback (shown in the figure, switching from 2x speed to 1.5x speed), it can be determined that the video content after cancellation is high-quality content that the user is interested in, and this segment will be used as a plot segment.
图12为本申请实施例提供的一种视频播放系统的示意图,其中包括终端设备和作为内容平台后台的服务器。Figure 12 is a schematic diagram of a video playback system provided in an embodiment of this application, including a terminal device and a server as the backend of a content platform.
终端设备主要作为输入指令方:Terminal devices primarily function as input command providers:
终端设备获取用户通过左右滑动屏幕的滑动操作确定剧情片段,并根据服务器提供的剧情预览信息进行展示,当识别到滑动操作取消时确定选中的剧情预览信息,并跳转到选择的时间轴时刻播放目标视频。The terminal device obtains the plot segment selected by the user through the swiping operation of the screen left and right, and displays it according to the plot preview information provided by the server. When the swiping operation is canceled, the selected plot preview information is determined, and the device jumps to the selected timeline to play the target video.
服务器作为输出方:Server as the output:
在从终端设备确定用户产生操作前,服务器根据已有的视频内容进行解读转码并进行分段储存(剧情细节属性,时间点/人/事/物/发生阶段/场景等有关剧情的脉络关联),即确定出目标视频的剧情片段和对应的剧情预览信息。Before determining the user's action from the terminal device, the server interprets, transcodes, and stores the existing video content in segments (plot details, time points/people/events/objects/stages/scenes and other plot-related connections), thus determining the plot segments of the target video and the corresponding plot preview information.
当通过终端设备确定用户在目标视频的显示界面进行滑动操作时,服务器将储存的剧情预览信息(可视化显示文本+图像的形式)发送给终端设备,在终端设备处,选中的剧情预览信息的图像变大,文字变成系统颜色表示此时为选中态;此时底部的目标视频不进行暂停播放,滑动选择剧情片段后,底部视频进行跳转播放。When the terminal device determines that the user is swiping on the target video's display interface, the server sends the stored plot preview information (in the form of visual text and images) to the terminal device. On the terminal device, the image of the selected plot preview information becomes larger, and the text changes to the system color to indicate that it is selected. At this time, the target video at the bottom does not pause playback. After swiping to select a plot segment, the video at the bottom will start playing.
图13为本申请实施例提供的一种确定剧情预览信息的流程图。Figure 13 is a flowchart of determining plot preview information provided in an embodiment of this application.
首先可以通过终端设备的客户端进行分段信息配置,在该系统内运营人员对目标视频的剧情片段的具体时间信息、内容进行配置,生成标准化的数据接口供客户端读取。Firstly, segmented information can be configured through the client on the terminal device. Within this system, operators can configure the specific time information and content of the plot segments of the target video, generating a standardized data interface for the client to read.
根据配置的剧情片段的具体时间信息、内容自动化的对剧情片段进行分析,筛选出适合作为剧情预览信息中视频画面的缩略图的帧并以图片格式存储至指定对象存储空间中。Based on the specific time information and content of the configured plot segments, the system automatically analyzes the plot segments, selects frames suitable for use as thumbnails of video frames in the plot preview information, and stores them in image format in the specified object storage space.
在前述实施例的基础上,图14为本申请实施例提供的一种视频播放装置的装置结构图,所述视频播放装置1400包括获取单元1401、展示单元1402和跳转单元1403:Based on the foregoing embodiments, Figure 14 is a device structure diagram of a video playback device provided in an embodiment of this application. The video playback device 1400 includes an acquisition unit 1401, a display unit 1402, and a jump unit 1403.
所述获取单元1401,用于通过目标视频的显示区域获取针对所述目标视频的进度切换操作;The acquisition unit 1401 is used to acquire the progress switching operation for the target video through the display area of the target video;
所述展示单元1402,用于在所述显示区域中展示多个剧情预览信息,所述剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,所述目标视频包括所述多个剧情预览信息分别对应的剧情片段;The display unit 1402 is used to display multiple plot preview information in the display area. The plot preview information includes video footage of the corresponding plot segment and plot description text. The target video includes plot segments corresponding to the multiple plot preview information.
所述跳转单元1403,用于当确定所述多个剧情预览信息中的第一剧情预览信息被选择时,将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放。The jump unit 1403 is used to jump the target video to the first plot segment corresponding to the first plot preview information when it is determined that the first plot preview information among the plurality of plot preview information is selected.
在一种可能的实现方式中,所述获取单元还用于:In one possible implementation, the acquisition unit is further configured to:
通过目标视频的显示区域获取滑动操作;Obtain the swipe operation by controlling the display area of the target video;
若所述滑动操作满足触发条件,确定所述滑动操作为针对所述目标视频的进度切换操作,并根据所述进度切换操作的滑动参数调整所述目标视频的时间轴对应的时间轴时刻,所述时间轴时刻用于指示所述进度切换操作被取消时的待播放时刻。If the sliding operation meets the triggering condition, it is determined that the sliding operation is a progress switching operation for the target video, and the time axis time corresponding to the time axis of the target video is adjusted according to the sliding parameters of the progress switching operation. The time axis time is used to indicate the time to be played when the progress switching operation is canceled.
在一种可能的实现方式中,所述显示单元还用于:In one possible implementation, the display unit is further configured to:
若所述时间轴时刻处于所述目标视频的第二剧情片段的播放时间区间,在所述显示区域中将所述第二剧情片段对应的第二剧情预览信息相对于其他显示的剧情预览信息进行突出显示。If the timeline is within the playback time range of the second plot segment of the target video, the second plot preview information corresponding to the second plot segment will be highlighted in the display area relative to other displayed plot preview information.
在一种可能的实现方式中,所述装置还包括确定单元:In one possible implementation, the device further includes a determining unit:
所述确定单元用于当在所述第二剧情预览信息被突出显示时,确定所述进度切换操作被取消,将所述第二剧情预览信息确定为被选择的所述第一剧情预览信息,所述第二剧情片段为所述第一剧情片段;The determining unit is used to determine that the progress switching operation is canceled when the second plot preview information is highlighted, and to determine the second plot preview information as the selected first plot preview information, and the second plot segment as the first plot segment;
所述跳转单元还用于将所述目标视频跳转至所述第一剧情片段的起始时刻进行播放;或者,将所述目标视频跳转至所述进度切换操作被取消时的时间轴时刻进行播放。The jump unit is also used to jump the target video to the start time of the first plot segment for playback; or, to jump the target video to the timeline moment when the progress switching operation is canceled for playback.
在一种可能的实现方式中,所述装置还包括确定单元:In one possible implementation, the device further includes a determining unit:
所述确定单元用于在将所述第二剧情预览信息进行突出显示的过程中,确定所述第二剧情片段对应所述时间轴时刻的关键帧图像,所述第二剧情片段包括多个关键帧图像;The determining unit is used to determine the key frame image of the second plot segment corresponding to the timeline moment during the process of highlighting the second plot preview information. The second plot segment includes multiple key frame images.
所述显示单元还用于将确定出的关键帧图像作为所述视频画面更新显示在所述第二剧情预览信息中。The display unit is also used to update and display the determined keyframe images as video frames in the second plot preview information.
在一种可能的实现方式中,所述装置还包括确定单元:In one possible implementation, the device further includes a determining unit:
所述确定单元用于在将所述第二剧情预览信息进行突出显示的过程中,确定所述时间轴时刻在所述第二剧情片段的播放时间区间对应的剧情进度参数;The determining unit is used to determine the plot progress parameter corresponding to the playback time interval of the second plot segment when the time axis is highlighted during the process of highlighting the second plot preview information;
所述显示单元还用于在被突出显示的第二剧情预览信息中标识所述剧情进度参数。The display unit is also used to identify the plot progress parameters in the highlighted second plot preview information.
在一种可能的实现方式中,所述装置还包括确定单元,所述确定单元用于若所述多个剧情预览信息分别对应的剧情片段为所述目标视频中的部分剧情片段,在根据所述进度切换操作的滑动参数调整所述目标视频的时间轴对应的时间轴时刻的过程中,基于所述时间轴时刻在所述时间轴中的调整位置,确定所述目标视频中播放时间处于所述调整位置前后的多个剧情片段作为待预览片段;In one possible implementation, the device further includes a determining unit, which is used to determine, if the plot segments corresponding to the plurality of plot preview information are part of the plot segments in the target video, during the process of adjusting the time axis time corresponding to the time axis time of the target video according to the sliding parameters of the progress switching operation, multiple plot segments in the target video whose playback time is before or after the adjustment position are determined as plot segments to be previewed based on the adjustment position of the time axis time in the time axis.
所述显示单元还用于将所述待预览片段分别对应的剧情预览信息更新显示在所述显示区域中。The display unit is also used to update and display the plot preview information corresponding to the segments to be previewed in the display area.
在一种可能的实现方式中,所述显示单元还用于:In one possible implementation, the display unit is further configured to:
通过所述显示区域展示预览控件;The preview control is displayed in the display area;
响应于针对预览控件的触发操作,确定获取针对所述目标视频的进度切换操作。In response to a trigger operation on the preview control, determine and obtain a progress switching operation for the target video.
在一种可能的实现方式中,所述获取单元还用于:In one possible implementation, the acquisition unit is further configured to:
获取针对所述多个剧情预览信息中的第一剧情预览信息的选中操作;Obtain the selection operation for the first plot preview information among the multiple plot preview information;
确定所述第一剧情预览信息被选择。Confirm that the first plot preview information has been selected.
在一种可能的实现方式中,所述显示单元还用于若所述多个剧情预览信息分别对应的剧情片段为所述目标视频中的部分剧情片段,响应于针对所述多个剧情预览信息的滑动操作,根据所述滑动操作的滑动参数更新所述显示区域所显示的剧情预览信息。In one possible implementation, the display unit is further configured to, in response to a sliding operation on the plurality of plot preview information, update the plot preview information displayed in the display area according to the sliding parameters of the sliding operation if the plot segments corresponding to the plurality of plot preview information are part of the plot segments in the target video.
在一种可能的实现方式中,所述显示单元还用于在所述显示区域中通过具有透明度的导航图层展示多个剧情预览信息,在显示方向上,所述导航图层覆盖在所述目标视频的显示图层之上。In one possible implementation, the display unit is further configured to display multiple plot preview information in the display area via a navigation layer with transparency, wherein the navigation layer overlaps the display layer of the target video in the display direction.
在一种可能的实现方式中,所述装置还包括确定单元,所述确定单元用于:确定所述多个剧情预览信息分别对应的剧情片段在所述目标视频中的播放先后关系;依据所述播放先后关系确定所述多个剧情预览信息的展示顺序;In one possible implementation, the apparatus further includes a determining unit, the determining unit being configured to: determine the playback order of the plot segments corresponding to the plurality of plot preview information in the target video; and determine the display order of the plurality of plot preview information based on the playback order.
所述显示单元还用于:The display unit is also used for:
根据所述展示顺序在所述显示区域中展示所述多个剧情预览信息。The multiple plot preview information are displayed in the display area according to the display order.
在一种可能的实现方式中,所述装置还包括确定单元,所述确定单元用于:In one possible implementation, the apparatus further includes a determining unit, the determining unit being configured to:
确定所述目标视频的历史用户观看数据;Determine the historical user viewing data of the target video;
根据所述历史用户观看数据确定所述目标视频包括的剧情片段。The target video includes plot segments determined based on the historical user viewing data.
在一种可能的实现方式中,所述历史用户观看数据包括评论信息、播放位置切换信息或变速播放信息中的至少一种;In one possible implementation, the historical user viewing data includes at least one of comment information, playback position switching information, or variable speed playback information;
所述确定单元还用于若所述历史用户观看数据包括评论信息,从所述评论信息中确定与剧情相关的目标评论信息;根据所述目标评论信息所指示的第一播放时间参数,确定所述目标视频包括的剧情片段;The determining unit is further configured to, if the historical user viewing data includes comment information, determine target comment information related to the plot from the comment information; and determine the plot segments included in the target video according to the first playback time parameter indicated by the target comment information;
所述确定单元还用于若所述历史用户观看数据包括播放位置切换信息,确定在所述播放位置切换信息对应的播放切换行为后所述目标视频的持续播放时长;当所述持续播放时长满足播放条件时,根据所述播放位置切换信息所指示的第二播放时间参数确定所述目标视频包括的剧情片段;The determining unit is further configured to, if the historical user viewing data includes playback position switching information, determine the continuous playback duration of the target video after the playback switching behavior corresponding to the playback position switching information; when the continuous playback duration meets the playback conditions, determine the plot segments included in the target video according to the second playback time parameter indicated by the playback position switching information.
所述确定单元还用于若所述历史用户观看数据包括变速播放信息,从所述变速播放新中确定所述目标视频在被加速播放后进行降速播放的播放速度切换行为;根据所述播放速度切换行为所指示的第三播放时间参数确定所述目标视频包括的剧情片段。The determining unit is further configured to, if the historical user viewing data includes variable speed playback information, determine from the variable speed playback information the playback speed switching behavior of the target video after being accelerated and then slowed down; and determine the plot segments included in the target video according to the third playback time parameter indicated by the playback speed switching behavior.
由此可见,响应于通过目标视频的显示区域获取的针对该目标视频的进度切换操作,在所述显示区域中展示目标视频所包括剧情片段的多个剧情预览信息,由于该剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,从图像和文字对目标视频的剧情片段进行多维度的展示,使得用户基于剧情预览信息所提供丰富信息,可以更为准确的了解目标视频的多个剧情片段的具体信息,为用户选择目标视频中自己感兴趣的视频内容提供了更为完备的参考。故当确定多个剧情预览信息中的第一剧情预览信息被选择时,将目标视频跳转至第一剧情预览信息对应的第一剧情片段进行播放时,所播放的视频内容符合用户需求的可能性更大,降低了用户寻找所需视频内容的尝试次数,节约了处理资源。Therefore, in response to the progress switching operation of the target video obtained through the display area of the target video, multiple plot preview information of the plot segments included in the target video is displayed in the display area. Since the plot preview information includes the video footage and plot description text of the corresponding plot segment, the plot segments of the target video are displayed from multiple dimensions through images and text. This allows users to more accurately understand the specific information of multiple plot segments of the target video based on the rich information provided by the plot preview information, providing a more complete reference for users to select video content of interest from the target video. Therefore, when it is determined that the first plot preview information among multiple plot preview information is selected, when the target video jumps to the first plot segment corresponding to the first plot preview information for playback, the video content played is more likely to meet the user's needs, reducing the number of attempts for the user to find the required video content and saving processing resources.
本申请实施例还提供了一种计算机设备,该计算机设备为前述介绍的计算机设备,可以包括终端设备或服务器,前述的视频播放装置可以配置在该计算机设备中。下面结合附图对该计算机设备进行介绍。This application also provides a computer device, which is the computer device described above, and may include a terminal device or a server. The aforementioned video playback device may be configured in this computer device. The computer device will now be described in conjunction with the accompanying drawings.
若该计算机设备为终端设备,请参见图14所示,本申请实施例提供了一种终端设备,以终端设备为手机为例:If the computer device is a terminal device, please refer to Figure 14. This application embodiment provides a terminal device, taking a mobile phone as an example:
图15示出的是与本申请实施例提供的终端设备相关的手机的部分结构的框图。参考图15,手机包括:射频(Radio Frequency,简称RF)电路1410、存储器1420、输入单元1430、显示单元1440、传感器1450、音频电路1460、无线保真(WiFi)模块1470、处理器1480、以及电源1490等部件。本领域技术人员可以理解,图15中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Figure 15 shows a block diagram of a portion of the structure of a mobile phone related to the terminal device provided in the embodiments of this application. Referring to Figure 15, the mobile phone includes components such as a radio frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a Wi-Fi module 1470, a processor 1480, and a power supply 1490. Those skilled in the art will understand that the mobile phone structure shown in Figure 15 does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
下面结合图15对手机的各个构成部件进行具体的介绍:The following section, with reference to Figure 15, provides a detailed introduction to the various components of the mobile phone:
RF电路1410可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1480处理。RF circuit 1410 can be used to receive and transmit signals during information transmission or calls. In particular, it receives downlink information from the base station and then processes it with processor 1480.
存储器1420可用于存储软件程序以及模块,处理器1480通过运行存储在存储器1420的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1420可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。The memory 1420 can be used to store software programs and modules. The processor 1480 executes various functions and data processing of the mobile phone by running the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.).
输入单元1430可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1430可包括触控面板1431以及其他输入设备1432。触控面板1431,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1431上或在触控面板1431附近的操作),并根据预先设定的程式驱动相应的连接装置。The input unit 1430 can be used to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432. The touch panel 1431, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 1431), and drive the corresponding connected devices according to a pre-set program.
显示单元1440可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1440可包括显示面板1441,可选的,可以采用液晶显示器(LiquidCrystal Display,简称LCD)、有机发光二极管(Organic Light-Emitting Diode,简称OLED)等形式来配置显示面板1441。The display unit 1440 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 1440 may include a display panel 1441, which may optionally be configured as a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
手机还可包括至少一种传感器1450,比如光传感器、运动传感器以及其他传感器。The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.
音频电路1460、扬声器1461,传声器1462可提供用户与手机之间的音频接口。Audio circuitry 1460, speaker 1461, and microphone 1462 provide an audio interface between the user and the mobile phone.
WiFi属于短距离无线传输技术,手机通过WiFi模块1470可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-range wireless transmission technology. Through the WiFi module 1470, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access.
处理器1480是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1420内的软件程序和/或模块,以及调用存储在存储器1420内的数据,执行手机的各种功能和处理数据。The processor 1480 is the control center of the mobile phone. It connects to various parts of the mobile phone through various interfaces and lines. It performs various functions of the mobile phone and processes data by running or executing software programs and/or modules stored in the memory 1420 and calling data stored in the memory 1420.
在本实施例中,该终端设备所包括的处理器1480还具有以下功能:In this embodiment, the processor 1480 included in the terminal device also has the following functions:
通过目标视频的显示区域获取针对所述目标视频的进度切换操作;The progress switching operation for the target video is obtained by measuring the display area of the target video;
在所述显示区域中展示多个剧情预览信息,所述剧情预览信息包括所对应剧情片段的视频画面和剧情说明文字,所述目标视频包括所述多个剧情预览信息分别对应的剧情片段;Multiple plot preview information is displayed in the display area. The plot preview information includes video footage of the corresponding plot segment and plot description text. The target video includes the plot segments corresponding to the multiple plot preview information.
当确定所述多个剧情预览信息中的第一剧情预览信息被选择时,将所述目标视频跳转至所述第一剧情预览信息对应的第一剧情片段进行播放。When it is determined that the first plot preview information among the multiple plot preview information is selected, the target video will be redirected to the first plot segment corresponding to the first plot preview information for playback.
若计算机设备为服务器,本申请实施例还提供一种服务器,请参见图16所示,图16为本申请实施例提供的服务器1500的结构图,服务器1500可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(Central Processing Units,简称CPU)1522(例如,一个或一个以上处理器)和存储器1532,一个或一个以上存储应用程序1542或数据1544的存储介质1530(例如一个或一个以上海量存储设备)。其中,存储器1532和存储介质1530可以是短暂存储或持久存储。存储在存储介质1530的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1522可以设置为与存储介质1530通信,在服务器1500上执行存储介质1530中的一系列指令操作。If the computer device is a server, this application embodiment also provides a server, as shown in Figure 16. Figure 16 is a structural diagram of the server 1500 provided in this application embodiment. The server 1500 can vary significantly due to different configurations or performance, and may include one or more central processing units (CPUs) 1522 (e.g., one or more processors) and memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing application programs 1542 or data 1544. The memory 1532 and storage media 1530 can be temporary or persistent storage. The program stored in the storage media 1530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1522 may be configured to communicate with the storage media 1530 and execute the series of instruction operations in the storage media 1530 on the server 1500.
服务器1500还可以包括一个或一个以上电源1526,一个或一个以上有线或无线网络接口1550,一个或一个以上输入输出接口1558,和/或,一个或一个以上操作系统1541,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。Server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input/output interfaces 1558, and/or one or more operating systems 1541, such as Windows Server ™ , Mac OS X ™ , Unix ™ , Linux ™ , FreeBSD ™ , etc.
上述实施例中由服务器所执行的步骤可以基于图16所示的服务器结构。The steps performed by the server in the above embodiments can be based on the server structure shown in Figure 16.
另外,本申请实施例还提供了一种存储介质,所述存储介质用于存储计算机程序,所述计算机程序用于执行上述实施例提供的方法。In addition, this application embodiment also provides a storage medium for storing a computer program for executing the method provided in the above embodiment.
本申请实施例还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的方法。This application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the methods provided in the above embodiments.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质可以是下述介质中的至少一种:只读存储器(英文:Read-only Memory,缩写:ROM)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium can be at least one of the following media: read-only memory (ROM), RAM, magnetic disk or optical disk, and other media that can store program code.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备及系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的设备及系统实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
以上所述,仅为本申请的一种具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。而且本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。因此,本申请的保护范围应该以权利要求的保护范围为准。The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Moreover, based on the implementation methods provided in the above aspects, this application can be further combined to provide more implementation methods. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims (18)
Publications (1)
| Publication Number | Publication Date |
|---|---|
| HK40092315A true HK40092315A (en) | 2023-12-22 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7195426B2 (en) | Display page interaction control method and apparatus | |
| JP7159358B2 (en) | Video access method, client, device, terminal, server and storage medium | |
| CN109640188B (en) | Video preview method and device, electronic equipment and computer readable storage medium | |
| US9582246B2 (en) | Voice-command suggestions based on computer context | |
| KR102400019B1 (en) | Content viewing device and Method for displaying content viewing options thereon | |
| WO2020000973A1 (en) | Information access method, client, information access apparatus, terminal, server, and storage medium | |
| CN112261226A (en) | Horizontal screen interaction method, device, electronic device and storage medium | |
| EP3175442B1 (en) | Systems and methods for performing asr in the presence of heterographs | |
| US20150256873A1 (en) | Relayed voice control of devices | |
| US20150254057A1 (en) | Voice-command suggestions | |
| US20140282061A1 (en) | Methods and systems for customizing user input interfaces | |
| JP2022519172A (en) | Image display method and equipment | |
| CN105979339B (en) | Window display method and client | |
| CN107341018A (en) | A kind of method and apparatus for continuing to show view after page layout switch | |
| US20250306735A1 (en) | Interface interaction method, medium, and electronic device | |
| US20240171801A1 (en) | Video processing method and apparatus, and electronic device and storage medium | |
| CN101611628B (en) | Apparatus and method for navigation of aggregated content using skipping and content metadata | |
| WO2023024921A1 (en) | Video interaction method and apparatus, and device and medium | |
| US12200316B2 (en) | Systems and methods for presenting closed caption and subtitle data during fast-access playback operations | |
| JP2025524433A (en) | PAGE DISPLAY METHOD, APPARATUS, DEVICE, COMPUTER-READABLE STORAGE MEDIUM, AND PRODUCT | |
| CN115605837A (en) | Game console application with action card chain | |
| US9782681B2 (en) | Methods and systems for controlling media guidance application operations during video gaming applications | |
| CN116248945A (en) | Video interaction method, device, storage medium and electronic equipment | |
| CN106325681A (en) | Method and device for switching menu items | |
| WO2014186655A1 (en) | User interface for video delivery system with program guide overlay |