CN104104948A - Video transcoding method and video transcoder - Google Patents

Video transcoding method and video transcoder Download PDF

Info

Publication number
CN104104948A
CN104104948A CN201310129950.XA CN201310129950A CN104104948A CN 104104948 A CN104104948 A CN 104104948A CN 201310129950 A CN201310129950 A CN 201310129950A CN 104104948 A CN104104948 A CN 104104948A
Authority
CN
China
Prior art keywords
encoding
block size
video
decoding standard
encoding block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310129950.XA
Other languages
Chinese (zh)
Other versions
CN104104948B (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to CN201310129950.XA priority Critical patent/CN104104948B/en
Publication of CN104104948A publication Critical patent/CN104104948A/en
Application granted granted Critical
Publication of CN104104948B publication Critical patent/CN104104948B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a video transcoding method and a video transcoder. The video transcoding method comprises steps of carrying out decoding on a video stream containing multiple frames of images and meeting first video codec standard and generating decoding data, acquiring the size of a coding block and a prediction model in each frame of the image and meeting the first video codec standard, determining the size of a coding block and a predication mode during the coding process meeting the second video codec standard according to the size of the coding block and the prediction mode in the first video codec standard of the video stream, and coding the decoding data to a video stream meeting the second video codec standard according to the determined coding block size and the predication mode meeting the second video decoding standard.

Description

Video transcoding method and video code translator
Technical field
The present invention relates to video transcoding method and video code translator, particularly the video code conversion from a kind of coding and decoding video signal to another kind of coding and decoding video signal.
Background technology
Digital video technology is widely used in the fields such as communication, computer, radio and television, a series of application such as video conferencing, video telephone and Digital Television, media store are brought, impel the generation of many video encoding and decoding standards, for example H.261, H.262, H.263, H.264 and HEVC etc.
Whenever new video encoding and decoding standard is published, industrial quarters all can be produced the product making new advances to meet the demand that better meets user based on this video encoding and decoding standard.From H.261 announcing between so far more than 20 year in nineteen ninety, H.262, H.263, H.264 and HEVC etc. announced successively.Although it is quite rapid to be adapted to the update of video decoding/encoding device of above-mentioned standard, conventionally in certain time period, on market, can there is the equipment that uses different video encoding and decoding standard.
And along with the continuous progress of technology, various video encoding and decoding standards are also improving the parameter such as compression ratio, definition of vedio data constantly, but have also brought increasing substantially of the amount of calculation in encoding-decoding process simultaneously.Therefore, need video transcoding method and transcoding device between a kind of different video encoding and decoding standard, to make existing video decoding/encoding device there is longer service time, and can reduce the amount of calculation of the new video encoding and decoding standard coding video data of direct utilization.
Summary of the invention
Embodiments of the invention provide a kind of efficient video transcoding method and device, for converting the video data of a kind of video code model (hereinafter referred to as the first video code model) to another kind of video code model (hereinafter referred to as the second video code model), wherein, can utilize existing coding/decoding information in the first video code model, thereby reduce the amount of calculation of the second video code model encoding and decoding.
Provide hereinafter about brief overview of the present invention, to the basic comprehension about some aspect of the present invention is provided.Should be appreciated that this general introduction is not about exhaustive general introduction of the present invention.It is not that intention is determined key of the present invention or pith, and nor is it intended to limit the scope of the present invention.Its object is only that the form of simplifying provides some concept, using this as the preorder in greater detail of discussing after a while.
According to an aspect of the present invention, disclose a kind of video transcoding method, having comprised: the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data; Determine the encoding block size and the predictive mode that meet the first video encoding and decoding standard in each two field picture; Determine encoding block size and predictive mode in its cataloged procedure that is meeting the second video encoding and decoding standard according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode; Described in decoded data being encoded to according to the determined encoding block size that meets the second video encoding and decoding standard and predictive mode, meet the video code flow of the second video encoding and decoding standard.
According to another aspect of the present invention, disclose a kind of video code translator, comprised, the first video encoding and decoding standard decoding unit, for the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data; Buffer, for determining the encoding block size and the predictive mode that meet the first video encoding and decoding standard of each two field picture, and is stored in wherein; Parameter information converting unit, for determining that according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode it is meeting cataloged procedure encoding block size and the predictive mode of the second video encoding and decoding standard; The second video encoding and decoding standard coding unit, for meeting the video code flow of the second video encoding and decoding standard described in decoded data being encoded to according to the determined encoding block size that meets the second video encoding and decoding standard and predictive mode.
Brief description of the drawings
Below with reference to the accompanying drawings illustrate embodiments of the invention, can understand more easily above and other objects, features and advantages of the present invention.
Fig. 1 shows the indicative flowchart according to video transcoding method of the present invention;
Fig. 2 shows according to the schematic diagram of video code translator 200 of the present invention;
Fig. 3 shows the different coding piece size of the macro block in video encoding and decoding standard H.264;
Fig. 4 shows the predictive mode that is of a size of the encoding block of 16x16 in video encoding and decoding standard H.264;
Fig. 5 shows the predictive mode that is of a size of the encoding block of 8x8 and 4x4 in video encoding and decoding standard H.264;
Fig. 6 shows code tree unit (CTU) in HEVC video encoding and decoding standard and the relation of coding unit (CU);
Fig. 7 shows in HEVC video encoding and decoding standard and is of a size of 8x8, the prediction direction of the coding unit of 16x16 and 32x32;
Fig. 8 shows the schematic diagram of video code translator according to an embodiment of the invention;
Fig. 9 shows the indicative flowchart of video transcoding method according to an embodiment of the invention;
Figure 10 a shows present encoding piece and is of a size of the location diagram of the adjacent encoder piece of 16x16;
Figure 10 b shows the location diagram that present encoding cell size is the adjacent encoder piece of 32x32;
Figure 11 shows the schematic diagram that is applied in the video code translator in field of video monitoring;
Figure 12 shows and can be used for implementing according to the schematic diagram of the computer of embodiment of the present disclosure.
Embodiment
Existing video encoding and decoding standard, for example H.261, H.262, H.263, H.264 and HEVC etc., all adopts encoding block as operating unit, video image to be encoded, and adopts the parameters such as predictive mode to realize the encoding and decoding to video image.Embodiments of the invention provide video transcoding method and the device for a kind of video data of video encoding and decoding standard being converted to another kind of video encoding and decoding standard.
Fig. 1 shows the indicative flowchart according to video transcoding method of the present invention.
First, in step S101, the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data; In step S102, obtain the encoding block size and the predictive mode that meet the first video encoding and decoding standard in each two field picture; In step S103, determine encoding block size and predictive mode in its cataloged procedure that is meeting the second video encoding and decoding standard according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode; Finally, in step S104, described according to the determined encoding block size that meets the second video decode standard and predictive mode in step S103, decoded data being encoded to, meet the video code flow of the second video encoding and decoding standard.
The predictive mode of above-mentioned the first and second video encoding and decoding standard kinds can represent by prediction direction, above-mentioned steps S103 may further include, for the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each picture frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard.For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
And, if the encoding block size after above-mentioned merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of the encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
The transcoding process from the first video encoding and decoding standard to the second video encoding and decoding standard, because the background area in the each frame of video image is less with respect to the variation of foreground area, therefore for the encoding block in background area, can take easier switch process.In can more adjacent two frames, encoding block size and the predictive mode of the piece of same position, if all identical, can judge that this piece is in background area.
Behind the background area of identifying in each frame, for the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard.Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
If the encoding block size after above-mentioned merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
And because the variation of background area in each frame is less, therefore for the piece in background area, determined encoding block size and the prediction direction that meets the second video encoding and decoding standard can be reused in different frames.
Fig. 2 shows according to the schematic diagram of video code translator 200 of the present invention.
Decoder 200 comprises the first video encoding and decoding standard decoding unit 201, for the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, and generating solution code data; Buffer 202, for obtaining the encoding block size and the predictive mode that meet the first video encoding and decoding standard of each two field picture, and is stored in wherein; Parameter information converting unit 203, for determining that according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode it is meeting cataloged procedure encoding block size and the predictive mode of the second video encoding and decoding standard; And the second video encoding and decoding standard coding unit 204, for meeting the video code flow of the second video encoding and decoding standard described in decoded data being encoded to according to the determined encoding block size that meets the second video encoding and decoding standard and predictive mode.
Wherein, parameter information converting unit 203 is further configured to for the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard; For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
And, encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of described encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
Transcoder 200 further comprises background area determining unit (not shown), and it is for identifying the background area of each frame.For the background area in each frame, parameter information converting unit 203 is configured to, for the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard; Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
And, encoding block size after above-mentioned merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
In transcoder 200, can also comprise background area parameter buffer (not shown), wherein can store the encoding block size and the prediction direction that meet the second video encoding and decoding standard after conversion, to be reused in different frames, thereby the piece in background area needn't all be changed in every frame.
Hereinafter, for clearer description method of the present invention and device, the transcoding taking H.264 and between these two kinds of video encoding and decoding standards of HEVC is described as example.Should be understood that embodiments of the invention are not limited to the video code conversion between these two kinds of video encoding standards, but also can be applicable to the transcoding between other video encoding standards based on encoding block.
In H.264, basic processing unit is macro block, and full-size is 16x16.Wherein, adopt encoding block size and two parameters of predictive mode (being prediction direction) to characterize the coding mode of a macro block.H.264 a macro block, has three kinds of optional encoding block sizes, be respectively 16x16, macro block of 8x8(is divided into four encoding blocks) and macro block of 4x4(be divided into 16 encoding blocks).Fig. 3 has represented the H.264 encoding block of the various different sizes of middle macro block.Have different predictive modes for different encoding block sizes, wherein, the encoding block that is of a size of 16x16 has 4 kinds of predictive modes, and as shown in Figure 4, the encoding block that is of a size of 8x8 and 4x4 has 8 kinds of predictive modes, as shown in Figure 5.
Basic processing unit in HEVC is code tree unit, and its maximum can reach 64x64.Code tree unit comprises the coding unit with different size, the encoding block of the coding unit in described HEVC in being equivalent to H.264.The size of coding unit can be 64x64,32x32,16x16,8x8,4x4.Code tree unit shown in Fig. 6 is of a size of 32x32, and coding unit 0,15 is of a size of 16x16, and coding unit 1-4,9,14 is of a size of 8x8, and coding unit 5-8,10-13 are of a size of 4x4.With respect to H.264, the predictive mode of the coding unit of HEVC has also increased a lot, mostly is 34 kinds most, as shown in Figure 7.The quantity of the corresponding prediction direction of coding unit of different size is as shown in table 1.
Table 1
Coding unit size Prediction direction
4x4 17
8x8 34
16x16 34
32x32 34
64x64 3
As can be seen here, HEVC is with respect to H.264, and coding unit (encoding block) size allowing is larger, and the kind of the coding unit of different size is more, and corresponding prediction direction is also more.Therefore, HEVC encoding-decoding process also needs than the more amount of calculation of encoding-decoding process H.264.But, if existing encoding block dimension information in H.264 and prediction direction information are converted to coding unit dimension information and the prediction direction information in HEVC, H.264 arrive the video code conversion of HEVC, with respect to directly utilizing HEVC to carry out encoding and decoding to vision signal, amount of calculation can significantly reduce.
Fig. 8 shows the schematic diagram of video code translator 800 according to an embodiment of the invention.Described video code translator 800 comprises H.264 decoding unit 801, buffer 802, characteristic information converting unit 803, HEVC coding unit 804, wherein, characteristic information converting unit 803 also comprises coding unit size mapping block 8031 and predictive mode selection module 8032.
When video encoder 800 is worked, H.264 video code flow is imported into H.264 decoding unit 801 and decodes to obtain decoded data, buffer 802 obtain and buffer memory decoded data in encoding block dimension information and prediction mode information H.264.Coding unit size mapping block 8031 in characteristic information converting unit 803 and predictive mode select module 8032 respectively encoding block dimension information H.264 and prediction mode information to be converted to coding unit dimension information and the prediction mode information in HEVC.HEVC coding unit utilizes coding unit dimension information and the prediction mode information of the HEVC after above-mentioned conversion to encode to decoded data, thereby obtains the video code flow of HEVC video encoding and decoding standard.
Fig. 9 shows the flow chart of video transcoding method according to an embodiment of the invention.In step S901, first the video code flow H.264 of input is decoded; In step S902, obtain each macro block in each frame encoding block size and predictive mode in H.264; In step S903, the encoding block size by each macro block in each frame in H.264 and predictive mode are converted to coding unit size and the predictive mode in HEVC, and described transfer process is passed through following process implementation:
(1) if the encoding block of current macro in is H.264 of a size of 4x4 or 8x8, in HEVC the size of the coding unit of corresponding position and H.264 in encoding block consistent size, candidate's predictive mode shines upon by table 2;
Table 2
(2), if the encoding block of current macro in is H.264 of a size of 16x16, it is also the piece of 16x16 that adjacent coding size is investigated in the position that is of a size of the piece of 16x16 according to encoding block.As shown in Figure 10 a, if current macro, at position B0, checks B1-B3, if current macro, at position B1, checks B0, B2, B3, if current macro, at position B2, checks B0, B1, B3, if current macro, at position B3, checks B0-B2.If B0-B3 is 16x16 piece, and their predictive mode is consistent, the coding unit that these 4 16x16 pieces merging become a 32x32 in HEVC is encoded, otherwise the coding unit still respectively 4 encoding blocks being converted in HEVC according to the size of 16x16 is encoded;
If the coding unit after conversion is of a size of 16x16, the prediction direction of coding unit is the prediction direction of each encoding block in H.264; If the coding unit after conversion is of a size of 32x32, candidate's predictive mode of coding unit is DC, planar, vertical and horizontal.
(3) if the coding unit after conversion is of a size of 32x32, and in HEVC, maximum coding unit is of a size of 64x64, checks the coding unit of adjacent position, as shown in Figure 10 b.If the position of the coding unit after conversion is at B0 place, check B1-B3, if the position of the coding unit after conversion is at B1 place, check B0, B2, B3, if the position of the coding unit after conversion is at B2 place, check B0, B1, B3, if the position of the coding unit after conversion is at B3 place, check B0-B2.If B0, B1, B2, B3 are the coding unit that is of a size of 32x32, and there is identical prediction direction, the coding unit of the 32x32 after these 4 conversions is merged to the coding unit that becomes a 64x64, otherwise or encode according to the coding unit of 32x32;
If the coding unit after conversion can be merged into the coding unit of 64x64 again, candidate's predictive mode of the coding unit again merging is DC, planar, vertical and horizontal.
At step S904, use coding unit size and prediction direction in the above-mentioned HEVC of being converted to encode to decoded data, thus the video code flow of output HEVC video encoding and decoding standard.
H.264 be widely used in field of video monitoring with HEVC video encoding and decoding standard, in field of video monitoring, foreground area and the background area of video image have significant difference.Background area comprises less to user's Useful Information conventionally, and conventionally remains unchanged in each frame.Once so background area is identified in present frame, the background area in present frame can be continued to use in the background area in subsequent frame.In the image of foreground area, comprised more multipair user's Useful Information, therefore, user need to obtain high-quality foreground region image.
As can be seen here, the prospect in the video image in field of video monitoring and background area are carried out respectively to video code conversion, be conducive to realize more efficiently described code-transferring method, and can further reduce the amount of calculation of video code conversion.Illustrate according to video transcoding method of the present invention and video code translator and be applied in the embodiment in field of video monitoring below in conjunction with Figure 11.
Figure 11 is the schematic diagram that is applied in the video code translator in field of video monitoring.
Wherein, described transcoder 1100 comprises buffer 1102 and 1103, comparing unit 1104, subtracter 1105, foreground area predictive mode selection/coding unit size map unit 1106, background area predictive mode selection/coding unit size map unit 1107, context parameter buffer 1108, HEVC encoder 1109.
When the normal work of transcoder 1100, H.264 decoder 1101 is decoded to video code flow H.264, and decoded data is sent to buffer 1102.Information in buffer 1102 its first frames that receive of storage, i.e. encoding block dimension information in the first frame and prediction direction information, and the first frame is directly processed as foreground area, the encoding block dimension information in this frame and prediction mode information are sent to foreground area predictive mode selection/coding unit map unit 1106.After the second frame is decoded, the data in buffer 1102 are transferred in buffer 1103,, the encoding block dimension information in the second frame and prediction mode information are deposited in the buffer 1102 being cleared meanwhile.In the time all storing data in buffer 1102 and 1103, the data that comparing unit 1104 compares in two buffers, if it is all identical to be arranged in encoding block size and the predictive mode of two macro blocks at two video frame image same position places, determine that the region at this macro block place belongs to background area.Determine behind the background area of video frame image, determine the foreground area of video frame image by subtracter 1105.After the 3rd frame decoding, the data in buffer 1102 are all transferred in buffer 1103, and meanwhile, encoding block dimension information and prediction mode information in the 3rd frame are written into buffer 1102, and subsequent process is similar.
Macro block in definite video frame image is changed encoding block size and the predictive mode of the macro block in foreground area and background area respectively by foreground area predictive mode selection/coding unit map unit 1106 and background area predictive mode selection/coding unit map unit 1107 after belonging to foreground area or background area.
In foreground area predictive mode selection/coding unit map unit 1106, change by following steps for the macro block in foreground area:
(1) if the coding of current macro in is H.264 of a size of 4x4 or 8x8, in HEVC the size of the coding unit of corresponding position and H.264 in encoding block consistent size, candidate's predictive mode shines upon by above-mentioned table 2;
(2), if the coding of current macro in is H.264 of a size of 16x16, it is also the piece of 16x16 that adjacent encoder size is investigated in the position that is of a size of the piece of 16x16 according to encoding block.As shown in Figure 10 a, if current macro, at position B0, checks B1-B3, if current macro, at position B1, checks B0, B2, B3, if current macro, at position B2, checks B0, B1, B3, if current macro, at position B3, checks B0-B2.If B0-B3 is 16x16 piece; and their predictive mode is consistent; the coding unit that these 4 16x16 pieces merging become a 32x32 in HEVC is encoded, otherwise the coding unit still respectively 4 encoding blocks being converted in HEVC according to 16x16 size is encoded;
If the coding unit after conversion is of a size of 16x16, the prediction direction of coding unit is the prediction direction of each encoding block in H.264; If the coding unit after conversion is of a size of 32x32, candidate's predictive mode of coding unit is DC, planar, vertical and horizontal.
(3) if the coding unit after conversion is of a size of 32x32, and in HEVC, maximum coding unit is of a size of 64x64, checks the coding unit of adjacent position, as shown in Figure 10 b.If the position of the coding unit after conversion is at B0 place, check B1-B3, if the position of the coding unit after conversion is at B1 place, check B0, B2, B3, if the position of the coding unit after conversion is at B2 place, check B0, B1, B3, if the position of the coding unit after conversion is at B3 place, check B0-B2.If B0, B1, B2, B3 are the coding unit that is of a size of 32x32, and there is identical prediction direction, the coding unit of the 32x32 after these 4 conversions is merged to the coding unit that becomes a 64x64, otherwise or encode according to the coding unit of 32x32;
If the coding unit after conversion can be merged into the coding unit of 64x64 again, candidate's predictive mode of the coding unit after again merging is DC, planar, vertical and horizontal.
In background area predictive mode selection/coding unit map unit 1107, change by following steps for the macro block in background area:
(1) if the encoding block of current macro in is H.264 of a size of 4x4 or 8x8, the size of the coding unit of the corresponding position in HEVC and H.264 in encoding block consistent size, and prediction direction with H.264 in the prediction direction of encoding block of corresponding position identical.
(2), if the coding of current macro in is H.264 of a size of 16x16, it is also 16x16 piece that adjacent coding size is investigated in the position that is of a size of the piece of 16x16 according to coding.As shown in Figure 10 a, if current macro, at position B0, checks B1-B3, if current macro, at position B1, checks B0, B2, B3, if current macro, at position B2, checks B0, B1, B3, if current macro, at position B3, checks B0-B2.If B0-B3 is the piece of 16x16, and their predictive mode is consistent, the coding unit that these 4 16x16 pieces merging become a 32x32 in HEVC is encoded, otherwise the coding unit still respectively 4 coding units being converted in HEVC according to 16x16 size is encoded.
If the coding unit after conversion is of a size of 16x16, the prediction direction of coding unit is the prediction direction of each encoding block in H.264; If the coding unit after conversion is of a size of 32x32, the prediction direction of the coding unit of the 32x32 in the HEVC of the common prediction direction in H.264 after conversion using the encoding block of above-mentioned 4 16x16;
(3) if the coding unit after conversion is of a size of 32x32, and in HEVC, maximum coding unit is of a size of 64x64, checks the coding unit of adjacent position, as shown in Figure 10 b.If the position of the coding unit after conversion is at B0 place, check B1-B3, if the position of the coding unit after conversion is at B1 place, check B0, B2, B3, if the position of the coding unit after conversion is at B2 place, check B0, B1, B3, if the position of the coding unit after conversion is at B3 place, check B0-B2.If B0, B1, B2, B3 are the coding unit that is of a size of 32x32, and there is identical prediction direction, the coding unit of the 32x32 after these 4 conversions is merged to the coding unit that becomes a 64x64, otherwise or encode according to the coding unit of 32x32;
If the coding unit after conversion can be merged into the coding unit of 64x64 again, the prediction direction of the coding unit of the 32x32 after again merging using the common prediction direction of the coding unit of above-mentioned 4 32x32.
HEVC encoder 1109 utilizes the substandard prospect of HEVC that foreground area predictive mode selection/coding unit map unit 1106 and background area predictive mode selection/coding unit map unit 1107 change and coding unit dimension information and the prediction direction information of background area to encode to decoded data, thereby forms HEVC video code flow.
In addition, the coding unit dimension information of the background area of the HEVC standard that background area predictive mode selection/coding unit map unit 1107 is changed and prediction direction information can also be stored in background area parameter buffer 1108, thereby in the conversion of each video frame image, reuse coding unit dimension information and the prediction direction information of the background area of buffer memory in the parameter buffer 1108 of background area, and needn't change the coding unit dimension information of the background area in each video frame image and prediction direction information.
Should be understood that above-described embodiment and example are exemplary, instead of exhaustive, the disclosure should not be regarded as being confined to any specific embodiment or example.
As an example, each step of said method and all modules of the said equipment and/or software, firmware, hardware or its combination that device may be embodied as.For example, can be used as a part for the various device (as computer, personal digital assistant, camera, video camera and other image processing equipments etc., not enumerating) with image processing function here.When in the said equipment, all modules is configured by the mode of software, firmware, hardware or its combination, spendable concrete means or mode are well known to those skilled in the art, and do not repeat them here.
As mentioned above, step and the module in said method and equipment, image processed can realize by software.To the computer (example all-purpose computer 1200 as shown in figure 12) with specialized hardware structure, the program that forms this software is installed from storage medium or network, this computer, in the time that various program is installed, can be carried out various functions etc.
In Figure 12, CPU (CPU) 1201 carries out various processing according to the program of storage in read-only memory (ROM) 1202 or from the program that storage area 1208 is loaded into random access memory (RAM) 1203.In RAM1203, also store as required data required in the time that CPU1201 carries out various processing etc.CPU1201, ROM1202 and RAM1203 are connected to each other via bus 1204.Input/output interface 1205 is also connected to bus 1204.
Following parts are connected to input/output interface 1205: importation 1206(comprises keyboard, mouse etc.), output 1207(comprises display, such as cathode ray tube (CRT), liquid crystal display (LCD) etc., with loud speaker etc.), storage area 1208(comprises hard disk etc.), communications portion 1209(comprises that network interface unit is such as LAN card, modulator-demodulator etc.).Communications portion 1209 via network such as internet executive communication processing.As required, driver 1210 also can be connected to input/output interface 1205.Detachable media 1211, such as disk, CD, magneto optical disk, semiconductor memory etc. are installed on driver 1210 as required, is installed in storage area 1208 computer program of therefrom reading as required.
In the situation that realizing above-mentioned series of processes by software, from network such as internet or storage medium are such as detachable media 1211 is installed the program that forms softwares.
It will be understood by those of skill in the art that this storage medium is not limited to wherein having program stored therein shown in Figure 12, distributes separately the detachable media 1211 so that program to be provided to user with equipment.The example of detachable media 1211 comprises disk (comprising floppy disk (registered trade mark)), CD (comprising compact disc read-only memory (CD-ROM) and digital universal disc (DVD)), magneto optical disk (comprising mini-disk (MD) (registered trade mark)) and semiconductor memory.Or storage medium can be hard disk comprising in ROM1202, storage area 1208 etc., wherein computer program stored, and be distributed to user together with comprising their equipment.
The disclosure also proposes a kind of program product that stores the instruction code that machine readable gets.When described instruction code is read and carried out by machine, can carry out above-mentioned according to the method for disclosure embodiment.
Correspondingly, be also included within of the present disclosure open for carrying the storage medium of the above-mentioned program product that stores the instruction code that machine readable gets.Described storage medium includes but not limited to floppy disk, CD, magneto optical disk, storage card, memory stick etc.
In the above in the description of disclosure specific embodiment, describe and/or the feature that illustrates can be used by same or similar mode in one or more other execution mode for a kind of execution mode, combined with the feature in other execution mode, or substitute the feature in other execution mode.
Should emphasize, term " comprises/comprises " existence that refers to feature, key element, step or assembly while use herein, but does not get rid of the existence of one or more further feature, key element, step or assembly or add.
In addition, the time sequencing of describing during method of the present disclosure is not limited to is to specifications carried out, also can be according to other time sequencing ground, carry out concurrently or independently.The execution sequence of the method for therefore, describing in this specification is not construed as limiting technical scope of the present disclosure.
Can find out by above description, according to embodiment of the present disclosure, provide following scheme:
1. 1 kinds of video transcoding methods of remarks, comprising:
The video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data;
Obtain the encoding block size and the predictive mode that meet the first video encoding and decoding standard in each two field picture;
Determine encoding block size and predictive mode in its cataloged procedure that is meeting the second video encoding and decoding standard according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode;
Described in decoded data being encoded to according to the determined encoding block size that meets the second video decode standard and predictive mode, meet the video code flow of the second video encoding and decoding standard.
The method of remarks 2. as described in remarks 1, wherein, described predictive mode is prediction direction, and wherein, determine that according to the encoding block size of the described video code flow that meets the first video encoding and decoding standard and predictive mode the encoding block size and the coded prediction pattern that meet the second video encoding and decoding standard comprise:
For the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard;
For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
The method of remarks 3. as described in remarks 2, further comprises:
If the encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of the encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
The method of remarks 4. as described in remarks 2 or 3, further comprises: identify the background area in each frame.
The method of remarks 5. as described in remarks 4, also comprises:
For the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard;
Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
The method of remarks 6. as described in remarks 5, further comprises:
If the encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
The method of remarks 7. as described in remarks 5 or 6, wherein,
For the piece in background area, determined encoding block size and the prediction direction that meets the second video encoding and decoding standard can be reused in different frames.
The method of remarks 8. as described in remarks 4, the background area of identifying in each frame comprises:
Encoding block size and the predictive mode of the piece of same position in adjacent two frames are compared, if all identical, judge that this piece is in background area.
The method of remarks 9. as described in remarks 1, wherein
In the first and second video encoding and decoding standards, allow Multi-encoding piece size and multiple predictive mode, the encoding block size of the second video encoding and decoding standard comprises and is greater than the encoding block size of the first video encoding and decoding standard.
The method of remarks 10. as described in remarks 1, wherein
The predictive mode of the second video encoding and decoding standard comprises and more than the predictive mode of the first video encoding and decoding standard.
The method of remarks 11. as described in remarks 1, wherein
The first video encoding and decoding standard is standard H.264.
The method of remarks 12. as described in remarks 1, wherein
The second video encoding and decoding standard is HEVC standard.
13. 1 kinds of video code translators of remarks, comprising:
The first video encoding and decoding standard decoding unit, for the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data;
Buffer, for obtaining the encoding block size and the predictive mode that meet the first video encoding and decoding standard of each two field picture, and is stored in wherein;
Parameter information converting unit, for determining that according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode it is meeting cataloged procedure encoding block size and the predictive mode of the second video encoding and decoding standard;
The second video encoding and decoding standard coding unit, for meeting the video code flow of the second video encoding and decoding standard described in decoded data being encoded to according to the determined encoding block size that meets the second video encoding and decoding standard and predictive mode.
The video code translator of remarks 14. as described in remarks 13, wherein, described predictive mode is prediction direction, and
Wherein, described parameter information converting unit is configured to: for the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard; For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
The video code translator of remarks 15. as described in remarks 14, wherein, described parameter information converting unit is further configured to:
Encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of described encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
The video code translator of remarks 16. as described in remarks 14 or 15, further comprises background area determining unit, for identifying the background area of each frame.
The video code translator of remarks 17. as described in remarks 16, wherein, described parameter information converting unit is further configured to:
For the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard;
Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
The video code translator of remarks 18. as described in remarks 17, wherein, described parameter information converting unit is further configured to:
Encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
The video code translator of remarks 19. as described in remarks 17 or 18, wherein further comprises background area parameter buffer, for storing the encoding block size and the prediction direction that meet the second video encoding and decoding standard after conversion.
The video code translator of remarks 20. as described in remarks 16, described background area determining unit is configured to encoding block size and the predictive mode of the piece of same position in adjacent two frames to compare, if all identical, judges that this piece is in background area.
The video code translator of remarks 21. as described in remarks 13, wherein
In the first and second video encoding and decoding standards, allow Multi-encoding piece size and multiple predictive mode, the encoding block size of the second video encoding and decoding standard comprises and is greater than the encoding block size of the first video encoding and decoding standard.
The video code translator of remarks 22. as described in remarks 13, wherein
The predictive mode of the second video encoding and decoding standard comprises and more than the predictive mode of the first video encoding and decoding standard.
The video code translator of remarks 23. as described in remarks 13, wherein
The first video encoding and decoding standard is standard H.264.
The video code translator of remarks 24. as described in remarks 13, wherein
The second video encoding and decoding standard is HEVC standard.
Although the present invention is disclosed by the description to specific embodiments of the invention above,, should be appreciated that, above-mentioned all embodiment and example are all illustrative, and not restrictive.Those skilled in the art can design various amendments of the present invention, improvement or equivalent in the spirit and scope of claims.These amendments, improvement or equivalent also should be believed to comprise in protection scope of the present invention.

Claims (14)

1. a video transcoding method, comprising:
The video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data;
Obtain the encoding block size and the predictive mode that meet the first video encoding and decoding standard in each two field picture;
Determine encoding block size and predictive mode in its cataloged procedure that is meeting the second video encoding and decoding standard according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode;
Described in decoded data being encoded to according to the determined encoding block size that meets the second video decode standard and predictive mode, meet the video code flow of the second video encoding and decoding standard.
2. the method for claim 1, wherein, described predictive mode is prediction direction, and wherein, determine that according to the encoding block size of the described video code flow that meets the first video encoding and decoding standard and predictive mode the encoding block size and the coded prediction pattern that meet the second video encoding and decoding standard comprise:
For the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard;
For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
3. method as claimed in claim 2, further comprises:
If the encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of the encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
4. method as claimed in claim 2 or claim 3, further comprises: identify the background area in each frame.
5. method as claimed in claim 4, also comprises:
For the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard;
Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
6. method as claimed in claim 5, further comprises:
If the encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
7. the method as described in claim 5 or 6, wherein,
For the piece in background area, determined encoding block size and the prediction direction that meets the second video encoding and decoding standard can be reused in different frames.
8. a video code translator, comprising:
The first video encoding and decoding standard decoding unit, for the video code flow that meets the first video encoding and decoding standard that comprises multiple image is decoded, generating solution code data;
Buffer, for obtaining the encoding block size and the predictive mode that meet the first video encoding and decoding standard of each two field picture, and is stored in wherein;
Parameter information converting unit, for determining that according to the encoding block size under the first video encoding and decoding standard of described video code flow and predictive mode it is meeting cataloged procedure encoding block size and the predictive mode of the second video encoding and decoding standard;
The second video encoding and decoding standard coding unit, for meeting the video code flow of the second video encoding and decoding standard described in decoded data being encoded to according to the determined encoding block size that meets the second video encoding and decoding standard and predictive mode.
9. video code translator as claimed in claim 8, wherein, described predictive mode is prediction direction, and
Wherein, described parameter information converting unit is configured to: for the piece that meets the non-maximum encoding block size in the first video encoding and decoding standard in each frame, using direct this encoding block size as the encoding block size that meets the second video encoding and decoding standard, and select the prediction direction identical or adjacent with the prediction direction that meets the first video encoding and decoding standard as the alternative prediction direction that meets the second video encoding and decoding standard; For the piece with the maximum encoding block size in the first video encoding and decoding standard in each frame, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract in the first video encoding and decoding standard corresponding to whole prediction direction of maximum encoding block size as meet the second video encoding and decoding standard coding time alternative prediction direction; As no, extract its encoding block size and prediction direction directly as the encoding block size and the prediction direction that meet the second video encoding and decoding standard.
10. video code translator as claimed in claim 9, wherein, described parameter information converting unit is further configured to:
Encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size of the second video encoding and decoding standard, and using in the second video encoding and decoding standard corresponding to whole prediction direction of described encoding block size after again merging the prediction direction of the piece after again merging; As no, using its encoding block size and predictive mode directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
11. video code translators as claimed in claim 8 or 9, further comprise background area determining unit, for identifying the background area of each frame.
12. video code translators as claimed in claim 11, wherein, described parameter information converting unit is further configured to:
For the piece with the non-maximum encoding block size in the first video encoding and decoding standard in background area, using its encoding block size directly as the encoding block size of the second video encoding and decoding standard, select the prediction direction identical with its prediction direction as it prediction direction in the second video encoding and decoding standard;
Meet the piece of the maximum encoding block size in the first video encoding and decoding standard for having in background area, whether judgement has identical prediction direction with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges, extract encoding block size after merging as the encoding block size that meets the second video encoding and decoding standard, and extract described identical prediction direction as the prediction direction in the second video encoding and decoding standard; As no, extract its encoding block size and prediction direction directly as encoding block size and the prediction direction of the second video encoding and decoding standard.
13. video code translators as claimed in claim 12, wherein, described parameter information converting unit is further configured to:
Encoding block size after described merging is less than the maximum encoding block size that the second video encoding and decoding standard allows, whether judgement has identical predictive mode with its adjacent block with same-code piece size, in this way, this piece being adjacent to piece merges again, encoding block size after again merging is as the encoding block size that meets the second video encoding and decoding standard, and using described identical predictive mode as the predictive mode that meets the second video encoding and decoding standard; As no, using direct as the encoding block size and the predictive mode that meet the second video encoding and decoding standard to its encoding block size and predictive mode.
14. video code translators as described in claim 12 or 13, wherein further comprise background area parameter buffer, for storing the encoding block size and the prediction direction that meet the second video encoding and decoding standard after conversion.
CN201310129950.XA 2013-04-15 2013-04-15 Video transcoding method and video code translator Expired - Fee Related CN104104948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310129950.XA CN104104948B (en) 2013-04-15 2013-04-15 Video transcoding method and video code translator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310129950.XA CN104104948B (en) 2013-04-15 2013-04-15 Video transcoding method and video code translator

Publications (2)

Publication Number Publication Date
CN104104948A true CN104104948A (en) 2014-10-15
CN104104948B CN104104948B (en) 2017-08-01

Family

ID=51672707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310129950.XA Expired - Fee Related CN104104948B (en) 2013-04-15 2013-04-15 Video transcoding method and video code translator

Country Status (1)

Country Link
CN (1) CN104104948B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618734A (en) * 2015-01-29 2015-05-13 华为技术有限公司 Video code stream transcoding method and device under same protocol type
CN105898309A (en) * 2015-12-25 2016-08-24 乐视云计算有限公司 Transcoding method and device
CN108600757A (en) * 2018-05-03 2018-09-28 深圳市网心科技有限公司 Macro block (mb) type determination method, video transcoding method, electronic equipment and storage medium
CN110062235A (en) * 2019-04-08 2019-07-26 上海大学 Background frames generate and update method, system, device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742321A (en) * 2010-01-12 2010-06-16 浙江大学 Layer decomposition-based Method and device for encoding and decoding video
CN101888547A (en) * 2010-06-18 2010-11-17 西安电子科技大学 Direct mode selection based H.264/AVC (Advanced Video Coding) fast transcoding method and device
CN101909211A (en) * 2010-01-04 2010-12-08 西安电子科技大学 H.264/AVC high-efficiency transcoder based on fast mode judgment
CN102510496A (en) * 2011-10-14 2012-06-20 北京工业大学 Quick size reduction transcoding method based on region of interest
CN102665077A (en) * 2012-05-03 2012-09-12 北京大学 Rapid and efficient encoding-transcoding method based on macro block classification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909211A (en) * 2010-01-04 2010-12-08 西安电子科技大学 H.264/AVC high-efficiency transcoder based on fast mode judgment
CN101742321A (en) * 2010-01-12 2010-06-16 浙江大学 Layer decomposition-based Method and device for encoding and decoding video
CN101888547A (en) * 2010-06-18 2010-11-17 西安电子科技大学 Direct mode selection based H.264/AVC (Advanced Video Coding) fast transcoding method and device
CN102510496A (en) * 2011-10-14 2012-06-20 北京工业大学 Quick size reduction transcoding method based on region of interest
CN102665077A (en) * 2012-05-03 2012-09-12 北京大学 Rapid and efficient encoding-transcoding method based on macro block classification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DONG ZHANG, ET AL.: "Fast Transcoding from H.264/AVC to High Efficiency Video Coding", 《2012 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO》 *
TONG SHEN,ET AL.: "Ultra Fast H.264/AVC to HEVC Transcoder", 《2013 DATA COMPRESSION CONFERENCE》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618734A (en) * 2015-01-29 2015-05-13 华为技术有限公司 Video code stream transcoding method and device under same protocol type
CN104618734B (en) * 2015-01-29 2019-02-01 华为技术有限公司 The code-transferring method and device of video code flow under same protocol type
CN105898309A (en) * 2015-12-25 2016-08-24 乐视云计算有限公司 Transcoding method and device
CN108600757A (en) * 2018-05-03 2018-09-28 深圳市网心科技有限公司 Macro block (mb) type determination method, video transcoding method, electronic equipment and storage medium
CN110062235A (en) * 2019-04-08 2019-07-26 上海大学 Background frames generate and update method, system, device and medium
CN110062235B (en) * 2019-04-08 2023-02-17 上海大学 Background frame generation and update method, system, device and medium

Also Published As

Publication number Publication date
CN104104948B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
US9906789B2 (en) Encoding or decoding method and apparatus
CN103096055B (en) The method and apparatus of a kind of image signal intra-frame prediction and decoding
CN102835111B (en) The motion vector of previous block is used as the motion vector of current block, image to be carried out to the method and apparatus of coding/decoding
TW201842779A (en) Multiple transform prediction
EP4099699A1 (en) Image encoding method and apparatus, and image decoding method and apparatus
CN106060547A (en) Apparatus for decoding high-resolution images
CN105635737A (en) Method and apparatus for processing video data
JP2010268504A (en) Method and apparatus for coding motion information
CN104718758A (en) Transform-domain intra prediction
CN107888929A (en) Video coding coding/decoding method, equipment and generation and the method for stored bits stream
CN103957412A (en) Base color and index map algorithm for correcting inter-frame residual errors of screen video
CN104104948A (en) Video transcoding method and video transcoder
US8073266B2 (en) Dynamic image encoding device, dynamic image decoding device, dynamic image encoding method, dynamic image decoding method, dynamic image encoding program, and dynamic image decoding program
CN111447452A (en) Data coding method and system
KR20180024702A (en) Adaptive rdpcm method for video coding, video encoding method based on adaptive rdpcm and video decoding method based on adaptive rdpcm
CN103856780A (en) Video encoding method, decoding method, encoding device and decoding device
CN109561312A (en) The value differences prediction technique of adaptivenon-uniform sampling in a kind of bandwidth reduction
AU2014277750B2 (en) Encoding or decoding method and apparatus
WO2020258057A1 (en) Video processing method, apparatus and device
CN103039077B (en) Apparatus and method for the encoding/decoding image of infra-frame prediction
CN118020290A (en) System and method for encoding and decoding video with memory efficient prediction mode selection
CN102300088A (en) In-frame prediction mode optimization method as well as image compression method and device
CN105025301A (en) Method and apparatus for encoding/decoding image

Legal Events

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

Granted publication date: 20170801

Termination date: 20180415

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