Video playing method and device, electronic equipment, medium and computer program product

By obtaining and playing the coordinate set of viewing paths in the video image library, the video image frame sequence corresponding to the viewing path is directly played, which solves the problem of insufficient freedom of space position of free viewing video clip playback in the existing technology, and realizes all-round viewing playback and improve user experience.

CN118921530APending Publication Date: 2024-11-08MIGU VIDEO TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411035936.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing video editing methods are mainly based on the timeline dimension, and it is difficult to achieve all-round view editing and playback of free-view videos, and lack the freedom of spatial position.

Method used

By obtaining and playing the coordinate set of viewing paths in the video image library, the video image frame sequence corresponding to the viewing path is directly obtained, and all-round viewing playback of free viewing videos is realized, avoiding the traditional editing and stitching process.

Benefits of technology

It realizes all-round viewing playback of free-perspective videos, increases the creative space of editors, and improves user experience and playback flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921530A_ABST
    Figure CN118921530A_ABST
Patent Text Reader

Abstract

The invention discloses a video playing method and device, electronic equipment, a medium and a computer program product. The method comprises the following steps: acquiring at least one view angle path coordinate set for representing a first edited video; under the condition that a playing instruction for the first edited video is received, obtaining a first video image frame sequence corresponding to at least one first view angle path coordinate set from a video image library; and playing the first video image frame sequence. According to the embodiment of the invention, omnibearing playing of the free view angle video can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The existing video editing method performs editing according to the time axis dimension of ordinary videos, where each clip is composed of a time segment, or each clip is composed of the addition of multiple time segments.

[0003] Compared with traditional two-dimensional video editing, editors only have one degree of freedom: time. Free-viewpoint video adds two more degrees of freedom (center and diameter) to describe spatial position, so the space available for editors to use their creativity increases exponentially. How to achieve full-viewpoint editing and playback of free-viewpoint video is a technical problem that needs to be solved. Summary of the invention

[0004] The embodiments of the present invention provide a video playback method, device, electronic device, medium and computer program product to solve the problem of how to implement full-view editing and playback of free-view videos.

[0005] In a first aspect, an embodiment of the present invention provides a video playback method, including:

[0006] Acquire at least one first perspective path coordinate set for representing a first clip video;

[0007] Upon receiving a play instruction for the first clip video, acquiring a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library;

[0008] The first video image frame sequence is played.

[0009] In some optional embodiments, obtaining a first perspective path coordinate set for representing the first clip video includes:

[0010] Establish a free-viewpoint video editing model;

[0011] Applying the video editing model to a target scene to obtain a scene-based target editing template;

[0012] The target editing template is instantiated to obtain the first viewing path coordinate set for representing the first editing video.

[0013] In some optional embodiments, each of the first perspective path coordinate sets includes: n perspective path coordinates corresponding to n moments one by one, one of the perspective path coordinates is associated with a video image frame at a moment at a perspective, and n is a positive integer.

[0014] In some optional embodiments, when the first clip video corresponds to a plurality of the first viewing path coordinate sets, the playing of the first video image frame sequence includes:

[0015] The first video image frame sequence corresponding to each first viewing path coordinate set is played in sequence according to a preset order.

[0016] In some optional embodiments, the video playback method further includes:

[0017] When the free-viewpoint video is played to the target moment, a first play link is displayed, wherein the first play link is associated with the first clip video;

[0018] receiving a first input of the user for the first play link;

[0019] In response to the first input, it is determined that a play instruction for the first clip video is received.

[0020] In some optional embodiments, the video playback method further includes:

[0021] During the playing of the first video image frame sequence, at least one play link is displayed on the play interface, each play link corresponding to a second clip video from a user's perspective;

[0022] receiving a second input from a user regarding a target play link in the at least one play link;

[0023] In response to the second input, a second video image frame sequence corresponding to a second perspective path coordinate set is acquired from a video image library; wherein the second perspective path coordinate set is used to represent the second clipped video from a user's perspective;

[0024] The second video image frame sequence is played.

[0025] In a second aspect, an embodiment of the present invention further provides a video playback device, including:

[0026] A first acquisition module, used to acquire at least one first viewing angle path coordinate set for representing a first clip video;

[0027] A second acquisition module is used to acquire a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library when receiving a play instruction for the first clip video;

[0028] A playing module is used to play the first video image frame sequence.

[0029] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the video playback method described above.

[0030] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the video playback method as described above are implemented.

[0031] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps in the video playback method as described above.

[0032] In the embodiment of the present invention, the electronic device obtains at least one first perspective path coordinate set for representing a first clip video; upon receiving a play instruction for the first clip video, obtains a first video image frame sequence corresponding to at least one first perspective path coordinate set from a video image library; and plays the first video image frame sequence. In this way, the 2D video image frame sequence corresponding to the perspective path coordinate set is directly obtained and played without the need for traditional video clipping and splicing processes, so that the omni-directional perspective playback of a clip video can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0034] Figure 1 is a flow chart of a video playback method provided by an embodiment of the present invention;

[0035] Figure 2 is a schematic diagram of a video editing model provided by an embodiment of the present invention;

[0036] Figure 3 is a schematic diagram of a viewing angle path provided by an embodiment of the present invention;

[0037] Figure 4 is one of the schematic diagrams of the playback interface provided by the embodiment of the present invention;

[0038] Figure 5 is one of the schematic diagrams of the playback interface provided by the embodiment of the present invention;

[0039] Figure 6 is a structural diagram of a video playback device provided by an embodiment of the present invention;

[0040] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments 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.

[0042] See also Figure 1 , Figure 1 is a flow chart of a video playback method provided by an embodiment of the present invention. Figure 1 As shown, the following steps are included:

[0043] Step 101: Obtain at least one first viewing angle path coordinate set for representing a first clip video.

[0044] Among them, the first perspective path coordinate set can reflect the sequential changes in time and the change path of the perspective.

[0045] Optionally, the first perspective path coordinate set includes: n perspective path coordinates corresponding to n moments one by one, one perspective path coordinate is associated with a video image frame at a moment under a perspective, and n is a positive integer. The n moments refer to a total of n consecutive moments from moment T1 to moment Tn.

[0046] For example, the first-person perspective path coordinate set Among them, the view path coordinates Indicates the path starting point of a clip video. Indicates the end point of a free viewpoint video path, "∽" represents the viewpoint path, and "{}" represents the coordinate set from the path start point to the path end point. Among them, t1 is the time corresponding to the start point of the viewpoint path, (x1, y1, z1) are the coordinates of the center point where multiple cameras focus in the shooting site at time t1, is the direction vector from the center point coordinate to the center point of the video image frame at time t1; n is the time corresponding to the end point of the viewing path, (x n ,y n , zn ) is t n The coordinates of the center point where multiple cameras are focused at all times in the shooting venue. t n The direction vector from the center point coordinates to the center point of the video image frame at any moment.

[0047] It should be noted that if the first video clip includes multiple first perspective path coordinate sets, the perspective paths corresponding to each first perspective path coordinate set should be different, and belong to the video splicing under multiple different perspective paths. For example, for a certain sports event, for multiple different perspective paths, the first perspective path coordinate set corresponding to each perspective path can be obtained, and the multiple first perspective path coordinate sets can be spliced ​​in a certain order to represent the first video clip.

[0048] For example, for the same football match, the perspective path of director A generates a first perspective path coordinate set A, the perspective path of star B generates a first perspective path coordinate set B, and the perspective path of internet celebrity C generates a first perspective path coordinate set C. The first clip video corresponding to the football match can be represented by at least one of the first perspective path coordinate set A, the first perspective path coordinate set B, and the first perspective path coordinate set C.

[0049] For example, for the same basketball game, a professional director can generate three first-person perspective path coordinate sets, which are used to represent the video clips corresponding to the top view free throw, the left view free throw, and the right view free throw. The three first-person perspective path coordinate sets correspond to different perspective paths, and are used to represent the videos of the same sports event under different perspective paths.

[0050] Step 102: upon receiving a play instruction for the first clip video, obtaining a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library.

[0051] The video image library includes two-dimensional video image frames collected by each camera in the application scene.

[0052] As an exemplary application scenario, if a user searches for a video of a sports game V through an application in an electronic device, a play link for a first clip video of the sports game V is displayed on the display interface of the electronic device; an input operation for the play link is received from the user; in response to the input operation, it is determined that a play instruction for the first clip video has been received; and the electronic device obtains a first video image frame sequence corresponding to the at least one first perspective path coordinate set from a video image library.

[0053] Step 103: Play the first video image frame sequence.

[0054] In specific implementation, according to the first-view path coordinate set, it is necessary to fetch video image frames from the video image library for playback. For example, for the first-view path coordinate set Playing the corresponding two-dimensional video image frame data according to time is the process of playing the clipped video.

[0055] It should be pointed out that the caching of relevant data in the video image library can solve the multi-source access problem of edited videos through the multi-level caching capabilities of the database.

[0056] In the above embodiment, by pre-acquiring at least one first perspective path coordinate set for representing the first video clip, when a playback instruction for the first video clip is received, the two-dimensional video image frame sequence corresponding to each perspective path coordinate in the first perspective path coordinate set is directly obtained for playback, thereby realizing full-view playback under one perspective path without the need for traditional video editing and splicing processes.

[0057] In some optional embodiments, in the above step 102, obtaining at least one first viewing angle path coordinate set for representing the first clip video includes:

[0058] Establish a free-viewpoint video editing model;

[0059] Applying the video editing model to a target scene to obtain a scene-based target editing template;

[0060] The target editing template is instantiated to obtain the first viewing path coordinate set for representing the first editing video.

[0061] Among them, the video editing model includes: a spherical model, the spherical model uses the center point coordinates focused by multiple cameras as the center of the sphere; a spherical vector located in the spherical model, the spherical vector is a direction vector pointing from the center point coordinates to the center point of the video image frame.

[0062] For example, Figure 2 In the video editing model, the perspective of the free-viewpoint video is abstracted into a moving spherical model. In the court plane A, the center point of A is (0, 0, 0), there is a sphere with the center position coordinates (x, y, z), and the center plane is B. Through the spherical vector is the direction vector from the spherical center coordinate to the center point of the 2D video viewed from a certain perspective of the user. It can be understood that through the spherical vector Able to calibrate the center point of a 2D video viewed from a certain viewing angle.

[0063] Among them, the center position and spherical vector at different times The size of can represent the view path coordinates at different moments, and based on the view path, the video image frame at a certain view angle at that moment can be obtained.

[0064] It is understandable that when the coordinates of the center points of the multiple cameras set in the application scene change, the ball model can move in all directions in the plane of the court, which may form the following Figure 3 The corresponding viewing path shown View path coordinates Indicates the starting point of a clip video path. Indicates the end point of a clip video path, “∽” represents the viewing path, and “{}” represents the coordinate set from the path start point to the path end point.

[0065] Optionally, the target scene may include, but is not limited to: various sports events (such as football, basketball, table tennis, volleyball, etc.), stage plays, concerts, variety shows, etc.

[0066] When it is implemented specifically, Figure 3 The video editing model shown is applied to a specific scene to generate a scene-based video editing template, that is, the video editing model is scene-based to generate a scene-based video editing template. It should be pointed out that different video editing templates are the best viewing angle paths designed by professional directors. Moreover, for different application scenarios, directors of different professions are required to design video editing templates, and fixed video editing templates can adapt to all scenes of the same type. For example, a video editing template designed for a football match is suitable for all football matches.

[0067] For example, according to different sports types, it can be divided into basketball, football, etc. According to specific sports events, video editing templates can be generated. Taking basketball as an example, it can be divided into three-point shots, two-point shots, free throws, etc. It is assumed that according to professional director classification, free throws can be designed into the following three video editing templates: editing templates corresponding to top view free throws, editing templates corresponding to left view free throws, and editing templates corresponding to right view free throws.

[0068] For example, for the same sports event, such as a free kick in football, video editing templates designed by different professionals or celebrities can be launched for large and small screens of terminals, such as a video editing model from the perspective of a sports commentator, a video editing template from the perspective of a star, a video editing model from the perspective of a network celebrity, etc., to enrich the means and methods of content operation.

[0069] In a specific implementation, the method of instantiating the target editing template and obtaining the first viewing path coordinate set for representing the first editing video includes:

[0070] Each professional sports director watches a free-viewpoint video for a certain video editing model on an electronic device, and simultaneously records a corresponding viewpoint path coordinate set, thereby generating a viewpoint path coordinate set for representing the video editing.

[0071] For example, in the 15-second time period from time t1 to time t2, basketball player A took a free throw. A professional basketball director designed three viewing paths, including:

[0072] A first-view path coordinate set S1 corresponding to the top-view free throw;

[0073] The second perspective path coordinate set S2 corresponding to the free throw of the left view;

[0074] The third-view path coordinate set S3 corresponding to the right view free throw.

[0075] It should be noted that each view path should have a unique view path coordinate set. Since the fixed video clip template is suitable for all scenes of the same type, in order to prevent the generated clips from having content problems, the editor needs to conduct manual review after the clip video is generated.

[0076] In some optional embodiments, when the first clip video corresponds to a plurality of the first viewing path coordinate sets, the playing of the first video image frame sequence includes:

[0077] The first video image frame sequence corresponding to each first viewing path coordinate set is played in sequence according to a preset order.

[0078] For example, for the sports event of basketball player A taking a free throw, the following three perspective path coordinate sets corresponding to the first clip video can be obtained: the first perspective path coordinate set S1 corresponding to the top view free throw, the second perspective path coordinate set S2 corresponding to the left view free throw, and the third perspective path coordinate set S3 corresponding to the right view free throw.

[0079] If the three perspective path coordinate sets of a free throw of the above-mentioned sports player A are to be connected, data can be retrieved from the video image library in sequence according to the preset sequence of the three sets for playback. For example, curly brackets are used to indicate the continuous playback of multiple non-continuous videos: {S1+S2+S3}.

[0080] In this embodiment, the method of directly taking data from the original multi-view screen for video playback can avoid the traditional splicing process of video editing, that is, there is no need to store the edited video separately before playing it like the original two-dimensional video editing. When S1 is played, S2 and S3 can be played continuously.

[0081] In some optional embodiments, the video playback method further includes:

[0082] When the free-viewpoint video is played to the target moment, a first play link is displayed, wherein the first play link is associated with the first clip video;

[0083] receiving a first input of the user for the first play link;

[0084] In response to the first input, it is determined that a play instruction for the first clip video is received.

[0085] It should be noted that this embodiment is applied to a scenario where the first clip video corresponds to a first perspective path coordinate set, that is, the first clip video is only a perspective path, for example, a perspective path corresponding to a top view free throw.

[0086] It should be pointed out that when watching a free-viewpoint video, the user can adjust the playback perspective through the four-directional arrow controls displayed on the viewing interface. However, when the user is playing the first clip video, the perspective is fixed and the viewing perspective cannot be adjusted.

[0087] For example, when the user is watching the free-viewpoint video to the target moment, the first play link corresponding to the first clip video under the target user's perspective (such as the perspective of a sports event commentator) will be displayed in the upper right corner of the screen; if the user clicks the corresponding first play link at this time, the corresponding first clip video will start playing. It should be pointed out that the process of playing the first video image frame sequence is the execution of playing the first clip video.

[0088] For example, Figure 4 In the football live broadcast, the playback link a under the viewing angle of target user A (such as a sports commentator) is displayed at time T1, the playback link b under the viewing angle of target user B (such as a celebrity) is displayed at time T2, and the playback link c under the viewing angle of target user C (such as a network celebrity) is displayed at time T3; wherein each playback link corresponds to a clip video under a viewing angle path.

[0089] The above-mentioned embodiments can facilitate users to select and watch clipped videos under different perspective paths while watching free perspective videos, thereby increasing flexibility and improving user experience.

[0090] In some optional embodiments, the video playback method further includes:

[0091] During the playing of the first video image frame sequence, at least one play link is displayed on the play interface, each play link corresponding to a second clip video from a user's perspective;

[0092] receiving a second input from a user regarding a target play link in the at least one play link;

[0093] In response to the second input, a second video image frame sequence corresponding to a second perspective path coordinate set is acquired from a video image library; wherein the second perspective path coordinate set is used to represent the second clipped video from a user's perspective;

[0094] The second video image frame sequence is played.

[0095] The first clip video and the second clip video may be clip videos obtained under different viewing paths for the same sports event. For example, for the sports event of a free throw by a sports player A, the first clip video is a clip video corresponding to the free throw from the top view, and the second clip video is a clip video corresponding to the free throw from the right view. For example, for the sports event of a free throw by a sports player A, the first clip video is a clip video from the viewing perspective of a star F, and the second clip video is a clip video from the viewing perspective of a sports director G. The second clip videos from different user perspectives are different, that is, the viewing paths corresponding to different users are different.

[0096] For example, when the user autonomously watches the first video clip to the target moment, multiple playback links of the second video clips from multiple user perspectives (such as the perspective of a sports event commentator, a star, a web celebrity, etc.) will be displayed in the upper right corner of the screen; if the user clicks the corresponding target playback link at this time, the second video clip corresponding to the target playback link will start to play. It should be noted that the process of playing the second video image frame sequence is the execution of the playback of the second video clip.

[0097] For example, Figure 5 In the process of football live broadcast, three playback links d, e, and f from the viewing perspectives of target user D (such as a sports commentator), target user E (such as a star), and target user F (such as an internet celebrity) are displayed on the screen respectively, so that users can switch to the clipped videos under different viewing perspectives based on the playback links.

[0098] The above embodiments can facilitate users to select and watch video clips under different viewing angles, thereby increasing flexibility and improving user experience.

[0099] See also Figure 6 The embodiment of the present application further provides a video playback device 600, including:

[0100] A first acquisition module 601 is used to acquire at least one first viewing angle path coordinate set for representing a first clip video;

[0101] A second acquisition module 602 is configured to acquire, from a video image library, a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets when receiving a play instruction for the first clip video;

[0102] The playing module 603 is configured to play the first video image frame sequence.

[0103] Optionally, the first acquisition module 601 is specifically configured to:

[0104] Establish a free-viewpoint video editing model;

[0105] Applying the video editing model to a target scene to obtain a scene-based target editing template;

[0106] The target editing template is instantiated to obtain at least the first viewing path coordinate set for representing the first editing video.

[0107] Optionally, the first viewing path coordinate set includes: n viewing path coordinates corresponding one-to-one to n moments, one viewing path coordinate is associated with a video image frame at a viewing angle at a moment, and n is a positive integer.

[0108] Optionally, when the first clip video corresponds to a plurality of first viewing path coordinate sets, the playing module 603 is specifically configured to:

[0109] The first video image frame sequence corresponding to each first viewing path coordinate set is played in sequence according to a preset order.

[0110] Optionally, the video playback device 600 further includes:

[0111] A first processing module, configured to display a first play link when playing the free viewpoint video to a target moment, wherein the first play link is associated with the first clip video;

[0112] A first user input module, used to receive a first input of the user on the first play link;

[0113] The third acquisition module is used to determine, in response to the first input, that a play instruction for the first clipped video is received.

[0114] Optionally, the video playback device 600 further includes:

[0115] A second processing module, configured to display at least one play link on a play interface during the playing of the first video image frame sequence, each play link corresponding to a second clip video from a user's perspective;

[0116] A second user input module, used to receive a second input from a user on a target play link in the at least one play link;

[0117] a fourth acquisition module, configured to acquire, in response to the second input, from a video image library a second video image frame sequence corresponding to a second perspective path coordinate set; wherein the second perspective path coordinate set is used to represent the second clipped video from a user's perspective;

[0118] The playing module 603 is further configured to play the second video image frame sequence.

[0119] The video playback device 600 provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0120] like Figure 7 As shown, in order to better achieve the above purpose, Figure 7 As shown, an embodiment of the present invention further provides an electronic device, including:

[0121] A processor 700; and a memory 720 connected to the processor 700 via a bus interface, wherein the memory 720 is used to store programs and data used by the processor 700 when performing operations, and the processor 700 calls and executes the programs and data stored in the memory 720.

[0122] The transceiver 710 is connected to the bus interface and is used to receive and send data under the control of the processor 700; the processor 700 is used to read the program in the memory 720 to implement the following steps:

[0123] Acquire at least one first perspective path coordinate set for representing a first clip video;

[0124] Upon receiving a play instruction for the first clip video, acquiring a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library;

[0125] The first video image frame sequence is played.

[0126] Among them, Figure 7In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 700 and various circuits of memory represented by memory 720 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 710 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different terminals, the user interface 730 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0127] The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 can store data used by the processor 700 when performing operations.

[0128] Optionally, the processor 700 is further configured to read a program in the memory 720 to implement the following steps:

[0129] Establish a free-viewpoint video editing model;

[0130] Applying the video editing model to a target scene to obtain a scene-based target editing template;

[0131] The target editing template is instantiated to obtain the first viewing path coordinate set for representing the first editing video.

[0132] Optionally, the first viewing path coordinate set includes: n viewing path coordinates corresponding one-to-one to n moments, one viewing path coordinate is associated with a video image frame at a viewing angle at a moment, and n is a positive integer.

[0133] Optionally, when the first clip video corresponds to a plurality of the first view path coordinate sets, the processor 700 is further configured to read a program in the memory 720 to implement the following steps:

[0134] The first video image frame sequence corresponding to each first viewing path coordinate set is played in sequence according to a preset order.

[0135] Optionally, the processor 700 is further configured to read a program in the memory 720 to implement the following steps:

[0136] When the free-viewpoint video is played to the target moment, a first play link is displayed, wherein the first play link is associated with the first clip video;

[0137] receiving a first input of the user for the first play link;

[0138] In response to the first input, it is determined that a play instruction for the first clip video is received.

[0139] Optionally, the processor 700 is further configured to read a program in the memory 720 to implement the following steps:

[0140] During the playing of the first video image frame sequence, at least one play link is displayed on the play interface, each play link corresponding to a second clip video from a user's perspective;

[0141] receiving a second input from a user regarding a target play link in the at least one play link;

[0142] In response to the second input, a second video image frame sequence corresponding to a second perspective path coordinate set is acquired from a video image library; wherein the second perspective path coordinate set is used to represent the second clipped video from a user's perspective;

[0143] The second video image frame sequence is played.

[0144] The electronic device provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0145] In addition, the computer-readable storage medium of the embodiment of the present invention is used to store a computer program, and the computer program can be executed by a processor to implement the steps of the above video playback method.

[0146] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0147] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0148] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0149] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit 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 some steps of the sending and receiving method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0150] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A video playback method, characterized in that: include: Acquire at least one first perspective path coordinate set for representing a first clip video; Upon receiving a play instruction for the first clip video, acquiring a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library; The first video image frame sequence is played.

2. The method according to claim 1, characterized in that The obtaining of at least one view path coordinate set for representing the first clip video includes: Establish a free-viewpoint video editing model; Applying the video editing model to a target scene to obtain a scene-based target editing template; The target editing template is instantiated to obtain at least one first viewing path coordinate set for representing the first editing video.

3. The method according to claim 1, characterized in that Each of the first viewing path coordinate sets includes: n viewing path coordinates corresponding to n moments one by one, one of the viewing path coordinates is associated with a video image frame at a viewing angle at a moment, and n is a positive integer.

4. The method according to claim 1, characterized in that In a case where the first clip video corresponds to a plurality of the first viewing path coordinate sets, the playing of the first video image frame sequence includes: The first video image frame sequence corresponding to each first viewing path coordinate set is played in sequence according to a preset order.

5. The method according to claim 1, characterized in that The method further comprises: When the free-viewpoint video is played to the target moment, a first play link is displayed, wherein the first play link is associated with the first clip video; receiving a first input of the user for the first play link; In response to the first input, it is determined that a play instruction for the first clip video is received.

6. The method according to claim 1, characterized in that The method further comprises: During the playing of the first video image frame sequence, at least one play link is displayed on the play interface, each play link corresponding to a second clip video from a user's perspective; receiving a second input from a user regarding a target play link in the at least one play link; In response to the second input, a second video image frame sequence corresponding to a second perspective path coordinate set is acquired from a video image library; wherein the second perspective path coordinate set is used to represent the second clipped video from a user's perspective; The second video image frame sequence is played.

7. A video playback device, characterized in that: include: A first acquisition module, used to acquire at least one first viewing angle path coordinate set for representing a first clip video; A second acquisition module is used to acquire a first video image frame sequence corresponding to at least one of the first viewing path coordinate sets from a video image library when receiving a play instruction for the first clip video; A playing module is used to play the first video image frame sequence.

8. An electronic device, comprising: A transceiver, a memory, a processor and a computer program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the video playback method as described in any one of claims 1 to 6.

9. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed by a processor, the steps in the video playing method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the video playing method according to any one of claims 1 to 6.