[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114205669B - Free-angle video playback method, device and electronic equipment - Google Patents

Free-angle video playback method, device and electronic equipment Download PDF

Info

Publication number
CN114205669B
CN114205669B CN202111611869.6A CN202111611869A CN114205669B CN 114205669 B CN114205669 B CN 114205669B CN 202111611869 A CN202111611869 A CN 202111611869A CN 114205669 B CN114205669 B CN 114205669B
Authority
CN
China
Prior art keywords
free
angle
playback
view video
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111611869.6A
Other languages
Chinese (zh)
Other versions
CN114205669A (en
Inventor
陈丽丽
刘松鹏
蒋杰
陈笑怡
李康敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111611869.6A priority Critical patent/CN114205669B/en
Publication of CN114205669A publication Critical patent/CN114205669A/en
Application granted granted Critical
Publication of CN114205669B publication Critical patent/CN114205669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4728End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明实施例涉及数据处理技术领域,公开了一种自由视角视频的播放方法、装置及电子设备。该方法包括:在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;根据所述关注位置切换所述自由视角视频的播放视角。通过上述方式,本发明实施例提高了视角切换的效率,提升了用户的观看体验。

Embodiments of the present invention relate to the field of data processing technology, and disclose a free-view video playback method, device and electronic equipment. The method includes: when the user watches the free-view video, tracking the user's eye movements to determine the user's focus position on the free-view video on the playback screen; switching the playback perspective of the free-view video according to the focus position . Through the above method, embodiments of the present invention improve the efficiency of perspective switching and enhance the user's viewing experience.

Description

自由视角视频的播放方法、装置及电子设备Free-angle video playback method, device and electronic equipment

技术领域Technical field

本发明实施例涉及数据处理技术领域,具体涉及一种自由视角视频的播放方法、装置及电子设备。Embodiments of the present invention relate to the field of data processing technology, and specifically relate to a free-view video playback method, device and electronic equipment.

背景技术Background technique

随着网络技术的不断发展,视频的观看量越来越高。与普通单一视角视频相比,自由视角视频可以使用户基于多个不同的视角观看视频,提高用户的观看体验。With the continuous development of network technology, the number of video views is getting higher and higher. Compared with ordinary single-view videos, free-view videos allow users to watch videos from multiple different perspectives, improving the user's viewing experience.

相关技术中,在用户观看自由视角视频的过程中,若用户需要变更观看视角,必须手动操作播放设备。播放设备根据用户的手动操作信号来确定新的视频播放视角,并且基于新的视频播放视角来播放自由视角视频。然而,发明人在实现本发明实施例的过程中发现:相关技术切换自由视角视频的播放视角的过程较为繁琐,导致分散用户的注意力,影响用户的观看体验。In the related technology, when the user is watching a free-angle video, if the user needs to change the viewing angle, the playback device must be manually operated. The playback device determines a new video playback angle according to the user's manual operation signal, and plays the free-angle video based on the new video playback angle. However, in the process of implementing the embodiments of the present invention, the inventor found that the process of switching the playback angle of the free-angle video in the related technology is relatively cumbersome, which distracts the user's attention and affects the user's viewing experience.

发明内容Contents of the invention

鉴于上述问题,本发明实施例提供了一种自由视角视频的播放方法、装置及电子设备,用于解决现有技术中存在的视角切换过程较为繁琐的问题。In view of the above problems, embodiments of the present invention provide a free-angle video playback method, device, and electronic equipment to solve the problem in the prior art that the angle switching process is complicated.

根据本发明实施例的一个方面,提供了一种自由视角视频的播放方法,所述方法包括:According to one aspect of an embodiment of the present invention, a method for playing free-view video is provided, and the method includes:

在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;When the user watches the free-view video, the user's eye movements are tracked to determine the user's focus position on the free-view video on the playback screen;

根据所述关注位置切换所述自由视角视频的播放视角。Switch the playback angle of the free-angle video according to the attention position.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述根据所述关注位置切换所述自由视角视频的播放视角包括:In an optional manner, the attention position includes the user's gaze point on the playback screen, and switching the playback angle of the free-view video according to the attention position includes:

根据所述凝视点确定触发视角切换的触发点,并确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例;Determine the trigger point that triggers the viewing angle switch according to the gaze point, and determine the offset direction and offset ratio of the trigger point relative to the center point of the playback screen;

根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和;Determine the sum of the coverage angle differences between the adjacent camera positions between the target boundary camera position and the playback host position according to the offset direction;

根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度,根据所述视角切换角度切换所述自由视角视频的播放视角。The viewing angle switching angle is determined according to the sum of the difference in coverage angles of adjacent camera positions and the offset ratio, and the playback angle of the free-view video is switched according to the viewing angle switching angle.

在一种可选的方式中,所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例包括:In an optional manner, determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen includes:

确定所述触发点的屏幕位置,根据所述屏幕位置与播放屏幕中心点的屏幕位置的位置关系确定所述触发点相对于播放屏幕中心点的偏移方向;Determine the screen position of the trigger point, and determine the offset direction of the trigger point relative to the center point of the play screen based on the positional relationship between the screen position and the screen position of the center point of the play screen;

确定所述偏移方向所对应的播放屏幕边界点;Determine the playback screen boundary point corresponding to the offset direction;

将所述触发点与所述播放屏幕边界点在预设屏幕坐标轴上的坐标比值确定为所述触发点相对于播放屏幕中心点的偏移比例。The coordinate ratio of the trigger point and the playback screen boundary point on the preset screen coordinate axis is determined as the offset ratio of the trigger point relative to the playback screen center point.

在一种可选的方式中,在所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例之前,所述方法包括:In an optional manner, before determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, the method includes:

确定所述触发点是否位于预设触发区域;Determine whether the trigger point is located in a preset trigger area;

当所述触发点位于所述预设触发区域时,再执行所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例的步骤。When the trigger point is located in the preset trigger area, the step of determining the offset direction and offset ratio of the trigger point relative to the center point of the play screen is then performed.

在一种可选的方式中,所述根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度包括:In an optional manner, determining the viewing angle switching angle based on the sum of the difference in coverage angles of adjacent camera positions and the offset ratio includes:

计算所述相邻机位覆盖角度差之和与所述偏移比例的乘积;Calculate the product of the sum of the coverage angle differences of adjacent camera positions and the offset ratio;

将所述乘积确定为视角切换角度。The product is determined as the viewing angle switching angle.

在一种可选的方式中,在所述在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置之前,所述方法还包括:In an optional manner, before the user watches the free-view video, tracking the user's eye movements to determine the user's focus position on the free-view video on the play screen, the method further includes :

从视频云获取待播放自由视角视频以及所述待播放自由视角视频对应的机位信息;Obtain the free-view video to be played and the camera position information corresponding to the free-view video to be played from the video cloud;

根据所述机位信息确定所述待播放自由视角视频的制作主机位;Determine the production host location of the free-angle video to be played according to the camera location information;

将所述制作主机位确定为对所述待播放自由视角视频进行播放的播放主机位,以所述播放主机位的视角对所述待播放自由视角视频进行播放。The production host is determined to be the playback host that plays the free-view video to be played, and the free-view video to be played is played from the perspective of the playback host.

在一种可选的方式中,所述根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和包括:In an optional manner, determining the sum of the coverage angle differences between adjacent camera positions between the target boundary camera position and the playback host position according to the offset direction includes:

根据所述机位信息确定总机位数以及所有相邻机位覆盖角度差;Determine the total number of aircraft and the coverage angle difference of all adjacent aircraft based on the aircraft location information;

根据所述偏移方向以及所述总机位数确定目标边界机位;Determine the target boundary aircraft location according to the offset direction and the total number of aircraft locations;

根据所述目标边界机位以及所述所有相邻机位覆盖角度差确定所述目标边界机位与所述播放主机位之间的相邻机位覆盖角度差之和。The sum of the coverage angle differences between the target boundary camera and the playing host position is determined based on the target boundary camera position and the coverage angle differences of all adjacent camera positions.

根据本发明实施例的另一方面,提供了一种自由视角视频的播放装置,所述装置包括:According to another aspect of the embodiment of the present invention, a free-view video playback device is provided, and the device includes:

确定模块,用于在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;A determination module configured to track the user's eyeball movements when the user watches the free-view video to determine the user's focus position on the free-view video on the playback screen;

切换模块,用于根据所述关注位置切换所述自由视角视频的播放视角。A switching module, configured to switch the playback angle of the free-angle video according to the position of interest.

根据本发明实施例的另一方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to another aspect of the embodiment of the present invention, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete each other through the communication bus. communication between;

所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述的自由视角视频的播放方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the operation of the above-mentioned free-view video playback method.

根据本发明实施例的又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令在电子设备上运行时,使得电子设备执行上述的自由视角视频的播放方法的操作。According to yet another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. At least one executable instruction is stored in the storage medium. When the executable instruction is run on an electronic device, it causes the electronic device to execute the above-mentioned The operation of the free-angle video playback method.

本发明实施例中,在用户观看自由视角视频时,随着用户对自由视角视频的主要关注区域的变化,用户的眼球在播放屏幕的投射点也在变化;基于对用户的眼球动作的追踪,可以在播放屏幕上确定用户对自由视角视频的关注位置,从而根据该关注位置切换自由视角视频的播放视角。可以看出,本发明实施例可以对自由视角视频上用户的主要关注区域进行智能识别,进一步根据识别结果切换自由视角视频的播放视角,无需用户手动操作即可实现自由视角视频的播放视角的切换,可以大大简化自由视角视频的播放视角的切换过程,提升用户的观看体验。In the embodiment of the present invention, when the user watches the free-angle video, as the user's main area of concern for the free-angle video changes, the projection point of the user's eyeballs on the playback screen also changes; based on the tracking of the user's eyeball movements, The user's focus position on the free-view video can be determined on the playback screen, and the playback perspective of the free-view video can be switched based on the focus position. It can be seen that the embodiment of the present invention can intelligently identify the user's main area of concern on the free-view video, and further switch the playback angle of the free-view video according to the recognition result, and can realize the switching of the playback angle of the free-view video without manual operation by the user. , which can greatly simplify the process of switching the viewing angle of free-view video and improve the user's viewing experience.

上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to have a clearer understanding of the technical means of the embodiments of the present invention, they can be implemented according to the content of the description, and in order to achieve the above and other purposes, features and The advantages can be more clearly understood, and specific embodiments of the present invention are listed below.

附图说明Description of the drawings

附图仅用于示出实施方式,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:The drawings are only used to illustrate the embodiments and are not considered to be limitations of the present invention. Also throughout the drawings, the same reference characters are used to designate the same components. In the attached picture:

图1示出了本发明实施例提供的自由视角视频的播放方法的流程示意图;Figure 1 shows a schematic flow chart of a free-view video playback method provided by an embodiment of the present invention;

图2示出了本发明实施例提供的摄像机的机位布置示意图;Figure 2 shows a schematic diagram of the camera position arrangement provided by an embodiment of the present invention;

图3示出了本发明实施例提供的用户的凝视点路线示意图;Figure 3 shows a schematic diagram of the user's gaze point route provided by an embodiment of the present invention;

图4示出了本发明实施例提供的显示屏幕示意图;Figure 4 shows a schematic diagram of a display screen provided by an embodiment of the present invention;

图5示出了本发明实施例提供的自由视角视频的播放装置的结构示意图;Figure 5 shows a schematic structural diagram of a free-view video playback device provided by an embodiment of the present invention;

图6示出了本发明实施例提供的电子设备的结构示意图。Figure 6 shows a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein.

图1示出了本发明实施例自由视角视频的播放方法的流程图,该方法由电子设备执行。电子设备的存储器用于存放至少一可执行指令,该可执行指令使电子设备的处理器执行上述的自由视角视频的播放方法的操作。Figure 1 shows a flow chart of a free-view video playback method according to an embodiment of the present invention. The method is executed by an electronic device. The memory of the electronic device is used to store at least one executable instruction, and the executable instruction causes the processor of the electronic device to perform the operation of the above-mentioned free-view video playback method.

如图1所示,该方法包括以下步骤:As shown in Figure 1, the method includes the following steps:

步骤110:在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置。Step 110: When the user watches the free-view video, track the user's eyeball movements to determine the user's focus position on the free-view video on the play screen.

其中,自由视角视频是一种可以采用多个视角进行观看的视频。制作自由视角视频时,需要在拍摄现场部署一定数量的摄像机进行视频采集,然后对每个摄像机采集的视频进行同步对齐、拼接和转码。在进行视频采集时,首先根据拍摄场地和摄像机的机位布置确定摄像机的总机位数,然后根据视频内容确定拍摄焦点。例如,当视频内容为篮球比赛时,可以将拍摄焦点确定为篮球。进一步的,可以将摄像机的各个机位按照一定的顺序进行编号,根据各个机位的布置和到拍摄焦点的距离实时计算出当前的制作主机位、所有机位的覆盖总角度以及各个相邻机位覆盖角度差。例如,编号之后,摄像机的各个机位分别为C1、C2.....CN,实时计算出的制作主机位为Cm,(制作主机位Cm为C1至CN中的某一个),所有机位的覆盖总角度为PVT,各个相邻机位覆盖角度差为PV(i,j),i、j表示两个相邻的两个机位。Among them, free-view video is a video that can be viewed from multiple viewing angles. When making free-view videos, it is necessary to deploy a certain number of cameras at the shooting site to collect videos, and then synchronize the alignment, splicing, and transcoding of the videos collected by each camera. When collecting video, first determine the total number of cameras based on the shooting location and camera position layout, and then determine the shooting focus based on the video content. For example, when the video content is a basketball game, the shooting focus can be determined to be basketball. Furthermore, each camera position can be numbered in a certain order, and the current production main position, the total coverage angle of all camera positions, and each adjacent camera can be calculated in real time based on the layout of each camera position and the distance to the shooting focus. Poor bit coverage angle. For example, after numbering, each camera position is C 1 , C 2 ..... C N , and the production host position calculated in real time is C m , (the production host position C m is C 1 to C N a), the total coverage angle of all aircraft positions is PVT, and the coverage angle difference of each adjacent aircraft position is PV (i, j) , where i and j represent two adjacent aircraft positions.

图2示出了本发明实施例提供的摄像机的机位布置示意图。如图2所示,总机位数N=17,图示的相邻机位覆盖角度差PV(i,j)中i=8,j=9,制作主机位为C9。进一步的,所有相邻机位覆盖角度差可以表示为如下数组。Figure 2 shows a schematic diagram of the camera position arrangement provided by an embodiment of the present invention. As shown in Figure 2, the total number of seats is N = 17. In the coverage angle difference PV (i, j) of adjacent seats shown in the figure, i = 8 and j = 9. The production host position is C 9 . Furthermore, the coverage angle differences of all adjacent camera positions can be expressed as the following array.

PV1,N-1=[PV(1,2) PV(2,3) ...... PV(N-1,N)]PV 1,N-1 = [PV (1,2) PV (2,3) ... PV (N-1,N) ]

所有机位的覆盖总角度PVT可以通过如下公式进行计算。The total coverage angle PVT of all camera positions can be calculated by the following formula.

在拍摄现场(采集端)的各个摄像机完成视频采集之后,可以将各个机位采集的视频流以及机位信息低时延传递给视频云。当前时刻T的机位信息CIT可以包括总机位数N、当前制作主机位Cm、当前所有机位的覆盖总角度PVT以及各个相邻机位覆盖角度差,即:After each camera at the shooting site (collection end) completes video collection, the video stream and camera position information collected by each camera can be transmitted to the video cloud with low latency. The camera position information CIT at the current time T can include the total number of cameras N, the current production host position C m , the current total coverage angle PVT of all camera positions, and the coverage angle difference of each adjacent camera position, that is:

CIT=CI(N,Cm,PVT,[PV(1,2) PV(2,3) ...... PV(N-1,N)])CIT=CI(N,C m ,PVT,[PV (1,2) PV (2,3 )... PV (N-1,N) ])

视频云接收到拍摄现场传回的视频流和机位信息之后,可以基于NTP(NetworkTime Protocol,网络时钟协议)时钟的视频帧时间戳,完成对各路机位视频流的同步对齐、拼接和转码,并将转码之后的视频流和机位信息发送至终端进行播放。终端接收到视频云发送的视频流和机位信息之后,可以将根据机位信息对视频流进行播放。在根据机位信息对视频流进行播放时,可以将播放主机位设置为制作主机位Cm,即默认以制作主机位Cm的视角进行视频播放。After the video cloud receives the video stream and camera location information returned from the shooting scene, it can complete the synchronous alignment, splicing and conversion of the video streams from each camera based on the video frame timestamp of the NTP (Network Time Protocol) clock. code, and send the transcoded video stream and camera location information to the terminal for playback. After receiving the video stream and camera location information sent by the video cloud, the terminal can play the video stream based on the camera location information. When playing the video stream according to the camera position information, the playback host position can be set to the production host position C m , that is, the video is played from the perspective of the production host position C m by default.

在用户观看自由视角视频时,随着用户对自由视角视频的主要关注区域的变化,用户的眼球在播放屏幕的投射点也在变化。因此,基于对用户的眼球动作的追踪,可以在播放屏幕上确定用户对自由视角视频的关注位置。用户对自由视角视频的关注位置例如可以包括用户在播放屏幕上的凝视点。进一步的,可以将播放设备的播放屏幕进行网格化,使得播放屏幕上每一点均对应唯一屏幕坐标。When a user watches a free-view video, as the user's main focus area on the free-view video changes, the projection point of the user's eyeballs on the playback screen also changes. Therefore, based on tracking the user's eye movements, the user's focus position on the free-view video can be determined on the playback screen. The user's focus position on the free-view video may include, for example, the user's gaze point on the playback screen. Furthermore, the playback screen of the playback device can be gridded so that each point on the playback screen corresponds to a unique screen coordinate.

步骤120:根据所述关注位置切换所述自由视角视频的播放视角。Step 120: Switch the playback angle of the free-angle video according to the attention position.

其中,根据用户对自由视角视频的关注位置,可以实时确定当前最佳播放视角,并且基于当前最佳播放视角切换自由视角视频的播放视角。进一步的,在根据关注位置切换自由视角视频的播放视角时,可以根据用户在播放屏幕上的凝视点确定触发视角切换的触发点。例如,可以通过眼球追踪技术提取出用户在播放屏幕上的凝视点,凝视点构成基本测量单位,一个凝视点等于眼动仪捕获的一个采样点。进一步的,可以将持续时间超过第一预设时长的凝视点确定为注视点,注视点是眼睛锁定在屏幕上的一个落点;将持续时间超过第二预设时长的注视点确定为触发点。Among them, according to the user's focus on the free-view video, the current best playback angle can be determined in real time, and the playback angle of the free-view video can be switched based on the current best playback angle. Furthermore, when switching the playback angle of the free-angle video based on the focus position, the trigger point for triggering the angle switch can be determined based on the user's gaze point on the playback screen. For example, the user's gaze point on the playback screen can be extracted through eye tracking technology. The gaze point constitutes the basic unit of measurement. One gaze point is equal to one sampling point captured by the eye tracker. Further, the gaze point that lasts longer than the first preset duration can be determined as the gaze point, which is a point where the eyes are locked on the screen; the gaze point that lasts longer than the second preset duration can be determined as the trigger point. .

图3示出了本发明实施例提供的用户的凝视点路线示意图。如图3所示,凝视点路线示意图中包括①、②、③、④和⑤共5个点,①、②、③、④和⑤均为注视点,并且①和⑤的持续时间超过第二预设时长为触发点。Figure 3 shows a schematic diagram of the user's gaze point route provided by an embodiment of the present invention. As shown in Figure 3, the schematic diagram of the gaze point route includes a total of 5 points ①, ②, ③, ④ and ⑤. ①, ②, ③, ④ and ⑤ are all gaze points, and the duration of ① and ⑤ exceeds the second The preset duration is the trigger point.

其中,在确定触发视角切换的触发点之后,可以确定触发点相对于播放屏幕中心点的偏移方向和偏移比例,根据偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和,根据相邻机位覆盖角度差之和与偏移比例确定视角切换角度,根据视角切换角度切换自由视角视频的播放视角。在确定触发点相对于播放屏幕中心点的偏移方向和偏移比例之前,还可以确定触发点是否位于预设触发区域,当确定触发点位于预设触发区域时,再确定触发点相对于播放屏幕中心点的偏移方向和偏移比例。进一步的,可以根据用户的自由视角视频观看习惯,在播放屏幕设置热地图区域G,将播放屏幕上热地图区域G以外的区域设置为预设触发区域。热地图区域G一般为播放屏幕中心附近的一定区域,在这个区域内的触发点不会触发自由视角视频的视角切换。Among them, after determining the trigger point that triggers the viewing angle switch, the offset direction and offset ratio of the trigger point relative to the center point of the playback screen can be determined, and the adjacent cameras between the target boundary camera position and the playback host position can be determined based on the offset direction. The viewing angle switching angle is determined based on the sum of the coverage angle differences of adjacent camera positions and the offset ratio, and the playback angle of the free-view video is switched according to the viewing angle switching angle. Before determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, you can also determine whether the trigger point is located in the preset trigger area. When it is determined that the trigger point is located in the preset trigger area, then determine the trigger point relative to the playback screen center point. The offset direction and offset ratio of the screen center point. Furthermore, according to the user's free-view video viewing habits, a heat map area G can be set on the playback screen, and the area other than the heat map area G on the playback screen can be set as a preset trigger area. The heat map area G is generally a certain area near the center of the playback screen. Trigger points in this area will not trigger the perspective switching of the free-view video.

在确定触发点相对于播放屏幕中心点的偏移方向和偏移比例时,首先确定触发点的屏幕位置,根据触发点的屏幕位置与播放屏幕中心点的屏幕位置的位置关系确定触发点相对于播放屏幕中心点的偏移方向;进一步的,确定偏移方向所对应的播放屏幕边界点,将触发点与播放屏幕边界点在预设屏幕坐标轴上的坐标比值确定为触发点相对于播放屏幕中心点的偏移比例,预设屏幕坐标轴可以为水平方向的坐标轴,也可以为竖直方向的坐标轴。When determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, first determine the screen position of the trigger point, and determine the relative position of the trigger point relative to the screen position of the trigger point based on the positional relationship between the screen position of the trigger point and the screen position of the center point of the playback screen. The offset direction of the center point of the playback screen; further, determine the playback screen boundary point corresponding to the offset direction, and determine the coordinate ratio of the trigger point and the playback screen boundary point on the preset screen coordinate axis as the trigger point relative to the playback screen The offset ratio of the center point. The preset screen coordinate axis can be a horizontal coordinate axis or a vertical coordinate axis.

例如,预设屏幕坐标轴为水平方向的坐标轴,触发点的坐标为C(n,m),n为触发点在水平方向的坐标,m为触发点在竖直方向的坐标,播放屏幕中心点的坐标为(0,0),若n<0,则触发点相对于播放屏幕中心点的偏移方向D(Direction)=L(Left);若n>0,则触发点相对于播放屏幕中心点的偏移方向D(Direction)=R(Right)。L代表触发点向播放屏幕中心点的左侧偏移,R代表触发点向播放屏幕中心点的右侧偏移。在确定播放屏幕边界点在预设屏幕坐标轴上的坐标时,若触发点向播放屏幕中心点的左侧偏移,则将播放屏幕左侧边界点的水平坐标确定为播放屏幕边界点在预设屏幕坐标轴上的坐标;若触发点向播放屏幕中心点的右侧偏移,则将播放屏幕右侧边界点的水平坐标确定为播放屏幕边界点在预设屏幕坐标轴上的坐标。For example, the preset screen coordinate axis is the horizontal coordinate axis, the coordinates of the trigger point are C(n,m), n is the coordinate of the trigger point in the horizontal direction, m is the coordinate of the trigger point in the vertical direction, and the center of the playback screen The coordinates of the point are (0,0). If n<0, the offset direction of the trigger point relative to the center point of the playback screen is D (Direction) = L (Left); if n>0, the offset direction of the trigger point relative to the center point of the playback screen. The offset direction of the center point is D (Direction) = R (Right). L means that the trigger point is shifted to the left of the center point of the playback screen, and R means that the trigger point is shifted to the right of the center point of the playback screen. When determining the coordinates of the playback screen boundary point on the preset screen coordinate axis, if the trigger point deviates to the left of the playback screen center point, then the horizontal coordinates of the playback screen left boundary point are determined as the playback screen boundary point on the preset screen coordinate axis. Set the coordinates on the screen coordinate axis; if the trigger point is offset to the right of the center point of the playback screen, then determine the horizontal coordinates of the right boundary point of the playback screen as the coordinates of the playback screen boundary point on the preset screen coordinate axis.

图4示出了本发明实施例提供的显示屏幕示意图。如图4所示,X轴为水平坐标轴,Y轴为竖直坐标轴,X1为播放屏幕右侧边界点,X2为播放屏幕左侧边界点。当触发点向播放屏幕中心点的左侧偏移时,偏移比例S=n/x2;当触发点向播放屏幕中心点的右侧偏移时,偏移比例S=n/x1。Figure 4 shows a schematic diagram of a display screen provided by an embodiment of the present invention. As shown in Figure 4, the X-axis is the horizontal coordinate axis, the Y-axis is the vertical coordinate axis, X1 is the right boundary point of the playback screen, and X2 is the left boundary point of the playback screen. When the trigger point shifts to the left of the center point of the playback screen, the shift ratio S=n/x2; when the trigger point shifts to the right of the center point of the playback screen, the shift ratio S=n/x1.

其中,在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置之前,还可以从视频云获取待播放自由视角视频以及所述待播放自由视角视频对应的机位信息,根据机位信息确定待播放自由视角视频的制作主机位,将制作主机位确定为对待播放自由视角视频进行播放的播放主机位,以播放主机位的视角对待播放自由视角视频进行播放。在根据偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和时,可以根据机位信息确定总机位数以及所有相邻机位覆盖角度差,根据偏移方向以及总机位数确定目标边界机位;根据目标边界机位以及所有相邻机位覆盖角度差确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和。When the user watches the free-view video, the user's eyeball movements are tracked to determine the user's focus position on the free-view video on the playback screen. The free-view video to be played and the free-view video to be played can also be obtained from the video cloud. Play the camera position information corresponding to the free-view video, determine the production host position of the free-view video to be played based on the camera position information, determine the production host position as the playback host position for the free-view video to be played, and treat it from the perspective of the playback host position Play free-view video for playback. When determining the sum of the coverage angle differences between the target boundary camera and the broadcast host position based on the offset direction, the total number of cameras and the coverage angle differences of all adjacent cameras can be determined based on the camera position information. According to the offset The direction and the number of total cameras are used to determine the target boundary camera position; the sum of the coverage angle differences between the target border camera position and the broadcast host position is determined based on the target boundary camera position and the coverage angle differences of all adjacent camera positions.

例如,在根据偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和时,若触发点向播放屏幕中心点的左侧偏移,则可以将目标边界机位确定为C1,目标边界机位与播放主机位之间的相邻机位覆盖角度差之和PVL可以表示为若触发点向播放屏幕中心点的右侧偏移,则可以将目标边界机位确定为CN,目标边界机位与播放主机位之间的相邻机位覆盖角度差之和PVL可以表示为/>在根据相邻机位覆盖角度差之和与偏移比例确定视角切换角度时,可以计算相邻机位覆盖角度差之和与偏移比例的乘积,将该乘积确定为视角切换角度。例如,若触发点向播放屏幕中心点的左侧偏移,则视角切换角度SA=PVL*S;若触发点向播放屏幕中心点的左侧偏移,则视角切换角度SA=PVR*S。进一步的,终端播放设备可以基于视角切换角度顺滑切换到新的播放主机位。For example, when determining the sum of the coverage angle differences between the target boundary camera and the playback host position based on the offset direction, if the trigger point shifts to the left of the center point of the playback screen, the target boundary camera can be The position is determined as C 1 , and the sum of the coverage angle differences PVL between the target boundary camera and the playback host position can be expressed as If the trigger point shifts to the right of the center point of the playback screen, the target boundary camera position can be determined as C N , and the sum of the coverage angle differences PVL between the target boundary camera position and the playback host position can be expressed as /> When determining the viewing angle switching angle based on the sum of the coverage angle differences of adjacent camera positions and the offset ratio, the product of the sum of the coverage angle differences of adjacent camera positions and the offset ratio can be calculated, and the product is determined as the viewing angle switching angle. For example, if the trigger point shifts to the left of the center point of the playback screen, the viewing angle switching angle SA=PVL*S; if the trigger point shifts to the left of the center point of the playback screen, the viewing angle switching angle SA=PVR*S. Furthermore, the terminal playback device can smoothly switch to the new playback host position based on the viewing angle switching angle.

本发明实施例中,在用户观看自由视角视频时,随着用户对自由视角视频的主要关注区域的变化,用户的眼球在播放屏幕的投射点也在变化;基于对用户的眼球动作的追踪,可以在播放屏幕上确定用户对自由视角视频的关注位置,从而根据该关注位置切换自由视角视频的播放视角。可以看出,本发明实施例可以对自由视角视频上用户的主要关注区域进行智能识别,进一步根据识别结果切换自由视角视频的播放视角,无需用户手动操作即可实现自由视角视频的播放视角的切换,可以大大简化自由视角视频的播放视角的切换过程,提升用户的观看体验。In the embodiment of the present invention, when the user watches the free-angle video, as the user's main area of concern for the free-angle video changes, the projection point of the user's eyeballs on the playback screen also changes; based on the tracking of the user's eyeball movements, The user's focus position on the free-view video can be determined on the playback screen, and the playback perspective of the free-view video can be switched based on the focus position. It can be seen that the embodiment of the present invention can intelligently identify the user's main area of concern on the free-view video, and further switch the playback angle of the free-view video according to the recognition result, and can realize the switching of the playback angle of the free-view video without manual operation by the user. , which can greatly simplify the process of switching the viewing angle of free-view video and improve the user's viewing experience.

图5示出了本发明实施例自由视角视频的播放装置的结构示意图。如图5所示,该装置300包括:确定模块310和切换模块320。FIG. 5 shows a schematic structural diagram of a free-view video playback device according to an embodiment of the present invention. As shown in FIG. 5 , the device 300 includes: a determining module 310 and a switching module 320 .

其中,确定模块310用于在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;切换模块320用于根据所述关注位置切换所述自由视角视频的播放视角。Among them, the determination module 310 is used to track the user's eye movements when the user watches the free-view video to determine the user's focus position on the free-view video on the play screen; the switching module 320 is used to switch according to the focus position. The playback angle of the free-angle video.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,切换模块320用于:In an optional manner, the attention position includes the user's gaze point on the play screen, and the switching module 320 is used to:

根据所述凝视点确定触发视角切换的触发点,并确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例;Determine the trigger point that triggers the viewing angle switch according to the gaze point, and determine the offset direction and offset ratio of the trigger point relative to the center point of the playback screen;

根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和;Determine the sum of the coverage angle differences between the adjacent camera positions between the target boundary camera position and the playback host position according to the offset direction;

根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度,根据所述视角切换角度切换所述自由视角视频的播放视角。The viewing angle switching angle is determined according to the sum of the difference in coverage angles of adjacent camera positions and the offset ratio, and the playback angle of the free-view video is switched according to the viewing angle switching angle.

在一种可选的方式中,切换模块320用于:In an optional manner, the switching module 320 is used to:

确定所述触发点的屏幕位置,根据所述屏幕位置与播放屏幕中心点的屏幕位置的位置关系确定所述触发点相对于播放屏幕中心点的偏移方向;Determine the screen position of the trigger point, and determine the offset direction of the trigger point relative to the center point of the play screen based on the positional relationship between the screen position and the screen position of the center point of the play screen;

确定所述偏移方向所对应的播放屏幕边界点;Determine the playback screen boundary point corresponding to the offset direction;

将所述触发点与所述播放屏幕边界点在预设屏幕坐标轴上的坐标比值确定为所述触发点相对于播放屏幕中心点的偏移比例。The coordinate ratio of the trigger point and the playback screen boundary point on the preset screen coordinate axis is determined as the offset ratio of the trigger point relative to the playback screen center point.

在一种可选的方式中,切换模块320用于:In an optional manner, the switching module 320 is used to:

在所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例之前,确定所述触发点是否位于预设触发区域;Before determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, determine whether the trigger point is located in a preset trigger area;

当所述触发点位于所述预设触发区域时,再确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例。When the trigger point is located in the preset trigger area, the offset direction and offset ratio of the trigger point relative to the center point of the playback screen are determined.

在一种可选的方式中,切换模块320用于:In an optional manner, the switching module 320 is used to:

计算所述相邻机位覆盖角度差之和与所述偏移比例的乘积;Calculate the product of the sum of the coverage angle differences of adjacent camera positions and the offset ratio;

将所述乘积确定为视角切换角度。The product is determined as the viewing angle switching angle.

在一种可选的方式中,切换模块320用于:In an optional manner, the switching module 320 is used to:

在所述在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置之前,从视频云获取待播放自由视角视频以及所述待播放自由视角视频对应的机位信息;When the user watches the free-view video, the user's eyeball movements are tracked to determine the user's focus position on the free-view video on the play screen, and the free-view video to be played and the free-view video to be played are obtained from the video cloud. Camera position information corresponding to free-view video;

根据所述机位信息确定所述待播放自由视角视频的制作主机位;Determine the production host location of the free-angle video to be played according to the camera location information;

将所述制作主机位确定为对所述待播放自由视角视频进行播放的播放主机位,以所述播放主机位的视角对所述待播放自由视角视频进行播放。The production host is determined to be the playback host that plays the free-view video to be played, and the free-view video to be played is played from the perspective of the playback host.

在一种可选的方式中,切换模块320用于:In an optional manner, the switching module 320 is used to:

根据所述机位信息确定总机位数以及所有相邻机位覆盖角度差;Determine the total number of aircraft and the coverage angle difference of all adjacent aircraft based on the aircraft location information;

根据所述偏移方向以及所述总机位数确定目标边界机位;Determine the target boundary aircraft location according to the offset direction and the total number of aircraft locations;

根据所述目标边界机位以及所述所有相邻机位覆盖角度差确定所述目标边界机位与所述播放主机位之间的相邻机位覆盖角度差之和。The sum of the coverage angle differences between the target boundary camera and the playing host position is determined based on the target boundary camera position and the coverage angle differences of all adjacent camera positions.

本发明实施例中,在用户观看自由视角视频时,随着用户对自由视角视频的主要关注区域的变化,用户的眼球在播放屏幕的投射点也在变化;基于对用户的眼球动作的追踪,可以在播放屏幕上确定用户对自由视角视频的关注位置,从而根据该关注位置切换自由视角视频的播放视角。可以看出,本发明实施例可以对自由视角视频上用户的主要关注区域进行智能识别,进一步根据识别结果切换自由视角视频的播放视角,无需用户手动操作即可实现自由视角视频的播放视角的切换,可以大大简化自由视角视频的播放视角的切换过程,提升用户的观看体验。In the embodiment of the present invention, when the user watches the free-angle video, as the user's main area of concern for the free-angle video changes, the projection point of the user's eyeballs on the playback screen also changes; based on the tracking of the user's eyeball movements, The user's focus position on the free-view video can be determined on the playback screen, and the playback perspective of the free-view video can be switched based on the focus position. It can be seen that the embodiment of the present invention can intelligently identify the user's main area of concern on the free-view video, and further switch the playback angle of the free-view video according to the recognition result, and can realize the switching of the playback angle of the free-view video without manual operation by the user. , which can greatly simplify the process of switching the viewing angle of free-view video and improve the user's viewing experience.

图6示出了本发明实施例电子设备结构示意图,本发明具体实施例并不对电子设备的具体实现做限定。FIG. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention. Specific embodiments of the present invention do not limit the specific implementation of the electronic device.

如图6所示,该电子设备可以包括:处理器(processor)402、通信接口(Communications Interface)404、存储器(memory)406、以及通信总线408。As shown in Figure 6, the electronic device may include: a processor (processor) 402, a communications interface (Communications Interface) 404, a memory (memory) 406, and a communication bus 408.

其中:处理器402、通信接口404、以及存储器406通过通信总线408完成相互间的通信。通信接口404,用于与其它设备比如客户端或其它服务器等的网元通信。处理器402,用于执行程序410,具体可以执行上述用于自由视角视频的播放方法实施例中的相关步骤。Among them: the processor 402, the communication interface 404, and the memory 406 complete communication with each other through the communication bus 408. The communication interface 404 is used to communicate with network elements of other devices such as clients or other servers. The processor 402 is configured to execute the program 410. Specifically, it may execute relevant steps in the above embodiment of the method for playing free-view video.

具体地,程序410可以包括程序代码,该程序代码包括计算机可执行指令。Specifically, program 410 may include program code including computer-executable instructions.

处理器402可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 402 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; or they may be different types of processors, such as one or more CPUs and one or more ASICs.

存储器406,用于存放程序410。存储器406可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。Memory 406 is used to store programs 410. The memory 406 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

程序410具体可以被处理器402调用使电子设备执行以下操作:Specifically, the program 410 can be called by the processor 402 to cause the electronic device to perform the following operations:

在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;When the user watches the free-view video, the user's eye movements are tracked to determine the user's focus position on the free-view video on the playback screen;

根据所述关注位置切换所述自由视角视频的播放视角。Switch the playback angle of the free-angle video according to the attention position.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the attention position includes the user's gaze point on the playback screen, and the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

根据所述凝视点确定触发视角切换的触发点,并确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例;Determine the trigger point that triggers the viewing angle switch according to the gaze point, and determine the offset direction and offset ratio of the trigger point relative to the center point of the playback screen;

根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和;Determine the sum of the coverage angle differences between the adjacent camera positions between the target boundary camera position and the playback host position according to the offset direction;

根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度,根据所述视角切换角度切换所述自由视角视频的播放视角。The viewing angle switching angle is determined according to the sum of the difference in coverage angles of adjacent camera positions and the offset ratio, and the playback angle of the free-view video is switched according to the viewing angle switching angle.

在一种可选的方式中,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

确定所述触发点的屏幕位置,根据所述屏幕位置与播放屏幕中心点的屏幕位置的位置关系确定所述触发点相对于播放屏幕中心点的偏移方向;Determine the screen position of the trigger point, and determine the offset direction of the trigger point relative to the center point of the play screen based on the positional relationship between the screen position and the screen position of the center point of the play screen;

确定所述偏移方向所对应的播放屏幕边界点;Determine the playback screen boundary point corresponding to the offset direction;

将所述触发点与所述播放屏幕边界点在预设屏幕坐标轴上的坐标比值确定为所述触发点相对于播放屏幕中心点的偏移比例。The coordinate ratio of the trigger point and the playback screen boundary point on the preset screen coordinate axis is determined as the offset ratio of the trigger point relative to the playback screen center point.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the attention position includes the user's gaze point on the playback screen, and the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

在所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例之前,确定所述触发点是否位于预设触发区域;Before determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, determine whether the trigger point is located in a preset trigger area;

当所述触发点位于所述预设触发区域时,再执行所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例的步骤。When the trigger point is located in the preset trigger area, the step of determining the offset direction and offset ratio of the trigger point relative to the center point of the play screen is then performed.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the attention position includes the user's gaze point on the playback screen, and the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

计算所述相邻机位覆盖角度差之和与所述偏移比例的乘积;Calculate the product of the sum of the coverage angle differences of adjacent camera positions and the offset ratio;

将所述乘积确定为视角切换角度。The product is determined as the viewing angle switching angle.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the attention position includes the user's gaze point on the playback screen, and the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

在所述在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置之前,从视频云获取待播放自由视角视频以及所述待播放自由视角视频对应的机位信息;When the user watches the free-view video, the user's eyeball movements are tracked to determine the user's focus position on the free-view video on the play screen, and the free-view video to be played and the free-view video to be played are obtained from the video cloud. Camera position information corresponding to free-view video;

根据所述机位信息确定所述待播放自由视角视频的制作主机位;Determine the production host location of the free-angle video to be played according to the camera location information;

将所述制作主机位确定为对所述待播放自由视角视频进行播放的播放主机位,以所述播放主机位的视角对所述待播放自由视角视频进行播放。The production host is determined to be the playback host that plays the free-view video to be played, and the free-view video to be played is played from the perspective of the playback host.

在一种可选的方式中,所述关注位置包括用户在播放屏幕上的凝视点,所述程序410被处理器402调用使电子设备执行以下操作:In an optional manner, the attention position includes the user's gaze point on the playback screen, and the program 410 is called by the processor 402 to cause the electronic device to perform the following operations:

根据所述机位信息确定总机位数以及所有相邻机位覆盖角度差;Determine the total number of aircraft and the coverage angle difference of all adjacent aircraft based on the aircraft location information;

根据所述偏移方向以及所述总机位数确定目标边界机位;Determine the target boundary aircraft location according to the offset direction and the total number of aircraft locations;

根据所述目标边界机位以及所述所有相邻机位覆盖角度差确定所述目标边界机位与所述播放主机位之间的相邻机位覆盖角度差之和。The sum of the coverage angle differences between the target boundary camera and the playing host position is determined based on the target boundary camera position and the coverage angle differences of all adjacent camera positions.

本发明实施例中,在用户观看自由视角视频时,随着用户对自由视角视频的主要关注区域的变化,用户的眼球在播放屏幕的投射点也在变化;基于对用户的眼球动作的追踪,可以在播放屏幕上确定用户对自由视角视频的关注位置,从而根据该关注位置切换自由视角视频的播放视角。可以看出,本发明实施例可以对自由视角视频上用户的主要关注区域进行智能识别,进一步根据识别结果切换自由视角视频的播放视角,无需用户手动操作即可实现自由视角视频的播放视角的切换,可以大大简化自由视角视频的播放视角的切换过程,提升用户的观看体验。In the embodiment of the present invention, when the user watches the free-angle video, as the user's main area of concern for the free-angle video changes, the projection point of the user's eyeballs on the playback screen also changes; based on the tracking of the user's eyeball movements, The user's focus position on the free-view video can be determined on the playback screen, and the playback perspective of the free-view video can be switched based on the focus position. It can be seen that the embodiment of the present invention can intelligently identify the user's main area of concern on the free-view video, and further switch the playback angle of the free-view video according to the recognition result, and can realize the switching of the playback angle of the free-view video without manual operation by the user. , which can greatly simplify the process of switching the viewing angle of free-view video and improve the user's viewing experience.

本发明实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一可执行指令,该可执行指令在电子设备上运行时,使得所述电子设备执行上述任意方法实施例中的自由视角视频的播放方法。Embodiments of the present invention provide a computer-readable storage medium that stores at least one executable instruction. When the executable instruction is run on an electronic device, it causes the electronic device to execute any of the above method embodiments. How to play free-view videos.

本发明实施例提供一种自由视角视频的播放装置,用于执行上述自由视角视频的播放方法。An embodiment of the present invention provides a free-view video playback device, configured to perform the above free-view video playback method.

本发明实施例提供了一种计算机程序,所述计算机程序可被处理器调用使电子设备执行上述任意方法实施例中的自由视角视频的播放方法。Embodiments of the present invention provide a computer program, which can be called by a processor to cause an electronic device to execute the free-view video playback method in any of the above method embodiments.

本发明实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令在计算机上运行时,使得所述计算机执行上述任意方法实施例中的自由视角视频的播放方法。Embodiments of the present invention provide a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are run on a computer, the computer causes the computer to execute any of the above. The free-view video playback method in the method embodiment.

在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms or displays provided herein are not inherently associated with any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. From the above description, the structure required to construct such a system is obvious. Furthermore, embodiments of the present invention are not directed to any specific programming language. It should be understood that a variety of programming languages may be utilized to implement the invention described herein, and that the above descriptions of specific languages are intended to disclose the best mode of carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a number of specific details are described. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this description.

类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。Similarly, it will be understood that in the above description of exemplary embodiments of the invention, various features of embodiments of the invention are sometimes grouped together into a single implementation in order to streamline the invention and assist in understanding one or more of the various inventive aspects. examples, diagrams, or descriptions thereof. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.

本领域技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that modules in the devices in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and they may be divided into multiple sub-modules or sub-units or sub-components. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of the equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the element claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, third, etc. does not indicate any order. These words can be interpreted as names. Unless otherwise specified, the steps in the above embodiments should not be understood as limiting the order of execution.

Claims (9)

1.一种自由视角视频的播放方法,其特征在于,所述方法包括:1. A free-view video playback method, characterized in that the method includes: 在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;所述关注位置包括用户在播放屏幕上的凝视点;When the user watches the free-view video, the user's eyeball movements are tracked to determine the user's focus position on the free-view video on the playback screen; the focus position includes the user's gaze point on the playback screen; 根据所述关注位置切换所述自由视角视频的播放视角,包括:根据所述凝视点确定触发视角切换的触发点,并确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例;根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和;根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度,根据所述视角切换角度切换所述自由视角视频的播放视角。Switching the playback angle of the free-angle video according to the focus position includes: determining a trigger point that triggers the angle switch according to the gaze point, and determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen. ; Determine the sum of the coverage angle differences between the target boundary camera and the playing host position according to the offset direction; determine the viewing angle switching according to the sum of the coverage angle differences between the adjacent cameras and the offset ratio. angle, switching the playback angle of the free-angle video according to the angle switching angle. 2.根据权利要求1所述的方法,其特征在于,所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例包括:2. The method according to claim 1, wherein determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen includes: 确定所述触发点的屏幕位置,根据所述屏幕位置与播放屏幕中心点的屏幕位置的位置关系确定所述触发点相对于播放屏幕中心点的偏移方向;Determine the screen position of the trigger point, and determine the offset direction of the trigger point relative to the center point of the play screen based on the positional relationship between the screen position and the screen position of the center point of the play screen; 确定所述偏移方向所对应的播放屏幕边界点;Determine the playback screen boundary point corresponding to the offset direction; 将所述触发点与所述播放屏幕边界点在预设屏幕坐标轴上的坐标比值确定为所述触发点相对于播放屏幕中心点的偏移比例。The coordinate ratio of the trigger point and the playback screen boundary point on the preset screen coordinate axis is determined as the offset ratio of the trigger point relative to the playback screen center point. 3.根据权利要求1或2所述的方法,其特征在于,在所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例之前,所述方法包括:3. The method according to claim 1 or 2, characterized in that, before determining the offset direction and offset ratio of the trigger point relative to the center point of the playback screen, the method includes: 确定所述触发点是否位于预设触发区域;Determine whether the trigger point is located in a preset trigger area; 当所述触发点位于所述预设触发区域时,再执行所述确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例的步骤。When the trigger point is located in the preset trigger area, the step of determining the offset direction and offset ratio of the trigger point relative to the center point of the play screen is then performed. 4.根据权利要求1所述的方法,其特征在于,所述根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度包括:4. The method according to claim 1, wherein determining the viewing angle switching angle based on the sum of the coverage angle differences of the adjacent camera positions and the offset ratio includes: 计算所述相邻机位覆盖角度差之和与所述偏移比例的乘积;Calculate the product of the sum of the coverage angle differences of adjacent camera positions and the offset ratio; 将所述乘积确定为视角切换角度。The product is determined as the viewing angle switching angle. 5.根据权利要求1所述的方法,其特征在于,在所述在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置之前,所述方法还包括:5. The method according to claim 1, characterized in that, when the user watches the free-view video, the user's eyeball movements are tracked to determine the user's focus position on the free-view video on the playback screen. , the method also includes: 从视频云获取待播放自由视角视频以及所述待播放自由视角视频对应的机位信息;Obtain the free-view video to be played and the camera location information corresponding to the free-view video to be played from the video cloud; 根据所述机位信息确定所述待播放自由视角视频的制作主机位;Determine the production host location of the free-angle video to be played according to the camera location information; 将所述制作主机位确定为对所述待播放自由视角视频进行播放的播放主机位,以所述播放主机位的视角对所述待播放自由视角视频进行播放。The production host is determined to be the playback host that plays the free-view video to be played, and the free-view video to be played is played from the perspective of the playback host. 6.根据权利要求5所述的方法,其特征在于,所述根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和包括:6. The method according to claim 5, wherein determining the sum of the coverage angle differences between adjacent camera positions between the target boundary camera position and the playback host position according to the offset direction includes: 根据所述机位信息确定总机位数以及所有相邻机位覆盖角度差;Determine the total number of aircraft and the coverage angle difference of all adjacent aircraft based on the aircraft location information; 根据所述偏移方向以及所述总机位数确定目标边界机位;Determine the target boundary aircraft location according to the offset direction and the total number of aircraft locations; 根据所述目标边界机位以及所述所有相邻机位覆盖角度差确定所述目标边界机位与所述播放主机位之间的相邻机位覆盖角度差之和。The sum of the coverage angle differences between the target boundary camera and the playing host position is determined based on the target boundary camera position and the coverage angle differences of all adjacent camera positions. 7.一种自由视角视频的播放装置,其特征在于,所述装置包括:7. A free-view video playback device, characterized in that the device includes: 确定模块,用于在用户观看自由视角视频时,对用户的眼球动作进行追踪以在播放屏幕上确定用户对所述自由视角视频的关注位置;所述关注位置包括用户在播放屏幕上的凝视点;A determination module configured to track the user's eye movements when the user watches the free-view video to determine the user's focus position on the free-view video on the playback screen; the focus position includes the user's gaze point on the playback screen. ; 切换模块,用于根据所述关注位置切换所述自由视角视频的播放视角,包括:根据所述凝视点确定触发视角切换的触发点,并确定所述触发点相对于播放屏幕中心点的偏移方向和偏移比例;根据所述偏移方向确定目标边界机位与播放主机位之间的相邻机位覆盖角度差之和;根据所述相邻机位覆盖角度差之和与所述偏移比例确定视角切换角度,根据所述视角切换角度切换所述自由视角视频的播放视角。A switching module, configured to switch the playback angle of the free-angle video according to the focus position, including: determining a trigger point that triggers the angle switch according to the gaze point, and determining an offset of the trigger point relative to the center point of the playback screen. direction and offset ratio; determine the sum of the coverage angle differences between the target boundary camera and the playing host position according to the offset direction; determine the sum of the coverage angle differences between the adjacent camera positions and the offset according to the offset direction. The shifting ratio determines the viewing angle switching angle, and the playback angle of the free-viewing video is switched according to the viewing angle switching angle. 8.一种电子设备,其特征在于,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;8. An electronic device, characterized in that it includes: a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface complete communication with each other through the communication bus; 所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-6任意一项所述的自由视角视频的播放方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the operation of the free-view video playback method according to any one of claims 1 to 6. 9.一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一可执行指令,所述可执行指令在电子设备上运行时,使得电子设备执行如权利要求1-6任意一项所述的自由视角视频的播放方法的操作。9. A computer-readable storage medium, characterized in that at least one executable instruction is stored in the storage medium. When the executable instruction is run on an electronic device, the electronic device executes any of claims 1-6. An operation of the free-view video playback method.
CN202111611869.6A 2021-12-27 2021-12-27 Free-angle video playback method, device and electronic equipment Active CN114205669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111611869.6A CN114205669B (en) 2021-12-27 2021-12-27 Free-angle video playback method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111611869.6A CN114205669B (en) 2021-12-27 2021-12-27 Free-angle video playback method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114205669A CN114205669A (en) 2022-03-18
CN114205669B true CN114205669B (en) 2023-10-17

Family

ID=80656616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111611869.6A Active CN114205669B (en) 2021-12-27 2021-12-27 Free-angle video playback method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114205669B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979732B (en) * 2022-05-12 2023-10-20 咪咕数字传媒有限公司 Video stream pushing method and device, electronic equipment and medium
CN115103213B (en) * 2022-06-10 2023-10-17 咪咕视讯科技有限公司 Information processing method, apparatus, device and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102342100A (en) * 2009-03-09 2012-02-01 思科技术公司 System and method for providing three dimensional imaging in network environment
CN102347043A (en) * 2010-07-30 2012-02-08 腾讯科技(北京)有限公司 Method for playing multi-angle video and system
CN103108126A (en) * 2013-01-21 2013-05-15 Tcl集团股份有限公司 Video interactive system, method, interactive glasses and terminals
CN104740874A (en) * 2015-03-26 2015-07-01 广州博冠信息科技有限公司 Method and system for playing videos in two-dimension game scene
CN106447788A (en) * 2016-09-26 2017-02-22 北京疯景科技有限公司 Watching angle indication method and device
CN106791794A (en) * 2016-12-30 2017-05-31 重庆卓美华视光电有限公司 A kind of display device, image processing method and device
KR20180079051A (en) * 2016-12-30 2018-07-10 엘지전자 주식회사 Mobile terninal and method for controlling the same
CN109799899A (en) * 2017-11-17 2019-05-24 腾讯科技(深圳)有限公司 Interaction control method, device, storage medium and computer equipment
CN111866525A (en) * 2020-09-23 2020-10-30 腾讯科技(深圳)有限公司 Multi-view video playing control method and device, electronic equipment and storage medium
CN113170231A (en) * 2019-04-11 2021-07-23 华为技术有限公司 Method and device for controlling playing of video content following user motion

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170186234A1 (en) * 2015-12-27 2017-06-29 Le Holdings (Beijing) Co., Ltd. Method and device for free viewing of three-dimensional video

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102342100A (en) * 2009-03-09 2012-02-01 思科技术公司 System and method for providing three dimensional imaging in network environment
CN102347043A (en) * 2010-07-30 2012-02-08 腾讯科技(北京)有限公司 Method for playing multi-angle video and system
CN103108126A (en) * 2013-01-21 2013-05-15 Tcl集团股份有限公司 Video interactive system, method, interactive glasses and terminals
CN104740874A (en) * 2015-03-26 2015-07-01 广州博冠信息科技有限公司 Method and system for playing videos in two-dimension game scene
CN106447788A (en) * 2016-09-26 2017-02-22 北京疯景科技有限公司 Watching angle indication method and device
CN106791794A (en) * 2016-12-30 2017-05-31 重庆卓美华视光电有限公司 A kind of display device, image processing method and device
KR20180079051A (en) * 2016-12-30 2018-07-10 엘지전자 주식회사 Mobile terninal and method for controlling the same
CN109799899A (en) * 2017-11-17 2019-05-24 腾讯科技(深圳)有限公司 Interaction control method, device, storage medium and computer equipment
CN113170231A (en) * 2019-04-11 2021-07-23 华为技术有限公司 Method and device for controlling playing of video content following user motion
CN111866525A (en) * 2020-09-23 2020-10-30 腾讯科技(深圳)有限公司 Multi-view video playing control method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于数字图像处理的眼球控制精度提高方法;严德赛 等;计算机应用(第10期);第267-270页 *

Also Published As

Publication number Publication date
CN114205669A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN111698390B (en) Virtual camera control method and device, and virtual studio implementation method and system
US11722727B2 (en) Special effect processing method and apparatus for live broadcasting, and server
CN112738010B (en) Data interaction method and system, interaction terminal and readable storage medium
US10757397B2 (en) Information processing apparatus, information processing system, information processing method, and storage medium
US10382680B2 (en) Methods and systems for generating stitched video content from multiple overlapping and concurrently-generated video instances
CN114205669B (en) Free-angle video playback method, device and electronic equipment
JP2019512769A5 (en)
CN114097248B (en) Video stream processing method, device, equipment and medium
US20150193970A1 (en) Video playing method and system based on augmented reality technology and mobile terminal
JP7042571B2 (en) Image processing device and its control method, program
WO2022110591A1 (en) Live streaming picture processing method and apparatus based on video chat live streaming, and electronic device
CN110248178A (en) Utilize the viewport prediction technique and system of object tracking and historical track panoramic video
JP2019022151A (en) Information processing apparatus, image processing system, control method, and program
WO2019218770A1 (en) Video playing method for synchronously displaying ar information
WO2017092432A1 (en) Method, device, and system for virtual reality interaction
JP2020042407A (en) Information processor and information processing method and program
CN111757138A (en) Close-up display method and device based on single-shot live video
CN112492231A (en) Remote interaction method, device, electronic equipment and computer readable storage medium
CN117692704A (en) Virtual scene display method and system
WO2020244078A1 (en) Football match special effect presentation system and method, and computer apparatus
CN115278193A (en) Panoramic video distribution method, device, device and computer storage medium
WO2023226628A1 (en) Image display method and apparatus, and electronic device and storage medium
WO2020093862A1 (en) Method for processing vr video, and related apparatus
JP7429861B2 (en) Multi display system and its control method
CN108985275A (en) The display method for tracing and device of augmented reality equipment and electronic equipment

Legal Events

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