Method and encoder system for encoding video

    公开(公告)号:US10979711B2

    公开(公告)日:2021-04-13

    申请号:US15816538

    申请日:2017-11-17

    申请人: Axis AB

    摘要: A method for encoding video is disclosed wherein information representative of pixels in an image frame is received, and a spatial statistical measure of said information is calculated for groups of neighbouring pixels to form a group value for each group of pixels. A set of available quantization steps is determined comprising a first predetermined quantization step. For a first group of neighbouring pixels, the method comprises: for each available quantization step calculating a remainder after division of the group value of the first group of pixels by the respective available quantization step. The quantization step of the set that results in the smallest remainder is selected as selected quantization step. The first group of pixels is encoded using the selected quantization step. A method of encoding differences between image frames is also disclosed, as well as encoding systems.

    METHOD AND ENCODER SYSTEM FOR ENCODING VIDEO

    公开(公告)号:US20180146196A1

    公开(公告)日:2018-05-24

    申请号:US15816538

    申请日:2017-11-17

    申请人: Axis AB

    IPC分类号: H04N19/124 H04N19/182

    摘要: A method for encoding video is disclosed wherein information representative of pixels in an image frame is received, and a spatial statistical measure of said information is calculated for groups of neighbouring pixels to form a group value for each group of pixels. A set of available quantization steps is determined comprising a first predetermined quantization step. For a first group of neighbouring pixels, the method comprises: for each available quantization step calculating a remainder after division of the group value of the first group of pixels by the respective available quantization step. The quantization step of the set that results in the smallest remainder is selected as selected quantization step. The first group of pixels is encoded using the selected quantization step. A method of encoding differences between image frames is also disclosed, as well as encoding systems.

    Method and system for encoding video with overlay

    公开(公告)号:US11070833B2

    公开(公告)日:2021-07-20

    申请号:US16452431

    申请日:2019-06-25

    申请人: Axis AB

    摘要: Encoding video data comprises receiving an image sequence comprising first and second input image frames, adding an overlay, thereby generating first and second generated image frames, and encoding a video stream containing output image frames with and without overlay. The first input image frame is encoded as an intra-frame to form a first output image frame. The second input image frame is encoded as an inter-frame with reference to the first output image frame to form a second output image frame. The generated image frames are encoded as inter-frames with reference to the first and second output image frames to form first and second overlaid output image frames. A first part of the second generated image frame is encoded with reference to the first overlaid output image frame, and a second part of the second generated image frame is encoded with reference to the second output image frame.

    Method, controller, and system for encoding a sequence of video frames

    公开(公告)号:US10972724B2

    公开(公告)日:2021-04-06

    申请号:US16425569

    申请日:2019-05-29

    申请人: Axis AB

    摘要: A method, a controller, and a system for encoding a sequence of video frames captured by a camera mounted to a moving object. The method comprises receiving input indicating an amount of movement of the camera, receiving input regarding a predetermined distance, and selecting between intra-coding and inter-coding of the video frames of the sequence based on the amount of movement of the camera and the predetermined distance, such that the camera moves at most the predetermined distance between capturing video frames which are intra-coded.

    METHOD AND RATE CONTROLLER FOR CONTROLLING OUTPUT BITRATE OF A VIDEO ENCODER

    公开(公告)号:US20180309998A1

    公开(公告)日:2018-10-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 AND BITRATE CONTROLLER FOR CONTROLLING OUTPUT BITRATE OF A VIDEO ENCODER

    公开(公告)号:US20200374527A1

    公开(公告)日:2020-11-26

    申请号:US16863245

    申请日:2020-04-30

    申请人: Axis AB

    摘要: A method of controlling output bitrate of a video encoder encoding a video sequence comprises: setting an allowable average bitrate, gathering encoding data by encoding video during a first time period and for each of a plurality of time intervals, storing a respective output bitratet, and a quantisation parameter used for encoding during the respective time interval. For each time interval, the output bitrate is normalised by calculating a corresponding normalised bitrate estimated for a predetermined nominal quantisation parameter as a function of the output bitrate and the quantisation parameter. An average normalised bitrate is calculated by averaging the normalised bitrates of the plurality of time intervals. A new quantisation parameter is calculated based on a comparison of the average normalised bitrate and the allowable average bitrate. The video sequence is encoded using the new quantisation parameter during a second time period subsequent to the first time period.

    METHOD AND A DEVICE FOR MANAGING ENCODED IMAGE FRAMES IN A DATA BUFFER

    公开(公告)号:US20240163456A1

    公开(公告)日:2024-05-16

    申请号:US18503393

    申请日:2023-11-07

    申请人: Axis AB

    摘要: An improved method of managing encoded image frames in a data buffer is presented. Encoded image frames are buffered, for example in a pre-event buffer, in such a way that all stored, e.g., buffered, encoded image frames can be retrieved from the data buffer as a decodable video sequence and such that only those encoded image frames needed for obtaining a decodable video sequence having a pre-defined recording time may be stored in the data buffer. This may be referred to as pruning the data buffer in such a way that all stored encoded image frames can be retrieved from the data buffer as a decodable video sequence having a pre-defined recording time. Thereby, only the encoded image frames needed for generating the video sequence may be stored in the data buffer. Consequently, no extra space for storage of an extra GOP is needed in the data buffer.