[go: up one dir, main page]

WO2010078758A1 - Procédé pour coder un signal vidéo - Google Patents

Procédé pour coder un signal vidéo Download PDF

Info

Publication number
WO2010078758A1
WO2010078758A1 PCT/CN2009/073589 CN2009073589W WO2010078758A1 WO 2010078758 A1 WO2010078758 A1 WO 2010078758A1 CN 2009073589 W CN2009073589 W CN 2009073589W WO 2010078758 A1 WO2010078758 A1 WO 2010078758A1
Authority
WO
WIPO (PCT)
Prior art keywords
macroblock
slice
video signal
frame
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2009/073589
Other languages
English (en)
Chinese (zh)
Inventor
马国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Temobi Science and Technology Co Ltd
Original Assignee
Shenzhen Temobi Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Publication of WO2010078758A1 publication Critical patent/WO2010078758A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Definitions

  • the present invention relates to video signal processing, and more particularly to a video signal encoding method.
  • Mobile wireless channels have the property of error-prone:.
  • the image compression after encoding by modern compression coding techniques such as H.264 is very small, which is particularly sensitive to packet loss and bit error.
  • the bit error rate of the wireless channel is related to factors such as the moving speed, the bit rate, the time span of the packet, and the packet size.
  • Table 1 exemplifies six application modes, which represent different motion speeds, bit rates, and time spans of packets. 6 possible application modes in wireless transmission
  • bit Error Ratio refers to the Bit Error Ratio.
  • BER refers to a bit error ratio (Bit Error Ratio)
  • BEP refers to a bit error pattern.
  • the bit error rate of the six modes increases almost linearly as the packet size increases (as the number of packets decreases). From the experiment of Fig. 1, reducing the size of the packet has a positive effect on the transmission efficiency.
  • the decision of the packet size is an important factor. People try to find a balance point, even if the rate distortion performance of the encoder is not significantly reduced, and a certain network passability can be obtained. This first requires the ability to arbitrarily control the size of the encoder output packet at the NAL layer.
  • Figure 2 shows the number of bits of each frame of image output encoded by the FOREMAN test sequence in a 120 kbps CBR (Constants Bit Rate). It can be seen that since the complexity of the video sequence in nature always fluctuates, and the coding modes of the individual frames are different, even if the code is coded according to the CBR mode, the number of bits generated per frame image is always larger. Fluctuations in magnitude. H.264 has designed the structure of the slice, allowing each frame of image to be cut into several slices, thus providing the conditions for the present invention. However, one of the challenges still to be solved is how to predict and control the size of each slice in real time and accurately. Summary of the invention
  • the technical problem to be solved by the present invention is that the size of the above-mentioned data packet for the prior art cannot dynamically control the defect that the redundant information is increased or the rate distortion performance is not balanced, and a video signal coding capable of dynamically controlling the size of the data packet is provided. method.
  • the technical solution adopted by the present invention to solve the technical problem thereof is: providing a video signal encoding method: analyzing the complexity of the previous macroblock in the current slice relative to the complexity of the already encoded macroblock in the entire slice, to predict the current Encoded macroblock "number of output bits b" ; if bicide exceeds G.8 - ⁇ m ), the current slice is cut off; if bicide does not exceed G .8 - ⁇ m ), continue to encode the macroblock ⁇ is the predicted NAL The number of bytes. ruler
  • the Qp ni S frame is the quantization parameter of the ith macroblock of the frame image
  • Q Pn is the normalized quantization parameter of the i th macroblock of the «th frame image.
  • the " 1.1.
  • the s min( , 1024).
  • the video signal coding method of the present invention has the following beneficial effects: the encoder can calculate the current bit rate, the frame rate, the NAL length under the network parameters, and count the complexity of the coded macroblock and the number of output bits, and predict the current in real time.
  • the complexity of the coded macroblock and the expected number of coded bits determine the slice cutoff condition, thereby controlling the size of the slice, and achieving an adaptive balance between the rate distortion performance and the bit error rate of the data packet.
  • Figure 1 is the relationship between the bit error rate and the packet length
  • 2 is a schematic diagram showing the fluctuation of the number of bits per frame of the FOREMAN 300 frame image
  • FIG. 3 is a flow chart of a video signal encoding method of the present invention. detailed description
  • the video signal encoding method of the present invention is designed to dynamically determine a target value of a packet size of each type of image, and then guide the workflow of the encoder, the method including (1) a NAL length prediction method and (2) Adaptive slice (Slice) cutoff method.
  • the NAL length prediction method is used to predict the current bit rate, frame rate, and NAL length under network parameters to balance the rate-distortion performance with the channel error rate.
  • the adaptive slice cutoff method is used for counting the complexity of the coded macroblock and the number of output bits, real-time predicting the complexity of the currently coded macroblock and the expected number of coded bits, and determining the slice cutoff condition, thereby controlling the slice size.
  • the target average code rate t the frame rate /, s be the number of bytes predicted by the corresponding image NAL, which are:
  • Equation 1 it is the adjustment factor, which is determined according to the type of image, the degree of image over-compression, and the like. Since the image compression loss basically occurs in the quantization stage, the RD (Rate Distortion) performance of the image can be roughly estimated using the quantization parameter values.
  • the quantization parameter of the macroblock is Qp ⁇ the quantization parameter of each macroblock of the previous frame image Fmme ⁇ is till -1>;
  • the quantization parameter is too high, it means that F rawegestion—, if the over-compression condition is serious, increase the size of NAL in F ra ⁇ admir (That is, the number of bits), thereby compensating for the rate-distortion performance; conversely, if the quantization parameter of F rawegestion ⁇ is low, meaning that the quality of Fra ⁇ is good, the size of the NAL (ie, the number of bits) in ⁇ is reduced, thereby Reduce the bit error rate in the channel and improve the network passability of the code stream.
  • the types of macroblocks of type I, P, and B are different, and the quantization strategy will be different.
  • the I picture as the motion reference source of the entire GOP needs to have the highest rate distortion performance, and its quantization parameter is generally 2 ⁇ 3 higher than the P picture ; P and B pictures also have a high reference value in time, and the quantization parameter is usually 2 higher than the B picture. So you can do similar normalization on Qp ⁇ :
  • Equation (3) ⁇ Value according to equation (3).
  • the model described by equation (3) has the advantage of small computation, simple and accurate.
  • 21 is almost the starting point of the quantization parameter at the low bit rate, and the encoder works at the low code rate. In the interval, it is hardly lower than 21.
  • the encoder works according to the bit number principle of the NAL analyzed above, that is, the larger the quantization parameter, the larger the distortion, and the NAL size is expanded to improve the rate distortion performance; the smaller the quantization parameter, the rate distortion performance quality. High, you can reduce the number of NAL bytes to reduce the network error rate.
  • the main idea of the method is to predict the number of output bits of the current coded macroblock by analyzing the complexity of the previous macroblock in the current slice relative to the complexity of the coded macroblock in the entire slice; Deadline.
  • the encoder can calculate the current bit rate, the frame rate, the NAL length under the network parameters, and calculate the complexity of the coded macroblock and the number of output bits, and predict the complexity of the current coded macroblock in real time.
  • the degree and the expected number of coded bits determine the condition of the slice cutoff, thereby controlling the size of the slice, and achieving an adaptive balance between the rate distortion performance and the bit error rate of the data packet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

L'invention concerne un procédé pour coder des informations vidéo qui comprend les étapes suivantes : dans la tranche présente, analyse du changement de la complexité du macrobloc (MB) précédent par rapport à la complexité des MB codés dans la tranche entière, prévision de la quantité produite de bits bn du MB codé actuel n, si bn a dépassé Formula (I), arrêt du codage de la tranche présente, si bn n'a pas dépassé Formula (I), poursuite du codage du MB; ledit s est la quantité d'octets NAL prévue.
PCT/CN2009/073589 2009-01-09 2009-08-28 Procédé pour coder un signal vidéo Ceased WO2010078758A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200910104867 CN101778296B (zh) 2009-01-09 2009-01-09 一种视频信号编码方法
CN200910104867.0 2009-01-09

Publications (1)

Publication Number Publication Date
WO2010078758A1 true WO2010078758A1 (fr) 2010-07-15

Family

ID=42316222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073589 Ceased WO2010078758A1 (fr) 2009-01-09 2009-08-28 Procédé pour coder un signal vidéo

Country Status (2)

Country Link
CN (1) CN101778296B (fr)
WO (1) WO2010078758A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949490A (en) * 1997-07-08 1999-09-07 Tektronix, Inc. Distributing video buffer rate control over a parallel compression architecture
WO2000046999A1 (fr) * 1999-02-03 2000-08-10 Sarnoff Corporation Selection de quantificateurs en fonction des complexites par region derivees au moyen d'un modele de distorsion de debit
US20070081590A1 (en) * 2005-10-04 2007-04-12 Stmicroelectronics Asia Pacific Pte Ltd Macro-block quantization reactivity compensation
WO2007143876A1 (fr) * 2006-06-09 2007-12-21 Thomson Licensing Procédé et dispositif de détermination adaptative d'un nombre de bits pour coder des images vidéo
CN101094411A (zh) * 2007-07-03 2007-12-26 芯瀚电子技术(上海)有限公司 一种视频编码的码率控制方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658673A (zh) * 2005-03-23 2005-08-24 南京大学 视频压缩编解码方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949490A (en) * 1997-07-08 1999-09-07 Tektronix, Inc. Distributing video buffer rate control over a parallel compression architecture
WO2000046999A1 (fr) * 1999-02-03 2000-08-10 Sarnoff Corporation Selection de quantificateurs en fonction des complexites par region derivees au moyen d'un modele de distorsion de debit
US20070081590A1 (en) * 2005-10-04 2007-04-12 Stmicroelectronics Asia Pacific Pte Ltd Macro-block quantization reactivity compensation
WO2007143876A1 (fr) * 2006-06-09 2007-12-21 Thomson Licensing Procédé et dispositif de détermination adaptative d'un nombre de bits pour coder des images vidéo
CN101094411A (zh) * 2007-07-03 2007-12-26 芯瀚电子技术(上海)有限公司 一种视频编码的码率控制方法

Also Published As

Publication number Publication date
CN101778296A (zh) 2010-07-14
CN101778296B (zh) 2012-05-30

Similar Documents

Publication Publication Date Title
CN102065302B (zh) 一种基于h.264的可伸缩视频编码方法
CN101895759B (zh) 一种h.264码率控制方法
CN103841418A (zh) 一种3g网络中视频监控器码率控制的优化方法及系统
CN101917614B (zh) 一种基于h.264分层b帧编码结构的码率控制方法
CN101455086A (zh) 对反向链路条件的视频速率自适应
CN101895758B (zh) 基于帧复杂度的h.264码率控制方法
WO2009121234A1 (fr) Procédé de contrôle de débit de code pour la compression vidéo
CN102932641A (zh) 一种恒定质量码率控制方法
CN101297555B (zh) 用于受限可变比特率视频编码的方法和装置
CN101867802A (zh) 一种基于编码器和缓存的两级码率控制方法
WO2014209493A1 (fr) Gestion d'état, pour une qualité de diffusion vidéo en continu, de la commande et de la récupération de dégradation d'expérience à l'aide d'une métrique de qualité vidéo
CN102625104B (zh) 一种视频编码方法
KR101482484B1 (ko) 멀티미디어 스트리밍을 위한 비디오 패킷 스케줄링 방법
CN102075784B (zh) 一种联合考虑压缩和丢包损伤条件下的视频质量评价方法
CN102752591B (zh) 基于综合因子的h.264码率控制方法
WO2014209494A1 (fr) Contrôle de la dégradation de la qualité d'expérience d'une diffusion de vidéo en continu au moyen d'une mesure de qualité vidéo
CN102158702B (zh) 自适应h.264码率控制方法
CN101184239A (zh) 一种恒定码率的控制方法
CN102271248B (zh) 一种基于权重窗口模型的h.264/avc宏块级码率控制算法
JP5212319B2 (ja) 符号化装置、符号化方法、および符号化プログラム
Kuo et al. Modeling and analysis of frame-level forward error correction for MPEG video over burst-loss channels
WO2010078758A1 (fr) Procédé pour coder un signal vidéo
CN101562497A (zh) 一种分级b帧的帧层速率控制方法及装置
CN115550655A (zh) 一种面向实时监控场景的码率控制方法
CN100448295C (zh) 一种低复杂度的积分码率控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09837316

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/11/11.

122 Ep: pct application non-entry in european phase

Ref document number: 09837316

Country of ref document: EP

Kind code of ref document: A1