CN101998117B - Video transcoding method and device - Google Patents

Video transcoding method and device Download PDF

Info

Publication number
CN101998117B
CN101998117B CN 200910165221 CN200910165221A CN101998117B CN 101998117 B CN101998117 B CN 101998117B CN 200910165221 CN200910165221 CN 200910165221 CN 200910165221 A CN200910165221 A CN 200910165221A CN 101998117 B CN101998117 B CN 101998117B
Authority
CN
China
Prior art keywords
macro block
encoded
coding
code flow
input code
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.)
Expired - Fee Related
Application number
CN 200910165221
Other languages
Chinese (zh)
Other versions
CN101998117A (en
Inventor
唐繁荣
郭姗
秦浩
李兵伟
宋彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Xidian University
Original Assignee
Huawei Technologies Co Ltd
Xidian University
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 Huawei Technologies Co Ltd, Xidian University filed Critical Huawei Technologies Co Ltd
Priority to CN 200910165221 priority Critical patent/CN101998117B/en
Publication of CN101998117A publication Critical patent/CN101998117A/en
Application granted granted Critical
Publication of CN101998117B publication Critical patent/CN101998117B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a video transcoding method and a video transcoding device. The video transcoding method comprises the following steps of: decoding an input code stream, extracting macroblock information of the decoded input code stream, and determining a pixel transcoding rate; when the determined pixel transcoding rate is smaller than a preset first threshold value, coding the decoded input code stream according to the macroblock information; and when the pixel transcoding rate is greater than the first threshold value, re-determining a macroblock coding mode according to the macroblock information, and coding the decoded input code stream according to the re-determined macroblock coding mode. On the premise of ensuring the restored video quality, the transcoding speed is improved and the requirement of real-time video transcoding is better met.

Description

Video transcoding method and device
Technical field
The embodiment of the invention relates to communication technical field, particularly a kind of video transcoding method and device.
Background technology
Along with the development of mobile communication technology, the lifting at full speed of network insertion speed, portable terminal get over intelligent, and the day by day optimization of digital compression technology, portable terminal develops into a multimedia intelligent platform from simple communication, agencies of liaison.The value-added services such as meanwhile, traditional multimedia message, the download of figure bell can't have been satisfied user's demand.The appearance of mobile flow medium will change this situation, and mobile flow medium can provide services such as comprising video request program, mobile video chat, mobile video monitor for the user.Mobile flow medium is the combination of mobile communication and streaming media, adopts stream media technology to carry out transfer of data by the mobile network at portable terminal.Yet, the diversity of portable terminal, the fluctuation of wireless network and the limited processing ability of portable terminal the development of mobile flow medium.
The video code conversion of rate conversion can provide only video flowing according to the disposal ability of portable terminal and the condition of the network bandwidth, therefore is the key technology that promotes the mobile flow medium development.The most direct way of code check conversion is to adopt the complete solution of cascade entirely to compile transcoder.Complete solution is entirely compiled transcoder and is divided into two parts: by decoder input video stream is carried out complete decoding first, according to target bit rate decoded video is carried out compression coding by an encoder again.By with decoded video flowing according to target code check carry out recompile, thereby can access best picture quality.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: the video code conversion scheme that prior art provides need to be carried out complete decoding to input code flow when realizing, then decoded input code flow is re-started the encoding operations such as estimation, coding mode judgement, computational complexity is high, so that transcoding speed is low, can not satisfy better the requirement of real-time video transcoding.
Summary of the invention
The embodiment of the invention provides a kind of video transcoding method and device, and to realize the pixel transcoding rate according to input code flow and output code flow, the real-time selection macro-block coding pattern is guaranteeing to recover under the prerequisite of video quality raising transcoding speed.
The embodiment of the invention provides a kind of video transcoding method, comprising:
Input code flow is decoded, extract the macro block information of decoded input code flow, determine pixel transcoding rate according to described input code flow;
When the described pixel transcoding rate of determining during less than default the first threshold value, according to described macro block information described decoded input code flow is encoded;
When described pixel transcoding rate during greater than described the first threshold value, redefine macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern that redefines described decoded input code flow is encoded.
The embodiment of the invention also provides a kind of video code conversion device, comprising:
Decoder module is used for input code flow is decoded;
Extraction module is for the macro block information that extracts the decoded input code flow of described decoder module;
Pixel transcoding rate determination module is used for determining pixel transcoding rate according to described input code flow;
Coding module when being used for the pixel transcoding rate determined when described pixel transcoding rate determination module less than default the first threshold value, is encoded to the decoded input code flow of described decoder module according to the macro block information of described extraction module extraction;
The coding mode determination module when being used for the pixel transcoding rate determined when described pixel transcoding rate determination module greater than described the first threshold value, redefines macro-block coding pattern according to the macro block information of described extraction module extraction; Described coding module also is used for according to the macro-block coding pattern that described coding mode determination module redefines the decoded input code flow of described decoder module being encoded.
The embodiment of the invention is determined macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and input code flow; and then encode according to the macro-block coding pattern of determining; thereby under the prerequisite of the video quality of guaranteeing to recover; improve transcoding speed, satisfied better the requirement of real-time video transcoding.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of an embodiment of video transcoding method of the present invention;
Fig. 2 is the flow chart of another embodiment of video transcoding method of the present invention;
Fig. 3 is the structural representation of an embodiment of video code conversion device of the present invention;
Fig. 4 is the structural representation of another embodiment of video code conversion device of the present invention;
Fig. 5 is the PSNR performance comparison schematic diagram of Carphone.qcif sequence of the present invention;
Fig. 6 is the transcoding speed contrast schematic diagram of Carphone.qcif sequence of the present invention;
Fig. 7 is the PSNR performance comparison schematic diagram of Foreman.cif sequence of the present invention;
Fig. 8 is the transcoding speed contrast schematic diagram of Foreman.cif sequence of the present invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belongs to the scope of protection of the invention.
The embodiment of the invention provides a kind of video transcoding method, by information such as the image information in the multiplexing input code flow, motion vector, macroblock encoding type, prediction residual, simplify the operations such as coding mode judgement, estimation to reduce the transcoding computational complexity, improve transcoding speed.
Fig. 1 is the flow chart of an embodiment of video transcoding method of the present invention, as shown in Figure 1, comprising:
Step 101 is decoded to input code flow, extracts the macro block information of decoded input code flow, determines pixel transcoding rate according to input code flow.
Step 102 when the pixel transcoding rate of determining during less than default the first threshold value, is encoded to decoded input code flow according to this macro block information.
Wherein, pixel transcoding rate is the ratio of the bit number that average every pixel takies in the bit number that average every pixel takies in the input code flow and the output code flow of presetting, wherein, the bit number that average every pixel takies in the default output code flow is the numerical value of an expression desired output, needs index of correlation in the process and the relevant information in the input code flow (such as code check etc.) relevant with transcoding.Pixel transcoding rate represents the similarity degree between the output code flow of input code flow and expection, and pixel transcoding rate is less, and the similitude between the output code flow of expression input code flow and expection is higher.
When pixel transcoding rate during less than default the first threshold value, has stronger similitude between the output code flow of decoded input code flow and expection, therefore do not need input code flow is carried out larger adjustment, can encode to decoded input code flow according to the macro block information of decoded input code flow.
Step 103 when pixel transcoding rate during greater than this first threshold value, redefines macro-block coding pattern according to this macro block information, and according to the macro-block coding pattern that redefines decoded input code flow is encoded.
Particularly, when pixel transcoding rate during greater than this first threshold value, otherness between the output code flow of decoded input code flow and expection is larger, therefore according to the macro block information of decoded input code flow decoded input code flow is encoded, can't guarantee the video quality of the output code flow behind the transcoding.In this case, need to redefine macro-block coding pattern according to the macro block information in the decoded input code flow, according to the macro-block coding pattern that redefines decoded input code flow be encoded again.
In the present embodiment, according to the bit number that average every pixel in average every pixel in the input code flow bit number that takies and the output code flow of presetting takies, can determine above-mentioned pixel transcoding rate.
Particularly, the bit number that average every pixel takies in the code stream is bpp, and bpp can calculate by through type (1),
bpp=R/(F×W×H)(1)
In the formula (1), the code check of R sign code stream, F represents the frame per second of code stream, W and H be width and the height of presentation video respectively.
After input code flow decoded, can obtain code check and the frame per second of input code flow, and width and the height of image in the decoded input code flow, can calculate the bit number that average every pixel takies in the decoded input code flow according to these parameters; Below just obtain code check and the frame per second of input code flow, and in the input code flow image width and the height, and then a kind of mode of the bit number that average every pixel takies in the acquisition input code flow, the embodiment of the invention is not limited to this, the code check of input code flow and frame per second, and width and the height of image might not just can obtain after decoding in the input code flow, and above-mentioned parameter also can obtain by other means, for example: pre-enter above-mentioned parameter; The embodiment of the invention is to code check and the frame per second of acquisition input code flow, and width and the mode highly of image is not construed as limiting in the input code flow.
In addition, can require to set in advance according to transcoding code check and the frame per second of output code flow, and width and the height of image in the output code flow, can calculate the bit number that average every pixel takies in the default output code flow according to these parameters.
Wherein, this macro block information comprises: block type information, macroblock mode information, motion vector information, piece type of coding (Coded Block Pattern; Hereinafter to be referred as: CBP) the required information of coding such as information, quantization parameter and macro block residual error; Macro-block coding pattern comprises: block type information, macroblock mode information and motion vector information.
The execution sequence of above-mentioned steps 102 and step 103 in no particular order, but executed in parallel.
Present embodiment is determined macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and input code flow; and then encode according to the macro-block coding pattern of determining; thereby under the prerequisite of the video quality of guaranteeing to recover, improved transcoding speed, satisfied better the real-time video transcoding requirement.
Fig. 2 is the flow chart of another embodiment of video transcoding method of the present invention, as shown in Figure 2, comprising:
Step 201 is decoded to input code flow, extracts the macro block information of decoded input code flow.
Step 202 according to the bit number that average every pixel in average every pixel in the input code flow bit number that takies and the output code flow of presetting takies, is determined pixel transcoding rate.
Particularly, the bit number that average every pixel takies in the code stream is bpp, and bpp can calculate by through type (1).
After input code flow decoded, can obtain code check and the frame per second of input code flow, and width and the height of image in the decoded input code flow, can calculate the bit number that average every pixel takies in the decoded input code flow according to these parameters; Below just obtain code check and the frame per second of input code flow, and in the input code flow image width and the height, and then a kind of mode of the bit number that average every pixel takies in the acquisition input code flow, the embodiment of the invention is not limited to this, the code check of input code flow and frame per second, and width and the height of image might not just can obtain after decoding in the input code flow, and above-mentioned parameter also can obtain by other means, for example: pre-enter above-mentioned parameter; The embodiment of the invention is to code check and the frame per second of acquisition input code flow, and width and the mode highly of image is not construed as limiting in the input code flow.
In addition, can require to set in advance according to transcoding code check and the frame per second of output code flow, and width and the height of image in the output code flow, can calculate the bit number that average every pixel takies in the default output code flow according to these parameters.
The ratio of the bit number that average every pixel takies in the bit number that average every pixel takies in the input code flow and the default output code flow is pixel transcoding rate.Represent pixel transcoding rate with ω, with bpp iThe bit number that average every pixel takies in the expression input code flow is with bpp oThe bit number that average every pixel takies in the output code flow that expression is preset, then,
ω=bpp i/bpp o (2)
Pixel transcoding rate represents the similarity degree between the output code flow of input code flow and expection, and pixel transcoding rate is less, and the similitude between the output code flow of expression input code flow and expection is higher.
Step 203 judges that whether pixel transcoding rate is greater than the first default threshold value.If this pixel transcoding rate is less than this first threshold value, then execution in step 204~step 206; If this pixel transcoding rate is greater than this first threshold value, then execution in step 207.
In the present embodiment, set in advance the first threshold value α, the value of the α here is an empirical value, α can be got a plurality of values within the specific limits, by obtaining best quantity after the Multi simulation running debugging, can get 0.5 or 0.45 etc. such as α, other threshold values herein also available similar approach are obtained.After the first threshold value α is set, judge that whether pixel transcoding rate ω is greater than α.If ω>α, represent that then the otherness between the output code flow of decoded input code flow and expection is larger, therefore according to the macro block information of decoded input code flow decoded input code flow being encoded to guarantee the video quality of the output code flow behind the transcoding.In this case, need to redefine macro-block coding pattern according to the macro block information in the decoded input code flow, according to the macro-block coding pattern that redefines decoded input code flow be encoded again;
If ω<α, then represent to have stronger similitude between the output code flow of decoded input code flow and expection, therefore do not need input code flow is carried out larger adjustment, can encode to decoded input code flow according to the macro block information of decoded input code flow.
Step 204, after according to the macro block information of decoded input code flow each frame of decoded input code flow being encoded, first distortion factor of the output frame behind the calculation code, and second distortion factor of incoming frame corresponding to this output frame, and calculate the ratio of first distortion factor and second distortion factor.
Input code flow is comprised of one by one image, each two field picture comprises a plurality of macro blocks, bit in the macro block represents the shared bits of information such as macro-block coding pattern, motion vector, the length of a bit and quantization parameter (Quantization Parameter; Hereinafter to be referred as: QP) substantially irrelevant; And the texture in the macro block is than refering in particular to the shared bit of macro block residual error, and length and the QP of texture bit are closely related.
When ω<α, can directly encode to this decoded input code flow according to the macro block information of decoded input code flow.At when coding, the movable information of complete multiplexing input macro block, a bit number of therefore exporting macro block is very approaching with a bit number of corresponding input macro block.At this moment, the main difference of the output code flow behind the coding and input code flow is the texture bit number.Reduce transcoding because the code check transcoding all is code check usually, the QP that the output macro block after namely encoding adopts generally is not less than the QP of input macro block, and the texture bit number of namely exporting macro block can be less than the texture bit number of input macro block.When the QP of output macro block was slightly larger than the QP of input macro block, the texture bit number of output macro block was slightly less than the texture bit number of input macro block, and at this moment the code check of the code check of output code flow and input code flow is more or less the same, and therefore can guarantee the quality of output code flow.When the QP of output macro block was more greater than the QP of input macro block, the texture bit number of output macro block was far smaller than the texture bit number of input macro block, and at this moment the code check of the code check of output code flow and input code flow differs larger, and the quality of output code flow descends greatly.
Video quality for the output code flow behind the assurance coding, present embodiment after according to the macro block information of decoded input code flow each frame of decoded input code flow being encoded, equal ratio of second distortion factor of first distortion factor of the output frame behind the calculation code incoming frame corresponding with this output frame.Be specifically as follows:
At first, the first ratio of total bit number of the texture bit number of each macro block and this macro block in the output frame behind the calculation code, and the average of the first ratio of all macro blocks in the output frame behind the calculation code, the average of this first ratio is first distortion factor; Particularly, with R (M o) represent this first ratio,
R ( M o ) = Tex ( M o ) Total ( M o ) - - - ( 3 )
In the formula (3), Tex (M o) be the texture bit number of macro block in the output frame, Total (M o) be total bit number of this macro block.Calculated after the first ratio of each macro block in the output frame, calculated the average of the first ratio of all macro blocks in this output frame, the average of this first ratio is the first distortion factor R o
Then, calculate the second ratio of total bit number of the texture bit number of each macro block in incoming frame corresponding to above-mentioned output frame and this macro block, and calculate the average of the second ratio of all macro blocks in this incoming frame, the average of this second ratio is second distortion factor; Particularly, with R (M i) represent this second ratio,
R ( M i ) = Tex ( M i ) Total ( M i ) - - - ( 4 )
In the formula (4), Tex (M i) be the texture bit number of macro block in the incoming frame, Total (M i) be total bit number of this macro block.Calculated after the second ratio of each macro block in the incoming frame, calculated the average of the second ratio of all macro blocks in this incoming frame, the average of this second ratio is the second distortion factor R i
At last, calculate the ratio R of first distortion factor and second distortion factor o/ R i
Step 205 judges that whether the ratio of this first distortion factor and second distortion factor is less than the second default threshold value.If this distortion factor is less than the second default threshold value, then execution in step 207; If this distortion factor is greater than the second default threshold value, then execution in step 206.
In the present embodiment, set in advance the second threshold value, the value of the β here is empirical value, β can be got a plurality of values within the specific limits, by obtaining best quantity after the Multi simulation running debugging, can get 0.55 or 0.65 etc. such as β.After the second threshold value is set, judge the ratio R of first distortion factor and second distortion factor o/ R iWhether less than β.If R o/ R i<β, the video quality that then can determine output code flow descends too much, can not continue the macro block information according to decoded input code flow, follow-up code stream to be encoded in the decoded input code flow is encoded, and need to redefine according to the macro block information of decoded input code flow macro-block coding pattern, then according to the macro-block coding pattern that redefines follow-up code stream to be encoded is encoded, until to the end-of-encode of this decoded input code flow; If R o/ R i>β can determine that then the video quality of output code flow meets predetermined transcoding requirement, can continue according to the macro block information of decoded input code flow decoded input code flow to be encoded, and after after this each frame being encoded, all calculates R o/ R i, and judge R o/ R iWith the magnitude relationship of β, as long as R o/ R i>β just can continue according to the macro block information of decoded input code flow decoded input code flow to be encoded, in case and R o/ R i<β, just need to redefine macro-block coding pattern according to the macro block information of decoded input code flow, then according to the macro-block coding pattern that redefines follow-up code stream to be encoded in the decoded input code flow is encoded, until to the end-of-encode of this decoded input code flow.
Step 206 is encoded to decoded input code flow according to the macro block information of decoded input code flow.
Preferably, when according to the macro block information of decoded input code flow decoded input code flow being encoded, can also extract the CBP information in this macro block information, the Main Function of CBP information is that indication macro block residual error (brightness and colourity) is through discrete cosine transform (Discrete CosineTransform; Hereinafter to be referred as: DCT) and be zero part after quantizing.Because when encoding according to the macro block information of decoded input code flow, the fully multiplexing movable information of input code flow, think that the residual error of the output macro block after encoding is similar with the residual distribution of input macro block so can be similar to, can think that output in the macro block is still is zero behind zero the encoded transcoding of part this moment, therefore can be designated as zero macro block to CBP information in the frame to be encoded and directly carry out the entropy coding, CBP information is designated as zero macro block carries out DCT thereby can save, quantize, inverse quantization and inverse discrete cosine transform (InverseDiscrete Cosine Transform; Hereinafter to be referred as: time IDCT).Adopt this mode can improve transcoding speed, but also can reduce Y-PSNR (the PeakSignal to Noise Ratio of the output code flow behind the coding simultaneously; Hereinafter to be referred as: PSNR) value.
Step 207 redefines macro-block coding pattern according to the macro block information of decoded input code flow, and according to the macro-block coding pattern that redefines follow-up code stream to be encoded is encoded.
As ω>α or R o/ R iDuring<β, the video quality that can determine output code flow descends too much, can not continue the macro block information according to decoded input code flow, decoded input code flow is encoded, and need to redefine according to the macro block information of decoded input code flow macro-block coding pattern, then according to the macro-block coding pattern that redefines follow-up code stream to be encoded in the decoded input code flow is encoded, until to the end-of-encode of this decoded input code flow.
For example, as ω>α or R o/ R iDuring<β, can determine according to the macro block information of decoded input code flow the block type of macro block to be encoded, then select different macro-block coding pattern etc. according to different block types, the macro block information here comprises: the information that the coding such as block type information, macroblock mode information, motion vector information, CBP information, quantization parameter and macro block residual error is required; Macro-block coding pattern comprises: block type information, macroblock mode information and motion vector information.
Each frame in the decoded input code flow is carried out above-mentioned steps 201~step 207, until to the end-of-encode of this decoded input code flow.
In the present embodiment, after having determined pixel transcoding rate, judge that whether this pixel transcoding rate is greater than before the first default threshold value, namely between step 202 and step 203, can also first according to the macro block information in the decoded input code flow, determine whether macro block to be encoded is the Skip piece; If this macro block to be encoded is the Skip piece, then can skip this Skip piece, directly next macro block of this Skip piece is encoded, thereby can omit estimation and follow-up cataloged procedure, increase substantially transcoding speed.
In predictive frame H.264, the utilization rate distortion optimizing method is selected the coding mode of macro block, is about to predicated error and information coding code check and combines the selection coding mode:
J mode(MB x,y,I x,y)=D REC(MB x,y,I x,y)+λR REC(B x,y,I x,y)(5)
In the formula (5), I X, yExpression MB X, yOptional predictive mode, comprise intra-frame encoding mode and interframe encoding mode, the value of Lagrangian parameter lambda is λ=2 QP/6-2(QP is quantization parameter), R RECAnd D RECRepresent respectively the number of coded bits under the corresponding predictive mode and the decoding Recovery image distortion that is caused by quantification.For m the macro block M (F, m) among the frame F, will be designated as through the optimum rate distortion costs that obtains after mode adjudging and the estimation RD (M (F, m)), then for the Skip pattern, owing to take hardly bit in the entropy coding, then its rate distortion costs function is:
RD Skip(M(F,m))=D REC(M(F,m),Skip)(6)
Note decoding side present frame is F DC, reference frame corresponding to decoding side present frame is F DR, coding side present frame is F EC, reference frame corresponding to coding side present frame is F ERIf formula (7) is set up, then macroblock to be encoded can be encoded to the Skip piece, and wherein the value of ρ is an empirical value, ρ can be got a plurality of values within the specific limits, by obtaining best quantity after the Multi simulation running debugging, can get 0.55 or 0.5 etc. such as ρ.
RD Skip ( M ( F EC , m ) ) < &rho; &CenterDot; RD ( M ( F ER , m ) ) &CenterDot; RD ( M ( F DC , m ) ) RD ( M ( F DR , m ) ) - - - ( 7 )
Utilize the method that the macro-block coding pattern of input code flow is carried out anticipation, if macroblock to be encoded is the Skip piece, then no longer this macroblock to be encoded is carried out estimation and follow-up cataloged procedure, thereby improved transcoding speed.
The embodiment of the invention is determined macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and input code flow; and then encode according to the macro-block coding pattern of determining; thereby under the prerequisite of the video quality of guaranteeing to recover; improved transcoding speed; satisfied better the requirement of real-time video transcoding; simultaneously; the embodiment of the invention is also carried out anticipation to the macro-block coding pattern of input code flow; if macroblock to be encoded is the Skip piece; then no longer this macroblock to be encoded is carried out estimation and follow-up cataloged procedure, thereby further improved transcoding speed.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the structural representation of an embodiment of video code conversion device of the present invention, and the video code conversion device of present embodiment can be a communication equipment, perhaps is arranged in communication equipment, and this communication equipment can be gateway, media server or Digital Television etc.As shown in Figure 3, this video code conversion device can comprise: decoder module 31, extraction module 32, pixel transcoding rate determination module 33, coding module 34 and coding mode determination module 35.
Wherein, decoder module 31 is used for input code flow is decoded;
Extraction module 32 can extract the macro block information of decoder module 31 decoded input code flows;
Pixel transcoding rate determination module 33 can be determined pixel transcoding rate according to input code flow;
The pixel transcoding rate that coding module 34 can be determined at pixel transcoding rate determination module 33 is encoded to decoder module 31 decoded input code flows according to the macro block information that extraction module 32 extracts during less than default the first threshold value; When pixel transcoding rate during less than default the first threshold value, has stronger similitude between the output code flow of decoded input code flow and expection, therefore do not need input code flow is carried out larger adjustment, coding module 34 can be encoded to decoded input code flow according to the macro block information of decoded input code flow;
The pixel transcoding rate that coding mode determination module 35 can be determined at pixel transcoding rate determination module 33 is during greater than the first threshold value, and the macro block information that extracts according to extraction module 32 redefines macro-block coding pattern; At this moment, coding module 34 can also be encoded to decoder module 31 decoded input code flows according to the macro-block coding pattern that coding mode determination module 35 redefines; Particularly, when pixel transcoding rate during greater than this first threshold value, therefore otherness between the output code flow of decoded input code flow and expection is larger, and according to the macro block information of decoded input code flow decoded input code flow being encoded to guarantee the video quality of the output code flow behind the transcoding.In this case, need to redefine macro-block coding pattern according to the macro block information in the input code flow by coding mode determination module 35, coding module 34 is encoded to decoded input code flow according to the macro-block coding pattern that redefines again.
Macro block information in the present embodiment comprises: the information that the coding such as block type information, macroblock mode information, motion vector information, CBP information, quantization parameter and macro block residual error is required; Macro-block coding pattern comprises: block type information, macroblock mode information and motion vector information.
In the present embodiment, the pixel transcoding rate that coding module 34 can be determined at pixel transcoding rate determination module 33 is encoded to decoder module 31 decoded input code flows according to the macro block information that extraction module 32 extracts during less than default the first threshold value; The pixel transcoding rate of determining when pixel transcoding rate determination module 33 is during greater than default the first threshold value; coding mode determination module 35 is determined macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and decoded input code flow; then coding module 34 is encoded according to coding mode determination module 35 definite macro-block coding patterns; thereby under the prerequisite of the video quality of guaranteeing to recover; improve transcoding speed, satisfied better the requirement of real-time video transcoding.
Fig. 4 is the structural representation of another embodiment of video code conversion device of the present invention, and the video code conversion device of present embodiment can be a communication equipment, perhaps is arranged in communication equipment, and this communication equipment can be gateway, media server or Digital Television etc.As shown in Figure 4, this video code conversion device comprises: decoder module 41, extraction module 42, pixel transcoding rate determination module 43, coding module 44, coding mode determination module 45 and Skip piece determination module 46.
Wherein, decoder module 41 is used for input code flow is decoded;
Extraction module 42 can extract the macro block information of decoder module 41 decoded input code flows;
Pixel transcoding rate determination module 43 can be determined pixel transcoding rate according to input code flow; The bit number that average every pixel takies in the bit number that pixel transcoding rate determination module 43 specifically can take according to average every pixel in the input code flow and the default output code flow is determined pixel transcoding rate; Particularly, the bit number that average every pixel takies in the code stream is bpp, bpp can calculate by through type (1), after 41 pairs of input code flows of decoder module are decoded, can obtain code check and the frame per second of input code flow, and in the decoded input code flow image width and the height, can calculate the bit number that average every pixel takies in the decoded input code flow according to these parameters; Below just obtain code check and the frame per second of input code flow, and in the input code flow image width and the height, and then a kind of mode of the bit number that average every pixel takies in the acquisition input code flow, the embodiment of the invention is not limited to this, the code check of input code flow and frame per second, and width and the height of image might not just can obtain after decoding in the input code flow, and above-mentioned parameter also can obtain by other means, for example: pre-enter above-mentioned parameter.The embodiment of the invention is to code check and the frame per second of acquisition input code flow, and width and the mode highly of image is not construed as limiting in the input code flow.
In addition, can require to set in advance according to transcoding code check and the frame per second of output code flow, and width and the height of image in the output code flow, can calculate the bit number that average every pixel takies in the default output code flow according to these parameters.
The pixel transcoding rate that coding module 44 can be determined at pixel transcoding rate determination module 43 is encoded to decoder module 41 decoded input code flows according to the macro block information that extraction module 42 extracts during less than default the first threshold value; When pixel transcoding rate during less than default the first threshold value, has stronger similitude between the output code flow of decoded input code flow and expection, therefore do not need input code flow is carried out larger adjustment, coding module 44 can be encoded to decoded input code flow according to the macro block information of decoded input code flow;
The pixel transcoding rate that coding mode determination module 45 can be determined at pixel transcoding rate determination module 43 is during greater than the first threshold value, and the macro block information that extracts according to extraction module 42 redefines macro-block coding pattern; At this moment, coding module 44 can also be encoded to decoder module 41 decoded input code flows according to the macro-block coding pattern that coding mode determination module 45 redefines; Particularly, when pixel transcoding rate during greater than this first threshold value, therefore otherness between the output code flow of decoded input code flow and expection is larger, and according to the macro block information of decoded input code flow decoded input code flow being encoded to guarantee the video quality of the output code flow behind the transcoding.In this case, need to redefine macro-block coding pattern according to the macro block information in the input code flow by coding mode determination module 45, coding module 44 is encoded to decoded input code flow according to the macro-block coding pattern that redefines again.
Wherein, coding module 44 can comprise distortion factor calculating sub module 441, the first coding submodule 442 and the second coding submodule 443.
Distortion factor calculating sub module 441 is used for after the macro block information that extracts according to extraction module 42 is encoded to each frame of decoder module 41 decoded input code flows, first distortion factor of the output frame behind the calculation code, and second distortion factor of incoming frame corresponding to this output frame, and calculate the ratio of first distortion factor and second distortion factor; Particularly, the first ratio of total bit number of the texture bit number of each macro block and this macro block in the output frame of distortion factor calculating sub module 441 after can calculation code, and the average of the first ratio of all macro blocks in the output frame behind the calculation code, the average of this first ratio is first distortion factor; Distortion factor calculating sub module 441 can also be calculated the second ratio of total bit number of the texture bit number of each macro block in incoming frame corresponding to output frame and this macro block, and the average of the second ratio of all macro blocks in the calculating incoming frame, the average of the second ratio is second distortion factor.
When the first coding submodule 442 can work as ratio that distortion factor calculating sub module 441 calculates greater than default the second threshold value, according to the macro block information of extraction module 42 extractions decoder module 41 decoded input code flows are encoded; When coding mode determination module 45 also is used for the ratio that calculates when distortion factor calculating sub module 441 less than above-mentioned the second threshold value, redefine macro-block coding pattern according to the macro block information of extraction module 42 extractions; At this moment the second coding submodule 443 can be encoded to follow-up code stream to be encoded in the decoded input code flow according to the macro-block coding pattern that coding mode determination module 45 redefines, until to the end-of-encode of this decoded input code flow.
Particularly, the ratio that calculates when distortion factor calculating sub module 441 is during less than default the second threshold value, the video quality that then can determine output code flow descends too much, can not continue according to the macro block information that extraction module 42 extracts decoded input code flow to be encoded, and need coding mode determination module 45 to redefine macro-block coding pattern according to the macro block information that extraction module 42 extracts, then the second coding submodule 443 is encoded to follow-up code stream to be encoded in the decoded input code flow according to the macro-block coding pattern that redefines, until to the end-of-encode of this decoded input code flow; The ratio that calculates when distortion factor calculating sub module 441 is during greater than default the second threshold value, the video quality that can determine output code flow meets predetermined transcoding requirement, therefore the first coding submodule 442 can continue according to the macro block information that extraction module 42 extracts decoder module 41 decoded input code flows to be encoded, after this after each frame being encoded, distortion factor calculating sub module 441 all will be calculated the ratio of first distortion factor and described second distortion factor, as long as the ratio that distortion factor calculating sub module 441 is calculated is greater than the second default threshold value, the first coding submodule 442 just can continue according to the macro block information that extraction module 42 extracts decoded input code flow to be encoded, in case and the ratio that distortion factor calculating sub module 441 is calculated is less than the second default threshold value, just need coding mode determination module 45 to redefine macro-block coding pattern according to the macro block information that extraction module 42 extracts, then follow-up code stream to be encoded in the decoded input code flow is encoded according to the macro-block coding pattern that coding mode determination module 45 redefines by the second coding submodule 443, until to the end-of-encode of this decoded input code flow.
In the present embodiment, extraction module 42 can extract the piece type of coding CBP information in the macro block information; The first coding submodule 442 concrete macro blocks for this CBP information being designated as zero directly carry out the entropy coding.
In the present embodiment, after pixel transcoding rate determination module 43 had been determined pixel transcoding rate, the macro block information that Skip piece determination module 46 can extract according to extraction module 42 first determined whether macro block to be encoded is the Skip piece; At this moment, coding module 44 can be when Skip piece determination module 46 determines that macro block to be encoded is the Skip piece, no longer this macroblock to be encoded is carried out estimation and follow-up cataloged procedure, directly next macro block of this Skip piece is encoded, thereby improved greatly transcoding speed.
Particularly, Skip piece determination module 46 determines that macro blocks to be encoded are that the step of Skip piece comprises:
M macro block in frame F is M (F, m), is RD (M (F, m)) through the optimum rate distortion costs that obtains after mode adjudging and the estimation, and decoding side present frame is F DC, reference frame corresponding to decoding side present frame is F DR, coding side present frame is F EC, reference frame corresponding to coding side present frame is F ER, the RD of macro block to be encoded Skip(M (F EC, m)) satisfy
RD Skip ( M ( F EC , m ) ) < &rho; &CenterDot; RD ( M ( F ER , m ) ) &CenterDot; RD ( M ( F DC , m ) ) RD ( M ( F DR , m ) ) The time,
Skip piece determination module 46 determines that macro block to be encoded is the Skip piece; Wherein, ρ is the positive number greater than 0, RD Skip(M (F EC, m)) and be the optimum rate distortion costs of macro block to be encoded,
RD Skip(M(F EC,m))=D REC(M( FEC,m),Skip)。
Need to prove that above-mentioned each module can realize by processor or other hardware, for example, can pass through PC (Personal Computer; Hereinafter to be referred as: the PC) CPU of machine (Central Processing Unit; Hereinafter to be referred as: CPU) or digital signal processor (DigitalSignal Processor; Hereinafter to be referred as: DSP) or field programmable gate array (FieldProgrammable Gate Array; Hereinafter to be referred as: FPGA), or special-purpose transcoding processor or the realization of other hardware.
The embodiment of the invention is determined macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and input code flow; and then encode according to the macro-block coding pattern of determining; thereby under the prerequisite of the video quality of guaranteeing to recover; improve transcoding speed, satisfied better the requirement of real-time video transcoding.Simultaneously, the embodiment of the invention is also carried out anticipation to the macro-block coding pattern of input code flow, if macroblock to be encoded is the Skip piece, then no longer this macroblock to be encoded is carried out estimation and follow-up cataloged procedure, thereby has further improved transcoding speed.
The embodiment of the invention provides a kind of video transcoding method and device, and the method and apparatus by the embodiment of the invention provides can improve transcoding speed greatly.The embodiment of the invention is used 1/4th public medium resolution image forms (Quarter Common Intermediate Format; Hereinafter to be referred as: QCIF) with public medium resolution image form (Common Intermediate Format; Hereinafter to be referred as: two standard test sequences CIF): " Carphone.qcif " and " Foreman.cif ", respectively get 300 frames, adopt respectively the full cascade transcoder of compiling of complete solution of full-search algorithm and the video code conversion device of embodiment of the invention proposition to carry out the code check transcoding.
In the experiment for the QCIF layout sequence, at first generating code check is that 768kbps, frame per second are the test code streams of 25 frame/seconds, then respectively the video code conversion device by cascade transcoder and the embodiment of the invention to generate initial target bit rate be 64kbps, increase progressively 64kbps until the output code flow of 768kbps at every turn, the frame per second of output code flow is 25 frame/seconds of acquiescence, records the transcoding result of the video code conversion device of corresponding cascade transcoder and the embodiment of the invention.And for the CIF layout sequence, at first generating code check is that 2024kbps, frame per second are the test code streams of 25 frame/seconds, then respectively the video code conversion device by cascade transcoder and the embodiment of the invention to generate initial target bit rate be 64kbps, increase progressively 64kbps until the output code flow of 1984kbps at every turn, record the transcoding result of the video code conversion device of corresponding cascade transcoder and the embodiment of the invention.Get α=5 in the experiment, β=0.55, ρ=0.55.
Fig. 5 is the PSNR performance comparison schematic diagram of Carphone.qcif sequence of the present invention; Fig. 6 is the transcoding speed contrast schematic diagram of Carphone.qcif sequence of the present invention; Fig. 7 is the PSNR performance comparison schematic diagram of Foreman.cif sequence of the present invention; Fig. 8 is the transcoding speed contrast schematic diagram of Foreman.cif sequence of the present invention.In Fig. 5~Fig. 8,
Figure G2009101652213D00171
The transcoding result that the full cascade transcoder of compiling of the complete solution of expression full-search algorithm obtains, The transcoding result of the video code conversion device of the expression embodiment of the invention.
" Carphone.qcif " and " Foreman.cif " sequence that provided Fig. 5~Fig. 8 respectively adopts respectively the video code conversion device of the embodiment of the invention and the performance comparison result that the cascade transcoder is carried out transcoding.Can be found out that by Fig. 5 and Fig. 7 the PSNR performance of the video code conversion device of the embodiment of the invention is compared with the PSNR performance of cascade transcoder, the PSNR difference is about 1dB during the low target code check, and the PSNR difference is in 0.5dB during high target bit rate; Can be found out that by Fig. 6 and Fig. 8 the video code conversion device of the embodiment of the invention is compared with the cascade transcoder, the transcoding Speed improving about 45%, the highest can be to 60%.Therefore, after recovery video quality and the transcoding arithmetic speed, video transcoding method and device that the embodiment of the invention proposes are a kind of more excellent video code rate Transcoding Scheme, can be used for the actual video communication system behind the comprehensive balance consideration transcoding.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (15)

1. a video transcoding method is characterized in that, comprising:
Input code flow is decoded, extract the macro block information of decoded input code flow, determine pixel transcoding rate according to described input code flow;
When the described pixel transcoding rate of determining during less than default the first threshold value, according to described macro block information described decoded input code flow is encoded;
When described pixel transcoding rate during greater than described the first threshold value, redefine macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern that redefines described decoded input code flow is encoded.
2. method according to claim 1 is characterized in that, describedly determines that according to described input code flow pixel transcoding rate comprises:
According to the bit number that average every pixel in average every pixel in the described input code flow bit number that takies and the output code flow of presetting takies, determine pixel transcoding rate.
3. method according to claim 1 is characterized in that, described described decoded input code flow the coding according to described macro block information comprises:
After according to described macro block information each frame of described decoded input code flow being encoded, first distortion factor of the output frame behind the calculation code, and second distortion factor of incoming frame corresponding to described output frame, and calculate the ratio of described first distortion factor and described second distortion factor;
When described ratio during greater than default the second threshold value, according to described macro block information described decoded input code flow is encoded;
When described ratio during less than described the second threshold value, redefine macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern that redefines follow-up code stream to be encoded is encoded, until to the end-of-encode of described decoded input code flow.
4. method according to claim 3 is characterized in that, first distortion factor of the output frame behind the described calculation code comprises:
Calculate the first ratio of total bit number of the texture bit number of each macro block in the output frame behind the described coding and described macro block, and calculate the average of the first ratio of all macro blocks in the output frame behind the described coding, the average of described the first ratio is first distortion factor;
Second distortion factor of the incoming frame that the described output frame of described calculating is corresponding comprises:
Calculate the second ratio of total bit number of the texture bit number of each macro block in incoming frame corresponding to described output frame and described macro block, and calculate the average of the second ratio of all macro blocks in the described incoming frame, the average of described the second ratio is described second distortion factor.
5. method according to claim 3 is characterized in that, described described decoded input code flow the coding according to described macro block information comprises:
Extract the piece type of coding CBP information in the described macro block information;
Described CBP information is designated as zero macro block directly carries out the entropy coding.
6. method according to claim 1 is characterized in that, also comprises:
According to described macro block information, determine whether macro block to be encoded is the Skip piece;
When described macro block to be encoded is the Skip piece, directly next macro block of described Skip piece is encoded.
7. method according to claim 6 is characterized in that, the step that described definite macro block to be encoded is the Skip piece comprises:
M macro block in frame F is M(F, m), be RD (M (F, m)) through the optimum rate distortion costs that obtains after mode adjudging and the estimation, decoding side present frame is F DC, reference frame corresponding to decoding side present frame is F DR, coding side present frame is F EC, reference frame corresponding to coding side present frame is F ER,
The RD of described macro block to be encoded Skip(M (F EC, m)) satisfy
Figure RE-FDA00001879990000011
The time,
Described macro block to be encoded is the Skip piece; Wherein, ρ is the positive number greater than 0, RD Skip(M (F EC, m)) and be the optimum rate distortion costs of described macro block to be encoded,
RD Skip(M(F EC,m))=D REC(M(F EC,m),Skip);
Wherein, D RECRepresent under the corresponding predictive mode of macro block to be encoded by the decoding Recovery image distortion that quantizes to cause.
8. according to claim 1,3,5 or 6 described methods, it is characterized in that described macro block information comprises: block type information, macroblock mode information, motion vector information, CBP information, quantization parameter and macro block residual error;
Described macro-block coding pattern comprises: block type information, macroblock mode information and motion vector information.
9. a video code conversion device is characterized in that, comprising:
Decoder module is used for input code flow is decoded;
Extraction module is for the macro block information that extracts the decoded input code flow of described decoder module;
Pixel transcoding rate determination module is used for determining pixel transcoding rate according to described input code flow;
Coding module when being used for the pixel transcoding rate determined when described pixel transcoding rate determination module less than default the first threshold value, is encoded to the decoded input code flow of described decoder module according to the macro block information of described extraction module extraction;
The coding mode determination module when being used for the pixel transcoding rate determined when described pixel transcoding rate determination module greater than described the first threshold value, redefines macro-block coding pattern according to the macro block information of described extraction module extraction; Described coding module also is used for according to the macro-block coding pattern that described coding mode determination module redefines the decoded input code flow of described decoder module being encoded.
10. video code conversion device according to claim 9, it is characterized in that, described pixel transcoding rate determination module specifically is used for the bit number that average every pixel takies in the bit number that takies according to the average every pixel of described input code flow and the output code flow of the presetting, and determines pixel transcoding rate.
11. video code conversion device according to claim 9 is characterized in that, described coding module comprises:
Distortion factor calculating sub module, be used for after the macro block information that extracts according to described extraction module is encoded to each frame of the decoded input code flow of described decoder module, first distortion factor of the output frame behind the calculation code, and second distortion factor of incoming frame corresponding to described output frame, and calculate the ratio of described first distortion factor and described second distortion factor;
The first coding submodule when being used for the ratio that calculates when described distortion factor calculating sub module greater than default the second threshold value, is encoded to the decoded input code flow of described decoder module according to the macro block information of described extraction module extraction.
12. video code conversion device according to claim 11, it is characterized in that, when described coding mode determination module also is used for the ratio that calculates when described distortion factor calculating sub module less than described the second threshold value, redefine macro-block coding pattern according to the macro block information of described extraction module extraction;
Described coding module also comprises: the second coding submodule is used for according to the macro-block coding pattern that described coding mode determination module redefines follow-up code stream to be encoded being encoded, until to the end-of-encode of described decoded input code flow.
13. described video code conversion device according to claim 11, it is characterized in that, described distortion factor calculating sub module is used for calculating the first ratio of total bit number of the texture bit number of each macro block of output frame behind the described coding and described macro block, and calculate the average of the first ratio of all macro blocks in the output frame behind the described coding, the average of described the first ratio is first distortion factor;
Described distortion factor calculating sub module also is used for calculating the second ratio of total bit number of the texture bit number of each macro block of incoming frame corresponding to described output frame and described macro block, and calculate the average of the second ratio of all macro blocks in the described incoming frame, the average of described the second ratio is described second distortion factor.
14. video code conversion device according to claim 11 is characterized in that,
Described extraction module also is used for extracting the piece type of coding CBP information of described macro block information;
Described the first coding submodule is used for that described CBP information is designated as zero macro block and directly carries out the entropy coding.
15. described video code conversion device is characterized in that according to claim 9, also comprises:
Skip piece determination module is used for the macro block information according to described extraction module extraction, determines whether macro block to be encoded is the Skip piece;
Described coding module also is used for directly next macro block of described Skip piece being encoded when described Skip piece determination module determines that described macro block to be encoded is the Skip piece;
Described Skip piece determination module determines that macro block to be encoded is that the step of Skip piece comprises:
M macro block in frame F is M (F, m), is RD (M (F, m)) through the optimum rate distortion costs that obtains after mode adjudging and the estimation, and decoding side present frame is F DC, reference frame corresponding to decoding side present frame is F DR, coding side present frame is F EC, reference frame corresponding to coding side present frame is F ER,
The RD of described macro block to be encoded Skip(M (F EC, m)) satisfy
Figure F2009101652213C00051
The time,
Described Skip piece determination module determines that described macro block to be encoded is the Skip piece; Wherein, ρ is the positive number greater than 0, RD Skip(M (F EC, m)) and be the optimum rate distortion costs of described macro block to be encoded,
RD Skip(M(F EC,m))=D REC(M(F EC,m),Skip),
Wherein, D RECRepresent under the corresponding predictive mode of macro block to be encoded by the decoding Recovery image distortion that quantizes to cause.
CN 200910165221 2009-08-13 2009-08-13 Video transcoding method and device Expired - Fee Related CN101998117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910165221 CN101998117B (en) 2009-08-13 2009-08-13 Video transcoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910165221 CN101998117B (en) 2009-08-13 2009-08-13 Video transcoding method and device

Publications (2)

Publication Number Publication Date
CN101998117A CN101998117A (en) 2011-03-30
CN101998117B true CN101998117B (en) 2013-01-30

Family

ID=43787594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910165221 Expired - Fee Related CN101998117B (en) 2009-08-13 2009-08-13 Video transcoding method and device

Country Status (1)

Country Link
CN (1) CN101998117B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220550B (en) 2012-01-19 2016-12-07 华为技术有限公司 The method and device of video conversion
CN105187835B (en) 2014-05-30 2019-02-15 阿里巴巴集团控股有限公司 Adaptive video code-transferring method and device based on content
CN104994407A (en) * 2015-06-26 2015-10-21 安徽广行通信科技股份有限公司 Concentrated self-adaptive video transcoding method
CN105898315A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Video transcoding method and device and system
CN113038277B (en) * 2021-03-15 2023-06-23 北京汇钧科技有限公司 Video processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026756A (en) * 2007-03-23 2007-08-29 武汉大学 Video transcoding inter-frame mode fast selecting method
CN101039418A (en) * 2007-04-26 2007-09-19 武汉大学 Method for selecting quickly inter-frame mode during video transcoding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026756A (en) * 2007-03-23 2007-08-29 武汉大学 Video transcoding inter-frame mode fast selecting method
CN101039418A (en) * 2007-04-26 2007-09-19 武汉大学 Method for selecting quickly inter-frame mode during video transcoding

Also Published As

Publication number Publication date
CN101998117A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
CN101010964B (en) Method and apparatus for using frame rate up conversion techniques in scalable video coding
CN101015215B (en) Methods and apparatus for performing fast mode decisions in video codecs.
CN101282479B (en) Method for encoding and decoding airspace with adjustable resolution based on interesting area
CN103634606B (en) Video encoding method and apparatus
CN103828369A (en) Macroblock-level adaptive quantization in quality-aware video optimization
CN103493481A (en) Adaptive bit rate control based on scenes
CN101909211B (en) H.264/AVC high-efficiency transcoder based on fast mode judgment
CN101584218A (en) Method and apparatus for encoding and decoding based on intra prediction
CN101998117B (en) Video transcoding method and device
CN101009838B (en) Bit rate conversion coding method, conversion encoder, and integrated circuit capable of restraining drift error
CN103533359A (en) H.264 code rate control method
CN1938728A (en) Method and apparatus for encoding a picture sequence using predicted and non-predicted pictures which each include multiple macroblocks
KR20130070619A (en) Apparatus for coding or decoding intra image based on line information of reference iamge block
TW202218428A (en) Image encoding method, image decoding method, and related apparatuses
CN109862356A (en) A kind of method for video coding and system based on area-of-interest
CN105141957A (en) Method and device for coding and decoding image and video data
CN107071422A (en) Low complex degree HEVC rate adaption transformation coding methods based on image correlation model
CN100551068C (en) Moving image conversion method, equipment, system and server apparatus
CN102625104B (en) Video coding method
CN103546754A (en) Spatially scalable method and system for transcoding from H.264/AVC to SVC
CN111669589A (en) Image encoding method, image encoding device, computer device, and storage medium
CN115118976A (en) Image coding method, readable medium and electronic device thereof
CN109922340A (en) Image coding/decoding method, device, system and storage medium
CN101742323B (en) Method and device for coding and decoding re-loss-free video
CN103096051A (en) Image block signal component sampling point intra-frame decoding method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130130

Termination date: 20180813