CN1406072A - Video-frequency compressed code ratio control method - Google Patents

Video-frequency compressed code ratio control method Download PDF

Info

Publication number
CN1406072A
CN1406072A CN 01130703 CN01130703A CN1406072A CN 1406072 A CN1406072 A CN 1406072A CN 01130703 CN01130703 CN 01130703 CN 01130703 A CN01130703 A CN 01130703A CN 1406072 A CN1406072 A CN 1406072A
Authority
CN
China
Prior art keywords
code check
threshold value
frame
continuously
surpass
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.)
Granted
Application number
CN 01130703
Other languages
Chinese (zh)
Other versions
CN1294757C (en
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.)
Weisu Sci & Tech Co Ltd Beijing
Original Assignee
Weisu Sci & Tech Co Ltd Beijing
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 Weisu Sci & Tech Co Ltd Beijing filed Critical Weisu Sci & Tech Co Ltd Beijing
Priority to CNB01130703XA priority Critical patent/CN1294757C/en
Publication of CN1406072A publication Critical patent/CN1406072A/en
Application granted granted Critical
Publication of CN1294757C publication Critical patent/CN1294757C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Based on the code rate controlled by the first order distortion model, the feedback mechanism is added in the invention in order to change the target code rate, making the code rate control more accurate and the calcualting speed of the first order model quicker. Using statistical frame loss history averages the interval of the frame loss. Meanwhile, when frame loss happens, the user is allowed choosing the trade-off decision between the image quality and the frame rate by referencing the magnitude of the quantization factor. The invention possesses the advantages of fast speed, high accuracy as well as smooth change of the image quality compressed.

Description

Video-frequency compressed code ratio control method
The present invention relates to accurately control fast in a kind of video compression the method for code check.
Because video coding is relevant with content, the data volume of the frame that compressed can change, and the data volume (code check) in the unit interval just has fluctuation like this.And in actual applications, when especially video flowing transmits, need constant code check.The principle of Rate Control be exactly utilize a kind of Mathematical Modeling come by current known user specify code check and the compression bit number recomputate the quantizing factor of next frame, thereby change the bit number behind the coding, reach the purpose of control code check.
At present the reasonable method of Rate Control is the gradability Rate Control strategy (SRC) that proposes among the MPEG4, this mode to the effect that utilize the second order rate-distortion model, and Rate Control is refine on each piece or the macro block.The shortcoming of this method is that computing is too complicated, realizes difficulty.
For solving problems of the prior art, the present invention proposes the rate control algorithm that a kind of operand is few and control precision is high.
Below method of the present invention is made an explanation:
(1) the present invention utilizes single order rate-distortion model R=X1*S*Q** (1), wherein R represents the encoded data volume that obtains (bit number), and X1 is the model coefficient of first order, and S is current genuine complexity, MAD represents with the average absolute value difference, and Q is the quantizing factor that soon needs.
1. initial model coefficient X1;
2. calculate the target bit rate of present frame:
3. calculating quantizing factor;
4. renewal model parameter.
Above-mentioned 4 steps describe in the mpeg 4 standard document, except: use the single order rate-distortion model;
Step 2 middle finger constant bit rate can change, (2) explanation below of change method;
(2) 1. count initialized device count=0, target bit rate rising counter count_up=1, target bit rate reduces counter count_down=-1, and target bit rate=user specifies code check;
2. intact frame comparison actual bit rate of every compression and user specify code check, if the former greatly then count add 1, if the latter greatly then count subtract 1;
3. if count is greater than N *Count_up, wherein N is a specified threshold value, refers generally to be decided to be 15, count_up adds 1, count=0, and: if count_down<-1, then target bit rate is re-set as the user and specifies code check *(1+Alpha), general Alpha=0.05, count down=-1 simultaneously; Otherwise target bit rate adds current target bit rate *Beta, general Beta=0.10;
4. if count is less than N *Count_down, wherein N is a specified threshold value, refers generally to be decided to be 15, count_down subtracts 1, count=0, and: if count_up>1, then target bit rate is re-set as the user and specifies code check *(1-Alpha), general Alpha=0.05, count_up=1 simultaneously; Otherwise target bit rate subtracts the current goal code check *Beta, general Beta=0.10;
(3) interval of statistics frame losing, the interval of two frames remains between average frame losing positive and negative 1 frame at interval, and frame losing is influenced by current quantizing factor:
1. if the interval between a present frame and the last coded frame subtracts 1 then lose this frame less than the equispaced;
2. if the interval between a present frame and the last coded frame equals the equispaced and adds 1 then coding;
3. when other situation: if current quantizing factor has surpassed a certain specified threshold value, code check has surpassed the appointment code check simultaneously, then abandons this frame.This threshold value control is lost trading off between video quality and the frame losing, suggestion value 31 when code check is low.
This method utilization feedback changes target bit rate, tend towards stability in shorter time through the evidence Rate Control, and the code check fluctuation is littler; Because frame losing is average, make that also the video visual effect is better simultaneously; At last, the single order rate-distortion model operand of employing is little, and speed is faster.

Claims (5)

1. method that improves rate control accuracy and speed in the video compression, its feature comprises:
(a) adopt feedback strategy to change the current goal code check, use be higher than continuously or be lower than continuously specify code check frame number as feedback data.
(b) interval of average frame losing.
(c) with the size of quantizing factor as one of condition of frame losing.
2. according to the method described in the claim 1 (a), it is characterized in that adjusting the target bit rate of user's appointment according to the historical record of code check.Surpass some threshold value T1 if surpass the frame number of specifying code check continuously, then reduce and specify code check; Surpass threshold value T2 if be lower than the frame number of specifying code check continuously, then increase and specify code check.Threshold value T1 and T2 can dynamically adjust.
3. in claim 2, recording more satisfactory initial threshold (T1 and T2 are suitable for simultaneously, down together) according to test is 1/2 of frame per second, and when equidirectional variation each time, threshold value doubles.Equidirectional variation refers to if last this is to surpass continuously because surpass continuously that the frame number of code check surpasses threshold value, all is to change threshold value because of being lower than code check continuously more than perhaps double.
4. according to the method described in the claim 1 (b), it is characterized in that controlling the interval of frame losing, make interval between two frames between positive and negative 1 frame of equispaced according to the historical record of frame losing.
5. according to the method described in the claim 1 (c), it is characterized in that being provided with the threshold value of a quantizing factor, only just allow frame losing during greater than this threshold value at current quantizing factor.
CNB01130703XA 2001-08-21 2001-08-21 Video-frequency compressed code ratio control method Expired - Fee Related CN1294757C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB01130703XA CN1294757C (en) 2001-08-21 2001-08-21 Video-frequency compressed code ratio control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB01130703XA CN1294757C (en) 2001-08-21 2001-08-21 Video-frequency compressed code ratio control method

Publications (2)

Publication Number Publication Date
CN1406072A true CN1406072A (en) 2003-03-26
CN1294757C CN1294757C (en) 2007-01-10

Family

ID=4670080

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB01130703XA Expired - Fee Related CN1294757C (en) 2001-08-21 2001-08-21 Video-frequency compressed code ratio control method

Country Status (1)

Country Link
CN (1) CN1294757C (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100425079C (en) * 2006-08-07 2008-10-08 浙江大学 Method of controlling rate of video compression code based on query table in low memory consumption
CN100481943C (en) * 2006-12-30 2009-04-22 清华大学 Method for control video frequency coding rate
CN100515021C (en) * 2006-12-30 2009-07-15 中国科学院计算技术研究所 Image quality and constrained code rate based JPEG2000 code rate control method
CN100515068C (en) * 2006-05-23 2009-07-15 中国科学院声学研究所 Static frame loss method in video playing
CN101252689B (en) * 2008-02-29 2010-08-25 杭州爱威芯科技有限公司 Self-adapting code rate control method
CN102075739A (en) * 2010-09-15 2011-05-25 深圳市九洲电器有限公司 Method and device for smoothly playing fast-forward/fast-rewind played network videos
CN101292551B (en) * 2005-09-14 2011-06-15 株式会社Ntt都科摩 Wireless base station and method for transmitting data common to users
CN101632308B (en) * 2007-03-14 2011-08-03 日本电信电话株式会社 Encoding bit rate control method and device
CN101653003B (en) * 2007-03-13 2012-01-04 马蒂亚斯·纳罗施克 Quantization coding/ decoding method,encoder and demoder for hybrid video coding
CN102428705A (en) * 2010-03-18 2012-04-25 松下电器产业株式会社 Data processing device and data processing method
CN104469367A (en) * 2014-12-16 2015-03-25 南京仟壹视讯信息技术有限公司 Video bitrate control method based on frame loss and quantization parameter adjustment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889561A (en) * 1994-11-04 1999-03-30 Rca Thomson Licensing Corporation Method and apparatus for scaling a compressed video bitstream
US6263022B1 (en) * 1999-07-06 2001-07-17 Philips Electronics North America Corp. System and method for fine granular scalable video with selective quality enhancement

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101292551B (en) * 2005-09-14 2011-06-15 株式会社Ntt都科摩 Wireless base station and method for transmitting data common to users
CN100515068C (en) * 2006-05-23 2009-07-15 中国科学院声学研究所 Static frame loss method in video playing
CN100425079C (en) * 2006-08-07 2008-10-08 浙江大学 Method of controlling rate of video compression code based on query table in low memory consumption
CN100515021C (en) * 2006-12-30 2009-07-15 中国科学院计算技术研究所 Image quality and constrained code rate based JPEG2000 code rate control method
CN100481943C (en) * 2006-12-30 2009-04-22 清华大学 Method for control video frequency coding rate
CN101653003B (en) * 2007-03-13 2012-01-04 马蒂亚斯·纳罗施克 Quantization coding/ decoding method,encoder and demoder for hybrid video coding
CN101632308B (en) * 2007-03-14 2011-08-03 日本电信电话株式会社 Encoding bit rate control method and device
CN101252689B (en) * 2008-02-29 2010-08-25 杭州爱威芯科技有限公司 Self-adapting code rate control method
CN102428705B (en) * 2010-03-18 2014-12-24 松下电器(美国)知识产权公司 Data processing device and data processing method
CN102428705A (en) * 2010-03-18 2012-04-25 松下电器产业株式会社 Data processing device and data processing method
US9113173B2 (en) 2010-03-18 2015-08-18 Panasonic Intellectual Property Corporation Of America Data processing device and data processing method which compresses image data
CN102075739B (en) * 2010-09-15 2013-01-02 深圳市九洲电器有限公司 Method and device for smoothly playing fast-forward/fast-rewind played network videos
CN102075739A (en) * 2010-09-15 2011-05-25 深圳市九洲电器有限公司 Method and device for smoothly playing fast-forward/fast-rewind played network videos
CN104469367A (en) * 2014-12-16 2015-03-25 南京仟壹视讯信息技术有限公司 Video bitrate control method based on frame loss and quantization parameter adjustment
CN104469367B (en) * 2014-12-16 2017-11-14 北京金山云网络技术有限公司 The video code rate control method adjusted based on frame losing and quantization parameter

Also Published As

Publication number Publication date
CN1294757C (en) 2007-01-10

Similar Documents

Publication Publication Date Title
CN101185337B (en) Quasi-constant-quality rate control with look-ahead
CN101466035B (en) Method for distributing video image set bit based on H.264
CN1406072A (en) Video-frequency compressed code ratio control method
CN109743600B (en) Wearable field operation and maintenance self-adaptive video streaming transmission rate control method
US20060062481A1 (en) Apparatuses, computer program product and method for bit rate control of digital image encoder
CN102355584B (en) Code rate control method based on intra-frame predictive coding modes
CN101547365B (en) Method and device of coding video for guaranteeing display quality of specific regions
CN1146264A (en) Method, rate controller and system for preventing overflow and underflow of decoder buffer
CN101252689A (en) Self-adapting code rate control method
CN1174624C (en) Changeable bit rate coding device
CN104754335B (en) A kind of code rate controlling method for video coding
CN100563338C (en) A kind of control method of constant code rate
CN110545418A (en) Self-adaptive video coding method based on scene
CN102724502A (en) Method and device for controlling bitrate in video coding
EP1157560B1 (en) Bit rate control for video data compression
CN1153473C (en) Data compression assembly having several data-compression channel
CN101568025B (en) Self-adaptive controlling method for a virtual buffering region in code rate control
US20050140781A1 (en) Video coding method and apparatus thereof
US7054363B2 (en) Variable bit rate video encoding method and device
CN101527846A (en) H.264 variable bit rate control method based on Matthew effect
CN100471272C (en) Data processing device, method thereof, and encoding device
CN114513664B (en) Video frame encoding method and device, intelligent terminal and computer readable storage medium
CN114598866B (en) VBR code rate control method for video real-time coding
CN101360229B (en) Smoothing method and device for image code stream
CN1705373A (en) Method for compressing video data and associated device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication
C52 Restoration of the patent application or patent right (restoration of the patent application)
RA01 Restoration of patent right

Former decision: The invention shall be deemed to be withdrawn after the publication of the application for patent

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Ye Bin

Document name: Notice of first review

C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Beijing ZRS New Energy Technology Co.,Ltd.

Assignor: Weisu Sci. & Tech. Co., Ltd., Beijing

Contract record no.: 2011990000950

Denomination of invention: Video compression code ratio control method using uneven distribution of frame target bit number

Granted publication date: 20070110

License type: Exclusive License

Open date: 20030326

Record date: 20110930

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070110

Termination date: 20200821

CF01 Termination of patent right due to non-payment of annual fee