CN110267037A - Method for video coding, device, electronic equipment and computer readable storage medium - Google Patents
Method for video coding, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110267037A CN110267037A CN201910544772.4A CN201910544772A CN110267037A CN 110267037 A CN110267037 A CN 110267037A CN 201910544772 A CN201910544772 A CN 201910544772A CN 110267037 A CN110267037 A CN 110267037A
- Authority
- CN
- China
- Prior art keywords
- video frame
- interest
- parameter value
- area
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/167—Position within a video image, e.g. region of interest [ROI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention relates to technical field of video processing, disclose a kind of method for video coding, device, electronic equipment and computer readable storage medium, wherein, method for video coding includes: that the video frame treated in encoded video is analyzed and processed, and determines the first area-of-interest of video frame;Then coding pretreatment is carried out to video frame, determines the first quantization parameter value of video frame;Then the first quantization parameter value is adjusted based on the first area-of-interest, obtains the second quantization parameter value for video frame;Quantization encoding is carried out to pretreated video frame is encoded then according to the second quantization parameter value for video frame.The method of the embodiment of the present application can dynamically adjust the code rate in any video frame according to the area-of-interest of any video frame, video viewing experience is greatly improved, and especially under the scene of low bit- rate, effectively promote viewer to the sensorial effects of video.
Description
Technical field
The invention relates to technical field of video processing, specifically, this application involves a kind of method for video coding,
Device, electronic equipment and computer readable storage medium.
Background technique
In recent years, with the high speed development of multimedia and internet, video processing technique has been applied to broader
Field, this also proposes more new requirements to video processing technique.The data volume of video is often very big, in order to effectively transmit
With storage video, need effectively to compress video data.Current various compression coding technologies have been gradually improved and maturation,
Compression efficiency reaches higher level, and compression ratio is difficult to be greatly improved.Merely by increase quantization parameter in Video coding
The method for reducing code rate, necessarily will affect the subjective quality of coding.How under the scene for saving code rate as far as possible, encodes out and see
It sees the better video effect of experience, becomes the hot spot of current research.
Summary of the invention
The purpose of the embodiment of the present application is intended at least can solve above-mentioned one of technological deficiency, and spy proposes following technical side
Case:
On the one hand, a kind of method for video coding is provided, comprising:
The video frame treated in encoded video is analyzed and processed, and determines the first area-of-interest of video frame;
Coding pretreatment is carried out to video frame, determines the first quantization parameter value of video frame;
The first quantization parameter value is adjusted based on the first area-of-interest, obtains the second quantization parameter value for video frame;
Quantization encoding is carried out to pretreated video frame is encoded according to the second quantization parameter value for video frame.
On the one hand, a kind of video coding apparatus is provided, comprising:
First determining module, the video frame for treating in encoded video are analyzed and processed, and determine the of video frame
One area-of-interest;
Second determining module determines the first quantization parameter value of video frame for carrying out coding pretreatment to video frame;
Module is adjusted, for adjusting the first quantization parameter value based on the first area-of-interest, obtains for video frame
Two quantization parameter values;
Coding module, for being carried out according to the second quantization parameter value for video frame to pretreated video frame is encoded
Quantization encoding.
In one possible implementation, the first determining module includes compression submodule, the first determining submodule and puts
Big submodule;
Submodule is compressed, for compressing to video frame, obtaining compressed video frame according to predetermined compression factor;
First determines submodule, for carrying out image segmentation to compressed video frame based on gradient descent method, determines compression
Second area-of-interest of video frame;
Amplify submodule, for according to predetermined compression factor, to determining the compressed video frame after the second area-of-interest
Equal proportion amplification is carried out, the first area-of-interest of video frame is obtained.
In one possible implementation, first determine that mould further includes conversion process submodule;
Conversion process submodule, for being based on the first predetermined mask symbol and the second predetermined mask symbol, to compression video
Frame carries out mask conversion process, obtains including the second area-of-interest of the multiple first predetermined mask symbols and including multiple the
The non-region of interest of the compressed video frame of two predetermined mask symbols;
Amplify submodule to be specifically used for according to predetermined compression factor, to the second sense including the multiple first predetermined mask symbols
The non-region of interest of interest region and the compressed video frame including the multiple second predetermined mask symbols carries out equal proportion respectively and puts
Greatly, it obtains including the first area-of-interest of the multiple first predetermined mask symbols and including the multiple second predetermined mask symbols
The regions of non-interest of video frame.
In one possible implementation, adjustment module includes second determining that submodule, third determine submodule and the
One adjusting submodule;
Second determines submodule, for the quantity and video according to the in the first area-of-interest first predetermined mask symbol
The total quantity of the first predetermined mask symbol and the second predetermined mask symbol, determines the accounting value of the first area-of-interest in frame;
Third determines submodule, for being based on scheduled quantization calculations of offset mode, according to accounting value, predetermined region of interest
Domain intensity value and the predetermined computation factor determine corresponding quantization deviant;
The first adjustment submodule is obtained for being adjusted the first quantization parameter value of any video frame based on quantization deviant
Second quantization parameter value.
In one possible implementation, the first adjustment submodule includes increment determination unit and increasing amount adjustment unit;
Increment determination unit, for being based on scheduled quantization incremental computations mode, according to the first quantization parameter of video frame
Value, quantization deviant, the first predetermined quantitative maximum value and the second predetermined quantitative maximum value determine corresponding quantization incremental value;
Increasing amount adjustment unit is obtained for the first quantization parameter value according to quantization incremental value adjustment video frame for view
Second quantization parameter value of frequency frame.
In one possible implementation, increasing amount adjustment unit is specifically used for calculation amount quantizer input quantization increment value and the first quantization ginseng
The data of numerical value and, and by data and as the second quantization parameter value.
In one possible implementation, the first determining module is specifically used for from each video frame of video to be encoded
A video frame is extracted, and determines video frame corresponding multiple first video frames in each video frame;And to video frame
It is analyzed and processed, determines the first area-of-interest of video frame, and using the first area-of-interest of video frame as its correspondence
Multiple first video frames the first area-of-interest;
Adjust the first quantization ginseng that module is specifically used for the corresponding adjustment video frame of the first area-of-interest based on video frame
Numerical value obtains the second quantization parameter value for video frame, and the second quantization parameter value of video frame is corresponding more as its
Second quantization parameter value of a first video frame.
On the one hand, a kind of electronic equipment is provided, including memory, processor and storage on a memory and can handled
The computer program run on device, processor realize above-mentioned method for video coding when executing described program.
On the one hand, a kind of computer readable storage medium is provided, is stored with computer on computer readable storage medium
Program, the program realize above-mentioned method for video coding when being executed by processor.
Method for video coding provided by the embodiments of the present application is joined by the area-of-interest and the first quantization that determine video frame
Numerical value, and the first quantization parameter value is adjusted based on the first area-of-interest, the second quantization parameter value of video frame is obtained, thus
Quantization encoding can be carried out to pretreated any video frame is encoded, is made according to the second quantization parameter value of any video frame
The code rate in any video frame can dynamically be adjusted, realize any to this according to the area-of-interest of any video frame by obtaining
The reasonable distribution of code rate in video frame, thus by more Data Rate Distributions within the scope of the interested picture of viewer, and incite somebody to action
Within the scope of the uninterested picture of viewer video viewing experience is greatly improved, especially in low bit- rate in less Data Rate Distribution
Scene under, can effectively promote viewer to the sensorial effects of video.
The additional aspect of the embodiment of the present application and advantage will be set forth in part in the description, these will be retouched from following
Become obvious in stating, or is recognized by the practice of the application.
Detailed description of the invention
The embodiment of the present application is above-mentioned and/or additional aspect and advantage from the following description of the accompanying drawings of embodiments
It will be apparent and be readily appreciated that, in which:
Fig. 1 is the flow diagram of the method for video coding of the embodiment of the present application;
Fig. 2 is the process schematic of the first quantization parameter value of any video frame of determination of the embodiment of the present application;
Fig. 3 is the process schematic of the area-of-interest of any video frame of determination of the embodiment of the present application;
Fig. 4 is the process schematic of the second quantization parameter value of any video frame of determination of the embodiment of the present application;
Fig. 5 is the schematic diagram that the method for video coding based on the embodiment of the present application carries out Video coding;
Fig. 6 is the coding result schematic diagram of the method for video coding of the embodiment of the present application;
Fig. 7 is the basic structure schematic diagram of the video coding apparatus of the embodiment of the present application;
Fig. 8 is the detailed construction schematic diagram of the video coding apparatus of the embodiment of the present application;
Fig. 9 is the structural schematic diagram of the electronic equipment of the embodiment of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the application, and cannot be construed to the limitation to the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with attached drawing to the application
Embodiment is described in further detail.
Currently, the secondary video compression method in Video coding, by reading and regarding for the first time in second of video compress
Frequently obtained intermediate temporary file is compressed, and determines the distribution of code rate according to the intermediate temporary file, although can preferable handle
Code rate is reasonably allocated in different video frames, but this method uniformly treats entire video frame, can not be to the same view
Code rate in frequency frame carries out reasonable distribution.
Method for video coding, device, electronic equipment and computer readable storage medium provided by the embodiments of the present application, it is intended to
Solve the technical problem as above of the prior art.
Below with specifically embodiment to the technical solution of the embodiment of the present application and the technical solution of the embodiment of the present application
Above-mentioned technical problem how is solved to be described in detail.These specific embodiments can be combined with each other below, for identical
Or similar concept or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, to embodiments herein
It is described.
The application one embodiment provides a kind of method for video coding, and this method is executed by computer equipment, the calculating
Machine equipment can be terminal or server.Terminal can be bench device or mobile terminal.Server can be independent
Physical server, physical server cluster or virtual server.As shown in Figure 1, this method comprises:
Step S110, the video frame treated in encoded video are analyzed and processed, and determine that the first of video frame is interested
Region.
Specifically, after receiving video to be encoded, each video frame in the video to be encoded is determined.Wherein, the determination
Each video frame out can be all video frames in video to be encoded, if video to be encoded when it is 1 second a length of, and 1 second
It include 25 video frames in video, it is determined that each video frame gone out is 25 video frames;It is also possible to by to be encoded
At least one video frame that all video frames (such as 25 video frames) in video are sampled, if video to be encoded
When it is 1 second a length of, in 1 second video include 25 video frames, and the sample frequency of video frame be 2 frames of extraction per second, it is determined that
Each video frame out is 2 video frames extracted from 25 video frames.Wherein, with the sampling per second for extracting 2 frames
Frequency during extracting 2 video frames from 25 video frames, can be and randomly select out 2 from 25 video frames
Video frame is also possible to extract 2 video frames from 25 video frames with fixed intervals (such as 20 milliseconds, 30 milliseconds), than
Such as every 20 milliseconds, every 30 milliseconds of Fixed Time Intervals, i.e., every 20 milliseconds, every 30 milliseconds etc. from when it is 1 second a length of
Video to be encoded in extract video frame, for another example every 10 frames, every the fixation frame period of 15 frames etc., i.e., every 10 frames, every
A frame is extracted every 15 frames, naturally it is also possible to be other reliable extraction modes, the embodiment of the present application is not restricted it.
Specifically, after determining each video frame in video to be encoded, to any video frame in each video frame
It is analyzed and processed, determines the corresponding area-of-interest (Region of interest, ROI) of any video frame, be denoted as
One area-of-interest.For example, the area-of-interest of the 1st video frame is ROI_1, the area-of-interest of the 2nd video frame is
ROI_2, and so on, the area-of-interest of n-th video frame is ROI_N.
Step S120 carries out coding pretreatment to video frame, determines the first quantization parameter value of video frame.
Specifically, after determining in video to be encoded video frame, which is carried out encoding pre- place
Reason, obtains the initial quantization parameters value (the first i.e. above-mentioned quantization parameter value) of video frame, for example, the first of the 1st video frame
Quantization parameter value is QP_1, and the first quantization parameter value of the 2nd video frame is QP_2, and so on, the first of n-th video frame
Quantization parameter value is OP_N.
Coding pretreatment includes model selection, intra prediction, inter-prediction, DCT (Discrete Cosine
Transform, discrete cosine transform) transformation and quantification treatment, as shown in Figure 2.In Fig. 2, the pending pretreated view of coding
Frequency frame is indicated by YUV sequence, i.e. the YUV sequence inputted in Fig. 2 is the video frame inputted.Wherein, YUV is a kind of face
Color coding method, " Y " indicate brightness, and " U " and " V " indicates coloration, saturation degree;Cataloged procedure shown in Fig. 2 is included decoding
Process, by the available reference frame of decoding process, included decoding process is as shown in right side of dotted line part in Fig. 2.
Step S130 adjusts the first quantization parameter value based on the first area-of-interest, obtains the second amount for video frame
Change parameter value.
Specifically, in corresponding first quantization parameter value of the first area-of-interest and video frame for determining video frame
Afterwards, the first quantization parameter value is adjusted based on the first area-of-interest, obtains the second quantization parameter value for video frame.
If the area-of-interest of the 1st video frame is ROI_1, the area-of-interest of the 2nd video frame is ROI_2, according to
This analogizes, and the area-of-interest of n-th video frame is ROI_N, and the first quantization parameter value of the 1st video frame is QP_1,
First quantization parameter value of the 2nd video frame is QP_2, and so on, the first quantization parameter value of n-th video frame is OP_N,
Then: QP_1 being adjusted based on ROI_1, obtains the second quantization parameter value QP ' _ 1 for the 1st video frame, is adjusted based on ROI_2
QP_2 obtains the second quantization parameter value QP ' _ 2 for the 2nd video frame, and so on, QP_N is adjusted based on ROI_N, is obtained
For the second quantization parameter value QP ' _ N of n-th video frame.
Step S140 quantifies according to the second quantization parameter value for video frame to pretreated video frame is encoded
Coding.
It specifically, can be according to the second amount for being directed to video frame after obtaining the second quantization parameter value for video frame
Change parameter value, carries out quantization encoding to pretreated video frame is encoded.
If the second quantization parameter value of the 1st video frame is QP ' _ 1, the second quantization parameter value of the 2nd video frame is
QP ' _ 2, and so on, the second quantization parameter value of n-th video frame is QP ' _ N, then: after the coding pretreatment of QP ' _ 1 pair
The 1st video frame carry out quantization encoding, encode pretreated 2nd video frame according to QP ' _ 2 pair and carry out quantization encoding, according to
This analogizes, and carries out quantization encoding to pretreated n-th video frame is encoded according to QP ' _ N.
Method for video coding provided by the embodiments of the present application is joined by the area-of-interest and the first quantization that determine video frame
Numerical value, and the first quantization parameter value is adjusted based on the first area-of-interest, the second quantization parameter value of video frame is obtained, thus
Can be according to corresponding second quantization parameter value of each video frame, each video frame pretreated to coding carries out respectively
Quantization encoding, allows to the area-of-interest according to any video frame, dynamically adjusts the code rate in any video frame, realizes
To the reasonable distribution of the code rate in any video frame, thus by more Data Rate Distributions in the interested picture model of viewer
In enclosing, and by less Data Rate Distribution within the scope of the uninterested picture of viewer, video viewing experience is greatly improved, especially
Under the scene of low bit- rate, viewer can be effectively promoted to the sensorial effects of video.
In a kind of possible implementation of the application one embodiment, video frame is analyzed and processed, determines view
First area-of-interest of frequency frame, comprising: according to predetermined compression factor, video frame is compressed, obtains compressed video frame;Base
Image segmentation is carried out to compressed video frame in gradient descent method, determines the second area-of-interest of compressed video frame;According to pre-
Determine compression factor, to determining that the compressed video frame after the second area-of-interest carries out equal proportion amplification, obtains the of video frame
One area-of-interest.
Specifically, it after determining each video frame, needs to be analyzed and processed each video frame determined respectively,
Determine corresponding first area-of-interest of each video frame.Wherein it is determined that the first area-of-interest of each video frame
Analysis treatment process be it is identical, it is processed to the analysis for determining the first area-of-interest below by taking any video frame as an example
Journey is specifically introduced:
Firstly, being compressed to any video frame according to predetermined compression factor, obtaining compressed video frame.The predetermined compression
Ratio can be integer 2,4,5 etc., be also possible to other numerical value, and the embodiment of the present application is not restricted it.Wherein, according to predetermined
Compression factor compresses any video frame, refers to and is pressed according to resolution ratio of the predetermined compression factor to any video frame
Contracting, obtains compressed video frame.If the resolution ratio of any video frame is 1920*1080, predetermined compression factor is 4, then can be with
The compressed video frame for being distinguished as 480*270 is obtained, i.e., the resolution ratio of any video frame is reduced 4 times.
Secondly, carrying out image segmentation to obtained compressed video frame based on gradient descent method, the compressed video frame is obtained
Area-of-interest (the second i.e. above-mentioned area-of-interest), for example, the human face region of compressed video frame is determined in Fig. 3
Second area-of-interest.Wherein, by first compressing to any video frame, then the region of interest of compressed video frame is determined
Domain can reduce operand, improve calculating speed.
Finally, after obtaining the area-of-interest of compressed video frame, according to above-mentioned predetermined compression factor, to determining
Compressed video frame after two area-of-interests carries out equal proportion amplification, i.e., will determine the compression video after the second area-of-interest
Frame (for example resolution ratio is 480*270) equal proportion is enlarged into original resolution sizes (such as 1920*1080), thus according to pre-
Determine compression factor, the second area-of-interest of compressed video frame and regions of non-interest are subjected to equal proportion amplification, are reduced to
Any video before compression, and then the first area-of-interest of any video before the compression is obtained, for example, before being compressed in Fig. 2
The human face region of video frame be the first area-of-interest determined.
Specifically, after determining the second area-of-interest of compressed video frame, it is also based on the first predetermined mask
Symbol (such as " 1 ") and the second predetermined mask symbol (such as " 0 ") carry out mask conversion process to compressed video frame, such as: it adopts
The second area-of-interest that compressed video frame is indicated with the first predetermined mask symbol " 1 ", using the second predetermined mask symbol " 0 " table
The regions of non-interest for showing compressed video frame, obtain include the multiple first predetermined mask symbols the second area-of-interest and packet
The non-region of interest of the compressed video frame of the multiple second predetermined mask symbols is included, as shown in Figure 3.
It wherein, can be according to each of compressed video frame during carrying out mask conversion process to compressed video frame
The coordinate of pixel carries out mask conversion process, for example, determining whether the coordinate of some pixel is in area-of-interest, such as
Fruit is in area-of-interest, then the coordinate of the pixel is labeled as the first predetermined mask symbol (such as " 1 "), if do not located
In area-of-interest, then the coordinate of the pixel is labeled as the second predetermined mask symbol (such as " 0 ").
Specifically, it is obtaining including the second area-of-interest of the multiple first predetermined mask symbols and including multiple second
It, can be according to above-mentioned predetermined compression factor, to including more after the non-region of interest of the compressed video frame of predetermined mask symbol
Second area-of-interest of a first predetermined mask symbol (such as " 1 ") and including the multiple second predetermined mask symbols (such as
" 0 ") compressed video frame non-region of interest, respectively carry out equal proportion amplification, obtain including the multiple first predetermined mask symbols
The first area-of-interest and any video frame including the multiple second predetermined mask symbols regions of non-interest, that is, use
First predetermined mask symbol " 1 " indicates the first area-of-interest of any video frame before compression, is accorded with using the second predetermined mask
Number " 0 " indicates the regions of non-interest of any video frame before compression, as shown in Figure 3.
In the alternatively possible implementation of the application one embodiment, determining that each video frame respectively corresponds to
Area-of-interest after, can be based on corresponding first area-of-interest of each video frame, adjust each video frame respectively
Corresponding first quantization parameter value obtains the second quantization parameter value for being directed to each video frame respectively.Wherein it is determined that each video
The process of second quantization parameter value of frame be it is identical, below by taking any video frame as an example, to be based on the first area-of-interest tune
Whole first quantization parameter value, the process for obtaining the second quantization parameter value are specifically introduced:
Firstly, according to the quantity of the first predetermined mask symbol in the first area-of-interest of any video frame and this is any
The total quantity of the first predetermined mask symbol and the second predetermined mask symbol, determines the accounting of the first area-of-interest in video frame
Value.If the quantity of the first predetermined mask symbol is 10 in any video frame, the quantity 30 of the second predetermined mask symbol then should
The total quantity of the first predetermined mask symbol and the second predetermined mask symbol is 40 in any video frame, to obtain any video
The accounting value of first area-of-interest of frame is 10/40=0.25.
Secondly, scheduled quantization calculations of offset mode is based on, according to the above-mentioned accounting value determined, predetermined area-of-interest
Intensity value and the predetermined computation factor determine the quantization deviant of any video frame.For example, can be using following representation
Quantify calculations of offset mode:
FloatQP_offset=-1*factor*log2 (roi_strength/roi_ratio+1)
Wherein, float indicates floating number, and QP_offset indicates quantization deviant, and factor indicates the predetermined computation factor,
Empirical value, such as 6 can be taken, roi_strength indicates that scheduled area-of-interest intensity value, roi_ratio indicate accounting
Value.
Finally, adjusting the first quantization parameter value of any video frame based on quantization deviant, any video frame is obtained
The second quantization parameter value.It, can be with during adjusting the first quantization parameter value of any video frame based on quantization deviant
It is first based on scheduled quantization incremental computations mode, according to the first quantization parameter value of any video frame, above-mentioned is calculated
Quantify deviant, the first predetermined quantitative maximum value and the second predetermined quantitative maximum value, determines the quantization increment of any video frame
Value;The first quantization parameter value that any video frame is adjusted further according to the quantization incremental value determined is obtained for any view
Second quantization parameter value of frequency frame.
Specifically, the quantization incremental computations mode of following representation can be used:
Qp_delta=QP_offset* (QP_MAX-cur_qp)/(QP_MAX-QP_MAX_SPEC)
Wherein, qp_delta indicates that quantization incremental value, QP_offset indicate quantization deviant, and cur_qp indicates that this is any
First quantization parameter value of video frame, QP_MAX_SPEC indicate that the first predetermined quantitative maximum value, value can be 63, QP_MAX
Indicate that the second predetermined quantitative maximum value, value can be 81.
It specifically, can be according to the quantization increment determined after determining the quantization incremental value of any video frame
Value adjusts the first quantization parameter value of any video frame, obtains the second quantization parameter value for any video frame.Wherein,
It, can be by calculating during the first quantization parameter value for adjusting any video frame according to the quantization incremental value determined
State quantization incremental value and the first quantization parameter value data and, and by the data being calculated and as any video frame
The second quantization parameter value, i.e., the second quantization parameter value of any video frame is the quantization incremental value and first of any video frame
The data of quantization parameter value and.
Wherein, Fig. 4 gives the first amount that the first area-of-interest based on any video frame adjusts any video frame
Change parameter value, obtains the second quantization parameter value, and according to the second quantization parameter value to the pretreated any video frame of coding
Carry out the process of quantization encoding.Dotted box portion in Fig. 4 indicates that the first area-of-interest adjustment based on any video frame should
First quantization parameter value of any video frame.The YUV sequence inputted in Fig. 4 is the video frame inputted, shown in Fig. 4 encoded
Journey is included decoding process, by the available reference frame of decoding process, right side of dotted line portion in included decoding process such as Fig. 4
Shown in point.
In the alternatively possible implementation of the application one embodiment, in live streaming, Video chat and video conference
Etc. in scenes, the area-of-interest of video to be encoded is basically unchanged, at this point, treating each video frame (ratio in encoded video
Such as 25 video frames, respectively F1, F2 ..., F25) be analyzed and processed, determine that corresponding first sense of each video frame is emerging
During interesting region, can be extracted from each video frame (F1, F2 ..., F25) video frame (such as F1 or F11 or
F21 etc.), and according to the area-of-interest of a video frame, determine other videos in 25 video frames in addition to a video frame
The area-of-interest of frame.During extracting a video frame from each video frame (F1, F2 ..., F25), can be with
Machine extracts, and is also possible to extract with pre- fixed sample interval, the embodiment of the present application is not restricted it.
Specifically, it in the area-of-interest according to a video frame, determines in each video frame in addition to a video frame
Other video frames area-of-interest during, can first extract a video frame from each video frame, then determining should
One video frame corresponding multiple first video frames (other video frames i.e. in addition to the first video frame) in each video frame.
If extracting 2 video frames from each video frame (F1, F2 ..., F25), and 2 video frames extracted are respectively
F1 and F13, then: can determine F1 corresponding multiple first video frames in each video frame be respectively F2, F3 ..., F12, F13
In each video frame corresponding multiple first video frames be respectively F14, F15 ..., F25.
Specifically, determine each video frame in each video frame after corresponding multiple first video frames, root
Any video frame is analyzed and processed according to above-mentioned, the method for determining the first area-of-interest of any video frame, to each view
Frequency frame is analyzed and processed, and determines corresponding first area-of-interest of each video frame (F1 and F13).Wherein, in determination
It, can be by the first sense of each first video frame out after corresponding first area-of-interest of each video frame (F1 and F13)
First area-of-interest of the interest region as its corresponding multiple first video frame, for example, by the first area-of-interest of F1
As its corresponding multiple second video frame F2, F3 ..., the first area-of-interest of F12, by the first area-of-interest of F13
As its corresponding multiple second video frame F14, F15 ..., the first area-of-interest of F25, to obtain each video frame
First area-of-interest avoids the region of interest for repeating to determine other video frames in each video frame in addition to the first video frame
Operand is effectively reduced in domain.
Specifically, the first quantization parameter value is being adjusted based on the first area-of-interest, is obtaining the second amount for video frame
It, can be based on the first quantization parameter of the corresponding adjustment video frame of the first area-of-interest of video frame during changing parameter value
Value obtains the second quantization parameter value for video frame, for example, the second quantization parameter value of F1 is QP_F1, the second amount of F13
Change parameter value is QP_F13.Wherein, obtain corresponding second quantization parameter value of video frame (F1 and F13) (QP_F1 with
QP_F13 after), can by the second quantization parameter value (QP_F1) of F1 as its corresponding multiple first video frame (F2, F3 ...,
F12 the second quantization parameter value) regard the second quantization parameter value (QP_F13) of F13 as its corresponding multiple first video frame
Second quantization parameter value of (F14, F15 ..., F25).To avoid repeating determining in each video frame in addition to the first video frame
Other video frames the second quantization parameter value, operand is effectively reduced.
It specifically, can be according to for each video frame after determining the second quantization parameter value of each video frame
Each video frame pretreated to coding carries out quantization encoding to second quantization parameter value respectively.
Fig. 5 gives the basic process that the method for video coding based on the embodiment of the present application carries out Video coding, in Fig. 5
In, encoded video frame is treated first and is decoded, and obtains the picture bitmap YUV of video frame to be encoded, while treating encoded video
Frame carry out video analysis, obtain the area-of-interest including the multiple first predetermined mask symbols (" 1 ") of video frame to be encoded with
And the non-region of interest including the multiple second predetermined mask symbols (" 0 "), i.e., indicate that sense is emerging using the first predetermined mask symbol " 1 "
Interesting region indicates regions of non-interest using the second predetermined mask symbol " 0 ";It is covered then according to picture bitmap YUV with predetermined
The video frame to be encoded that code sign indicates (indicates area-of-interest using the first predetermined mask symbol " 1 ", makes a reservation for using second
Mask symbol " 0 " indicates regions of non-interest), treating encoded video frame is encoded, the video frame after being encoded.
Fig. 6 is the result schematic diagram that the method for video coding based on the embodiment of the present application carries out Video coding, wherein is being schemed
6 right parts, " 1 " indicate the area-of-interest of video frame to be encoded, and " 0 " indicates the regions of non-interest of video frame to be encoded,
Fig. 6 left part is the video frame after coding, it can be seen that the regions of non-interest that area-of-interest compares periphery is more clear
It is clear.
Fig. 7 is a kind of structural schematic diagram for video coding apparatus that the another embodiment of the application provides, as shown in fig. 7, should
Device 70 may include the first determining module 71, the second determining module 72, adjustment module 73 and coding module 74;Wherein:
First determining module 71, the video frame for treating in encoded video are analyzed and processed, and determine video frame
First area-of-interest;
Second determining module 72 determines the first quantization parameter value of video frame for carrying out coding pretreatment to video frame;
Module 73 is adjusted, for adjusting the first quantization parameter value based on the first area-of-interest, is obtained for video frame
Second quantization parameter value;
Coding module 74, for according to the second quantization parameter value for video frame to encode pretreated video frame into
Row quantization encoding.
Device provided by the embodiments of the present application, by determining the area-of-interest and the first quantization parameter value of video frame, with
And the first quantization parameter value is adjusted based on the first area-of-interest, the second quantization parameter value of video frame is obtained, so as to root
According to corresponding second quantization parameter value of each video frame, quantization volume is carried out to the pretreated each video frame of coding respectively
Code, allows to the area-of-interest according to any video frame, dynamically adjusts the code rate in any video frame, realize to this
The reasonable distribution of code rate in any video frame, thus by more Data Rate Distributions within the scope of the interested picture of viewer,
And by less Data Rate Distribution within the scope of the uninterested picture of viewer, video viewing experience is greatly improved, especially low
Under the scene of code rate, viewer can be effectively promoted to the sensorial effects of video.
Fig. 8 is a kind of detailed construction schematic diagram for video coding apparatus that the another embodiment of the application provides, such as Fig. 8 institute
Show, which may include the first determining module 81, the second determining module 82, adjustment module 83 and coding module 84, wherein
The function that the first determining module 81 in Fig. 8 is realized is identical as the first determining module 71 in Fig. 7, and second in Fig. 8 determines
The function that module 82 is realized is identical as the second determining module 72 in Fig. 7, the function that the adjustment module 83 in Fig. 8 is realized with
Adjustment module 73 in Fig. 7 is identical, and the function that the coding module 84 in Fig. 8 is realized is identical as the coding module 74 in Fig. 7,
This is repeated no more.It describes in detail below to video coding apparatus shown in Fig. 8:
Specifically, the first determining module 81 includes that compression submodule 811, first determines submodule 812 and amplification submodule
813, in which:
Submodule 811 is compressed, for compressing to video frame, obtaining compressed video frame according to predetermined compression factor;
First determines submodule 812, for carrying out image segmentation to compressed video frame based on gradient descent method, determines pressure
Second area-of-interest of contracting video frame;
Amplify submodule 813, for according to predetermined compression factor, to determining the compression video after the second area-of-interest
Frame carries out equal proportion amplification, obtains the first area-of-interest of video frame.
Specifically, first determine that mould 81 further includes conversion process submodule 814, in which:
Conversion process submodule 814 regards compression for being based on the first predetermined mask symbol and the second predetermined mask symbol
Frequency frame carries out mask conversion process, obtains including the second area-of-interest of the multiple first predetermined mask symbols and including multiple
The non-region of interest of the compressed video frame of second predetermined mask symbol;
Amplify submodule 813 to be specifically used for according to predetermined compression factor, to including the of the multiple first predetermined mask symbols
The non-region of interest of two area-of-interests and the compressed video frame including the multiple second predetermined mask symbols such as carries out at the ratio respectively
Example amplification is obtained including the first area-of-interest of the multiple first predetermined mask symbols and be accorded with including the multiple second predetermined masks
Number video frame regions of non-interest.
Specifically, adjustment module 83 determines that submodule 831, third determine submodule 832 and the first adjustment including second
Module 833, in which:
Second determines submodule 831, for according to the quantity of the in the first area-of-interest first predetermined mask symbol and
The total quantity of the first predetermined mask symbol and the second predetermined mask symbol, determines the accounting of the first area-of-interest in video frame
Value;
Third determines submodule 832, emerging according to accounting value, predetermined sense for being based on scheduled quantization calculations of offset mode
Interesting field strength value and the predetermined computation factor determine corresponding quantization deviant;
The first adjustment submodule 833 obtains for the first quantization parameter value based on quantization deviant adjustment video frame
Two quantization parameter values.
Specifically, the first adjustment submodule 833 includes increment determination unit 8331 and increasing amount adjustment unit 8332, in which:
Increment determination unit 8331, for being based on scheduled quantization incremental computations mode, according to the first of video frame the quantization
Parameter value, quantization deviant, the first predetermined quantitative maximum value and the second predetermined quantitative maximum value determine corresponding quantization increment
Value;
Increasing amount adjustment unit 8332 obtains needle for the first quantization parameter value according to quantization incremental value adjustment video frame
To the second quantization parameter value of video frame.
Specifically, increasing amount adjustment unit 8332 is specifically used for the data of calculation amount quantizer input quantization increment value and the first quantization parameter value
With, and by data and as the second quantization parameter value.
Specifically, the first determining module 81 is specifically used for extracting a video frame from each video frame of video to be encoded,
And determine video frame corresponding multiple first video frames in each video frame;And video frame is carried out at analysis
Reason, determines the first area-of-interest of video frame, and using the first area-of-interest of video frame as its corresponding multiple first
First area-of-interest of video frame;
Adjust the first quantization that module 83 is specifically used for the corresponding adjustment video frame of the first area-of-interest based on video frame
Parameter value obtains the second quantization parameter value for video frame, and the second quantization parameter value of video frame is corresponding as its
Second quantization parameter value of multiple first video frames.
It should be noted that the present embodiment is device item embodiment corresponding with above-mentioned method item embodiment, this reality
Applying example can work in coordination implementation with above method item embodiment.The relevant technical details mentioned in above method item embodiment are at this
In embodiment still effectively, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technologies mentioned in the present embodiment are thin
Section is also applicable in above method item embodiment.
Another embodiment of the application provides a kind of electronic equipment, as shown in figure 9, electronic equipment shown in Fig. 9 900 wraps
It includes: processor 901 and memory 903.Wherein, processor 901 is connected with memory 903, is such as connected by bus 902.Into one
Step ground, electronic equipment 900 can also include transceiver 904.It should be noted that transceiver 904 is not limited to one in practical application
A, the structure of the electronic equipment 900 does not constitute the restriction to the embodiment of the present application.
Wherein, processor 901 is applied in the embodiment of the present application, determines mould for realizing Fig. 7 and shown in Fig. 8 first
Block, the second determining module, the function of adjusting module and coding module.
Processor 901 can be CPU, general processor, DSP, ASIC, FPGA or other programmable logic device, crystalline substance
Body pipe logical device, hardware component or any combination thereof.It, which may be implemented or executes, combines described by present disclosure
Various illustrative logic blocks, module and circuit.Processor 901 is also possible to realize the combination of computing function, such as wraps
It is combined containing one or more microprocessors, DSP and the combination of microprocessor etc..
Bus 902 may include an access, and information is transmitted between said modules.Bus 902 can be pci bus or EISA
Bus etc..Bus 902 can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 9 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
Memory 903 can be ROM or can store the other kinds of static storage device of static information and instruction, RAM
Or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to EEPROM, CD-ROM or other CDs
Storage, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium
Or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form desired program generation
Code and can by any other medium of computer access, but not limited to this.
Memory 903 is used to store the application code for executing application scheme, and is held by processor 901 to control
Row.Processor 901 is for executing the application code stored in memory 903, to realize that Fig. 7 or embodiment illustrated in fig. 8 are mentioned
The movement of the video coding apparatus of confession.
Electronic equipment provided by the embodiments of the present application, including memory, processor and storage on a memory and can located
The computer program that runs on reason device, when processor executes program, it can be achieved that: the area-of-interest and the by determining video frame
One quantization parameter value, and the first quantization parameter value is adjusted based on the first area-of-interest, obtain the second quantization ginseng of video frame
Numerical value, it is pretreated each to encoding respectively so as to according to corresponding second quantization parameter value of each video frame
Video frame carries out quantization encoding, allows to the area-of-interest according to any video frame, dynamically adjusts in any video frame
Code rate, realize the reasonable distribution to the code rate in any video frame, thus by more Data Rate Distributions viewer feel
Within the scope of the picture of interest, and by less Data Rate Distribution within the scope of the uninterested picture of viewer, video is greatly improved
Viewing experience can effectively promote viewer to the sensorial effects of video especially under the scene of low bit- rate.
The embodiment of the present application provides a kind of computer readable storage medium, is stored on the computer readable storage medium
Computer program realizes method shown in embodiment one when the program is executed by processor.It can be achieved: by determining video frame
Area-of-interest and the first quantization parameter value, and the first quantization parameter value is adjusted based on the first area-of-interest, obtain video
Corresponding second quantization parameter value of frame, it is right respectively so as to according to corresponding second quantization parameter value of each video frame
It encodes pretreated each video frame and carries out quantization encoding, allow to the area-of-interest according to any video frame, dynamic
The code rate in any video frame is adjusted, the reasonable distribution to the code rate in any video frame is realized, thus by more
Data Rate Distribution is within the scope of the interested picture of viewer, and by less Data Rate Distribution in the uninterested picture model of viewer
In enclosing, video viewing experience is greatly improved, especially under the scene of low bit- rate, can effectively promote viewer to the sense organ of video
Effect.
Computer readable storage medium provided by the embodiments of the present application is suitable for any embodiment of the above method.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (10)
1. a kind of method for video coding characterized by comprising
The video frame treated in encoded video is analyzed and processed, and determines the first area-of-interest of the video frame;
Coding pretreatment is carried out to the video frame, determines the first quantization parameter value of the video frame;
First quantization parameter value is adjusted based on first area-of-interest, obtains the second quantization for the video frame
Parameter value;
Quantization encoding is carried out to the pretreated video frame is encoded according to the second quantization parameter value for the video frame.
2. the method according to claim 1, wherein the video frame treated in encoded video is analyzed
Processing, determines the first area-of-interest of the video frame, comprising:
According to predetermined compression factor, the video frame is compressed, compressed video frame is obtained;
Image segmentation is carried out to the compressed video frame based on gradient descent method, determines that the second sense of the compressed video frame is emerging
Interesting region;
According to the predetermined compression factor, to determining that the compressed video frame after the second area-of-interest carries out equal proportion amplification,
Obtain the first area-of-interest of any video frame.
3. according to the method described in claim 2, it is characterized in that, second in the determination compressed video frame is interested
After region, further includes:
Based on the first predetermined mask symbol and the second predetermined mask symbol, mask conversion process is carried out to the compressed video frame,
It obtains including the second area-of-interest of the multiple first predetermined mask symbols and the institute including the multiple second predetermined mask symbols
State the non-region of interest of compressed video frame;
It is described according to the predetermined compression factor, to determining that the compressed video frame after the second area-of-interest carries out equal proportion and put
Greatly, the first area-of-interest of any video frame is obtained, comprising:
According to the predetermined compression factor, to the second area-of-interest for including the multiple first predetermined mask symbols and including more
The non-region of interest of the compressed video frame of a second predetermined mask symbol carries out equal proportion amplification respectively, obtains including multiple
First area-of-interest of the first predetermined mask symbol and the video frame including the multiple second predetermined mask symbols it is non-
Area-of-interest.
4. according to the method described in claim 3, it is characterized in that, described based on first area-of-interest adjustment described the
One quantization parameter value obtains the second quantization parameter value for the video frame, comprising:
According to first predetermined being covered in the quantity and the video frame of the first predetermined mask symbol in first area-of-interest
The total quantity of code sign and the second predetermined mask symbol, determines the accounting value of first area-of-interest;
Based on scheduled quantization calculations of offset mode, according to the accounting value, predetermined area-of-interest intensity value and predetermined computation
The factor determines corresponding quantization deviant;
The first quantization parameter value that the video frame is adjusted based on the quantization deviant, obtains the second quantization parameter value.
5. according to the method described in claim 4, it is characterized in that, described adjust the video frame based on the quantization deviant
The first quantization parameter value, obtain the second quantization parameter value, comprising:
It is inclined according to the first quantization parameter value of any video frame, the quantization based on scheduled quantization incremental computations mode
Shifting value, the first predetermined quantitative maximum value and the second predetermined quantitative maximum value determine corresponding quantization incremental value;
The first quantization parameter value that the video frame is adjusted according to the quantization incremental value, obtains second for the video frame
Quantization parameter value.
6. according to the method described in claim 5, it is characterized in that, described adjust the video frame according to the quantization incremental value
The first quantization parameter value, obtain the second quantization parameter value for the video frame, comprising:
Calculate the quantization incremental value and first quantization parameter value data and, and by the data and as described second
Quantization parameter value.
7. method according to claim 1-6, which is characterized in that the video frame treated in encoded video
It is analyzed and processed, determines the first area-of-interest of the video frame, comprising:
A video frame is extracted from each video frame of the video to be encoded, and determines the video frame in each video
Corresponding multiple first video frames in frame;
The video frame is analyzed and processed, determines the first area-of-interest of the video frame, and by the video frame
First area-of-interest of first area-of-interest as its corresponding multiple first video frame;
First quantization parameter value is adjusted based on first area-of-interest, obtains the second quantization for the video frame
Parameter value, comprising:
Corresponding the first quantization parameter value for adjusting the video frame of the first area-of-interest based on the video frame, is directed to
Second quantization parameter value of the video frame, and using the second quantization parameter value of the video frame as its corresponding multiple first
Second quantization parameter value of video frame.
8. a kind of video coding apparatus characterized by comprising
First determining module, the video frame for treating in encoded video are analyzed and processed, and determine the of the video frame
One area-of-interest;
Second determining module determines the first quantization parameter of the video frame for carrying out coding pretreatment to the video frame
Value;
Module is adjusted, for adjusting first quantization parameter value based on first area-of-interest, is obtained for the view
Second quantization parameter value of frequency frame;
Coding module is directed to the second quantization parameter value of the video frame to the pretreated video frame of coding for basis
Carry out quantization encoding.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes the described in any item Video codings of claim 1-7 when executing described program
Method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes claim 1-7 described in any item method for video coding when the program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910544772.4A CN110267037B (en) | 2019-06-21 | 2019-06-21 | Video encoding method, video encoding device, electronic equipment and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910544772.4A CN110267037B (en) | 2019-06-21 | 2019-06-21 | Video encoding method, video encoding device, electronic equipment and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110267037A true CN110267037A (en) | 2019-09-20 |
CN110267037B CN110267037B (en) | 2021-08-13 |
Family
ID=67920546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910544772.4A Active CN110267037B (en) | 2019-06-21 | 2019-06-21 | Video encoding method, video encoding device, electronic equipment and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110267037B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708570A (en) * | 2019-10-21 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Video coding rate determining method, device, equipment and storage medium |
CN111131825A (en) * | 2019-10-28 | 2020-05-08 | 华为技术有限公司 | Video processing method and related device |
CN111193928A (en) * | 2019-10-28 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Method and apparatus for communicating region of interest information in video |
CN111586413A (en) * | 2020-06-05 | 2020-08-25 | 广州繁星互娱信息科技有限公司 | Video adjusting method and device, computer equipment and storage medium |
CN112929668A (en) * | 2021-04-07 | 2021-06-08 | 百果园技术(新加坡)有限公司 | Video coding method, device, equipment and storage medium |
WO2021136056A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Encoding method and encoder |
CN113630599A (en) * | 2021-07-08 | 2021-11-09 | 微梦创科网络科技(中国)有限公司 | ROI-based video code rate control method and system |
CN114007137A (en) * | 2021-10-29 | 2022-02-01 | 杭州雾联科技有限公司 | ROI-based video hierarchical coding method, device and medium |
CN114051139A (en) * | 2021-11-09 | 2022-02-15 | 京东科技信息技术有限公司 | Video encoding method and apparatus |
CN115002512A (en) * | 2022-05-23 | 2022-09-02 | 北京市商汤科技开发有限公司 | Video transcoding method and device, electronic equipment and storage medium |
CN115988214A (en) * | 2022-12-01 | 2023-04-18 | 北京首都在线科技股份有限公司 | Video frame encoding method, video frame display method and device |
WO2024066701A1 (en) * | 2022-09-29 | 2024-04-04 | 上海哔哩哔哩科技有限公司 | Roi detection-based video coding method and apparatus, and computing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010069367A1 (en) * | 2008-12-17 | 2010-06-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Adaptive quantization based on bit ratio |
CN101867811A (en) * | 2009-04-16 | 2010-10-20 | 索尼公司 | Picture coding device and method for encoding images |
CN101945275A (en) * | 2010-08-18 | 2011-01-12 | 镇江唐桥微电子有限公司 | Video coding method based on region of interest (ROI) |
CN102036074A (en) * | 2010-12-21 | 2011-04-27 | 汉王科技股份有限公司 | Embedded equipment-based code rate control method and device |
JP2013012996A (en) * | 2011-06-30 | 2013-01-17 | Sony Corp | Image processing device and method |
CN106791856A (en) * | 2016-12-28 | 2017-05-31 | 天津天地伟业生产力促进有限公司 | A kind of method for video coding based on self adaptation area-of-interest |
-
2019
- 2019-06-21 CN CN201910544772.4A patent/CN110267037B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010069367A1 (en) * | 2008-12-17 | 2010-06-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Adaptive quantization based on bit ratio |
CN101867811A (en) * | 2009-04-16 | 2010-10-20 | 索尼公司 | Picture coding device and method for encoding images |
CN101945275A (en) * | 2010-08-18 | 2011-01-12 | 镇江唐桥微电子有限公司 | Video coding method based on region of interest (ROI) |
CN102036074A (en) * | 2010-12-21 | 2011-04-27 | 汉王科技股份有限公司 | Embedded equipment-based code rate control method and device |
JP2013012996A (en) * | 2011-06-30 | 2013-01-17 | Sony Corp | Image processing device and method |
CN106791856A (en) * | 2016-12-28 | 2017-05-31 | 天津天地伟业生产力促进有限公司 | A kind of method for video coding based on self adaptation area-of-interest |
Non-Patent Citations (2)
Title |
---|
LING YANG,等: "《A ROI quality adjustable rate control scheme for low bitrate video coding》", 《2009 PICTURE CODING SYMPOSIUM》 * |
吴志强等: "基于感兴趣区域的360°全景视频编码", 《激光与光电子学进展》 * |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708570A (en) * | 2019-10-21 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Video coding rate determining method, device, equipment and storage medium |
CN111131825A (en) * | 2019-10-28 | 2020-05-08 | 华为技术有限公司 | Video processing method and related device |
CN111193928A (en) * | 2019-10-28 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Method and apparatus for communicating region of interest information in video |
CN111193928B (en) * | 2019-10-28 | 2023-08-11 | 腾讯科技(深圳)有限公司 | Method and apparatus for delivering region of interest information in video |
CN113132728A (en) * | 2019-12-31 | 2021-07-16 | 上海海思技术有限公司 | Encoding method and encoder |
WO2021136056A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Encoding method and encoder |
CN111586413B (en) * | 2020-06-05 | 2022-07-15 | 广州繁星互娱信息科技有限公司 | Video adjusting method and device, computer equipment and storage medium |
CN111586413A (en) * | 2020-06-05 | 2020-08-25 | 广州繁星互娱信息科技有限公司 | Video adjusting method and device, computer equipment and storage medium |
CN112929668B (en) * | 2021-04-07 | 2024-04-26 | 百果园技术(新加坡)有限公司 | Video coding method, device, equipment and storage medium |
CN112929668A (en) * | 2021-04-07 | 2021-06-08 | 百果园技术(新加坡)有限公司 | Video coding method, device, equipment and storage medium |
CN113630599A (en) * | 2021-07-08 | 2021-11-09 | 微梦创科网络科技(中国)有限公司 | ROI-based video code rate control method and system |
CN113630599B (en) * | 2021-07-08 | 2023-09-08 | 微梦创科网络科技(中国)有限公司 | Video code rate control method and system based on ROI |
CN114007137A (en) * | 2021-10-29 | 2022-02-01 | 杭州雾联科技有限公司 | ROI-based video hierarchical coding method, device and medium |
WO2023082904A1 (en) * | 2021-11-09 | 2023-05-19 | 京东科技信息技术有限公司 | Video encoding method and apparatus |
CN114051139B (en) * | 2021-11-09 | 2024-02-02 | 京东科技信息技术有限公司 | Video coding method and device |
CN114051139A (en) * | 2021-11-09 | 2022-02-15 | 京东科技信息技术有限公司 | Video encoding method and apparatus |
CN115002512A (en) * | 2022-05-23 | 2022-09-02 | 北京市商汤科技开发有限公司 | Video transcoding method and device, electronic equipment and storage medium |
CN115002512B (en) * | 2022-05-23 | 2023-11-28 | 北京市商汤科技开发有限公司 | Video transcoding method and device, electronic equipment and storage medium |
WO2024066701A1 (en) * | 2022-09-29 | 2024-04-04 | 上海哔哩哔哩科技有限公司 | Roi detection-based video coding method and apparatus, and computing device |
CN115988214A (en) * | 2022-12-01 | 2023-04-18 | 北京首都在线科技股份有限公司 | Video frame encoding method, video frame display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110267037B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110267037A (en) | Method for video coding, device, electronic equipment and computer readable storage medium | |
US9762917B2 (en) | Quantization method and apparatus in encoding/decoding | |
CN101742317B (en) | Video compressing and encoding method with alpha transparent channel | |
CN101690226B (en) | Statistic image improving method, image encoding method, and image decoding method | |
CN101272489B (en) | Encoding and decoding device and method for video image quality enhancement | |
CN101371583A (en) | High dynamic range codecs | |
CN105812804B (en) | The method and device of optimum quantization value during a kind of determining RDOQ | |
CN1151662A (en) | Post-filter for removing ringing artifacts of DCT coding | |
Xiao et al. | A fast JPEG image compression algorithm based on DCT | |
US8340442B1 (en) | Lossy compression of high-dynamic range image files | |
CN117640942A (en) | Coding method and device for video image | |
CN113613004A (en) | Image encoding method, image encoding device, electronic device, and storage medium | |
CN111741302A (en) | Data processing method and device, computer readable medium and electronic equipment | |
CN105519108B (en) | The weight predicting method and device of quantization matrix coding | |
US7239716B2 (en) | Data insertion device and method of inserting data | |
CN112153388A (en) | Image compression method, device and related equipment | |
TWI237995B (en) | Method and apparatus for removing blocking artifact of video picture via loop filtering using perceptual threshold | |
Huang et al. | Beyond VVC: Towards perceptual quality optimized video compression using multi-scale hybrid approaches | |
US20220114761A1 (en) | Decoding data arrays | |
Xu et al. | A new saliency based video coding method with hevc | |
CN109963158A (en) | A kind of high definition video decoding method based on GPU parallel computation | |
CN113691818B (en) | Video target detection method, system, storage medium and computer vision terminal | |
Yi et al. | Simplified Inception Unit based Filter for HEVC | |
Banterle et al. | BoostHDR: A novel backward-compatible method for HDR images | |
She et al. | New Adaptive Perceptual Quantization Method for HDR Video Coding |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |