CN106878727A - Video data handling procedure and device - Google Patents

Video data handling procedure and device Download PDF

Info

Publication number
CN106878727A
CN106878727A CN201611267515.3A CN201611267515A CN106878727A CN 106878727 A CN106878727 A CN 106878727A CN 201611267515 A CN201611267515 A CN 201611267515A CN 106878727 A CN106878727 A CN 106878727A
Authority
CN
China
Prior art keywords
macro block
video data
compressed encoding
coding
encoding parameter
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.)
Pending
Application number
CN201611267515.3A
Other languages
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 Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201611267515.3A priority Critical patent/CN106878727A/en
Publication of CN106878727A publication Critical patent/CN106878727A/en
Pending 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/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/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Abstract

The present invention relates to a kind of video data handling procedure and device, video data is obtained first and by the partitioning video data into multiple macro blocks, the state of each macro block is recognized respectively, then the state according to each macro block sets each adaptable compressed encoding parameter, and coding is compressed using Coding Compression Algorithm to the video data finally according to the compressed encoding parameter.Wherein, the Coding Compression Algorithm is compressed coding in units of the macro block.Above-mentioned video data handling procedure and device do not carry out compressed video data merely with the mode of compressed encoding, and just carried out relevant treatment before coding is compressed, corresponding different compressed encoding parameter is set according to the different of each macroblock status, so as to when follow-up compressed encoding is carried out, adaptable compressed encoding treatment can be carried out to each macro block, the quality of the macro block that noise is few or change is little can for example be reduced, so as at utmost reduce data volume, reduce further code check.

Description

Video data handling procedure and device
Technical field
The present invention relates to multimedia technology field, more particularly to a kind of video data handling procedure and device.
Background technology
With the development of multimedia technology and network technology, many data need to be transmitted by network.With IP As a example by Camera (web camera), its be one kind can production figures video flowing, and by video flowing pass through wired or wireless network The video camera being transmitted, has surmounted the limitation of region, as long as there is network to can be carried out remote monitoring and video recording, will be big The big expense for saving installation wiring, is truly realized remote monitoring unbounded.
When video data passes through network transmission, it will usually reduce number by being compressed coding to video data According to amount.With the development of technology, video coding algorithm occurs in that MPEG (Moving Picture Experts Group in succession Moving Picture Experts Group, dynamic image expert group) standard, H.264 (MPEG-4 A VC, live image is special The high Video coding of family's group -4) standard, in the case where image quality is not reduced, code check is more and more lower.However, as user is to regarding The requirement more and more higher of frequency quality, the video data volume is accordingly increasing, so as to the burden caused to network is also increasing, because This is still unable to reach merely using video coding algorithm preferably reduces the effect of code check.
The content of the invention
Based on this, it is necessary to preferably reduce code for how to improve simple being still unable to reach using video coding algorithm The problem of the effect of rate, there is provided a kind of video data handling procedure and device.
A kind of video data handling procedure, including:
Obtain video data and by the partitioning video data into multiple macro blocks;
The state of each macro block is recognized respectively;
State according to each macro block sets each adaptable compressed encoding parameter;
Coding is compressed using Coding Compression Algorithm to the video data according to the compressed encoding parameter;Wherein, The Coding Compression Algorithm is compressed coding in units of the macro block.
Include wherein in one embodiment, the step of the state that each macro block is recognized respectively:
Intensity of variation of each macro block relative to reference picture is recognized respectively.
Wherein in one embodiment, state according to each macro block sets each adaptable compressed encoding parameter The step of include:
When judging that the intensity of variation of the macro block is in the first scope, the compressed encoding parameter corresponding with itself is set It is the first compressed encoding parameter;When judging that the intensity of variation of the macro block is in the second scope, set corresponding with itself described Compressed encoding parameter is the second compressed encoding parameter;Wherein, the intensity of variation of first scope is more than second scope Intensity of variation;The corresponding compression ratio of the first compressed encoding parameter is less than the corresponding compression ratio of second compressed encoding.
Include wherein in one embodiment, the step of the state that each macro block is recognized respectively:
Degree of each macro block by noise pollution is recognized respectively.
Wherein in one embodiment, state according to each macro block sets each adaptable compressed encoding parameter The step of include:
When judging that the macro block is in three scopes by the degree of noise pollution, the compression corresponding with itself is set and is compiled Code parameter is the 3rd compressed encoding parameter;Judge the macro block by noise pollution degree be in four scopes when, set with from The corresponding compressed encoding parameter of body is the 4th compressed encoding parameter;Wherein, the journey by noise pollution of the 3rd scope Degree by noise pollution of the degree more than the 4th scope;The corresponding compression ratio of the 3rd compressed encoding parameter is less than described 4th compressed encoding parameter.
Wherein in one embodiment, before the step of each macro block receives the degree of noise pollution is recognized respectively, institute Stating method also includes:
Noise reduction process is carried out to each macro block respectively.
Wherein in one embodiment, the compressed encoding parameter includes quantization parameter.
Wherein in one embodiment, the video data is calculated using compressed encoding according to the compressed encoding parameter After the step of method is compressed coding, methods described also includes:
When judging that the dynamic change degree of the video flowing generated after compressed encoding is less than given threshold, performing increases Two-way Survey interpolation coding frame, increase image sets length, abandon reference frame these steps one or more.
A kind of video data processing apparatus, including:
Macroblock partition module, for obtaining video data and by the partitioning video data into multiple macro blocks;
State recognition module, the state for recognizing each macro block respectively;
Parameter setting module, each adaptable compressed encoding parameter is set for the state according to each macro block;
Compression coding module, for being entered using Coding Compression Algorithm to the video data according to the compressed encoding parameter Row compressed encoding;Wherein, the Coding Compression Algorithm is compressed coding in units of the macro block.
Wherein in one embodiment, the state recognition module includes:
Change recognition unit, for recognizing intensity of variation of each macro block with respect to reference picture respectively.
Above-mentioned video data handling procedure and device have the advantage that for:It is first that partitioning video data is grand into multiple Block, and the state of each macro block is recognized respectively, each adaptable compression is set further according to the state of each macro block and is compiled Code parameter, so as to be compressed coding using Coding Compression Algorithm to the video data according to the compressed encoding parameter.And And, the Coding Compression Algorithm is compressed coding in units of the macro block.Therefore, above-mentioned video data handling procedure and dress Put and do not carry out compressed video data merely with the mode of compressed encoding, and relevant treatment has just been carried out before coding is compressed, Corresponding different compressed encoding parameters are set according to the different of each macroblock status, so as to when follow-up compressed encoding is carried out, Adaptable compressed encoding treatment can be carried out to each macro block, for example can be few by noise or changes the quality of little macro block Reduce, so as at utmost reduce data volume, reduce further code check.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with The accompanying drawing of other embodiment is obtained according to these accompanying drawings.
The flow chart of the video data handling procedure that Fig. 1 is provided for an embodiment;
Fig. 2 is the one of which specific embodiment flow chart of the video data handling procedure of embodiment illustrated in fig. 1;
Fig. 3 is another specific embodiment flow chart of the video data handling procedure of embodiment illustrated in fig. 1;
Fig. 4 is another specific embodiment flow chart of the video data handling procedure of embodiment illustrated in fig. 1;
Fig. 5 be the step of the video data handling procedure of embodiment illustrated in fig. 4 in S500 in order to explain on abandon join The code stream schematic diagram examined frame and select;
The composition frame chart of the video data processing apparatus that Fig. 6 is provided for another embodiment.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing Give presently preferred embodiments of the present invention.But, the present invention can be realized in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, the purpose for providing these embodiments is to make the understanding to the disclosure more thorough Comprehensively.
Unless otherwise defined, the skill of all of technologies and scientific terms used here by the article and the technical field for belonging to invention The implication that art personnel are generally understood that is identical.The term used in the description in invention is intended merely to description specifically herein The purpose of embodiment, it is not intended that the limitation present invention.Term as used herein "and/or" includes one or more related institutes The arbitrary and all of combination of list of items.
One embodiment provides a kind of video data handling procedure, and the device that can be able to carry out code by single-chip microcomputer etc. comes Perform, refer to Fig. 1, including herein below.
Step S100. obtains video data and by the partitioning video data into multiple macro blocks.
Wherein, video data is not to be compressed the data before coding, is specifically as follows yuv format data.One grand Block is made up of a luminance pixel block and two additional chroma pixel blocks.The quantity of each two field picture segmentation macro block is identical, and The number of pixels that the row, column of macro block is included respectively is 4 multiple, and such as macroblock size can be 32 pixel × 32 pixels, 16 Pixel × 16 pixel, 4 pixel × 4 pixels etc..In addition, the quantity of macro block is also relevant with video resolution, for example:For 1080p For the video of resolution ratio, if processed for the macro block of 4 pixel × 4 pixels using size, then a frame data then may be used To be divided into 129600 macro blocks.
Step S200. recognizes the state of each macro block respectively.
Wherein, the state of each macro block can include the characteristic related to compression effectiveness, and such as state can include energy Enough distinguish that image is in the characteristic of dynamic or static state, so as to decide whether to be adapted to increasing compression ratio.
Step S300. sets each adaptable compressed encoding parameter according to the state of each macro block.
Wherein, compressed encoding parameter refers to the parameter required when coding is compressed, and such as compressed encoding parameter can be with Including quantization parameter (Qp), when QP takes minimum value 0, represent that quantization is most fine;Conversely, when QP takes maximum 51, representing that quantization is It is most coarse.
In whole video data, the quality of some macro blocks can be quite a lot of, and the quality of some macro blocks can be differed from, therefore can be with Measured macro block of confronting sets the larger compressed encoding parameter of compression ratio, and it is less to set compression ratio to second-rate macro block Compressed encoding parameter, so as to the purpose for reducing code check can be reached, and can reduce the influence to video total quality.
Step S400. is compressed volume to the video data according to the compressed encoding parameter using Coding Compression Algorithm Code.Wherein, the Coding Compression Algorithm is compressed coding in units of the macro block.
Coding Compression Algorithm can be that H.264 compression algorithm or other compressed encodings encoded in units of macro block are calculated Method.In addition, to the dividing mode of macro block and Coding Compression Algorithm in step S400 to the dividing mode phase of macro block in step S100 Together, improving the speed of compression.In addition, in the embodiment of the present invention, when coding is compressed using Coding Compression Algorithm, for Different macro blocks takes respective compressed encoding parameter respectively such that it is able to which each macro block is carried out at adaptable compressed encoding Reason.
Therefore, above-mentioned video data handling procedure is not only using the mode of compressed encoding come compressed video data, and Relevant treatment is just carried out before coding is compressed, i.e., the difference according to each macroblock status sets different compressed encoding ginsengs Number, so that adaptable compressed encoding treatment when follow-up compressed encoding is carried out, can be carried out to each macro block, for example can be by Noise is few or changes the reduction of the video quality of little macro block, so as at utmost reduce data volume, reduce further code Rate.
Wherein in one embodiment, Fig. 2 is refer to, step S200 includes herein below.
Step S210. recognizes intensity of variation of each macro block relative to reference picture respectively.
Wherein, each macro block can reflect the dynamic of image or static special relative to the intensity of variation of reference picture Property.For example:Intensity of variation can be displacement, in specific implementation, each macro block in current frame image can be detected preceding Correspondence position in one frame (i.e. reference frame) image, so as to draw the displacement of each macro block.
Specifically, it is possible to use mobile detection algorithm calculates the intensity of variation of each macro block.Also, mobile detection is calculated Method can carry out motion detection according to modes such as background subtraction method, time differencing method, optical flow methods.
Further, the content based on step S210, step S300 includes herein below, please continue to refer to Fig. 2.
When step S310. judges that the intensity of variation of the macro block is in the first scope, the pressure corresponding with itself is set Contracting coding parameter is the first compressed encoding parameter;When judging that the intensity of variation of the macro block is in the second scope, set and itself The corresponding compressed encoding parameter is the second compressed encoding parameter.Wherein, the intensity of variation of first scope is more than described The intensity of variation of the second scope.The corresponding compression ratio of the first compressed encoding parameter is less than second compressed encoding.
In the embodiment of the present invention, the macro block larger for intensity of variation, in order to ensure picture quality, sets compressed encoding ginseng The corresponding compression of number is smaller, is at this moment closer to the compressed encoding parameter under dynamic environment, and can for example set quantization parameter is Less value.For the less macro block of intensity of variation, due to code check high need not be kept also to maintain picture quality, therefore set Its corresponding compression ratio of compressed encoding parameter is larger, is at this moment closer to the compressed encoding parameter under static environment, for example can be with It is larger value to set quantization parameter such that it is able to the data volume of coding is reduced on the premise of picture quality is ensured, and then is dropped Low bit- rate.
If specifically, only making rough division, and all macro blocks are divided into dynamic and static two class, it can be assumed that mobile The threshold value of distance is 60, and the scope of displacement is 0~100, and at this moment the first scope is that displacement is more than 60, and the second scope is Displacement is less than 60.So, macro block of the displacement less than 60 can be set to the compressed encoding under correspondence static environment Parameter (such as quantization parameter is 51), and macro block of the displacement more than 60 can be set to the compression under correspondence dynamic environment Coding parameter (such as quantization parameter is 0).Alternatively, it is also possible to make more detailed division, displacement can be set between 0~10 When, make Qp=51, displacement between 11~20 when, Qp=46 is set, the like.
Wherein in one embodiment, Fig. 3 is refer to, step S200 can also include herein below.
Step S230. recognizes degree of each macro block by noise pollution respectively.
Wherein, it is bigger by the degree of noise pollution, illustrate that the noise included in macro block is more.
Further, the content based on step S230, step S300 can also include herein below, please continue to refer to Fig. 3.
When step S320. judges that the macro block is in three scopes by the degree of noise pollution, set corresponding with itself The compressed encoding parameter is the 3rd compressed encoding parameter;Judge that the macro block is in the 4th scope by the degree of noise pollution When, it is the 4th compressed encoding parameter to set the compressed encoding parameter corresponding with itself.Wherein, the 3rd scope is made an uproar Degree by noise pollution of the degree of sound pollution more than the 4th scope.The corresponding compression of the 3rd compressed encoding parameter Than less than the 4th compressed encoding parameter.
Because by the more macro block of noise pollution, its quality is relatively low in itself, therefore it is less to give its correspondence compression ratio Compressed encoding parameter, for example, can set quantization parameter for less value, ensure that the quality of image.And receive noise pollution journey Spend less macro block its quality higher in itself, therefore give its correspondence compression ratio larger compressed encoding parameter, for example, can set It is larger value to put quantization parameter such that it is able to the data volume of coding is reduced on the premise of picture quality is ensured, and then is reduced Code check.
Further, please continue to refer to Fig. 3, before step S230, methods described can also include herein below.
Step S220. carries out noise reduction process to each macro block respectively.
Wherein it is possible to noise reduction process is carried out using Image filter arithmetic to each macro block, to remove noise, so as to exclude noise The code check virtual height phenomenon for causing.In addition, perform step S230 again after noise reduction, due at this moment noise quantity compared to noise reduction it Before can reduce a lot, therefore the ratio shared by the macro block that compression ratio can be made larger can be increased, so as to reduce further code Rate.
Therefore, the embodiment of the present invention is by by by the compression of noise pollution degree is relatively low or intensity of variation is little macro block Quality is relatively low, such that it is able to must at utmost reduce the data volume of each frame video.
It should be noted that the execution sequence of each step is not limited in video data handling procedure shown in Fig. 2 and Fig. 3 Situation is stated, for example:If Fig. 2 and Fig. 3 are required for performing, then step S210 and step S220 can also be first carried out, then held Row step S310 and step S320, finally performs step S400 again.
It is understood that the concrete mode for setting compressed encoding parameter is not limited to above-mentioned situation, can also be according to macro block Other states related to compression effectiveness set compressed encoding parameter.
Wherein in one embodiment, Fig. 4 is refer to, after step S400, methods described also includes herein below.
When step S500. judges that the dynamic change degree of the video flowing generated after compressed encoding is less than given threshold, perform Increase bi-directional predicted interpolation coding frame, increase image sets length, abandon reference frame these steps one or more.
Different from the processing mode that step S100 is carried out to step S300 before being encoded, step S500 is that compression is compiled The whole video flowing generated after code is processed.Wherein, the dynamic change degree of the video flowing for being generated after compressed encoding can be with profit Calculated with mobile detection algorithm.Can be corresponded to when dynamic change degree is less than given threshold picture change less state or Picture still state, at this moment need not keep code check high also to maintain picture quality, therefore can continue to take related increase to press The measure of contracting ratio, further to reduce code check.
Wherein, on this measure of the bi-directional predicted interpolation coding frame (B frames) of increase, because compression ratio and the I frames of B frames (are closed Key frame), P frames (forward-predictive-coded frames) compare highest, therefore increase the quantity of B frames and can improve the compression of whole video flowing Than.
Length this measure on increasing image sets (GOP), after the length of GOP increases, can make two neighboring I frames it Between B frames or the quantity of P frames increase so that B frames or the shared ratio increase in whole video flowing of P frames, and due to B Frame, P frames compression ratio it is higher, therefore the code check of whole video flowing can be reduced.
On this measure of discarding reference frame, illustrated with the video flowing shown in Fig. 5, the video stream encryption is used 4 times of frame-skippings, wherein, I1, p4, p8 are reference frame, and other frames are non-reference frame, then can actively lose p1-p3 frames, P5-p7 frames and p9-p12 frames, can't so influence video quality, but can be to substantially reduce code check.
Further, noise reduction process can also be carried out to the video flowing generated after compressed encoding, so as to further reduce make an uproar The quantity of point, had not only improve picture quality but also had reduced code check.
It should be noted that schematic flow sheets of the Fig. 1 to Fig. 4 for the method for the embodiment of the present invention.Though it should be understood that Each step in the flow chart of right Fig. 1 to Fig. 4 shows successively according to the instruction of arrow, but these steps be not necessarily by The order indicated according to arrow is performed successively.Unless expressly stated otherwise herein, not strict suitable of the execution of these steps Sequence is limited, and it can be performed in the other order.And, at least a portion step in Fig. 1 to Fig. 4 can include multiple sub-steps Rapid or multiple stages, these sub-steps or stage are not necessarily to perform completion in synchronization, and can be in difference Moment perform, its execution sequence is also not necessarily to be carried out successively, and can be the sub-step with other steps or other steps At least a portion in rapid or stage is performed in turn or alternately.
In another embodiment, there is provided a kind of video data processing apparatus, Fig. 6, including herein below be refer to.
Macroblock partition module 100, for obtaining video data and by the partitioning video data into multiple macro blocks.
State recognition module 200, the state for recognizing each macro block respectively.
Parameter setting module 300, each adaptable compressed encoding ginseng is set for the state according to each macro block Number.
Compression coding module 400, for being calculated using compressed encoding the video data according to the compressed encoding parameter Method is compressed coding.Wherein, the Coding Compression Algorithm is compressed coding in units of the macro block.
Wherein in one embodiment, state recognition module 200 includes:
Change recognition unit, for recognizing intensity of variation of each macro block with respect to reference picture respectively.
Wherein in one embodiment, parameter setting module 300 includes:
First setting unit, when the intensity of variation for judging the macro block is in the first scope, is set corresponding with itself The compressed encoding parameter be the first compressed encoding parameter;When judging that the intensity of variation of the macro block is in the second scope, if The compressed encoding parameter corresponding with itself is put for the second compressed encoding parameter;Wherein, the intensity of variation of first scope More than the intensity of variation of second scope;The corresponding compression ratio of the first compressed encoding parameter is compiled less than the described second compression The corresponding compression ratio of code.
Wherein in one embodiment, state recognition module 200 includes:
Noise recognizing unit, for recognizing degree of each macro block by noise pollution respectively.
Wherein in one embodiment, parameter setting module 300 includes:
Second setting unit, for judge the macro block by noise pollution degree be in three scopes when, set with from The corresponding compressed encoding parameter of body is the 3rd compressed encoding parameter;Judge that the macro block is in the by the degree of noise pollution During four scopes, it is the 4th compressed encoding parameter to set the compressed encoding parameter corresponding with itself;Wherein, the 3rd scope The degree by noise pollution more than the 4th scope the degree by noise pollution;The 3rd compressed encoding parameter correspondence Compression ratio be less than the 4th compressed encoding parameter.
Wherein in one embodiment, the video data processing apparatus also include:
Noise reduction module, for carrying out noise reduction process to each macro block respectively.
Wherein in one embodiment, the compressed encoding parameter includes quantization parameter.
Wherein in one embodiment, the video data processing apparatus also include:
Video flow processing module, the dynamic change degree of the video flowing for being generated after compressed encoding is judged is less than setting During threshold value, perform increase bi-directional predicted interpolation coding frame, the length that increases image sets, one that abandons reference frame these steps or Two or more.
It should be noted that the video that video data processing apparatus provided in an embodiment of the present invention are provided with a upper embodiment Data processing method correspondence, just repeats no more here.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously Can not therefore be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of video data handling procedure, including:
Obtain video data and by the partitioning video data into multiple macro blocks;
The state of each macro block is recognized respectively;
State according to each macro block sets each adaptable compressed encoding parameter;
Coding is compressed using Coding Compression Algorithm to the video data according to the compressed encoding parameter;Wherein, it is described Coding Compression Algorithm is compressed coding in units of the macro block.
2. video data handling procedure according to claim 1, it is characterised in that recognize the state of each macro block respectively The step of include:
Intensity of variation of each macro block relative to reference picture is recognized respectively.
3. video data handling procedure according to claim 2, it is characterised in that state according to each macro block sets The step of putting each adaptable compressed encoding parameter includes:
When judging that the intensity of variation of the macro block is in the first scope, it is the to set corresponding with itself the compressed encoding parameter One compressed encoding parameter;When judging that the intensity of variation of the macro block is in the second scope, the compression corresponding with itself is set Coding parameter is the second compressed encoding parameter;Wherein, change of the intensity of variation of first scope more than second scope Degree;The corresponding compression ratio of the first compressed encoding parameter is less than the corresponding compression ratio of second compressed encoding.
4. video data handling procedure according to claim 1, it is characterised in that recognize the state of each macro block respectively The step of include:
Degree of each macro block by noise pollution is recognized respectively.
5. video data handling procedure according to claim 4, it is characterised in that state according to each macro block sets The step of putting each adaptable compressed encoding parameter includes:
When judging that the macro block is in three scopes by the degree of noise pollution, the compressed encoding ginseng corresponding with itself is set Number is the 3rd compressed encoding parameter;When judging that the macro block is in four scopes by the degree of noise pollution, it is right with itself to set The compressed encoding parameter answered is the 4th compressed encoding parameter;Wherein, the degree by noise pollution of the 3rd scope is big In the degree by noise pollution of the 4th scope;The corresponding compression ratio of the 3rd compressed encoding parameter is less than the described 4th Compressed encoding parameter.
6. video data handling procedure according to claim 5, it is characterised in that recognizing that each macro block is made an uproar respectively Before the step of degree of sound pollution, methods described also includes:
Noise reduction process is carried out to each macro block respectively.
7. the video data handling procedure according to any claim in claim 1 to 6, it is characterised in that the pressure Contracting coding parameter includes quantization parameter.
8. the video data handling procedure according to any claim in claim 1 to 6, it is characterised in that in basis After the step of compressed encoding parameter is compressed coding to the video data using Coding Compression Algorithm, methods described Also include:
When judging that the dynamic change degree of the video flowing generated after compressed encoding is less than given threshold, performing increases in bi-directional predicted Insertion encoding frame, the length for increasing image sets, abandon reference frame these steps one or more.
9. a kind of video data processing apparatus, it is characterised in that including:
Macroblock partition module, for obtaining video data and by the partitioning video data into multiple macro blocks;
State recognition module, the state for recognizing each macro block respectively;
Parameter setting module, each adaptable compressed encoding parameter is set for the state according to each macro block;
Compression coding module, for being pressed using Coding Compression Algorithm the video data according to the compressed encoding parameter Reduce the staff code;Wherein, the Coding Compression Algorithm is compressed coding in units of the macro block.
10. video data processing apparatus according to claim 9, it is characterised in that the state recognition module includes:
Change recognition unit, for recognizing intensity of variation of each macro block with respect to reference picture respectively.
CN201611267515.3A 2016-12-31 2016-12-31 Video data handling procedure and device Pending CN106878727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611267515.3A CN106878727A (en) 2016-12-31 2016-12-31 Video data handling procedure and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611267515.3A CN106878727A (en) 2016-12-31 2016-12-31 Video data handling procedure and device

Publications (1)

Publication Number Publication Date
CN106878727A true CN106878727A (en) 2017-06-20

Family

ID=59165434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611267515.3A Pending CN106878727A (en) 2016-12-31 2016-12-31 Video data handling procedure and device

Country Status (1)

Country Link
CN (1) CN106878727A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909554A (en) * 2017-11-16 2018-04-13 深圳市共进电子股份有限公司 Image denoising method, device, terminal device and medium
WO2019228207A1 (en) * 2018-05-28 2019-12-05 深信服科技股份有限公司 Image encoding and decoding method , related device and storage medium
CN111200734A (en) * 2018-11-19 2020-05-26 浙江宇视科技有限公司 Video coding method and device
CN113194313A (en) * 2021-05-06 2021-07-30 展讯通信(上海)有限公司 Video frame compression and decompression method and device
CN113470336A (en) * 2021-07-14 2021-10-01 深圳市朗强科技有限公司 Wireless sending method, receiving method and equipment of control instruction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487474A (en) * 2002-07-05 2004-04-07 微软公司 Improved optimizing technology for data compression
CN101742288A (en) * 2008-11-11 2010-06-16 北京中星微电子有限公司 Video noise reduction encoding method and video noise reduction encoding device
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN102665077A (en) * 2012-05-03 2012-09-12 北京大学 Rapid and efficient encoding-transcoding method based on macro block classification
CN103188496A (en) * 2013-03-26 2013-07-03 北京工业大学 Fast motion estimation video encoding method based on motion vector distribution forecast

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487474A (en) * 2002-07-05 2004-04-07 微软公司 Improved optimizing technology for data compression
CN101742288A (en) * 2008-11-11 2010-06-16 北京中星微电子有限公司 Video noise reduction encoding method and video noise reduction encoding device
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN102665077A (en) * 2012-05-03 2012-09-12 北京大学 Rapid and efficient encoding-transcoding method based on macro block classification
CN103188496A (en) * 2013-03-26 2013-07-03 北京工业大学 Fast motion estimation video encoding method based on motion vector distribution forecast

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909554A (en) * 2017-11-16 2018-04-13 深圳市共进电子股份有限公司 Image denoising method, device, terminal device and medium
CN107909554B (en) * 2017-11-16 2020-05-19 深圳市共进电子股份有限公司 Image noise reduction method and device, terminal equipment and medium
WO2019228207A1 (en) * 2018-05-28 2019-12-05 深信服科技股份有限公司 Image encoding and decoding method , related device and storage medium
CN111200734A (en) * 2018-11-19 2020-05-26 浙江宇视科技有限公司 Video coding method and device
WO2020103384A1 (en) * 2018-11-19 2020-05-28 浙江宇视科技有限公司 Video encoding method and apparatus, electronic device, and computer readable storage medium
CN111200734B (en) * 2018-11-19 2022-03-11 浙江宇视科技有限公司 Video coding method and device
US11838507B2 (en) 2018-11-19 2023-12-05 Zhejiang Uniview Technologies Co., Ltd. Video encoding method and apparatus, electronic device, and computer-readable storage medium
CN113194313A (en) * 2021-05-06 2021-07-30 展讯通信(上海)有限公司 Video frame compression and decompression method and device
CN113194313B (en) * 2021-05-06 2022-09-27 展讯通信(上海)有限公司 Video frame compression and decompression method and device
CN113470336A (en) * 2021-07-14 2021-10-01 深圳市朗强科技有限公司 Wireless sending method, receiving method and equipment of control instruction

Similar Documents

Publication Publication Date Title
CN106878727A (en) Video data handling procedure and device
US8249173B2 (en) Apparatus for performing loop-filtering on four successive pixels of an image
CN102150429B (en) System and method for video encoding using constructed reference frame
CN101507277B (en) Image encoding/decoding method and apparatus
CN102119401B (en) Method and apparatus for banding artifact detection
CN107087200B (en) Skip coding mode advanced decision method for high-efficiency video coding standard
CA2448064A1 (en) Filtering strength determination method, moving picture coding method and moving picture decoding method
CN104869403B (en) A kind of shot segmentation method based on X264 compression videos
CN107087191A (en) Picture decoding method and image processing equipment
US20080247466A1 (en) Method and system for skip mode detection
CN102754440A (en) Image encoding method, image encoding device and imaging system
CN107592547B (en) A kind of motion perception figure extracting method based on HEVC compression domain
JPH11275590A (en) Inter-image compression coder and coding method
CN101527842A (en) Image processing method and image processing device for filtering blocking artifact
US8472523B2 (en) Method and apparatus for detecting high level white noise in a sequence of video frames
CN103155566B (en) Motion image encoding method and moving picture encoding device
JP3597271B2 (en) Video cut point image detection device
CN101621684A (en) Mode detection module, video coding system and use method thereof
CN101448153A (en) Method for processing macro data block of image data
JP2005260883A (en) Moving image encoding apparatus and method, and program, and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620