# US 2021/0289186 A1 · Video processing method, electronic device, and non-transitory computer-readable medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0289186 A1
- Document ID: US20210289186A1
- Status: Published application
- Kind: A1
- Application number: 17/331,497
- Filed: 2021-05-26
- Published: 2021-09-16
- Earliest claimed: 2018-11-27
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Deliang PENG
- Web page: https://patentgrep.com/patent/US20210289186A1

## CPC

- H04N 21/41407: {embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop (constructional details of equipment or arrangements specially adapted for portable computer application G06F1/1626; arrangements specially adapted for mobile receivers in broadcast systems H04H20/57)}
- G06T 5/00: Image enhancement or restoration
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- H04N 9/77: Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase (circuits for matrixing H04N9/67)
- H04N 21/4312: {involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations}
- H04N 21/4318: {by altering the content in the rendering process, e.g. blanking, blurring or masking an image region (image enhancement or restoration in general G06T5/00)}
- H04N 21/44008: {involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream (arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- H04N 21/4402: involving reformatting operations of video signals for household redistribution, storage or real-time display {(details of conversion of video standards at pixel level H04N7/01; video transcoding H04N19/40; adapting incoming signals to the display format of the display terminal G09G5/005; media handling at the source in data packet switching networks H04L65/764)}
- H04N 21/4854: {for modifying image parameters, e.g. image brightness, contrast}
- H04N 21/84: Generation or processing of descriptive data, e.g. content descriptors {(systems specially adapted for using meta-information in broadcast systems H04H60/73)}
- H04N 21/8455: {involving pointers to the content, e.g. pointers to the I-frames of the video stream}
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- G06T 2207/10016: Video; Image sequence
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## 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

### Claim 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.

### Claim 2 (depends on 1)

The video processing method of claim 1, further comprising:
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.

### Claim 3 (depends on 2)

The video processing method of claim 2, 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.

### Claim 4 (depends on 3)

The video processing method of claim 3, 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.

### Claim 5 (depends on 3)

The video processing method of claim 3, 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.

### Claim 6 (depends on 5)

The video processing method of claim 5, 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 whether 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.

### Claim 7 (depends on 6)

The video processing method of claim 6, 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 whether the category of the scene content corresponding to the one keyframe is indoor or outdoor in response to the brightness of the current 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.

### Claim 8 (depends on 5)

The video processing method of claim 5, 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.

### Claim 9 (depends on 8)

The video processing method of claim 8, 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 image based on a predefined database or a machine learning algorithm.

### Claim 10 (depends on 8)

The method of claim 8, 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.

### Claim 11 (depends on 2)

The video processing method of claim 2, 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.

### Claim 12 (depends on 1)

The video processing 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.

### Claim 13 (depends on 1)

The video processing 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.

### Claim 14 (depends on 1)

The video processing 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.

### Claim 15 (depends on 14)

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

### Claim 16 (depends on 1)

The video processing 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.

### Claim 17 (depends on 1)

The video processing 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.

### Claim 18

An electronic device, comprising:
a screen;
at least one processor; and
at least one memory comprising program codes,
wherein the at least one memory and the program codes are 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.

### Claim 19 (depends on 18)

The electronic device of claim 18, further comprising:
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.

### Claim 20

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.
