Panoramic video playing method and device, equipment, storage medium and program product

By obtaining and predicting the trajectory information of the field of view center of panoramic videos, the problem of unsmooth field of view adjustment of panoramic videos on large-screen devices is solved, achieving smoother field of view conversion and a higher user experience.

CN118803427APending Publication Date: 2024-10-18CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410680507.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the scenario of large-screen devices, the field of view adjustment of panoramic videos is not smooth, resulting in uneven playback and affecting the user experience.

Method used

By obtaining the field of view center trajectory information set of the panoramic video, the field of view angle information at the next moment is predicted based on the target user's field of view angle trajectory information, and the field of view of the panoramic video is adjusted to achieve a smoother field of view transition.

Benefits of technology

It improves the playback effect and user experience of panoramic videos. By accurately predicting the user's perspective, it improves the accuracy of field of view adjustment, making the field of view transition of panoramic videos smoother.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803427A_ABST
    Figure CN118803427A_ABST
Patent Text Reader

Abstract

The invention provides a panoramic video playing method and device, equipment, a storage medium and a program product, and relates to the technical field of panoramic videos. The method comprises the steps that a view center track information set of a panoramic video to be played is acquired, the view center track information set comprises at least one piece of view center track information, and any piece of view center track information comprises view center parameters of multiple video frames in the panoramic video; on the basis of the current field angle track information of the target user and the field center track information set, field angle information of the target user at the next moment is predicted, and the field angle track information comprises actual field center parameters of at least one video frame played in the panoramic video; and adjusting the view field of the panoramic video based on the field angle information so as to play the next video frame. The visual field adjustment precision of the panoramic video can be improved, so that the playing effect of the panoramic video is improved; and the view conversion of the panoramic video is smoother, so that the playing effect of the panoramic video is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of panoramic video technology, and in particular to a panoramic video playback method, device, equipment, storage medium and program product. Background Art

[0002] With the rapid popularization of 5G and the rapid development of panoramic video technology, the quantity and quality of panoramic videos have increased rapidly, and their application scope has become increasingly wide. Panoramic video is a video that can display a 360-degree perspective. By adjusting the field of view of the panoramic video, you can watch the panoramic video from different perspectives, with high freedom and strong immersion, and you can achieve an immersive audio-visual experience. How to control the playback of panoramic videos, that is, how to adjust the field of view of panoramic videos, is the key to improving user experience.

[0003] Currently, in the scenario of large-screen devices, the field of view adjustment during the playback of panoramic videos is manually controlled by the user through a traditional remote control. However, when the traditional remote control switches the viewing angle multiple times, it is necessary to continuously click the direction keys to adjust, resulting in an unsmooth field of view conversion of the panoramic video, that is, the panoramic video playback is not smooth, which in turn affects the user experience. Summary of the invention

[0004] The present invention provides a panoramic video playback method, device, equipment, storage medium and program product, which are used to solve the defect of unsmooth playback of panoramic videos in the prior art.

[0005] The present invention provides a method for playing a panoramic video, comprising:

[0006] Acquire a field of view center trajectory information set of a panoramic video to be played, wherein the field of view center trajectory information set includes at least one field of view center trajectory information, any of the field of view center trajectory information includes field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters is used to represent position information of the field of view center of the video frame in a panoramic plane corresponding to the panoramic video;

[0007] Based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predict the field of view angle information of the target user at the next moment, the target user is a user watching the panoramic video, the field of view angle trajectory information includes the actual field of view center parameter of at least one video frame played in the panoramic video, and the field of view angle information is used to represent the position information of the field of view center of the next video frame in the panoramic plane corresponding to the panoramic video;

[0008] Based on the field of view angle information, the field of view of the panoramic video is adjusted to play the next video frame.

[0009] According to a panoramic video playback method provided by the present invention, the method predicts the target user's field of view angle information at the next moment based on the target user's current field of view angle trajectory information and the field of view center trajectory information set, including:

[0010] Based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, determining the similarity results between the field of view angle trajectory information and each field of view center trajectory information in the field of view center trajectory information set;

[0011] Based on the similarity results, determining target field of view center trajectory information similar to the field of view angle trajectory information from the field of view center trajectory information set;

[0012] Based on the target visual field center trajectory information, the visual field center parameter of the current video frame in the visual field angle trajectory information is adjusted to predict the visual field angle information of the target user at the next moment.

[0013] According to a panoramic video playback method provided by the present invention, the similarity result between the field of view angle trajectory information and the j-th field of view center trajectory information in the field of view center trajectory information set is determined based on the average of at least one distance calculation result, the at least one distance calculation result is a distance calculation result corresponding to at least one first video frame, the number of frames of the at least one first video frame is not greater than the preset number of frames, the distance calculation result corresponding to any of the first video frames is determined based on the field of view center parameter of the first video frame in the field of view angle trajectory information and the field of view center parameter of the first video frame in the j-th field of view center trajectory information, and the distance calculation result corresponding to any of the first video frames is used to characterize the distance between two field of view centers; j is an integer greater than 0, and j is less than or equal to the number of field of view center trajectory information in the field of view center trajectory information set.

[0014] According to a panoramic video playback method provided by the present invention, based on each of the similarity results, determining target field of view center trajectory information similar to the field of view angle trajectory information from the field of view center trajectory information set includes:

[0015] Based on the comparison results of each of the similarity results with the similarity threshold, at least one target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set, so as to adjust the field of view center parameters of the current video frame in the field of view angle trajectory information based on the at least one target field of view center trajectory information, and predict the field of view angle information of the target user at the next moment.

[0016] According to a panoramic video playback method provided by the present invention, the similarity threshold is calculated based on the following formula:

[0017]

[0018] In the formula, S t represents the similarity threshold, m represents the number of similarity results, S j represents the jth similarity result among the similarity results, S max is the similarity result representing the smallest similarity among the similarity results, and ε is a preset positive number.

[0019] According to a panoramic video playback method provided by the present invention, based on the at least one target visual field center trajectory information, adjusting the visual field center parameter of the current video frame in the visual field angle trajectory information, and predicting the visual field angle information of the target user at the next moment, includes:

[0020] Determine a horizontal field of view center adjustment amount and a vertical field of view center adjustment amount based on a field of view center parameter of a next video frame in the at least one target field of view center trajectory information, a field of view center parameter of a current video frame in the field of view angle trajectory information, and an adjustment weight corresponding to each target field of view center trajectory information;

[0021] Based on the horizontal field of view center adjustment amount and the vertical field of view center adjustment amount, adjusting the field of view center parameter of the current video frame in the field of view angle trajectory information, and predicting the field of view angle information of the target user at the next moment;

[0022] The horizontal field of view center adjustment amount is obtained by weighted aggregation of the horizontal field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weight corresponding to each target field of view center trajectory information; any of the horizontal field of view center sub-adjustments is the horizontal distance between the horizontal field of view center represented by the field of view center parameter of the next video frame in the target field of view center trajectory information and the horizontal field of view center represented by the field of view center parameter of the current video frame in the field of view angle trajectory information;

[0023] The vertical field of view center adjustment amount is obtained by weighted aggregation of the vertical field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weight corresponding to each target field of view center trajectory information; any of the vertical field of view center sub-adjustments is the vertical distance between the vertical field of view center represented by the field of view center parameters of the next video frame in the target field of view center trajectory information and the vertical field of view center represented by the field of view center parameters of the current video frame in the field of view angle trajectory information.

[0024] According to a panoramic video playback method provided by the present invention, the adjustment weight corresponding to any target field of view center trajectory information is determined based on the following method:

[0025] Determine the sum of the similarity ratios corresponding to the target visual field center trajectory information;

[0026] Determining an adjustment weight corresponding to the target visual field center trajectory information based on a ratio of a similarity ratio corresponding to the target visual field center trajectory information and the sum value;

[0027] Among them, the similarity ratio corresponding to any of the target field of view center trajectory information is determined based on the ratio of the square value of the similarity threshold to the target added value, and the target added value is the addition value of the similarity result corresponding to the target field of view center trajectory information and a preset compensation constant.

[0028] According to a panoramic video playback method provided by the present invention, any field of view center trajectory information in the field of view center trajectory information set is generated based on the following method:

[0029] Determine a horizontal field of view center offset and a vertical field of view center offset based on a posture change parameter of the virtual remote controller device;

[0030] Based on the horizontal field of view center offset and the vertical field of view center offset, adjusting the field of view center parameters of the current video frame in the field of view center trajectory information to obtain the field of view center parameters of the next video frame;

[0031] Based on the field of view center parameter of the next video frame, playing the next video frame, and adding the field of view center parameter of the next video frame to the field of view center track information;

[0032] Return to the step of determining the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote controller device until the posture change parameter is not obtained.

[0033] According to a panoramic video playback method provided by the present invention, the method of determining the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote controller device includes:

[0034] If a manual play instruction is received from the virtual remote controller, a horizontal field of view center offset and a vertical field of view center offset are determined based on the posture change parameter of the virtual remote controller;

[0035] If an automatic play command is received from a virtual remote control device, and the field of view center parameters of at least one video frame in the panoramic video are missing from the field of view center trajectory information set, the horizontal field of view center offset and the vertical field of view center offset are determined based on the posture change parameters of the virtual remote control device.

[0036] According to a panoramic video playback method provided by the present invention, the step of obtaining a visual field center trajectory information set of the panoramic video to be played further includes:

[0037] If an automatic play instruction sent by a virtual remote controller is received, and the field of view center parameter of each video frame in the panoramic video is present in the field of view center trajectory information set, field of view adjustment path information of the panoramic video is determined based on the field of view center trajectory information set, and the field of view adjustment path information includes the field of view center parameter of each video frame in the panoramic video;

[0038] Based on the field of view adjustment path information, the field of view of the panoramic video is adjusted frame by frame, and the panoramic video is played frame by frame.

[0039] According to a panoramic video playback method provided by the present invention, the determining of the field of view adjustment path information of the panoramic video based on the field of view center trajectory information set includes:

[0040] Based on the field of view center trajectory information set, determining a first field of view center parameter of each video frame in the panoramic video, wherein the first field of view center parameter of any of the video frames is determined based on a clustering analysis result of at least one field of view center parameter of the video frame in the field of view center trajectory information set;

[0041] Smoothing each of the first field of view center parameters to obtain a second field of view center parameter of each video frame in the panoramic video;

[0042] Based on each of the second field of view center parameters, field of view adjustment path information of the panoramic video is determined.

[0043] The present invention also provides a panoramic video playback device, comprising:

[0044] An acquisition module, used to acquire a field of view center trajectory information set of a panoramic video to be played, wherein the field of view center trajectory information set includes at least one field of view center trajectory information, any of which includes field of view center parameters of multiple video frames in the panoramic video, and any of which is used to represent position information of the field of view center of the video frame in a panoramic plane corresponding to the panoramic video;

[0045] A prediction module, configured to predict the field of view information of the target user at the next moment based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, wherein the target user is a user viewing the panoramic video, the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame played in the panoramic video, and the field of view angle information is used to represent the position information of the field of view center of the next video frame in the panoramic plane corresponding to the panoramic video;

[0046] An adjustment module is used to adjust the field of view of the panoramic video based on the field of view angle information to play the next video frame.

[0047] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for playing a panoramic video as described above is implemented.

[0048] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for playing the panoramic video as described in any one of the above is implemented.

[0049] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for playing the panoramic video as described above is implemented.

[0050] The panoramic video playback method, device, equipment, storage medium and program product provided by the present invention obtain a field of view center trajectory information set of a panoramic video to be played, so as to predict the field of view angle information of the target user at the next moment based on the current field of view angle trajectory information of the target user and in combination with the field of view center trajectory information set, and the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame that has been played in the panoramic video, so as to use the real perspective of the target user to more accurately predict the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video; and based on the predicted field of view angle information, adjusting the field of view of the panoramic video can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and ultimately improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 This is a flow chart of a panoramic video playback method provided by the present invention;

[0053] Figure 2 The second flowchart of the panoramic video playback method provided by the present invention;

[0054] Figure 3 The third flowchart of the panoramic video playback method provided by the present invention;

[0055] Figure 4 A schematic diagram of the structure of a panoramic video playback device provided by the present invention;

[0056] Figure 5 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] With the rapid popularization of 5G and the rapid development of panoramic video technology (VR technology), the VR industry chain has become more mature, the content creation capabilities have been greatly improved, the quantity and quality of panoramic videos have increased rapidly, and the scope of application has become more and more extensive. Panoramic video is a video that can display a 360-degree perspective. By adjusting the field of view of the panoramic video, you can watch the panoramic video from different perspectives, with high freedom and strong immersion, and you can achieve an immersive audio-visual experience. How to control the playback of panoramic videos, that is, how to adjust the field of view of panoramic videos, is the key to improving user experience.

[0059] Among them, there are more and more scenarios where panoramic video technology is applied to large-screen devices. For example, as a large-size display device in home scenarios, TV has the advantage of real-time sharing of content by multiple people, and also has a strong sense of immersion when presenting panoramic video content.

[0060] At present, in the scenario of large-screen devices, during the playback of panoramic videos, the field of view adjustment is manually controlled by the user through interactive devices such as traditional remote controls, that is, during the viewing of panoramic videos, the video viewing angle is continuously adjusted using traditional remote controls to meet the 360-degree video viewing experience. However, when the traditional remote control switches the viewing angle multiple times, it is necessary to continuously click the direction keys to make adjustments, resulting in an unsmooth field of view conversion of the panoramic video, that is, the panoramic video playback is not smooth, which in turn affects the user experience.

[0061] For example, CN108289231A-A fusion panoramic player, which proposes a method that supports playing panoramic videos on a TV and performing control interactions. The main idea is to use the up, down, left, and right arrow keys of a traditional infrared remote control to control the viewing angle of the panoramic video during the panoramic video playback process, creating a multi-angle viewing effect for users. However, when the panoramic video viewing angle is controlled by the up, down, left, and right arrow keys, each click converts the field of view to a fixed angle, and it is impossible to truly achieve full-angle viewing; and when the traditional remote control converts the viewing angle multiple times, it is necessary to continuously click the direction keys to adjust, but the video field of view conversion is not smooth, and the user experience is fragmented.

[0062] In view of the above problems, the present invention proposes the following embodiments. Figure 1 One of the flow charts of the panoramic video playback method provided by the present invention is as follows: Figure 1 As shown, the panoramic video playback method includes:

[0063] Step 110: Obtain a field of view center trajectory information set of the panoramic video to be played.

[0064] Among them, the field of view center trajectory information set includes at least one field of view center trajectory information, any of the field of view center trajectory information includes field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters is used to characterize the position information of the field of view center of the video frame in the panoramic plan corresponding to the panoramic video.

[0065] In an embodiment of the present invention, the method can be applied to a large-screen device, such as a television. For example, when a panoramic video is opened through a television, the panoramic video is loaded, and after loading is completed, the panoramic content is entered, and the panoramic video has an initial field of view when it is first entered.

[0066] Here, one panoramic video corresponds to one set of field of view center track information. Of course, after the panoramic video to be played is determined, the panoramic video may not have corresponding field of view center track information. In this case, at least one field of view center track information may be generated first.

[0067] The field of view center trajectory information does not need to include the field of view center parameters of each video frame in the panoramic video. Further, the field of view center trajectory information includes the field of view center parameters of multiple video frames in the panoramic video sorted by time.

[0068] For example, for a panoramic video with n video frames, it is assumed that the field of view center trajectory information set includes m field of view center trajectory information, that is, there are m trajectories in total. As shown in Table 1 below, each row in Table 1 represents a field of view center trajectory, each column represents a video frame, and the binary item in the table represents the field of view center parameter of the trajectory in the current frame, and assuming that the center of the panoramic plane map corresponding to the panoramic video is the coordinate origin, then (xmn ,y mn ) represents the field of view center parameter of the nth video frame in the mth track; wherein n is an integer greater than zero, and m is an integer greater than zero.

[0069] Table 1

[0070] Video frame 1 Video frame 2 Video frame 3 ... Video frame n Track 1 <![CDATA[(x 11 ,and 11 )]]> <![CDATA[(x 12 ,and 12 )]]> <![CDATA[(x 13 ,and 13 )]]> ... <![CDATA[(x 1n ,and 1n )]]> Track 2 <![CDATA[(x 21 ,and 21 )]]> <![CDATA[(x 22 ,and 22 )]]> <![CDATA[(x 23 ,and 23 )]]> ... <![CDATA[(x 2n ,and 2n )]]> ... ... ... ... ... ... Track m <![CDATA[(x m1 ,and m1 )]]> <![CDATA[(x m2 ,and m2 )]]> <![CDATA[(x m3 ,and m3 )]]> ... <![CDATA[(x mn ,and mn )]]>

[0071] Furthermore, the field of view center trajectory information set only includes the field of view center trajectory information of the field of view adjustment operated by the user using the virtual remote control device when the panoramic video is played. That is, when the user manually controls the viewing angle of the panoramic video, the field of view center trajectory information determined by manual control will be recorded in the field of view center trajectory information set of the panoramic video.

[0072] Step 120 , based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predict the field of view angle information of the target user at the next moment.

[0073] Among them, the target user is a user watching the panoramic video, the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame played in the panoramic video, and the field of view angle information is used to characterize the position information of the field of view center of the next video frame in the panoramic video in the panoramic plan corresponding to the panoramic video.

[0074] Here, the field of view angle trajectory information is used to characterize the target user's field of view angle (FOV) change trajectory. The embodiment of the present invention indirectly characterizes the target user's field of view angle through the field of view center parameter. The field of view angle trajectory information includes the field of view center parameter corresponding to the actual playback of the panoramic video, thereby utilizing the target user's real viewing angle to more accurately predict the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video; for example, the panoramic video has currently played 10 video frames, then the target user's current field of view angle trajectory information includes the actual field of view center parameters of the 10 video frames.

[0075] It is understandable that even if the visual field center trajectory information set is obtained by manually controlling the viewing angle of the panoramic video, the viewing angle information of the target user at the next moment can be predicted based on the above method, thereby avoiding the problem of unsmooth viewing angle conversion caused by manual control, making the viewing angle conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video and ultimately improving the user experience. In addition, even if the visual field center trajectory information set is obtained by controlling the viewing angle of the panoramic video by the up, down, left, and right arrow keys, and each click converts the viewing angle to a fixed angle, the viewing angle information of the target user at the next moment can be predicted based on the above method, so as to truly achieve full-angle viewing, thereby improving the user experience.

[0076] Step 130: Adjust the field of view of the panoramic video based on the field of view angle information to play the next video frame.

[0077] Specifically, based on the field of view angle information, the field of view of the panoramic video is adjusted so that the actual field of view center parameter of the next video frame is the field of view center parameter represented by the field of view angle information. It should be understood that after the field of view center parameter of the next video frame is determined, the field of view of the panoramic video can be adjusted to successfully play the next video frame.

[0078] Furthermore, considering the horizontal and vertical boundaries of the panoramic plan, that is, due to the 360-degree viewing angle in the horizontal direction, when the center of the field of view exceeds the left and right boundaries of the panoramic plan, the center of the field of view will be transferred to the other side, and the vertical viewing angle is 180 degrees. When the center of the field of view reaches the upper boundary of the panoramic plan, the center of the field of view cannot continue to shift upward. Similarly, when the center of the field of view reaches the lower boundary of the panoramic plan, the center of the field of view cannot continue to shift downward. Therefore, the predicted field of view angle information needs to be converted. Specifically, the field of view angle information is converted to obtain the actual field of view center parameters of the next video frame, and based on the actual field of view center parameters of the next video frame, the field of view of the panoramic video is adjusted to play the next video frame. For example, assuming that the center of the panoramic plan corresponding to the panoramic video is the coordinate origin, the field of view angle information is Indicates the horizontal field of view center of the next video frame, Indicates the vertical center of the next video frame. The field of view information can be converted based on the following formula:

[0079]

[0080] In the formula, Indicates the actual horizontal field of view center of the next video frame, that is represents the horizontal center of the field of view after transformation, Indicates the actual vertical field of view center of the next video frame, that is represents the center of the vertical field of view after conversion, wd represents the horizontal width of the panoramic plan, and ht represents the vertical height of the panoramic plan.

[0081] In addition, the field of view angle information of the target user at the next moment is predicted by combining the field of view center trajectory information set. Therefore, the field of view area of ​​subsequent panoramic video frames can be loaded in advance during playback, which greatly reduces the demand for real-time network transmission and improves the smoothness of playback.

[0082] The panoramic video playback method provided by the embodiment of the present invention obtains a field of view center trajectory information set of the panoramic video to be played, so as to predict the field of view angle information of the target user at the next moment based on the current field of view angle trajectory information of the target user and in combination with the field of view center trajectory information set, and the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame that has been played in the panoramic video, so as to use the real perspective of the target user to more accurately predict the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video; and based on the predicted field of view angle information, adjusting the field of view of the panoramic video can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and ultimately improving the user experience.

[0083] Based on any of the above embodiments, Figure 2 The second flowchart of the panoramic video playback method provided by the present invention is as follows: Figure 2 As shown, the above step 120 includes:

[0084] Step 121 : based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, determine the similarity results between the field of view angle trajectory information and each field of view center trajectory information in the field of view center trajectory information set.

[0085] Here, a larger similarity result can indicate a smaller similarity between the two, or a larger similarity between the two. For example, if the visual field center trajectory information set includes m visual field center trajectory information, then the number of similarity results is also m, such as S j Indicates the similarity between the target user's current field of view angle trajectory information and the j-th field of view center trajectory information in the field of view center trajectory information set.

[0086] Step 122: Based on the similarity results, target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set.

[0087] In a specific embodiment, based on the comparison results of each similarity result with the similarity threshold, at least one target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set.

[0088] Step 123: Based on the target visual field center trajectory information, adjust the visual field center parameter of the current video frame in the visual field angle trajectory information to predict the visual field angle information of the target user at the next moment.

[0089] In one embodiment, based on the field of view center parameter of the next video frame in at least one target field of view center trajectory information and the field of view center parameter of the current video frame in the field of view angle trajectory information, a horizontal field of view center adjustment amount and a vertical field of view center adjustment amount are determined; wherein the horizontal field of view center adjustment amount is obtained by summing the horizontal field of view center sub-adjustments corresponding to each target field of view center trajectory information; any horizontal field of view center sub-adjustment amount is the horizontal distance between the horizontal field of view center represented by the field of view center parameter of the next video frame in the target field of view center trajectory information and the horizontal field of view center represented by the field of view center parameter of the current video frame in the field of view angle trajectory information; the vertical field of view center adjustment amount is obtained by summing the vertical field of view center sub-adjustments corresponding to each target field of view center trajectory information; any vertical field of view center sub-adjustment amount is the vertical distance between the vertical field of view center represented by the field of view center parameter of the next video frame in the target field of view center trajectory information and the vertical field of view center represented by the field of view center parameter of the current video frame in the field of view angle trajectory information.

[0090] The panoramic video playback method provided by the embodiment of the present invention predicts the field of view angle information of the target user at the next moment in the above-mentioned manner, that is, more accurately predicts the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video, and can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and ultimately improving the user experience.

[0091] Based on any of the above embodiments, in the method, the similarity result between the field of view angle trajectory information and the j-th field of view center trajectory information in the field of view center trajectory information set is determined based on the mean of at least one distance calculation result, the at least one distance calculation result is a distance calculation result corresponding to at least one first video frame, the number of frames of the at least one first video frame is not greater than the preset number of frames, the distance calculation result corresponding to any of the first video frames is determined based on the field of view center parameter of the first video frame in the field of view angle trajectory information and the field of view center parameter of the first video frame in the j-th field of view center trajectory information, and the distance calculation result corresponding to any of the first video frames is used to characterize the distance between the two field of view centers; j is an integer greater than 0, and j is less than or equal to the number of field of view center trajectory information in the field of view center trajectory information set.

[0092] In one embodiment, if the number of at least one first video frame is 1, the at least one first video frame includes the current video frame; if the number of at least one first video frame is greater than 1, the at least one first video frame includes the current video frame and a video frame before the current video frame.

[0093] Exemplarily, the greater the similarity result, the smaller the similarity between the two. The distance calculation result can be calculated by Euclidean distance calculation method.

[0094] Considering the horizontal and vertical boundaries of the panoramic plan, that is, since the horizontal angle is 360 degrees, when the center of the field of view exceeds the left and right boundaries of the panoramic plan, the center of the field of view will be transferred to the other side, and the vertical angle is 180 degrees. When the center of the field of view reaches the upper boundary of the panoramic plan, the center of the field of view cannot continue to shift upward. Similarly, when the center of the field of view reaches the lower boundary of the panoramic plan, the center of the field of view cannot continue to shift downward. Therefore, the calculation formula of the distance calculation result is as follows:

[0095]

[0096] Where dis(i, j) represents the distance calculation result corresponding to the i-th video frame, that is, dis(i, j) represents the Euclidean distance between the target user's field of view center in the i-th video frame and the field of view center corresponding to the j-th field of view center trajectory information, disx(i, j) represents the horizontal distance between the target user's horizontal field of view center in the i-th video frame and the horizontal field of view center corresponding to the j-th field of view center trajectory information, disx(i, j) = Min(|x ji -x i |,wd-|x ji -x i |), Min(·) represents the minimum function, (x ji ,y ji ) represents the field of view center parameter of the i-th video frame in the j-th field of view center trajectory information, (x i ,y j ) represents the field of view center parameter of the i-th video frame in the field of view angle trajectory information, wd represents the horizontal width of the panoramic plan, and the center of the panoramic plan corresponding to the panoramic video is the coordinate origin; i is an integer greater than 0, and i is less than or equal to the number of field of view angle trajectory information in the field of view angle trajectory information set; j is an integer greater than 0, and j is less than or equal to the number of field of view center trajectory information in the field of view center trajectory information set.

[0097] Exemplarily, the calculation formula of the similarity result is as follows:

[0098]

[0099] In the formula, S jRepresents the similarity result between the field of view angle trajectory information and the j-th field of view center trajectory information set, N represents the number of dis(i, j), T represents the preset number of frames, t represents the number of frames of the current video frame, dis(i, j) represents the distance calculation result corresponding to the i-th video frame, that is, dis(i, j) is determined based on the field of view center parameters of the i-th video frame in the field of view angle trajectory information and the field of view center parameters of the i-th video frame in the j-th field of view center trajectory information, that is, dis(i, j) is used to characterize the distance between the two field of view centers. It should be understood that at least one first video frame includes the t-th video frame and the T-1 video frames before the t-th video frame, that is, at least one first video frame includes the T video frames before time t; of course, in actual calculation, the calculation is performed according to the valid video frames within the T video frames, for example, t=2, T=3, then i is an integer greater than 0, and i is less than or equal to the number of field angle trajectory information in the field angle trajectory information set; j is an integer greater than 0, and j is less than or equal to the number of field of view center trajectory information in the field of view center trajectory information set.

[0100] Considering that if the distance calculation results corresponding to the current video frame and all video frames before the current video frame are calculated, the computational overhead will be seriously increased, that is, it lacks targeted selection of historical data. Based on this, the frame number of at least one first video frame is set not to be greater than the preset frame number, thereby reducing computing power requirements and improving prediction efficiency.

[0101] In other words, the field of view angle trajectory information and the field of view center trajectory information set are time sliced, and according to the field of view center parameters corresponding to multiple video frames sliced ​​in the field of view angle trajectory information and the field of view center parameters corresponding to multiple video frames sliced ​​in the field of view center trajectory information set, the similarity results of the field of view angle trajectory information and each field of view center trajectory information in the field of view center trajectory information set are calculated.

[0102] The panoramic video playback method provided by an embodiment of the present invention determines the similarity result in the above-mentioned manner, and sets the frame number of at least one first video frame to be no greater than the preset frame number, that is, the similarity is calculated based on adjacent frames using a time slicing method, thereby reducing computing power requirements and improving prediction efficiency.

[0103] Based on any of the above embodiments, in the method, the above step 122 includes:

[0104] Based on the comparison results of each of the similarity results with the similarity threshold, at least one target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set, so as to adjust the field of view center parameters of the current video frame in the field of view angle trajectory information based on the at least one target field of view center trajectory information, and predict the field of view angle information of the target user at the next moment.

[0105] Specifically, if the smaller the similarity result, the greater the similarity, the similarity result between the target visual field center trajectory information and the visual field angle trajectory information is less than the similarity threshold. If the larger the similarity result, the greater the similarity, the similarity result between the target visual field center trajectory information and the visual field angle trajectory information is greater than the similarity threshold.

[0106] In one embodiment, the similarity threshold is determined based on each similarity result, that is, the similarity threshold is automatically updated based on each similarity result, that is, the similarity threshold is an adaptive threshold, thereby improving the accuracy of determining the target field of view center trajectory information, and then more accurately predicting the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video.

[0107] It should be understood that the embodiments of the present invention take into account that when there is target field of view center trajectory information with extremely high similarity to the field of view angle trajectory information, if the influence of the target field of view center trajectory information with the second highest similarity on the trajectory adjustment is not considered, the prediction accuracy of the field of view angle information at the next moment will be reduced. Therefore, through the above method, the field of view angle information of the target user at the next moment can be predicted based on more target field of view center trajectory information, that is, the field of view angle information at the next moment can be predicted more accurately.

[0108] In addition, based on the comparison results of each similarity result with the similarity threshold, at least one target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set. Compared with directly determining a fixed number of target field of view center trajectory information with the greatest similarity to the field of view angle trajectory information from the field of view center trajectory information set, the defect of low determination accuracy of the target field of view center trajectory information caused by large differences in the similarity results can be avoided, thereby improving the determination accuracy of the target field of view center trajectory information, and further more accurately predicting the field of view angle information at the next moment.

[0109] The panoramic video playback method provided by the embodiment of the present invention can predict the field of view angle information of the target user at the next moment based on more target field of view center trajectory information through the above-mentioned method, that is, more accurately predict the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video, and can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and ultimately improving the user experience.

[0110] Based on any of the above embodiments, in this method, the similarity threshold is calculated based on the following formula:

[0111]

[0112] In the formula, S t represents the similarity threshold, m represents the number of similarity results, S j represents the jth similarity result among the similarity results, S max is the similarity result representing the smallest similarity among the similarity results, and ε is a preset positive number.

[0113] It should be noted that if the similarity result is smaller, the similarity is greater, then S max is the maximum similarity result among all similarity results. ε can be any small positive number.

[0114] It can be understood that when there are many visual field center trajectories with high similarity to the trajectories represented by the field angle trajectory information, the similarity threshold determined by the above formula can select more target visual field center trajectories, that is, when there are many visual field center trajectories with high similarity to the field angle trajectory information, the similarity threshold determined by the above formula can select more target visual field center trajectories; conversely, when there are few visual field center trajectories with high similarity to the trajectories represented by the field angle trajectory information, the similarity threshold determined by the above formula can select fewer target visual field center trajectories, that is, when there are few visual field center trajectories with high similarity to the field angle trajectory information, the similarity threshold determined by the above formula can select fewer target visual field center trajectories. Based on this, the accuracy of determining the target visual field center trajectory information is improved, and the field angle information of the next moment is predicted more accurately, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video.

[0115] In addition, the similarity threshold determined by the above formula can select at least one target visual field center trajectory information, thereby ensuring the successful prediction of the visual angle information of the target user at the next moment, thereby ensuring the normal playback of the panoramic video. And ensure that at least one target visual field center trajectory information is selected to avoid directly selecting a fixed number of visual field center trajectory information after the target visual field center trajectory information cannot be selected. Therefore, the above method can improve the accuracy of determining the target visual field center trajectory information, thereby more accurately predicting the visual angle information at the next moment.

[0116] In addition, the similarity threshold is an adaptive threshold in the above manner. Compared with directly setting a fixed similarity threshold, it will not be affected by subjective experience, thereby improving the accuracy of determining the target visual field center trajectory information and meeting the adaptability during data expansion.

[0117] In the panoramic video playback method provided by the embodiment of the present invention, the similarity threshold is an adaptive threshold through the above method, thereby improving the accuracy of determining the target field of view center trajectory information, and then more accurately predicting the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video; and when the number of field of view center trajectory information with high similarity to the field of view angle trajectory information is large, the similarity threshold determined by the above formula can select more target field of view center trajectory information, thereby improving the accuracy of determining the target field of view center trajectory information, and then more accurately predicting the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video.

[0118] Based on any of the above embodiments, in the method, adjusting the field of view center parameter of the current video frame in the field of view angle trajectory information based on the at least one target field of view center trajectory information, and predicting the field of view angle information of the target user at the next moment, includes:

[0119] Determine a horizontal field of view center adjustment amount and a vertical field of view center adjustment amount based on a field of view center parameter of a next video frame in the at least one target field of view center trajectory information, a field of view center parameter of a current video frame in the field of view angle trajectory information, and an adjustment weight corresponding to each target field of view center trajectory information;

[0120] Based on the horizontal field of view center adjustment amount and the vertical field of view center adjustment amount, the field of view center parameter of the current video frame in the field of view angle trajectory information is adjusted to predict the field of view angle information of the target user at the next moment.

[0121] Among them, the horizontal field of view center adjustment amount is obtained by weighted aggregation of the horizontal field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weights corresponding to each target field of view center trajectory information; any of the horizontal field of view center sub-adjustments is the horizontal distance between the horizontal field of view center represented by the field of view center parameters of the next video frame in the target field of view center trajectory information and the horizontal field of view center represented by the field of view center parameters of the current video frame in the field of view angle trajectory information; the vertical field of view center adjustment amount is obtained by weighted aggregation of the vertical field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weights corresponding to each target field of view center trajectory information; any of the vertical field of view center sub-adjustments is the vertical distance between the vertical field of view center represented by the field of view center parameters of the next video frame in the target field of view center trajectory information and the vertical field of view center represented by the field of view center parameters of the current video frame in the field of view angle trajectory information.

[0122] For example, assuming that the center of the panoramic plane image corresponding to the panoramic video is the coordinate origin, the field of view angle information is Indicates the horizontal field of view center of the next video frame, Indicates the vertical field of view center of the next video frame. The field of view center parameters of the current video frame in the field of view angle track information are adjusted based on the following formula:

[0123]

[0124]

[0125] In the formula, x i Indicates the horizontal field of view center of the i-th video frame (current video frame) in the field of view angle track information, y i Indicates the vertical field of view center of the i-th video frame (current video frame) in the field of view angle track information, (x i ,y i ) represents the field of view center parameter of the i-th video frame (current video frame) in the field of view angle trajectory information, U represents the number of at least one target field of view center trajectory information, ω j represents the adjustment weight corresponding to the jth target visual field center trajectory information in at least one target visual field center trajectory information, x j,i+1 Indicates the horizontal field of view center of the i+1th video frame (next video frame) in the jth target field of view center trajectory information, y j,i+1 Indicates the vertical field of view center of the i+1th video frame (the next video frame) in the jth target field of view center trajectory information; Indicates the horizontal field of view center adjustment amount, Indicates the vertical field of view center adjustment amount.

[0126] The panoramic video playback method provided by the embodiment of the present invention can be predicted based on more target field of view center trajectory information through the above method, and the horizontal field of view center adjustment amount and the vertical field of view center adjustment amount are determined based on the adjustment weights corresponding to the target field of view center trajectory information, thereby fully considering the different degrees of influence of different target field of view center trajectory information, and then more accurately predicting the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video, and can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and ultimately improving the user experience.

[0127] Based on any of the above embodiments, in this method, the adjustment weight corresponding to any of the target field of view center trajectory information is determined based on the following method:

[0128] Determine the sum of the similarity ratios corresponding to the target visual field center trajectory information;

[0129] Based on the ratio of the similarity ratio corresponding to the target field of view center trajectory information to the sum value, an adjustment weight corresponding to the target field of view center trajectory information is determined.

[0130] Among them, the similarity ratio corresponding to any of the target field of view center trajectory information is determined based on the ratio of the square value of the similarity threshold to the target added value, and the target added value is the addition value of the similarity result corresponding to the target field of view center trajectory information and a preset compensation constant.

[0131] Exemplarily, the adjustment weight ω corresponding to the j-th target field of view center trajectory information in at least one target field of view center trajectory information is j It is calculated based on the following formula:

[0132]

[0133] In the formula, S t Represents the similarity threshold, S′ j represents the similarity result corresponding to the jth target visual field center trajectory information, a represents the preset compensation constant, U represents the number of at least one target visual field center trajectory information, S′ k Indicates the similarity result corresponding to the trajectory information of the center of the k-th target field of view.

[0134] The preset compensation constant is greater than or equal to 0, and the preset compensation constant is less than or equal to the similarity threshold, that is, the range of the preset compensation constant is (0, S t ), thereby ensuring the accuracy of the determination of adjustment weights.

[0135] The panoramic video playback method provided by the embodiment of the present invention determines the horizontal field of view center adjustment amount and the vertical field of view center adjustment amount based on the adjustment weights corresponding to the target field of view center trajectory information in the above manner, thereby fully considering the different degrees of influence of different target field of view center trajectory information, and the adjustment weights corresponding to the target field of view center trajectory information are obtained by adaptive adjustment based on the above formula, that is, the accuracy of determining the adjustment weights is improved, and the field of view angle information at the next moment is predicted more accurately, thereby improving the field of view adjustment accuracy of the panoramic video, and finally improving the playback effect of the panoramic video, and can make the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video, and finally improving the user experience.

[0136] Based on any of the above embodiments, considering the prior art, a method for automatically adjusting the viewing angle for panoramic video rendering is proposed to ensure that the movement direction of the virtual camera is consistent with that of the panoramic camera, and to meet the user's need to focus on the field of view in front of the panoramic camera. However, the method automatically adjusts the viewing angle according to the shooting direction of the panoramic video, and does not consider the influence of the personalized field of view operation of the user who actually watches the panoramic video on the field of view adjustment, thereby reducing the user experience. Based on this, in the method, any field of view center trajectory information in the field of view center trajectory information set is generated based on the following method:

[0137] Determine a horizontal field of view center offset and a vertical field of view center offset based on a posture change parameter of the virtual remote controller device;

[0138] Based on the horizontal field of view center offset and the vertical field of view center offset, adjusting the field of view center parameters of the current video frame in the field of view center trajectory information to obtain the field of view center parameters of the next video frame;

[0139] Based on the field of view center parameter of the next video frame, playing the next video frame, and adding the field of view center parameter of the next video frame to the field of view center track information;

[0140] Return to the step of determining the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote controller device until the posture change parameter is not obtained.

[0141] Here, the virtual remote control device can be set according to actual needs. The embodiment of the present invention takes a smartphone as an example for explanation. For example, the smartphone is deployed with a VR application (i.e., a virtual remote control). The panoramic video can be adjusted through the virtual remote control device.

[0142] The virtual remote control device is connected in communication with the execution subject of the playback method, for example, the virtual remote control device is connected in communication with the TV. Further, the virtual remote control device can be connected in communication with the execution subject through a WIFI signal. For example, the mobile phone and the TV are connected to the same WIFI signal, the virtual remote control is operated through the mobile phone, and the connection operation instruction is transmitted to the TV through the WIFI signal. After receiving the connection operation instruction, the TV can communicate with the mobile phone.

[0143] Here, the posture change parameter is used to characterize the posture change of the virtual remote control device. Further, the posture change parameter includes a horizontal rotation angle and a vertical rotation angle, so as to determine the horizontal field of view center offset and the vertical field of view center offset based on the horizontal rotation angle and the vertical rotation angle.

[0144] In one embodiment, the posture change parameters are detected by a gyroscope device in the virtual remote control device. For example, a mobile phone is equipped with a gyroscope chip to detect the posture change parameters of the mobile phone and output the posture change parameters of the mobile phone in real time.

[0145] Exemplarily, the horizontal field of view center offset is determined based on the following formula:

[0146]

[0147] In the formula, α i represents the horizontal rotation angle of the virtual remote control device at the i-th moment. When the virtual remote control device rotates horizontally to the right, α i >0, when the virtual remote control device rotates horizontally to the left i <0; R>0, R represents the radius of the arc, that is, R represents the distance between the user and the execution subject of the playback method; Δx i Indicates the horizontal field of view center offset at the i-th moment.

[0148] Exemplarily, the vertical field of view center offset is determined based on the following formula:

[0149]

[0150] In the formula, β i represents the vertical rotation angle of the virtual remote control device at the i-th moment. When the virtual remote control device rotates vertically upward, β i >0, when the virtual remote control device rotates vertically downwards i <0; R>0, R represents the radius of the arc, that is, R represents the distance between the user and the execution subject of the playback method; Δy i Indicates the vertical field of view center offset at the i-th moment.

[0151] In one embodiment, the arc radius R can be preset, that is, the arc radius R is a distance constant.

[0152] In another embodiment, the arc radius R can be obtained by detecting the distance between the user and the execution subject of the playing method.

[0153] Furthermore, considering the horizontal and vertical boundaries of the panoramic plane, that is, since the horizontal angle is 360 degrees, when the center of the field of view exceeds the left and right boundaries of the panoramic plane, the center of the field of view will be transferred to the other side, and the vertical angle is 180 degrees. When the center of the field of view reaches the upper boundary of the panoramic plane, the center of the field of view cannot continue to shift upward. Similarly, when the center of the field of view reaches the lower boundary of the panoramic plane, the center of the field of view cannot continue to shift downward. Therefore, the adjusted field of view center parameters need to be converted. For example, assuming that the center of the panoramic plane corresponding to the panoramic video is the coordinate origin, the field of view center parameter of the current video frame is (x i-1 ,y i-1 ), the center parameter of the field of view of the next video frame is (x i ,y i ), the field of view center parameters of the current video frame can be adjusted based on the following formula:

[0154]

[0155]

[0156] In the formula, x i represents the horizontal field of view center of the next video frame (i.e., the horizontal field of view center at the i-th moment), Δx i represents the horizontal field of view center offset at the i-th moment, wd represents the horizontal width of the panoramic plane; y i represents the vertical field of view center of the next video frame (i.e., the vertical field of view center at the i-th moment), Δy i represents the vertical field of view center offset at the i-th moment, ht represents the vertical height of the panoramic plan; i ≥ 2.

[0157] Based on the field of view center parameters of the next video frame, the next video frame is played, and the field of view center parameters of the next video frame are added to the field of view center trajectory information, that is, during the panoramic video playback process, the horizontal field of view center offset and the vertical field of view center offset are calculated based on the posture change parameters of the virtual remote control device to control the field of view of the panoramic video, thereby improving the field of view center trajectory information of the panoramic video based on the field of view center parameters of the next video frame. In other words, according to the field of view center parameters of each video frame determined based on the virtual remote control device, the field of view center trajectory information set is maintained, and one field of view center trajectory information set needs to be maintained for each panoramic video.

[0158] Since the user continuously controls the field of view based on the virtual remote control device, the steps of determining the horizontal field of view center offset and the vertical field of view center offset are performed based on the posture change parameters of the virtual remote control device to obtain the field of view center parameters of each video frame, thereby obtaining as complete field of view center trajectory information as possible.

[0159] It should be noted that the process of generating the field of view center trajectory information can be executed by the execution subject of the playback method, or by the virtual remote control device; or it can be executed by the execution subject and the virtual remote control device in cooperation, such as the horizontal field of view center offset and the vertical field of view center offset are determined by the virtual remote control device and sent to the execution subject, and then executed by the execution subject.

[0160] The panoramic video playback method provided by the embodiment of the present invention can construct a field of view center trajectory information set of the panoramic video based on the interaction between the virtual remote control device and the execution subject of the method. In addition, through the above-mentioned method, the influence of the personalized field of view operation of the user who actually watches the panoramic video on the field of view adjustment is fully considered, thereby utilizing the real perspective of the target user to more accurately predict the field of view angle information at the next moment, thereby improving the field of view adjustment accuracy of the panoramic video and ultimately improving the playback effect of the panoramic video.

[0161] Based on any of the above embodiments, considering that if only a traditional remote controller is used to adjust the field of view for a long time, repeated mechanical operations are required, which greatly weakens the immersive experience of the panoramic video; based on this, in the method, the horizontal field of view center offset and the vertical field of view center offset are determined based on the posture change parameters of the virtual remote controller device, including:

[0162] If a manual play instruction is received from the virtual remote controller, a horizontal field of view center offset and a vertical field of view center offset are determined based on the posture change parameter of the virtual remote controller;

[0163] If an automatic play command is received from a virtual remote control device, and the field of view center parameters of at least one video frame in the panoramic video are missing from the field of view center trajectory information set, the horizontal field of view center offset and the vertical field of view center offset are determined based on the posture change parameters of the virtual remote control device.

[0164] Here, the virtual remote control device can allow the user to choose whether to play automatically. For example, after entering the panoramic video content, the user can choose whether to play the panoramic video automatically through the prompt. If the user chooses automatic play, the user does not need to adjust the field of view during the panoramic video playback. The system will automatically adjust the field of view according to the field of view center trajectory information set. Otherwise, it means that the user chooses to use the virtual remote control to manually adjust the field of view during the panoramic video playback.

[0165] It should be noted that if a manual play command is received from a virtual remote control device, the field of view center trajectory information set is first improved based on the posture change parameters of the virtual remote control device, and then based on the target user's current field of view angle trajectory information and the improved field of view center trajectory information set, the field of view angle information of the target user at the next moment is predicted, thereby realizing the field of view adjustment of the panoramic video, so that 360-degree viewing without blind spots can be truly realized.

[0166] It should be noted that if an automatic play command is received from a virtual remote control device, and the field of view center trajectory information set lacks the field of view center parameters of at least one video frame in the panoramic video, for example, the panoramic video includes 10 video frames, and the field of view center trajectory information set does not include the field of view center parameters of one of the video frames, then the field of view center trajectory information set is first improved based on the posture change parameters of the virtual remote control device, and then based on the target user's current field of view angle trajectory information and the improved field of view center trajectory information set, the field of view angle information of the target user at the next moment is predicted, thereby realizing automatic field of view adjustment of the panoramic video.

[0167] Furthermore, if a manual play instruction is received from a virtual remote control device, the field of view information of the target user at the next moment is predicted based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set. If an automatic play instruction is received from a virtual remote control device, and the field of view center parameter of at least one video frame in the panoramic video is missing in the field of view center trajectory information set, the field of view information of the target user at the next moment is predicted based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set.

[0168] The panoramic video playback method provided by the embodiment of the present invention can realize both manual control playback and automatic playback of panoramic videos through the above-mentioned method, that is, the panoramic video control technology that supports both automatic and manual playback at the same time improves the diversity of panoramic video playback methods, thereby improving the user experience.

[0169] Based on any of the above embodiments, after the above step 110, the method further includes:

[0170] If an automatic play instruction sent by a virtual remote controller is received, and the field of view center parameter of each video frame in the panoramic video is present in the field of view center trajectory information set, field of view adjustment path information of the panoramic video is determined based on the field of view center trajectory information set, and the field of view adjustment path information includes the field of view center parameter of each video frame in the panoramic video;

[0171] Based on the field of view adjustment path information, the field of view of the panoramic video is adjusted frame by frame, and the panoramic video is played frame by frame.

[0172] It should be noted that the field of view center trajectory information set contains the field of view center parameters of each video frame in the panoramic video, that is, the field of view center parameters of each video frame can be determined from the field of view center trajectory information set. For example, the panoramic video includes 10 video frames, and the field of view center trajectory information in the field of view center trajectory information set jointly covers the field of view center parameters of the 10 video frames. In other words, to determine whether the current panoramic video has a complete field of view center trajectory information set, when each frame of the panoramic video has a record of the user's historical manual adjustment of the field of view, it means that the current panoramic video has a complete field of view center trajectory information set, otherwise it means that the field of view center trajectory information set is incomplete.

[0173] In one embodiment, based on the field of view center trajectory information set, a first field of view center parameter of each video frame in the panoramic video is determined, and the first field of view center parameter of any video frame is determined based on a cluster analysis result of at least one field of view center parameter of the video frame in the field of view center trajectory information set; based on each first field of view center parameter, field of view adjustment path information of the panoramic video is determined.

[0174] It should be noted that based on the field of view adjustment path information, the field of view of the panoramic video is automatically adjusted frame by frame, and the panoramic video is automatically played frame by frame. That is, while playing the panoramic video, the system automatically adjusts the field of view of the panoramic video without the need for user operation, and the automatically played field of view trajectory is not recorded in the field of view center trajectory information set.

[0175] The panoramic video playback method provided by the embodiment of the present invention, through the above-mentioned method, if an automatic playback command sent by a virtual remote control device is received, and the field of view center parameters of each video frame in the panoramic video are present in the field of view center trajectory information set, the field of view of the panoramic video is automatically adjusted by the field of view center trajectory information set generated by the personalized field of view operation of the user watching the panoramic video, and the field of view trajectory of the panoramic video is planned from the user's perspective, thereby improving the field of view adjustment accuracy of the panoramic video, and ultimately improving the playback effect of the panoramic video.

[0176] Based on any of the above embodiments, in the method, determining the field of view adjustment path information of the panoramic video based on the field of view center trajectory information set includes:

[0177] Based on the field of view center trajectory information set, determining a first field of view center parameter of each video frame in the panoramic video, wherein the first field of view center parameter of any of the video frames is determined based on a clustering analysis result of at least one field of view center parameter of the video frame in the field of view center trajectory information set;

[0178] Smoothing each of the first field of view center parameters to obtain a second field of view center parameter of each video frame in the panoramic video;

[0179] Based on each of the second field of view center parameters, field of view adjustment path information of the panoramic video is determined.

[0180] Specifically, for any video frame of the panoramic video, cluster analysis is performed on each historical field of view center parameter of the video frame in the field of view center trajectory information set to obtain a first field of view center parameter of the video frame.

[0181] In one embodiment, the clustering analysis method uses a density clustering method, and through AOA (arithmetic optimization algorithm), it gives the density clustering method the ability to automatically explore two sets of parameters, thereby solving problems such as low accuracy of clustering analysis results and incomplete noise detection when parameters are manually set.

[0182] In one embodiment, after obtaining the cluster analysis result, the target cluster with the densest field of view center parameter is determined, and the target field of view center parameter closest to the cluster centroid of the target cluster is determined from the field of view center parameters included in the target cluster, and the target field of view center parameter is determined as the first field of view center parameter. The distance calculation method of the two field of view center parameters can be a Euclidean distance calculation method.

[0183] In another embodiment, after the cluster analysis result is obtained, a target cluster with the densest field of view center parameter is determined, and the cluster centroid of the target cluster is determined as the first field of view center parameter.

[0184] In one embodiment, for the first field of view center parameter of any video frame, the first field of view center parameter is combined with the first field of view center parameter of the adjacent frame of the video frame, and the first field of view center parameter is smoothed to obtain the second field of view center parameter of the video frame. In other words, according to the first field of view center parameter of each video frame, a smooth field of view playback track is fitted along the timeline to provide support for the subsequent automatic playback of the panoramic video.

[0185] Exemplarily, the calculation formula of the second field of view center parameter is as follows:

[0186]

[0187] In the formula, (x″ j , y″ j ) represents the second field of view center parameter of the jth video frame, x″ j Indicates the horizontal field of view center of the jth video frame, y″ j represents the vertical field of view center of the jth video frame, F represents the neighboring scale constant, (x′ i , y′ i ) represents the first field of view center parameter of the i-th video frame, x′ i represents the horizontal field of view center of the i-th video frame, y′ i Represents the vertical field of view center of the i-th video frame.

[0188] Based on this, the field of view adjustment path information is as follows:

[0189] (X, Y)={(x″1, y″1), (x″2, y″2),…, (x″ n , y″ n )};

[0190] Where n represents the total number of frames of the panoramic video.

[0191] The neighboring scale constant F can be preset, and further, the neighboring scale constant F is an odd number. or When it is greater than the total number of frames of the panoramic video, the actual number of frames involved shall prevail. For example, when F=5,

[0192] The panoramic video playback method provided by an embodiment of the present invention determines the first field of view center parameter of each video frame in the panoramic video based on the field of view center trajectory information set in the above manner, and smoothes each first field of view center parameter to obtain the second field of view center parameter of each video frame in the panoramic video, thereby making the field of view conversion of the panoramic video smoother, thereby improving the playback effect of the panoramic video and ultimately improving the user experience.

[0193] To facilitate understanding of the above embodiments, a specific embodiment is used for description. Figure 3 As shown, assuming that the execution subject of the playback method is a television, and assuming that the virtual remote control device is a mobile phone, the playback method includes the following steps:

[0194] S1, connect the TV to the mobile phone;

[0195] S2, loading panoramic video;

[0196] S3, determining whether to automatically play the panoramic video;

[0197] S4, if an automatic play instruction sent by the mobile phone is received, determining whether the visual field center trajectory information set is complete;

[0198] S5, if a manual play command sent by the mobile phone is received, or if the field of view center parameter of at least one video frame in the panoramic video is missing in the field of view center trajectory information set, determine the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote control device;

[0199] S6, adjusting the field of view center parameters of the current video frame in the field of view center track information based on the horizontal field of view center offset and the vertical field of view center offset to obtain the field of view center parameters of the next video frame, playing the next video frame based on the field of view center parameters of the next video frame, and adding the field of view center parameters of the next video frame to the field of view center track information;

[0200] S7, based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predicting the field of view angle information of the target user at the next moment, and adjusting the field of view of the panoramic video based on the field of view angle information to play the next video frame;

[0201] S8, if the field of view center trajectory information set contains the field of view center parameter of each video frame in the panoramic video, determine the first field of view center parameter of each video frame in the panoramic video based on the field of view center trajectory information set;

[0202] S9, performing smoothing processing on each first field of view center parameter to obtain a second field of view center parameter of each video frame in the panoramic video;

[0203] S10, determining field of view adjustment path information of the panoramic video based on each second field of view center parameter, adjusting the field of view of the panoramic video frame by frame based on the field of view adjustment path information, and playing the panoramic video frame by frame.

[0204] The panoramic video playback device provided by the present invention is described below. The panoramic video playback device described below and the panoramic video playback method described above can correspond to each other.

[0205] Figure 4 A schematic diagram of the structure of a panoramic video playback device provided by the present invention, such as Figure 4 As shown, the panoramic video playback device includes:

[0206] An acquisition module 410 is used to acquire a field of view center trajectory information set of a panoramic video to be played, wherein the field of view center trajectory information set includes at least one field of view center trajectory information, and any field of view center trajectory information includes field of view center parameters of multiple video frames in the panoramic video, and any field of view center parameter is used to represent position information of the field of view center of the video frame in a panoramic plane corresponding to the panoramic video;

[0207] The prediction module 420 is used to predict the field of view information of the target user at the next moment based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, wherein the target user is a user watching the panoramic video, and the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame played in the panoramic video, and the field of view angle information is used to represent the position information of the field of view center of the next video frame in the panoramic plane corresponding to the panoramic video;

[0208] The adjustment module 430 is used to adjust the field of view of the panoramic video based on the field of view angle information to play the next video frame.

[0209] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logic instructions in the memory 530 to execute a method for playing a panoramic video, which method includes: obtaining a field of view center trajectory information set of a panoramic video to be played, the field of view center trajectory information set including at least one field of view center trajectory information, any of the field of view center trajectory information including field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters being used to characterize the position information of the field of view center of the video frame in the panoramic plan corresponding to the panoramic video; based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predicting the field of view angle information of the target user at the next moment, the target user being a user watching the panoramic video, the field of view angle trajectory information including the actual field of view center parameters of at least one video frame that has been played in the panoramic video, and the field of view angle information being used to characterize the position information of the field of view center of the next video frame in the panoramic video in the panoramic plan corresponding to the panoramic video; based on the field of view angle information, adjusting the field of view of the panoramic video to play the next video frame.

[0210] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0211] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the panoramic video playback method provided by the above methods, the method comprising: obtaining a field of view center trajectory information set of a panoramic video to be played, the field of view center trajectory information set including at least one field of view center trajectory information, any of the field of view center trajectory information including field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters being used to characterize the position information of the field of view center of the video frame in the panoramic plan corresponding to the panoramic video; based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predicting the field of view angle information of the target user at the next moment, the target user being a user watching the panoramic video, the field of view angle trajectory information including the actual field of view center parameter of at least one video frame that has been played in the panoramic video, and the field of view angle information being used to characterize the position information of the field of view center of the next video frame in the panoramic plan corresponding to the panoramic video; based on the field of view angle information, adjusting the field of view of the panoramic video to play the next video frame.

[0212] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the panoramic video playback method provided by the above methods, the method comprising: obtaining a field of view center trajectory information set of the panoramic video to be played, the field of view center trajectory information set comprising at least one field of view center trajectory information, any of the field of view center trajectory information comprising field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters being used to characterize the position information of the field of view center of the video frame in the panoramic plan view corresponding to the panoramic video; based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predicting the field of view angle information of the target user at the next moment, the target user being a user watching the panoramic video, the field of view angle trajectory information comprising the actual field of view center parameters of at least one video frame that has been played in the panoramic video, and the field of view angle information being used to characterize the position information of the field of view center of the next video frame in the panoramic plan view corresponding to the panoramic video; based on the field of view angle information, adjusting the field of view of the panoramic video to play the next video frame.

[0213] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0214] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0215] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for playing a panoramic video, characterized in that: include: Acquire a field of view center trajectory information set of a panoramic video to be played, wherein the field of view center trajectory information set includes at least one field of view center trajectory information, any of the field of view center trajectory information includes field of view center parameters of multiple video frames in the panoramic video, and any of the field of view center parameters is used to represent position information of the field of view center of the video frame in a panoramic plane corresponding to the panoramic video; Based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, predict the field of view angle information of the target user at the next moment, the target user is a user watching the panoramic video, the field of view angle trajectory information includes the actual field of view center parameter of at least one video frame played in the panoramic video, and the field of view angle information is used to represent the position information of the field of view center of the next video frame in the panoramic plane corresponding to the panoramic video; Based on the field of view angle information, the field of view of the panoramic video is adjusted to play the next video frame.

2. The method for playing panoramic video according to claim 1, characterized in that: The predicting the field of view angle information of the target user at the next moment based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set includes: Based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, determining the similarity results between the field of view angle trajectory information and each field of view center trajectory information in the field of view center trajectory information set; Based on the similarity results, determining target field of view center trajectory information similar to the field of view angle trajectory information from the field of view center trajectory information set; Based on the target visual field center trajectory information, the visual field center parameter of the current video frame in the visual field angle trajectory information is adjusted to predict the visual field angle information of the target user at the next moment.

3. The method for playing panoramic video according to claim 2, characterized in that: The similarity result between the field of view angle trajectory information and the j-th field of view center trajectory information in the field of view center trajectory information set is determined based on the average of at least one distance calculation result, the at least one distance calculation result is a distance calculation result corresponding to at least one first video frame, the number of frames of the at least one first video frame is not greater than the preset number of frames, the distance calculation result corresponding to any of the first video frames is determined based on the field of view center parameter of the first video frame in the field of view angle trajectory information and the field of view center parameter of the first video frame in the j-th field of view center trajectory information, and the distance calculation result corresponding to any of the first video frames is used to characterize the distance between two field of view centers; j is an integer greater than 0, and j is less than or equal to the number of field of view center trajectory information in the field of view center trajectory information set.

4. The method for playing panoramic video according to claim 2, characterized in that: The determining, based on each of the similarity results, target field of view center trajectory information similar to the field of view angle trajectory information from the field of view center trajectory information set includes: Based on the comparison results of each of the similarity results with the similarity threshold, at least one target field of view center trajectory information similar to the field of view angle trajectory information is determined from the field of view center trajectory information set, so as to adjust the field of view center parameters of the current video frame in the field of view angle trajectory information based on the at least one target field of view center trajectory information, and predict the field of view angle information of the target user at the next moment.

5. The method for playing panoramic video according to claim 4, characterized in that: The similarity threshold is calculated based on the following formula: In the formula, S t represents the similarity threshold, m represents the number of similarity results, S j represents the jth similarity result among the similarity results, S max is the similarity result representing the smallest similarity among the similarity results, and ε is a preset positive number.

6. The method for playing panoramic video according to claim 4, characterized in that: The adjusting the field of view center parameter of the current video frame in the field of view angle trajectory information based on the at least one target field of view center trajectory information to predict the field of view angle information of the target user at the next moment includes: Determine a horizontal field of view center adjustment amount and a vertical field of view center adjustment amount based on a field of view center parameter of a next video frame in the at least one target field of view center trajectory information, a field of view center parameter of a current video frame in the field of view angle trajectory information, and an adjustment weight corresponding to each target field of view center trajectory information; Based on the horizontal field of view center adjustment amount and the vertical field of view center adjustment amount, adjusting the field of view center parameter of the current video frame in the field of view angle trajectory information, and predicting the field of view angle information of the target user at the next moment; The horizontal field of view center adjustment amount is obtained by weighted aggregation of the horizontal field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weight corresponding to each target field of view center trajectory information; any of the horizontal field of view center sub-adjustments is the horizontal distance between the horizontal field of view center represented by the field of view center parameter of the next video frame in the target field of view center trajectory information and the horizontal field of view center represented by the field of view center parameter of the current video frame in the field of view angle trajectory information; The vertical field of view center adjustment amount is obtained by weighted aggregation of the vertical field of view center sub-adjustments corresponding to each target field of view center trajectory information based on the adjustment weight corresponding to each target field of view center trajectory information; any of the vertical field of view center sub-adjustments is the vertical distance between the vertical field of view center represented by the field of view center parameters of the next video frame in the target field of view center trajectory information and the vertical field of view center represented by the field of view center parameters of the current video frame in the field of view angle trajectory information.

7. The method for playing panoramic video according to claim 6, characterized in that: The adjustment weight corresponding to any of the target field of view center trajectory information is determined based on the following method: Determine the sum of the similarity ratios corresponding to the target visual field center trajectory information; Determining an adjustment weight corresponding to the target visual field center trajectory information based on a ratio of a similarity ratio corresponding to the target visual field center trajectory information and the sum value; Among them, the similarity ratio corresponding to any of the target field of view center trajectory information is determined based on the ratio of the square value of the similarity threshold to the target added value, and the target added value is the addition value of the similarity result corresponding to the target field of view center trajectory information and a preset compensation constant.

8. The method for playing panoramic video according to claim 1, characterized in that: Any field of view center trajectory information in the field of view center trajectory information set is generated based on the following method: Determine a horizontal field of view center offset and a vertical field of view center offset based on a posture change parameter of the virtual remote controller device; Based on the horizontal field of view center offset and the vertical field of view center offset, adjusting the field of view center parameter of the current video frame in the field of view center trajectory information to obtain the field of view center parameter of the next video frame; Based on the field of view center parameter of the next video frame, playing the next video frame, and adding the field of view center parameter of the next video frame to the field of view center trajectory information; Return to the step of determining the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote controller device until the posture change parameter is not obtained.

9. The method for playing panoramic video according to claim 8, characterized in that: The step of determining the horizontal field of view center offset and the vertical field of view center offset based on the posture change parameter of the virtual remote controller device includes: If a manual play instruction is received from the virtual remote controller, a horizontal field of view center offset and a vertical field of view center offset are determined based on the posture change parameter of the virtual remote controller; If an automatic play command is received from a virtual remote control device, and the field of view center parameters of at least one video frame in the panoramic video are missing from the field of view center trajectory information set, the horizontal field of view center offset and the vertical field of view center offset are determined based on the posture change parameters of the virtual remote control device.

10. The method for playing panoramic video according to claim 1, characterized in that: The step of obtaining the visual field center trajectory information set of the panoramic video to be played further includes: If an automatic play instruction sent by a virtual remote controller is received, and the field of view center parameter of each video frame in the panoramic video is present in the field of view center trajectory information set, field of view adjustment path information of the panoramic video is determined based on the field of view center trajectory information set, and the field of view adjustment path information includes the field of view center parameter of each video frame in the panoramic video; Based on the field of view adjustment path information, the field of view of the panoramic video is adjusted frame by frame, and the panoramic video is played frame by frame.

11. The method for playing panoramic video according to claim 10, characterized in that: The determining, based on the field of view center trajectory information set, field of view adjustment path information of the panoramic video includes: Based on the field of view center trajectory information set, determining a first field of view center parameter of each video frame in the panoramic video, wherein the first field of view center parameter of any of the video frames is determined based on a clustering analysis result of at least one field of view center parameter of the video frame in the field of view center trajectory information set; Smoothing each of the first field of view center parameters to obtain a second field of view center parameter of each video frame in the panoramic video; Based on each of the second field of view center parameters, field of view adjustment path information of the panoramic video is determined.

12. A panoramic video playback device, characterized in that: include: An acquisition module, used to acquire a field of view center trajectory information set of a panoramic video to be played, wherein the field of view center trajectory information set includes at least one field of view center trajectory information, any of which includes field of view center parameters of multiple video frames in the panoramic video, and any of which is used to represent position information of the field of view center of the video frame in a panoramic plane corresponding to the panoramic video; A prediction module, configured to predict the field of view information of the target user at the next moment based on the current field of view angle trajectory information of the target user and the field of view center trajectory information set, wherein the target user is a user viewing the panoramic video, the field of view angle trajectory information includes the actual field of view center parameters of at least one video frame played in the panoramic video, and the field of view angle information is used to represent the position information of the field of view center of the next video frame in the panoramic plane corresponding to the panoramic video; An adjustment module is used to adjust the field of view of the panoramic video based on the field of view angle information to play the next video frame.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the panoramic video playback method as described in any one of claims 1 to 11 is implemented.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for playing a panoramic video as described in any one of claims 1 to 11 is implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for playing a panoramic video as described in any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Trajectory prediction method and system based on panoramic view angle detection and tracking

    CN112785628A

  • View angle prediction method and device, equipment and storage medium

    CN114827750A

  • Method and device based on multi-user perspective prediction and code rate allocation

    CN115604478A

  • Stream pushing method and device for live panoramic video, medium and equipment

    CN115665503A

  • Video playing method and apparatus

    WO2019104533A1