IP Library Granted Patent US 12670651
Granted Patent B2
US 12670651 · App. 18/374,479 · Granted Jun 30, 2026

Video playing method and apparatus, electronic device, medium, and program product

Inventor: Jiaping Yuan (Shenzhen, CN)
Assignee: Tencent Technology (Shenzhen) Company Limited
G06T15/04G06T19/20G06T2200/24G06T2219/2016
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12670651
App. No.
18/374,479
Filed
Sep 28, 2023
Granted
Jun 30, 2026
Kind
B2
Examiner
DU, HAIXIA
Art Unit
2611
USPC
345/419
Abstract

In a method for displaying video, a first target surface of a geometric body on which a first target video is to be displayed is determined. Pixel point sets corresponding to respective video frames of the first target video are obtained. Each of the respective video frames is mapped to the first target surface based on a mapping relationship between position information of pixel points in the pixel point sets of the respective video frame and position information of a plurality of vertices on the first target surface. The respective video frames include a target video frame that is displayed on the first target surface based on the mapping of the target video frame to the first target surface. The first target video is displayed on the first target surface of the geometric body based on the mapping of the respective video frames to the first target surface.

Claims (72)

1 . A method for displaying video, the method comprising:

determining a first target surface of a geometric body on which a first target video is to be displayed;

obtaining pixel point sets corresponding to respective video frames of the first target video;

mapping the first target surface to a texture coordinate system to obtain a texture coordinate plane, each of a plurality of vertices on the first target surface corresponding to a respective texture coordinate on the texture coordinate plane based on a first mapping relationship;

adjusting picture dimensions of each of the respective video frames according to image dimensions of the texture coordinate plane such that each of a plurality of pixel points of the adjusted video frame corresponds to a respective texture coordinate on the texture coordinate plane based on a second mapping relationship;

mapping the plurality of pixel points of each of the adjusted respective video frames to the texture coordinate plane based on the second mapping relationship;

mapping the plurality of pixel points of each of the adjusted respective video frames on the texture coordinate plane to the first target surface based on the first mapping relationship, the respective video frames including a target video frame that is displayed on the first target surface based on the mapping of the target video frame to the first target surface; and

displaying the first target video on the first target surface of the geometric body based on the mapping of the respective video frames to the first target surface.

2 . The method according to claim 1 , wherein

the geometric body includes a plurality of target surfaces, each of the plurality of target surfaces being associated with a different target video, and

the determining the first target surface of the geometric body includes determining the first target surface based on a user input to play the first target video.

3 . The method according to claim 2 , wherein

the plurality of target surfaces includes at least one exterior surface of the geometric body and at least one interior surface of the geometric body.

4 . The method according to claim 1 , wherein the geometric body includes at least one candidate surface, and the method further comprises:

receiving a user selection of a second target surface from the at least one candidate surface;

mapping the second target surface to the texture coordinate system to obtain a second texture coordinate plane;

mapping a second target video associated with the second target surface to the second texture coordinate plane, and mapping the second target video on the second texture coordinate plane to the second target surface based on the received user selection of the second target surface; and

displaying the second target video on the second target surface of the geometric body based on the mapping of the second target video to the second target surface.

5 . The method according to claim 4 , wherein the receiving the user selection comprises:

receiving a user input to change an orientation of the geometric body; and

determining the second target surface based on the changed orientation of the geometric body.

6 . The method according to claim 5 , wherein

the first target surface of the geometric body includes a first one of an exterior surface and an interior surface of the geometric body, and

the second target surface of the geometric body includes a second one of the exterior surface or the interior surface of the geometric body.

7 . The method according to claim 1 , further comprising:

adjusting a display dimension of the first target video displayed on the first target surface based on a change to at least one of a size or an orientation of the geometric body.

8 . The method according to claim 7 , wherein the adjusting the display dimension comprises:

reducing the display dimension of the first target video displayed on the first target surface in response to a first user input;

increasing the display dimension of the first target video displayed on the first target surface in response to a second user input; and

changing an orientation of the first target video displayed on the first target surface in response to a third user input.

9 . A video processing apparatus, comprising:

processing circuitry configured to:

determine a first target surface of a geometric body on which a first target video is to be displayed;

obtain pixel point sets corresponding to respective video frames of the first target video;

map the first target surface to a texture coordinate system to obtain a texture coordinate plane, each of a plurality of vertices on the first target surface corresponding to a respective texture coordinate on the texture coordinate plane based on a first mapping relationship;

adjust picture dimensions of each of the respective video frames according to image dimensions of the texture coordinate plane such that each of a plurality of pixel points of the adjusted video frame corresponds to a respective texture coordinate on the texture coordinate plane based on a second mapping relationship;

map the plurality of pixel points of each of the adjusted respective video frames to the texture coordinate plane based on the second mapping relationship;

map the plurality of pixel points of each of the adjusted respective video frames on the texture coordinate plane to the first target surface based on the first mapping relationship, the respective video frames including a target video frame that is displayed on the first target surface based on the mapping of the target video frame to the first target surface; and

display the first target video on the first target surface of the geometric body based on the mapping of the respective video frames to the first target surface.

10 . The video processing apparatus according to claim 9 , wherein

the geometric body includes a plurality of target surfaces, each of the plurality of target surfaces being associated with a different target video, and

the processing circuitry is configured to determine the first target surface based on a user input to play the first target video.

11 . The video processing apparatus according to claim 10 , wherein

the plurality of target surfaces includes at least one exterior surface of the geometric body and at least one interior surface of the geometric body.

12 . The video processing apparatus according to claim 9 , wherein the geometric body includes at least one candidate surface, and the processing circuitry is configured to:

receive a user selection of a second target surface from the at least one candidate surface;

map the second target surface to the texture coordinate system to obtain a second texture coordinate plane;

map a second target video associated with the second target surface to the second texture coordinate plane, and map the second target video on the second texture coordinate plane to the second target surface based on the received user selection of the second target surface; and

display the second target video on the second target surface of the geometric body based on the mapping of the second target video to the second target surface.

13 . The video processing apparatus according to claim 12 , wherein the processing circuitry is configured to:

receive a user input to change an orientation of the geometric body; and

determine the second target surface based on the changed orientation of the geometric body.

14 . The video processing apparatus according to claim 13 , wherein

the first target surface of the geometric body includes a first one of an exterior surface and an interior surface of the geometric body, and

the second target surface of the geometric body includes a second one of the exterior surface or the interior surface of the geometric body.

15 . The video processing apparatus according to claim 9 , wherein the processing circuitry is configured to:

adjust a display dimension of the first target video displayed on the first target surface based on a change to at least one of a size or an orientation of the geometric body.

16 . The video processing apparatus according to claim 15 , wherein the processing circuitry is configured to:

reduce the display dimension of the first target video displayed on the first target surface in response to a first user input;

increase the display dimension of the first target video displayed on the first target surface in response to a second user input; and

change an orientation of the first target video displayed on the first target surface in response to a third user input.

17 . A non-transitory computer-readable storage medium storing instructions which, when executed by a processor, cause the processor to perform:

determining a first target surface of a geometric body on which a first target video is to be displayed;

obtaining pixel point sets corresponding to respective video frames of the first target video;

mapping the first target surface to a texture coordinate system to obtain a texture coordinate plane, each of a plurality of vertices on the first target surface corresponding to a respective texture coordinate on the texture coordinate plane based on a first mapping relationship;

adjusting picture dimensions of each of the respective video frames according to image dimensions of the texture coordinate plane such that each of a plurality of pixel points of the adjusted video frame corresponds to a respective texture coordinate on the texture coordinate plane based on a second mapping relationship;

mapping the plurality of pixel points of each of the adjusted respective video frames to the texture coordinate plane based on the second mapping relationship;

mapping the plurality of pixel points of each of the adjusted respective video frames on the texture coordinate plane to the first target surface based on the first mapping relationship, the respective video frames including a target video frame that is displayed on the first target surface based on the mapping of the target video frame to the first target surface; and

displaying the first target video on the first target surface of the geometric body based on the mapping of the respective video frames to the first target surface.

18 . The non-transitory computer-readable storage medium according to claim 17 , wherein

the geometric body includes a plurality of target surfaces, each of the plurality of target surfaces being associated with a different target video, and

the determining the first target surface of the geometric body includes determining the first target surface based on a user input to play the first target video.