IP Library › Granted Patent US 12,328,425
Granted Patent B2
US 12,328,425 · App. 17/387,594 · Granted Jun 10, 2025

Video coding method and video decoding method

Inventor: Dalong Li (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04N19/00G06T9/00H04L65/612H04N19/587H04N21/234G06T2207/10016G06T2207/20021H04L65/70
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 12,328,425
App. No.
17/387,594
Granted
Jun 10, 2025
Kind
B2
Abstract

This application relates to a video encoding method, computer-readable storage medium, and computer device. The method includes: obtaining video data, the video data including a plurality of original video images; processing the video data according to a sequence generation rule to obtain a plurality of independent subsequence video image groups, each of the subsequence video image groups including subsequence images corresponding to the sequence generation rule; obtaining encoding manners corresponding to the subsequence video image groups; and independently encoding the corresponding subsequence video image groups according to the encoding manners to obtain subsequence video encoded data corresponding to each of the subsequence video image groups.

Claims (61)

1. A video encoding method, applicable to a computer device, the method comprising:

obtaining video data, the video data comprising a plurality of original video images;

processing the video data according to a sequence generation rule to obtain a plurality of subsequence video image groups, each of the subsequence video image groups comprising subsequence images extracted from the original video images according to the sequence generation rule;

obtaining encoding manners corresponding to the subsequence video image groups;

encoding the corresponding subsequence video image groups according to the encoding manners to obtain corresponding subsequence video encoded data of the subsequence video image groups;

obtaining a target subsequence quantity representing a number of subsequence video image groups;

selecting target subsequence video image groups corresponding to the target subsequence quantity; and

combining subsequence video encoded data corresponding to the target subsequence video image groups to generate target encoded data,

wherein obtaining the target subsequence quantity comprises:

receiving a video request transmitted by a video requesting terminal, the video request carrying a requested subsequence quantity determined according to a network status of the video requesting terminal; and

determining the requested subsequence quantity as the target subsequence quantity.

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

adjusting the requested subsequence quantity according to a network status of a video transmitting terminal; and

determining the adjusted requested subsequence quantity as the target subsequence quantity.

3. The method according to claim 1 , wherein the sequence generation rule comprises a temporal generation rule, and wherein processing the video data according to the sequence generation rule comprises extracting the subsequence images from the original video images according to an extraction interval.

4. The method according to claim 3 , wherein processing the video data according to the sequence generation rule to obtain the plurality of subsequence video image groups comprises:

obtaining a total quantity of the subsequence video image groups;

obtaining a group identifier corresponding to each of the subsequence video image groups;

determining target subsequence image identifiers corresponding to each of the subsequence video image groups according to the total quantity of the subsequence video image groups and the group identifier corresponding to each of the subsequence video image groups; and

extracting the subsequence images corresponding to each of the subsequence video image groups from the original video images according to the target subsequence image identifiers corresponding to each of the subsequence video image groups and frame identifiers corresponding to the original video images.

5. The method according to claim 1 , wherein the sequence generation rule comprises a spatial generation rule, and wherein processing the video data according to the sequence generation rule comprises downsampling the original video images to obtain the subsequence images.

6. The method according to claim 5 , wherein processing the video data according to the sequence generation rule to obtain the plurality of subsequence video image groups comprises:

downsampling each of the original video images to obtain a video subframe set corresponding to each of the original video images, the video subframe set comprising a plurality of video subframes with the same resolution;

determining video subframe numbers corresponding to the plurality of video subframes in each of the video subframe sets according to the same rule; and

sequentially grouping, according to an order of the original video images, a plurality of video subframes with the same video subframe number corresponding to the original video images into the same subsequence video image group.

7. The method of claim 1 , wherein the plurality of subsequence video image groups are independent to each other, and the corresponding subsequence video image groups are encoded independently.

8. A non-transitory computer-readable storage medium, storing at least one computer program, the at least one computer program, when executed by at least one processor, causing the at least one processor to perform the steps comprising:

obtaining video data, the video data comprising a plurality of original video images;

processing the video data according to a sequence generation rule to obtain a plurality of subsequence video image groups, each of the subsequence video image groups comprising subsequence images extracted from the original video images according to the sequence generation rule;

obtaining encoding manners corresponding to the subsequence video image groups; and

encoding the corresponding subsequence video image groups according to the encoding manners to obtain corresponding subsequence video encoded data of the subsequence video image groups;

obtaining a target subsequence quantity representing a number of subsequence video image groups;

selecting target subsequence video image groups corresponding to the target subsequence quantity; and

combining subsequence video encoded data corresponding to the target subsequence video image groups to generate target encoded data,

wherein obtaining the target subsequence quantity comprises:

receiving a video request transmitted by a video requesting terminal, the video request carrying a requested subsequence quantity determined according to a network status of the video requesting terminal; and

determining the requested subsequence quantity as the target subsequence quantity.

9. The non-transitory computer-readable storage medium of claim 8 , wherein the plurality of subsequence video image groups are independent to each other, and the corresponding subsequence video image groups are encoded independently.

10. A computer device, comprising at least one memory and at least one processor, the at least one memory storing at least one computer program, the computer program, when executed by the at least one processor, causing the at least one processor to perform operations of the method of claim 1 .

11. A video encoding method, applicable to a computer device, the method comprising:

obtaining video data, the video data comprising a plurality of original video images;

processing the video data according to a sequence generation rule to obtain a plurality of subsequence video image groups, each of the subsequence video image groups comprising subsequence images extracted from the original video images according to the sequence generation rule;

obtaining encoding manners corresponding to the subsequence video image groups;

encoding the corresponding subsequence video image groups according to the encoding manners to obtain corresponding subsequence video encoded data of the subsequence video image groups,

wherein the sequence generation rule comprises a spatial generation rule, and wherein processing the video data according to the sequence generation rule to obtain a plurality of subsequence video image groups comprises:

downsampling each of the original video images to obtain a video subframe set corresponding to each of the original video images, the video subframe set comprising a plurality of video subframes with the same resolution;

determining video subframe numbers corresponding to the plurality of video subframes in each of the video subframe sets according to the same rule; and

sequentially grouping, according to an order of the original video images, a plurality of video subframes with the same video subframe number corresponding to the original video images into the same subsequence video image group.

12. The method according to claim 11 , wherein after obtaining the corresponding subsequence video encoded data of the subsequence video image groups, the method further comprises:

obtaining a target subsequence quantity representing a number of subsequence video image groups;

selecting target subsequence video image groups corresponding to the target subsequence quantity; and

subsequence video combining encoded data corresponding to the target subsequence video image groups to generate target encoded data.

13. The method according to claim 12 , wherein obtaining the target subsequence quantity comprises:

receiving a video request transmitted by a video requesting terminal, the video request carrying a requested subsequence quantity determined according to a network status of the video requesting terminal; and

determining the requested subsequence quantity as the target subsequence quantity.

14. The method according to claim 13 , further comprising:

adjusting the requested subsequence quantity according to a network status of a video transmitting terminal; and

determining the adjusted requested subsequence quantity as the target subsequence quantity.

15. The method of claim 11 , wherein the plurality of subsequence video image groups are independent to each other, and the corresponding subsequence video image groups are encoded independently.

16. A non-transitory computer-readable storage medium, storing at least one computer program, the at least one computer program, when executed by at least one processor, causing the at least one processor to perform operations of the method of claim 11 .

17. A computer device, comprising at least one memory and at least one processor, the at least one memory storing at least one computer program, the computer program, when executed by the at least one processor, causing the at least one processor to perform operations of the method of claim 11 .

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE ATTORNEY DOCKET NO. FROM 514935.500739 TO 514935.5000739 PREVIOUSLY RECORDED AT REEL: 057009 FRAME: 0911. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jul 30, 2021
From: LI, DALONG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 057038/0313 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 28, 2021
From: LI, DALONG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 057009/0911 →
Priority Claims (1)
CN 201910426978.7 · May 22, 2019 · national
Continuity (2)
Continuation PCTCN2020090143 · May 14, 2020
Related Publication 20210360047A1 · Nov 18, 2021
References Cited (28)
US 9621930B2 · Noh · 2017 [cited by examiner]
US 10425661B2 · Stepin et al. · 2019 [cited by applicant]
US 10869048B2 · Mao et al. · 2020 [cited by applicant]
US 10951818B2 · Wang · 2021 [cited by examiner]
US 12003701B2 · Wang · 2024 [cited by examiner]
US 20060050787A1 · Winger · 2006 [cited by examiner]
US 20140213353A1 · Lee · 2014 [cited by examiner]
US 20180324355A1 · Wang · 2018 [cited by examiner]
US 20200099968A1 · Zhu · 2020 [cited by examiner]
US 20200128271A1 · Tanner · 2020 [cited by examiner]
US 20200177913A1 · Zhu · 2020 [cited by examiner]
US 20200382793A1 · Gao et al. · 2020 [cited by applicant]
CN 1756358A · 2006 [cited by applicant]
CN 102006479A · 2011 [cited by applicant]
CN 102724560A · 2012 [cited by applicant]
CN 105103554A · 2015 [cited by applicant]
CN 108521869A · 2018 [cited by applicant]
CN 108848381A · 2018 [cited by applicant]
CN 108924592A · 2018 [cited by applicant]
CN 109068169A · 2018 [cited by applicant]
CN 109151481A · 2019 [cited by applicant]
CN 110049336A · 2019 [cited by applicant]
WO WO2004112398A1 · 2004 [cited by applicant]
WO WO2020233483A1 · 2020 [cited by applicant]
International Search Report and Written Opinion for priority application No. PCT/CN2020/090143, dated Aug. 12, 2020, 10p, in Chinese Language. [cited by applicant]
English language translation of the International Search Report for priority application No. PCT/CN2020/090143, dated August 12, 2020, 3p. [cited by applicant]
First Office Action and Search Report for Chinese application No. CN 201910426978.7, dated Dec. 13, 2019, 8p, in Chinese Language. [cited by applicant]
Second Office Action and Search Report for Chinese application No. CN 2019104269787, dated April 22, 2020, 5p, in Chinese language. [cited by applicant]