DATA ENCODING METHOD AND APPARATUS, TERMINAL DEVICE AND COMPUTER READABLE STORAGE MEDIUM

    公开(公告)号:EP3651464A1

    公开(公告)日:2020-05-13

    申请号:EP18827343.7

    申请日:2018-05-14

    IPC分类号: H04N19/146 H04N19/114

    摘要: Embodiments of this application disclose a data coding method and apparatus, a storage device, and a terminal device that are applied to the field of information processing technologies. The method includes: determining, by a data transmitting-end, a length of a first bit-rate-control-unit data frame according to an actual requirement, determining a first target bit rate of a first bit-rate-control-unit, then adjusting the first target bit rate according to a first difference value between a real bit rate of a data frame of a previous bit-rate-control-unit (that is, a second bit-rate-control-unit) and a second target bit rate of the data frame of the previous bit-rate-control-unit, and coding the first bit-rate-control-unit data frame according to the adjusted first target bit rate. According to the embodiments of this application, the length of the first bit-rate-control-unit data frame can be flexibly set, and the first target bit rate is adjusted according to an actual coding case of the previous bit-rate-control-unit data frame, so that after the first bit-rate-control-unit is coded according to the adjusted first target bit rate, a requirement for a stable bit rate in any duration, particularly, in a short time, is satisfied.