Methods and systems for video processing
AssigneeZhejiang Dahua Technology Co., Ltd.
InventorsXinchao CAO, Jucai LIN
Life of this patent
Estimating the term…
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.
Claims20
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;
- and
- 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.
A method configured to encode video streams via at least one video processing device, comprising:
- determining, by the at least one video processing device, a complexity of a candidate video frame;
- obtaining, by the at least one video processing device, a first quantization parameter for performing the encoding;
- and
- determining, by the at least one video processing device, 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:
- determining, by the at least one video processing device, 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
- encoding, by the at least one video processing device, the candidate video frame based on the second quantization parameter.
A non-transitory computer readable medium, storing instructions, the instructions when executed by a processor, causing the processor to execute operations comprising:
- determining a complexity of a candidate video frame;
- obtaining a first quantization parameter for performing the encoding;
- determining 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:
- determining 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
- encoding the candidate video frame based on the second quantization parameter.
Dependencies are inferred from the claim text.