Method and rate controller for controlling output bitrate of a video encoder

    公开(公告)号:US10574996B2

    公开(公告)日:2020-02-25

    申请号:US15960176

    申请日:2018-04-23

    申请人: AXIS AB

    摘要: A method of controlling output bitrate of a video encoder encoding a video sequence. The method comprises setting a long-term bit budget for a time period of at least one day for output of the video encoder, and determining a first allowable bitrate based on the long-term bit budget. The method further comprises determining an instantaneous bit restriction for output of the video encoder, and determining a second allowable bitrate based on the instantaneous bit restriction. Output bitrate is controlled based on the first allowable bitrate and the second allowable bitrate, such that the long-term bit budget, the first allowable bitrate and the second allowable bitrate are complied with. The method may be performed in a non-transitory computer-readable medium having instruction stored thereon. The method may also be performed by a bitrate controller. The bitrate controller may be found in a camera and a network video recorder.

    METHOD, DEVICE AND SYSTEM FOR METHOD OF ENCODING A SEQUENCE OF FRAMES IN A VIDEO STREAM

    公开(公告)号:US20190306525A1

    公开(公告)日:2019-10-03

    申请号:US16361475

    申请日:2019-03-22

    申请人: Axis AB

    摘要: The present teachings relate to the field of video encoding. In particular, the present teachings relate to a method, device, and system for encoding a sequence of frames wherein a motion level of image data of an initial frame in the sequence of frames is determined to be below a motion level threshold. The encoding method described herein may reduce the bit rate for the encoded sequence of frames, while avoiding that the encoded video stream looks unnatural or frozen when decoded and displayed.

    Video encoder and a method in a video encoder

    公开(公告)号:US10334267B2

    公开(公告)日:2019-06-25

    申请号:US15894438

    申请日:2018-02-12

    申请人: Axis AB

    发明人: Viktor Edpalm

    摘要: A video encoder receives a frame to be encoded and divides the current frame into blocks of pixels. For each block, a spatial variability is calculated and a cost function used to evaluate a cost for inter-coding the block of pixels is set to be dependent on the spatial variability. A ratio of a weight associated with a cost of encoding a motion vector and a weight associated with a sum of differences value is set to be lower if the spatial variability of the block of pixels in the current frame is below a first threshold compared to if the spatial variability is equal to or above the first threshold. The block is matched with a plurality of blocks in a reference frame, and a cost for inter-coding the block with reference to each of the plurality of blocks in a reference frame is evaluated according to the cost function.

    METHOD AND ENCODER FOR ENCODING A VIDEO STREAM IN A VIDEO CODING FORMAT SUPPORTING AUXILIARY FRAMES

    公开(公告)号:US20190116371A1

    公开(公告)日:2019-04-18

    申请号:US16163387

    申请日:2018-10-17

    申请人: Axis AB

    摘要: A method and an encoder for encoding a video stream in a video coding format supporting auxiliary frames, where such auxiliary frames, in conjunction with the frames that reference the auxiliary frames, can be used to for rate control, in that the image data of the auxiliary frames comprises a down scaled version of an image data captured by a video capturing device, and that motion vectors of the frame referring to the auxiliary frame are calculated/determined to scale up the down scaled version of the image data to again have the intended resolution.

    METHOD AND ENCODER SYSTEM FOR DETERMINING GOP LENGTH FOR ENCODING VIDEO

    公开(公告)号:US20180270482A1

    公开(公告)日:2018-09-20

    申请号:US15921302

    申请日:2018-03-14

    申请人: Axis AB

    摘要: A method of determining a maximum permissible key frame distance for use in encoding image frames in a video sequence comprising encoding a plurality of video test sequences, each video test sequence having a respective noise level, where each video test sequence is encoded using a respective quantization parameter and a plurality of key frame distances is disclosed. For each video test sequence, an output bitrate is determined for each key frame distance. For each combination of noise level, quantization parameter, and key frame distance, the determined output bitrate is stored and a maximum key frame distance at which output bitrate decreases in response to an increase in key frame distance is identified as maximum permissible key frame distance. A method of encoding image frames in a video sequence is also disclosed, as well as a system, a camera and a computer program product for performing the methods.