IP Library › Granted Patent US 11,601,630
Granted Patent B2
US 11,601,630 · App. 17/331,497 · Granted Mar 7, 2023

Video processing method, electronic device, and non-transitory computer-readable medium

Inventor: Deliang Peng (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N9/77G06V20/46H04N21/4312H04N21/44008H04N21/4854
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 11,601,630
App. No.
17/331,497
Granted
Mar 7, 2023
Kind
B2
Abstract

A video processing method is for an electronic device including a screen. The method includes obtaining a target video segment, the target video segment being one of a plurality of video segments pre-divided according to an obtained video file scheduled for playing; configuring a video enhancement parameter for the target video segment; performing a video enhancement process on the target video segment according to the video enhancement parameter; and displaying the enhanced target video segment on the screen. An electronic device and a non-transitory computer-readable medium are also provided.

Claims (80)

1. A video processing method, for an electronic device, the electronic device comprising a screen, the method comprising:

obtaining a target video segment, the target video segment being one of a plurality of video segments pre-divided according to an obtained video file scheduled for playing;

configuring a video enhancement parameter for the target video segment;

performing a video enhancement process on the target video segment according to the video enhancement parameter; and

displaying the enhanced target video segment on the screen;

wherein the method further comprises:

obtaining the video file scheduled for playing;

obtaining a plurality of keyframes of the video file scheduled for playing; and

dividing the video file scheduled for playing into the plurality of video segments according to the plurality of keyframes, wherein each of the video segments comprises one of the plurality of keyframes and comprises non-keyframes between the one of the plurality of keyframes and a next keyframe; and

wherein the configuring the video enhancement parameter for the target video segment comprises:

configuring the video enhancement parameter for the target video segment according to one keyframe corresponding to the target video segment.

2. The method of claim 1 , wherein the configuring the video enhancement parameter for the target video segment according to the one keyframe corresponding to the target video segment comprises:

obtaining a category of the one keyframe corresponding to the target video segment; and

obtaining, based on the category of the one keyframe corresponding to the target video segment and a predefined corresponding relationship of the category and the video enhancement parameter, the video enhancement parameter corresponding to the one keyframe.

3. The method of claim 1 , wherein the configuring the video enhancement parameter for the target video segment according to the one keyframe corresponding to the target video segment comprises:

obtaining the one keyframe corresponding to the target video segment;

determining scene content corresponding to the one keyframe; and

configuring the video enhancement parameter for the target video segment according to the scene content of the one keyframe.

4. The method of claim 3 , wherein the video enhancement parameter comprises a brightness parameter, and the configuring the video enhancement parameter for the target video segment according to the scene content of the one keyframe comprises:

determining a category of the scene content corresponding to the one keyframe is indoor or outdoor;

configuring a first brightness parameter for the target video segment in response to the category being indoor; and

configuring a second brightness parameter for the target video segment in response to the category being outdoor, wherein the first brightness parameter is used for setting a brightness of the target video segment as a first brightness value, the second brightness parameter is used for setting the brightness of the target video segment as a second brightness value, and the first brightness value is greater than the second brightness value.

5. The method of claim 4 , wherein the configuring the video enhancement parameter for the target video segment according to the scene content of the one keyframe comprises:

obtaining a brightness of current environmental light of the electronic device;

determining the category of the scene content corresponding to the one keyframe is indoor or outdoor in response to the brightness of the environmental light being lower than a predefined brightness value;

configuring a third brightness parameter for the target video segment in response to the category being indoor; and

configuring a fourth brightness parameter for the target video segment in response to the category being outdoor, wherein the third brightness parameter is used for setting the brightness of the target video segment as a third brightness value, the fourth brightness parameter is used for setting the brightness of the target video segment as a fourth brightness value, and the third brightness value is greater than the fourth brightness value.

6. The method of claim 3 , wherein the video enhancement parameter comprises a filter effect parameter, and the configuring the video enhancement parameter for the target video segment according to the scene content of the one keyframe comprises:

obtaining weather information corresponding to the scene content in response to the category being outdoor; and

configuring the filter effect parameter for the target video segment according to the weather information.

7. The method of claim 6 , wherein the obtaining the weather information corresponding to the scene content comprises:

obtaining a scene image in the scene content; and

determining the weather information corresponding to the scene content based on a predefined database or a machine learning algorithm.

8. The method of claim 6 , further comprising:

obtaining an architectural style corresponding to the scene content in response to the category being outdoor; and

configuring the filter effect parameter for the target video segment according to the architectural style.

9. The method of claim 1 , wherein the dividing the video file scheduled for playing into the plurality of video segments according to the plurality of keyframes comprises:

obtaining a play time point corresponding to each of the plurality of the keyframes; and

dividing the video file scheduled for playing into the plurality of video segments based on the play time point corresponding to each of the plurality of the keyframes.

10. The method of claim 1 , wherein the configuring the video enhancement parameter for the target video segment comprises:

obtaining description information of the target video segment; and

obtaining the video enhancement parameter according to the description information.

11. The method of claim 1 , wherein the configuring the video enhancement parameter for the target video segment comprises:

obtaining identification of the target video segment; and

obtaining, based on the identification of the target video segment and a predefined corresponding relationship of the identification and the video enhancement parameter, the video enhancement parameter corresponding to the identification of the target video segment.

12. The method of claim 1 , wherein the performing the video enhancement process on the target video segment according to the video enhancement parameter comprises:

performing an image parameter optimization on the target video segment according to the video enhancement parameter, wherein the image parameter optimization is used for optimizing video quality of the target video segment.

13. The method of claim 12 , wherein the image parameter optimization comprises at least one of exposure enhancement, noise reduction, edge sharpness, contrast enhancement, and saturation increment.

14. The method of claim 1 , further comprising:

obtaining the video file scheduled for playing; and

dividing the video file scheduled for playing into the plurality of video segments according to a predefined time interval.

15. The method of claim 1 , further comprising:

obtaining the video file scheduled for playing, the video file scheduled for playing comprising a plurality of sub-video files which are sequentially merged; and

dividing the video file scheduled for playing into the plurality of video segments according to the plurality of sub-video files.

16. An electronic device, comprising:

a screen;

at least one processor; and

at least one memory including program codes;

the at least one memory and the program codes configured to, with the at least one processor, cause the electronic device to perform:

obtaining a target video segment, the target video segment being one of a plurality of video segments pre-divided according to an obtained video file scheduled for playing;

configuring a video enhancement parameter for the target video segment;

performing a video enhancement process on the target video segment according to the video enhancement parameter; and

displaying the enhanced target video segment on the screen;

wherein the at least one memory and the program codes are configured to, with the at least one processor, cause the electronic device to further perform:

obtaining the video file scheduled for playing;

obtaining a plurality of keyframes of the video file scheduled for playing; and

dividing the video file scheduled for playing into the plurality of video segments according to the plurality of keyframes, wherein each of the video segments comprises one of the plurality of keyframes and comprises non-keyframes between the one of the plurality of keyframes and a next keyframe; and

wherein the configuring the video enhancement parameter for the target video segment comprises:

configuring the video enhancement parameter for the target video segment according to one keyframe corresponding to the target video segment.

17. A non-transitory computer-readable medium, comprising program instructions stored thereon for performing at least the following:

obtaining a target video segment, the target video segment being one of a plurality of video segments pre-divided according to an obtained video file scheduled for playing;

configuring a video enhancement parameter for the target video segment;

performing a video enhancement process on the target video segment according to the video enhancement parameter; and

displaying the enhanced target video segment on the screen;

wherein the program instructions are configured for further performing:

obtaining the video file scheduled for playing;

obtaining a plurality of keyframes of the video file scheduled for playing; and

dividing the video file scheduled for playing into the plurality of video segments according to the plurality of keyframes, wherein each of the video segments comprises one of the plurality of keyframes and comprises non-keyframes between the one of the plurality of keyframes and a next keyframe; and

wherein the configuring the video enhancement parameter for the target video segment comprises:

configuring the video enhancement parameter for the target video segment according to one keyframe corresponding to the target video segment.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 26, 2021
From: PENG, DELIANG
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 056364/0341 →
Priority Claims (1)
CN 201811429225.3 · Nov 27, 2018 · national
Continuity (2)
Continuation PCTCN2019109117 · Sep 29, 2019
Related Publication 20210289186A1 · Sep 16, 2021