# US 2019/0244029 A1 · Methods and systems for video processing

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

- Number: US 2019/0244029 A1
- Document ID: US20190244029A1
- Status: Published application
- Kind: A1
- Application number: 16/387,506
- Filed: 2019-04-17
- Published: 2019-08-08
- Earliest claimed: 2016-10-18
- Assignees: Zhejiang Dahua Technology Co., Ltd.
- Applicants: Zhejiang Dahua Technology Co., Ltd.
- Inventors: Xinchao CAO; Jucai LIN
- Web page: https://patentgrep.com/patent/US20190244029A1

## CPC

- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- H04N 19/114: Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames (H04N19/107 takes precedence)
- H04N 19/124: Quantisation
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/164: Feedback from the receiver or from the transmission channel
- H04N 19/172: the region being a picture, frame or field
- H04N 19/587: involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence
- H04N 19/89: involving methods or arrangements for detection of transmission errors at the decoder
- H04N 21/234381: {by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping}
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- H04N 21/64769: {for rate control (flow control in packet networks H04L47/10)}
- G06V 20/44: {Event detection}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for processing an online video stream may include determining a transmission performance of a network for a queue of video frames, wherein each video frame in the queue may be associated with a priority level. The method may also include determining a maximum discarding level based on the transmission performance of the network. The method may further include removing a target video frame of which the associated priority level is lower than or equal to the maximum discarding level from the queue.

## Claims

### Claim 1

A video processing system for processing an online video stream, comprising:
at least one camera, configured to generate a plurality of video frames;
at least one storage, configured to store the plurality of video frames in a form of a queue of video frames; and
one or more video processing devices, configured to communicate with a network and receive and process the queue of video frames,
wherein during operation, the one or more video processing devices:
determine a transmission performance of the network for the queue of video frames, each video frame in the queue associated with a priority level;
determine a maximum discarding level based on the transmission performance of the network; and
remove a target video frame of which the associated priority level is lower than or equal to the maximum discarding level from the queue.

### Claim 2 (depends on 1)

The video processing system of claim 1, wherein the priority level of each video frame in the queue is based at least on an interest level associated with a specified event scene included in that video frame, and the interest level represents a degree of attention to the specified event scene.

### Claim 3 (depends on 1)

The video processing system of claim 1, wherein the transmission performance of the network is indicated by a congestion level of the queue.

### Claim 4 (depends on 1)

The video processing system of claim 1, wherein the one or more video processing devices further:
obtain a current video frame;
upon determining that the current video frame is a dependently decodable video, obtain another video frame, wherein the another video frame and the current video frame belong to a same group of picture and the priority level that is associated with the another video frame is lower than the priority level of the current video frame;
change the priority level that is associated with the another video frame to the priority level of the current video frame; and
add the current video frame into the queue.

### Claim 5 (depends on 1)

The video processing system of claim 1, wherein to determine the transmission performance of the network, the one or more video processing devices further:
obtain a current video frame; and
upon determining that the current video frame is an independently decodable video frame, determine the transmission performance of the network.

### Claim 6 (depends on 1)

The video processing system of claim 1, wherein the one or more video processing devices further:
determine an initial level of a current video frame;
add the current video frame into the queue; and
label the priority level of the current video frame as the initial level of the current video frame.

### Claim 7

(canceled)

### Claim 8 (depends on 6)

The video processing system of claim 6, wherein to determine the initial level of the current video frame, the one or more video processing devices further:
determine whether the current video frame includes any specified event scene;
upon determining that the current video frame includes at least one specified event scene:
determine an interest level for each specified event scene of the at least one specified event scene; and
designate a highest interest level of the at least one specified event scene as the initial level of the current video frame.

### Claim 9 (depends on 5)

The video processing system of claim 5, wherein to obtain the current video frame, the one or more video processing devices further:
encode a candidate video frame based on an estimated encoded size of the candidate video frame; and
designate the encoded candidate video frame as the current video frame

### Claim 10 (depends on 9)

The video processing system of claim 9, wherein to encode the candidate video frame, the one or more video processing devices further:
estimate a complexity of the candidate video frame;
obtain a first quantization parameter for performing the encoding;
estimate whether a first encoded size of the candidate video frame exceeds a predetermined threshold based on the complexity of the candidate video frame and the first quantization parameter;
when the first encoded size exceeds the predetermined threshold:
determine a second quantization parameter, so that a second encoded size of the candidate video frame based on the second quantization parameter is lower than or equal to the predetermined threshold; and
encode the candidate video frame based on the second quantization parameter,
wherein the encoded size of the candidate video frame is the first encoded size or the second encoded size, wherein the candidate video frame is encoded as an independently decodable video frame.

### Claim at position 11

11-22. (canceled)

### Claim 23

A method configured to processing an online video stream, comprising:
determining, by at least one video processing device, a transmission performance of a network for a queue of video frames, each video frame in the queue associated with a priority level;
determining, by the at least one video processing device, a maximum discarding level based on the transmission performance of the network; and
removing, by the at least one video processing device from the queue, a target video frame of which the associated priority level is lower than or equal to the maximum discarding level.

### Claim 24 (depends on 23)

The method of claim 23, wherein the priority level of each video frame in the queue is based at least on an interest level associated with a specified event scene included in that video frame, and the interest level represents a degree of attention to the specified event scene.

### Claim 25

(canceled)

### Claim 26 (depends on 23)

The method of claim 23, further comprising:
obtaining a current video frame;
upon determining that the current video frame is a dependently decodable video, obtaining another video frame, wherein the another video frame and the current video frame belong to a same group of picture and the priority level that is associated with the another video frame is lower than the priority level of the current video frame;
changing the priority level that is associated with the another video frame to the priority level of the current video frame; and
adding the current video frame into the queue.

### Claim 27

(canceled)

### Claim 28 (depends on 23)

The method of claim 23, further comprising:
determining an initial level of a current video frame;
adding the current video frame into the queue; and
labeling the priority level of the current video frame as the initial level of the current video frame.

### Claim 29

(canceled)

### Claim 30 (depends on 28)

The method of claim 28, wherein the determining of the initial level of the current video frame includes:
determining whether the current video frame includes any specified event scene;
upon determining that the current video frame includes at least one specified event scene:
determining an interest level for each specified event scene of the at least one specified event scene; and
designating a highest interest level of the at least one specified event scene as the initial level of the current video frame.

### Claim at position 20

31-34. (canceled)

### Claim 35

A video processing system for encoding video streams, comprising:
at least one camera configured to generate a plurality of video frames; and
one or more video processing devices, configured to encode the plurality of video frames,
wherein during operation, the one or more video processing devices:
obtain a candidate video frame the plurality of video frames;
determine a complexity of the candidate video frame;
obtain a first quantization parameter for performing the encoding;
determine whether a first encoded size of the candidate video frame exceeds a predetermined threshold based on the complexity of the candidate video frame and the first quantization parameter;
when the first encoded size exceeds the predetermined threshold:
determine a second quantization parameter, so that a second encoded size of the candidate video frame based on the second quantization parameter is lower than or equal to the predetermined threshold; and
encode the candidate video frame based on the second quantization parameter.

### Claim 36 (depends on 35)

The video processing system of claim 35, wherein the complexity of the candidate video frame includes a sum of absolute differences (SAD) of the candidate video frame, and the complexity of the candidate video frame is determined based on an SAD of at least one preceding video frames.

### Claim 37 (depends on 35)

The video processing system of claim 35, wherein the one or more video processing devices further:
encode the candidate video frame based on the first quantization parameter when the first encoded size is lower than or equal to the predetermined threshold.

### Claim 38 (depends on 35)

The video processing system of claim 35, wherein the predetermined threshold is based on a network transmission rate and a maximum network transmission wait time.

### Claim 39 (depends on 35)

The video processing system of claim 35, wherein the candidate video frame is encoded as an independently decodable video frame.

### Claim 40 (depends on 39)

The video processing system of claim 39, wherein the one or more video processing devices further:
designate the encoded candidate video frame as a current video frame;
determine a transmission performance of a network for a queue of video frames, each video frame in the queue associated with a priority level;
determine a maximum discarding level based on the transmission performance of the network; and
remove, from the queue, target video frames of which the associated priority level is lower than or equal to the maximum discarding level.

### Claim at position 27

41-56. (canceled)
