CN104104948B - Video transcoding method and video code translator - Google Patents
Video transcoding method and video code translator Download PDFInfo
- Publication number
- CN104104948B CN104104948B CN201310129950.XA CN201310129950A CN104104948B CN 104104948 B CN104104948 B CN 104104948B CN 201310129950 A CN201310129950 A CN 201310129950A CN 104104948 B CN104104948 B CN 104104948B
- Authority
- CN
- China
- Prior art keywords
- block size
- video encoding
- coding block
- decoding standard
- prediction direction
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a kind of video transcoding method and video code translator.The video transcoding method includes:The video code flow for meeting the first video encoding and decoding standard comprising multiple image is decoded, decoding data is generated;Obtain the coding block size and predictive mode that meet the first video encoding and decoding standard in each two field picture;Its coding block size and predictive mode in the cataloged procedure for meeting the second video encoding and decoding standard is determined according to coding block size of the video code flow under the first video encoding and decoding standard and predictive mode;Meet the video code flow of the second video encoding and decoding standard according to decoding data is encoded to by the identified coding block size and predictive mode for meeting the second video decoding standards.
Description
Technical field
The present invention relates to video transcoding method and video code translator, more particularly to from a kind of coding and decoding video signal to another
Plant the video code conversion of coding and decoding video signal.
Background technology
Digital video technology is widely used in the fields such as communication, computer, radio and television, brings video conferencing, visual
A series of applications such as phone and DTV, media storage, have promoted 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 can all be produced new based on the video encoding and decoding standard
Product better meets the demand of user to meet.From H.261 being announced in nineteen ninety between so far more than 20 years, H.262, H.263,
And HEVC etc. is announced successively H.264.Although the update for being adapted to the video decoding/encoding device of above-mentioned standard is quite fast
Speed, but some period is that typically in, in the market can have the equipment using different video encoding and decoding standard.
And with the continuous progress of technology, various video encoding and decoding standards are also constantly improving vedio data
The parameter such as compression ratio, definition, but also bring increasing substantially for amount of calculation in encoding-decoding process simultaneously.Therefore, need
The video transcoding method and transcoding device between a kind of different video encoding and decoding standard are wanted, to make existing coding and decoding video
Equipment has longer use time, and can reduce and directly encoded using new video encoding and decoding standard video data
Amount of calculation.
The content of the invention
The embodiment provides a kind of efficient video transcoding method and device, for by a kind of Video coding
Form(Hereinafter referred to as the first video code model)Video data be converted into another video code model(Hereinafter referred to as second
Video code model), wherein it is possible to using existing coding/decoding information in the first video code model, be regarded so as to reduce second
The amount of calculation of frequency coded format encoding and decoding.
The brief overview on the present invention is given below, to provide the basic reason on certain aspects of the invention
Solution.It should be appreciated that this general introduction is not the exhaustive general introduction on the present invention.It is not intended to determine the key of the present invention
Or pith, nor is it intended to limit the scope of the present invention.Its purpose only provides some concepts in simplified form, with
This is used as the preamble in greater detail discussed later.
According to an aspect of the present invention, a kind of video transcoding method is disclosed, including:To meeting comprising multiple image
The video code flow of first video encoding and decoding standard is decoded, and generates decoding data;Determine that meeting in each two field picture first regards
The coding block size and predictive mode of frequency encoding and decoding standard;According to the video code flow under the first video encoding and decoding standard
Coding block size and predictive mode come determine its in the cataloged procedure for meeting the second video encoding and decoding standard coding block size and
Predictive mode;Decoding data is compiled according to the identified coding block size and predictive mode for meeting the second video encoding and decoding standard
Code is the video code flow for meeting the second video encoding and decoding standard.
According to another aspect of the present invention, a kind of video code translator is disclosed, including, the first video encoding and decoding standard solution
Code unit, for being decoded to the video code flow for meeting the first video encoding and decoding standard comprising multiple image, generation decoding
Data;Buffer, for determining the coding block size and predictive mode that meet the first video encoding and decoding standard in each two field picture,
And be stored in wherein;Parameter information converting unit, for according to the video code flow under the first video encoding and decoding standard
Coding block size and predictive mode come determine its in the cataloged procedure for meeting the second video encoding and decoding standard coding block size and
Predictive mode;Second video encoding and decoding standard coding unit, for meeting the second video encoding and decoding standard determined by
Decoding data is encoded to the video code flow for meeting the second video encoding and decoding standard by coding block size and predictive mode.
Brief description of the drawings
Below with reference to the accompanying drawings illustrate embodiments of the invention, can be more readily understood that the present invention more than and its
Its objects, features and advantages.
Fig. 1 shows the indicative flowchart of the video transcoding method according to the present invention;
Fig. 2 shows the schematic diagram of the video code translator 200 according to the present invention;
Fig. 3 shows the different coding block size of the macro block in H.264 video encoding and decoding standard;
Fig. 4 shows predictive mode of the size in H.264 video encoding and decoding standard for 16x16 encoding block;
Fig. 5 shows predictive mode of the size in H.264 video encoding and decoding standard for 8x8 and 4x4 encoding block;
Fig. 6 shows the code tree unit in HEVC video encoding and decoding standards(CTU)And coding unit(CU)Relation;
Fig. 7 shows that the size in HEVC video encoding and decoding standards is 8x8,16x16 and 32x32 coding unit
Prediction direction;
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 show the location diagram for the adjacent encoder block that present encoding block size is 16x16;
Figure 10 b show the location diagram for the adjacent encoder block that current coded unit size is 32x32;
Figure 11 shows the schematic diagram for applying the video code translator in field of video monitoring;
Figure 12 is shown available for the schematic diagram for implementing computer in accordance with an embodiment of the present disclosure.
Embodiment
Existing video encoding and decoding standard, such as H.261, H.262, H.263, H.264 and HEVC, using compile
Code block is encoded as operating unit to video image, and realizes the volume solution to video image using parameters such as predictive modes
Code.The embodiment provides compile solution for a kind of video data of video encoding and decoding standard to be converted into another video
The video transcoding method and device of code standard.
Fig. 1 shows the indicative flowchart of the video transcoding method according to the present invention.
First, in step S101, the video codes for meeting the first video encoding and decoding standard comprising multiple image are flowed into
Row decoding, generates decoding data;In step s 102, the coding for meeting the first video encoding and decoding standard in each two field picture is obtained
Block size and predictive mode;In step s 103, according to the coding under the first video encoding and decoding standard of the video code flow
Block size and predictive mode determine its coding block size and prediction in the cataloged procedure for meeting the second video encoding and decoding standard
Pattern;Finally, in step S104, the coding block size of the second video decoding standards is met according to determined by step S103
Decoding data is encoded to the video code flow for meeting the second video encoding and decoding standard with predictive mode.
The predictive mode of above-mentioned first and second video encoding and decoding standards kind can represent with prediction direction, above-mentioned steps
S103 may further include, for the non-maximum encoding block chi met in the first video encoding and decoding standard in each picture frame
Very little block, by the coding block size directly as the coding block size for meeting the second video encoding and decoding standard, and is selected with meeting
The identical or adjacent prediction direction of the prediction direction of first video encoding and decoding standard is as meeting the second video encoding and decoding standard
Candidate prediction direction.For the block with the maximum coding block size in the first video encoding and decoding standard in each frame, judge
Have whether the adjacent block of identical coding block size has identical prediction direction with it, in this way, then by adjacent thereto piece of the block
Merge, extract the coding block size after merging as the coding block size for meeting the second video encoding and decoding standard, and extract first
Correspond to whole prediction directions of maximum coding block size in video encoding and decoding standard as meeting the second video encoding and decoding standard
Coding when candidate prediction direction;If not, extracting its coding block size and prediction direction directly as meeting the second video
The coding block size and prediction direction of encoding and decoding standard.
Also, if the coding block size after above-mentioned merging is less than the maximum coding that the second video encoding and decoding standard is allowed
Block size, then judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then should
Adjacent thereto piece of block merges again, using again merge after coding block size as the second video encoding and decoding standard encoding block chi
It is very little, and using whole prediction directions of the coding block size corresponded in the second video encoding and decoding standard after merging again as again
The prediction direction of block after merging;If not, by its coding block size and predictive mode directly as the second coding and decoding video mark
Accurate coding block size and prediction direction.
In from the first video encoding and decoding standard to the transcoding process of the second video encoding and decoding standard, because video image is each
Background area in frame is smaller relative to the change of foreground area, therefore for the encoding block in background area, can take more
Easy switch process.The coding block size and predictive mode of the block of same position in adjacent two frame can be compared, if homogeneously
Together, then it can be determined that the block is in background area.
Behind the background area in identifying each frame, for having in the first video encoding and decoding standard in background area
The block of non-maximum coding block size, by coding block size of its coding block size directly as the second video encoding and decoding standard, choosing
Select with its prediction direction identical prediction direction as its prediction direction in the second video encoding and decoding standard.For background area
The block with the maximum coding block size met in the first video encoding and decoding standard in domain, judgement has identical encoding block with it
Whether the adjacent block of size has identical prediction direction, in this way, then by block merged block adjacent thereto, extracts the volume after merging
Code block size extracts the identical prediction direction as meeting the coding block size of the second video encoding and decoding standard
Prediction direction in two video encoding and decoding standards;Regarded if not, extracting its coding block size and prediction direction directly as second
The coding block size and prediction direction of frequency encoding and decoding standard.
If the coding block size after above-mentioned merging is less than the maximum encoding block chi that the second video encoding and decoding standard is allowed
It is very little, then judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then by the block and
Its adjacent merged block, using the coding block size after merging again as the coding block size for meeting the second video encoding and decoding standard,
And it regard the identical predictive mode as the predictive mode for meeting the second video encoding and decoding standard;If not, by its encoding block
Size and predictive mode are directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
And because the change of background area in each frame is smaller, therefore for the block in background area, identified symbol
Closing the coding block size and prediction direction of the second video encoding and decoding standard can be reused in different frames.
Fig. 2 shows the schematic diagram of the video code translator 200 according to the present invention.
Transcoder 200 includes the first video encoding and decoding standard decoding unit 201, for meeting comprising multiple image
The video code flow of first video encoding and decoding standard is decoded, and generates decoding data;Buffer 202, for obtaining each two field picture
In meet the coding block size and predictive mode of the first video encoding and decoding standard, and be stored therein;Parameter information conversion is single
Member 203, for coming true according to coding block size of the video code flow under the first video encoding and decoding standard and predictive mode
Fixed its coding block size and predictive mode in the cataloged procedure for meeting the second video encoding and decoding standard;And second video compile solution
Code standard code unit 204, coding block size and prediction mould for meeting the second video encoding and decoding standard determined by
Decoding data is encoded to the video code flow for meeting the second video encoding and decoding standard by formula.
Wherein, parameter information converting unit 203 is further configured to compile solution for first video that meets in each frame
The block of non-maximum coding block size in code standard, by the coding block size directly as meeting the second video encoding and decoding standard
Coding block size, and prediction direction identical with meeting the prediction direction of the first video encoding and decoding standard or adjacent is selected as symbol
Close the candidate prediction direction of the second video encoding and decoding standard;For having in the first video encoding and decoding standard most in each frame
The block of big coding block size, judges whether the adjacent block for having identical coding block size with it has identical prediction direction, such as
It is, then by block merged block adjacent thereto, to extract the coding block size after merging as meeting the second video encoding and decoding standard
The whole prediction directions for corresponding to maximum coding block size in coding block size, and the first video encoding and decoding standard of extraction are used as symbol
Close the candidate prediction direction during coding of the second video encoding and decoding standard;If not, extracting its coding block size and prediction direction
Directly as the coding block size and prediction direction for meeting the second video encoding and decoding standard.
And, the coding block size after the merging is less than the maximum encoding block that the second video encoding and decoding standard is allowed
In the case of size, judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then
By the block, adjacent thereto piece merges again, using again merge after coding block size as the second video encoding and decoding standard coding
Block size, and the whole prediction directions that the coding block size after the merging again will be corresponded in the second video encoding and decoding standard
It is used as the prediction direction of the block after merging again;If not, by its coding block size and predictive mode directly as the second video
The coding block size and prediction direction of encoding and decoding standard.
Transcoder 200 further comprises background area determining unit(It is not shown), it is used to recognize the background area in each frame
Domain.For the background area in each frame, parameter information converting unit 203 is configured as, for having first in background area
The block of non-maximum coding block size in video encoding and decoding standard, by its coding block size directly as the second coding and decoding video mark
Accurate coding block size, is selected pre- in the second video encoding and decoding standard as it with its prediction direction identical prediction direction
Survey direction;For the block with the maximum coding block size met in the first video encoding and decoding standard in background area, judge
Have whether the adjacent block of identical coding block size has identical prediction direction with it, in this way, then by adjacent thereto piece of the block
Merge, extract the coding block size after merging as the coding block size for meeting the second video encoding and decoding standard, and extract described
Identical prediction direction is used as the prediction direction in the second video encoding and decoding standard;If not, extracting its coding block size and pre-
Survey coding block size and prediction direction of the direction directly as the second video encoding and decoding standard.
And, the coding block size after above-mentioned merging is less than the maximum encoding block that the second video encoding and decoding standard is allowed
In the case of size, judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then
By the block, adjacent thereto piece merges again, using the coding block size after merging again as meeting the second video encoding and decoding standard
Coding block size, and it regard the identical predictive mode as the predictive mode for meeting the second video encoding and decoding standard;If not,
By its coding block size and predictive mode directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
Background area parameter register can also be included in transcoder 200(It is not shown), wherein can store after conversion
Meet the coding block size and prediction direction of the second video encoding and decoding standard, to be reused in different frames, so that
The block in background area is set all to be changed in every frame.
Hereinafter, will be so that H.264 both are regarded with HEVC for the method and device of the clearer description present invention
Illustrated exemplified by transcoding between frequency encoding and decoding standard.Regarded it should be understood that embodiments of the invention are not limited to both
Video code conversion between frequency coding standard, but turning between applying also for other video encoding standards based on encoding block
Code.
In h .264, basic processing unit is macro block, and full-size is 16x16.Wherein, using coding block size and in advance
Survey pattern(That is prediction direction)Two parameters characterize the coding mode of a macro block.H.264 a macro block, can with three kinds
The coding block size of choosing, respectively 16x16,8x8(One macro block is divided into four encoding blocks)And 4x4(One macro block is divided into 16
Individual encoding block).Fig. 3 illustrates the various various sizes of encoding blocks of H.264 middle macro block.Have for different coding block sizes
Different predictive modes, wherein, size has 4 kinds of predictive modes for 16x16 encoding block, as shown in figure 4, size be 8x8 and
4x4 encoding block 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 includes
With various sizes of coding unit, coding unit in the HEVC is that is, encoding block in H.264.Coding unit
Size can be 64x64,32x32,16x16,8x8,4x4.The size of the code tree unit shown in Fig. 6 is 32x32, coding
The size of unit 0,15 is 16x16, and the size of coding unit 1-4,9,14 is 8x8, and coding unit 5-8,10-13 size are
4x4.Relative to H.264, the predictive mode of HEVC coding unit is also increased a lot, up to 34 kinds, as shown in Figure 7.No
Quantity with the prediction direction corresponding to the coding unit of 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 relative to the coding unit H.264, allowed(Encoding block)Size is bigger, various sizes of
The species of coding unit is more, and corresponding prediction direction is also more.Therefore, HEVC encoding-decoding process is also required to than H.264 compiling
The more amounts of calculation of decoding process.But, if will H.264 in the conversion of existing coding block size information and prediction direction information
For the coding unit dimension information and prediction direction information in HEVC, i.e., HEVC video code conversion is H.264 arrived, relative to direct
Encoding and decoding are carried out to vision signal using HEVC, amount of calculation can be greatly reduced.
Fig. 8 shows the schematic diagram of video code translator 800 according to an embodiment of the invention.The video
Transcoder 800 includes H.264 decoding unit 801, buffer 802, characteristic information converting unit 803, HEVC coding units 804,
Wherein, characteristic information converting unit 803 also includes coding unit size mapping block 8031 and predictive mode selecting module 8032.
Video code translator 800 work when, H.264 video code flow be input into H.264 decoding unit 801 decoded with
Decoding data is obtained, buffer 802 obtains and caches the coding block size information H.264 in decoding data and predictive mode
Information.8032 points of coding unit size mapping block 8031 and predictive mode selecting module in characteristic information converting unit 803
H.264 coding block size information and prediction mode information is not converted to the coding unit dimension information and prediction mould in HEVC
Formula information.HEVC coding units utilize the coding unit dimension information and prediction mode information of the HEVC after above-mentioned conversion to decoding
Data are encoded, so as to obtain the video code flow of HEVC video encoding and decoding standards.
Fig. 9 shows the flow chart of video transcoding method according to an embodiment of the invention.It is first in step S901
First the video code flow H.264 of input is decoded;In step S902, each macro block in each frame of acquisition is in h .264
Coding block size and predictive mode;In step S903, by the coding block size of each macro block in h .264 in each frame and
Predictive mode is converted to coding unit size and predictive mode in HEVC, and the transfer process is realized by following process:
(1)If the coding block size of current macro in h .264 is corresponding position in 4x4 or 8x8, HEVC
The size of coding unit with H.264 in coding block size it is consistent, the predictive mode of candidate is mapped by table 2;
Table 2
(2)It is 16x16's according to coding block size if the coding block size of current macro in h .264 is 16x16
Investigate the block that adjacent coding size is also 16x16 in the position of block.As shown in Figure 10 a, if current macro is in position B0,
Check B1-B3, if current macro is in position B1, check B0, B2, B3, if current macro is in position B2, check B0,
B1, B3, if current macro checks B0-B2 in position B3.If B0-B3 is 16x16 blocks, and their predictive mode
Unanimously, then this 4 16x16 merged blocks turn into the coding unit of the 32x32 in HEVC and encoded, otherwise still according to
4 encoding blocks are converted to the coding unit in HEVC respectively and encoded by 16x16 size;
If the size of the coding unit after changing is 16x16, the prediction direction of coding unit exists for each encoding block
H.264 the prediction direction in;If the size of the coding unit after changing is 32x32, the candidate modes of coding unit
For DC, planar, vertical and horizontal.
(3)If the size of the coding unit after changing into 32x32, and HEVC in maximum coding unit size be
64x64, then check the coding unit of adjacent position, as shown in fig. lob.If the position of the coding unit after conversion is at B0,
B1-B3 is then checked, if the position of the coding unit after conversion is at B1, B0, B2, B3 is checked, if the coding after conversion
The position of unit then checks B0, B1, B3 at B2, if the position of the coding unit after conversion checks B0- at B3
B2.If B0, B1, B2, B3 are the coding unit that size is 32x32, and with identical prediction direction, are then turned this 4
The coding unit of 32x32 after changing, which merges, turns into 64x64 coding unit, otherwise also according to 32x32 coding unit
Encoded;
If the coding unit after conversion can merge into 64x64 coding unit again, the coding list merged again
The candidate modes of member are DC, planar, vertical and horizontal.
In step S904, decoding data is carried out using the above-mentioned coding unit size be converted in HEVC and prediction direction
Coding, so as to export the video code flow of HEVC video encoding and decoding standards.
H.264 field of video monitoring is widely used in HEVC video encoding and decoding standards, in field of video monitoring, depending on
The foreground area of frequency image and background area have significant difference.Background area generally comprises the less letter useful to user
Breath, and generally remain in each frame constant.So once background area is identified in present frame, the background area in subsequent frame
Domain can continue to use the background area in present frame.In the image of foreground area, more information useful to user are contained, because
This, user needs to obtain high-quality foreground region image.
As can be seen here, video is carried out respectively to the foreground and background region in the video image in field of video monitoring to turn
Code, is conducive to the more efficient code-transferring method of realizing, and can further reduce the amount of calculation of video code conversion.With reference to Figure 11
To illustrate that video transcoding method and video code translator according to the present invention apply the embodiment in field of video monitoring.
Figure 11 is the schematic diagram for applying the video code translator in field of video monitoring.
Wherein, the transcoder 1100 include buffer 1102 and 1103, it is comparing unit 1104, subtracter 1105, preceding
Scene area predictive mode selection/coding unit size map unit 1106, background area predictive mode selection/coding unit size
Map unit 1107, background area parameter register 1108, HEVC encoders 1109.
During 1100 normal work of transcoder, H.264 H.264 video code flow is decoded 1101 pairs of decoder, and will decoding
Data are sent to buffer 1102.Buffer 1102 stores the coding in the information in the first frame that it is received, i.e. the first frame
Block size information and prediction direction information, and the first frame is handled directly as foreground area, by the encoding block in the frame
Dimension information and prediction mode information are sent to foreground area predictive mode selection/coding unit map unit 1106.When second
After frame is decoded, the data in buffer 1102 are transferred in buffer 1103, meanwhile, by the coding block size in the second frame
In the buffer 1102 that information and prediction mode information deposit have been cleared.When the data that are all stored with buffer 1102 and 1103
When, comparing unit 1104 compares the data in two buffers, if located in two at same position in two video frame images
The coding block size and predictive mode all same of individual macro block, it is determined that the region where the macro block belongs to background area.It is determined that regarding
Behind the background area of frequency picture frame, the foreground area of video frame image is determined by subtracter 1105.When the 3rd frame decoding is finished
Afterwards, the data in buffer 1102 are transferred completely into buffer 1103, meanwhile, coding block size information in the 3rd frame and pre-
Survey pattern information and be written into buffer 1102, subsequent process is similar.
After it is determined that the macro block in video frame image belongs to foreground area or background area, mould is predicted by foreground area
Formula selection/coding unit map unit 1106 and background area predictive mode selection/coding unit map unit 1107 are right respectively
The coding block size and predictive mode of macro block in foreground area and background area are changed.
In foreground area predictive mode selection/coding unit map unit 1106, lead to for the macro block in foreground area
Following steps are crossed to be changed:
(1)If the coding size of current macro in h .264 is the coding of corresponding position in 4x4 or 8x8, HEVC
The size of unit with H.264 in coding block size it is consistent, the predictive mode of candidate is mapped by above-mentioned table 2;
(2)If the coding size of current macro in h .264 is 16x16, according to the block that coding block size is 16x16
Position investigate the block that adjacent encoder size is also 16x16.As shown in Figure 10 a, if current macro is checked in position B0
B1-B3, if current macro is in position B1, checks B0, B2, B3, if current macro is in position B2, check B0, B1,
B3, if current macro checks B0-B2 in position B3.If B0-B3 is 16x16 blocks, and their predictive mode one
Cause, then coding unit of this 4 16x16 merged blocks as the 32x32 in a HEVC is encoded, otherwise still according to 16x16
4 encoding blocks are converted to the coding unit in HEVC respectively and encoded by size;
If the size of the coding unit after changing is 16x16, the prediction direction of coding unit exists for each encoding block
H.264 the prediction direction in;If the size of the coding unit after changing is 32x32, the candidate modes of coding unit are
DC, planar, vertical and horizontal.
(3)If the size of the coding unit after changing into 32x32, and HEVC in maximum coding unit size be
64x64, then check the coding unit of adjacent position, as shown in fig. lob.If the position of the coding unit after conversion is at B0,
B1-B3 is then checked, if the position of the coding unit after conversion is at B1, B0, B2, B3 is checked, if the coding after conversion
The position of unit then checks B0, B1, B3 at B2, if the position of the coding unit after conversion checks B0- at B3
B2.If B0, B1, B2, B3 are the coding unit that size is 32x32, and with identical prediction direction, are then turned this 4
The coding unit of 32x32 after changing, which merges, turns into 64x64 coding unit, otherwise also according to 32x32 coding unit
Encoded;
If the coding unit after conversion can merge into 64x64 coding unit again, the coding after merging again
The candidate modes of unit are DC, planar, vertical and horizontal.
In background area predictive mode selection/coding unit map unit 1107, lead to for the macro block in background area
Following steps are crossed to be changed:
(1)If the coding block size of current macro in h .264 is the corresponding position in 4x4 or 8x8, HEVC
Coding unit size with H.264 in coding block size it is consistent, and prediction direction and the coding of H.264 middle corresponding position
The prediction direction of block is identical.
(2)It is 16x16 block according to coding size if the coding size of current macro in h .264 is 16x16
It is also 16x16 blocks that adjacent coding size is investigated in position.As shown in Figure 10 a, if current macro checks B1- in position B0
B3, if current macro is in position B1, checks B0, B2, B3, if current macro is in position B2, checks B0, B1, B3, such as
Fruit current macro then checks B0-B2 in position B3.If B0-B3 is 16x16 block, and their predictive mode is consistent, then
The coding unit that this 4 16x16 merged blocks turn into the 32x32 in a HEVC is encoded, otherwise also according to 16x16 sizes
4 coding units are converted into the coding unit in HEVC respectively to be encoded.
If the size of the coding unit after changing is 16x16, the prediction direction of coding unit exists for each encoding block
H.264 the prediction direction in;If the size of the coding unit after changing is 32x32, by above-mentioned 4 16x16 encoding block
Common prediction direction in h .264 as the coding unit of the 32x32 in the HEVC after conversion prediction direction;
(3)If the size of the coding unit after changing into 32x32, and HEVC in maximum coding unit size be
64x64, then check the coding unit of adjacent position, as shown in fig. lob.If the position of the coding unit after conversion is at B0,
B1-B3 is then checked, if the position of the coding unit after conversion is at B1, B0, B2, B3 is checked, if the coding after conversion
The position of unit then checks B0, B1, B3 at B2, if the position of the coding unit after conversion checks B0- at B3
B2.If B0, B1, B2, B3 are the coding unit that size is 32x32, and with identical prediction direction, are then turned this 4
The coding unit of 32x32 after changing, which merges, turns into 64x64 coding unit, otherwise also according to 32x32 coding unit
Encoded;
If the coding unit after conversion can merge into 64x64 coding unit again, by above-mentioned 4 32x32's
The common prediction direction of coding unit as again merge after 32x32 coding unit prediction direction.
The Utilization prospects regional prediction model selection of HEVC encoders 1109/coding unit map unit 1106 and background area
The coding list in the foreground and background region under the HEVC standard that domain predictive mode selection/coding unit map unit 1107 is changed
Elemental size information and prediction direction information are encoded to decoding data, so as to form HEVC video code flows.
In addition, the background for the HEVC standards that background area predictive mode selection/coding unit map unit 1107 is changed
The coding unit dimension information and prediction direction information in region can also be stored in background area parameter register 1108, from
And the volume of the background area cached in background area parameter register 1108 is reused in the conversion of each video frame image
Code unit size information and prediction direction information, without the coding unit size to the background area in each video frame image
Information and prediction direction information are all changed.
It should be understood that above-described embodiment and example are exemplary, rather than exhaustive, the disclosure is not construed as limitation
In any specific embodiment or example.
As an example, each step of the above method and all modules and/or device of the said equipment can
With the software being embodied as, firmware, hardware or its combination.For example, the various equipment with image processing function can be used as(As counted
Calculation machine, personal digital assistant, camera, video camera and other image processing equipments etc., are not enumerated here)A part.
It is workable specific when all modules are configured by way of software, firmware, hardware or its combination in the said equipment
Means or mode are well known to those skilled in the art, and will not be repeated here.
As described above, the step of being handled in the above method and equipment image and module can be by softwares come real
It is existing.From storage medium or network to the computer with specialized hardware structure(All-purpose computer 1200 for example shown in Figure 12)
The program for constituting the software is installed, the computer is able to carry out various functions etc. when being provided with various programs.
In fig. 12, CPU (CPU) 1201 according to the program stored in read-only storage (ROM) 1202 or from
The program that storage part 1208 is loaded into random access memory (RAM) 1203 performs various processing.In RAM1203, also root
The data required when CPU1201 performs various processing etc. are stored according to needs.CPU1201, ROM1202 and RAM1203 via
Bus 1204 is connected to each other.Input/output interface 1205 is also connected to bus 1204.
Components described below is connected to input/output interface 1205:Importation 1206(Including keyboard, mouse etc.), output
Part 1207(Including display, such as cathode-ray tube (CRT), liquid crystal display (LCD) etc., and loudspeaker etc.), storage part
Divide 1208(Including hard disk etc.), communications portion 1209(Including NIC such as LAN card, modem etc.).Communication unit
1209 are divided to perform communication process via network such as internet.As needed, driver 1210 can be connected to input/output
Interface 1205.Detachable media 1211 such as disk, CD, magneto-optic disk, semiconductor memory etc. are installed in as needed
On driver 1210 so that the computer program read out is installed in storage part 1208 as needed.
It is such as removable from network such as internet or storage medium in the case where realizing above-mentioned series of processes by software
Unload medium 1211 and the program for constituting software is installed.
It will be understood by those of skill in the art that this storage medium is not limited to the journey that is wherein stored with shown in Figure 12
Sequence and equipment separately distribute to provide a user the detachable media 1211 of program.The example bag of detachable media 1211
Containing disk (include floppy disk (registration mark)), CD (including compact disc read-only memory (CD-ROM) and digital universal disc (DVD)),
Magneto-optic disk(Include mini-disk (MD) (registration mark)) and semiconductor memory.Or, storage medium can be ROM1202, deposit
Hard disk for including etc., wherein computer program stored in storage part 1208, and it is distributed to together with the equipment comprising them user.
The disclosure also proposes a kind of program product of the instruction code for the machine-readable that is stored with.The instruction code is by machine
When device reads and performed, the above-mentioned method according to the embodiment of the present disclosure can perform.
Correspondingly, the storage medium for the program product for the instruction code for carrying the above-mentioned machine-readable that is stored with also is wrapped
Include in the disclosure of the disclosure.The storage medium includes but is not limited to floppy disk, CD, magneto-optic disk, storage card, memory stick etc.
Deng.
Above in the description of disclosure specific embodiment, the feature for describing and/or showing for a kind of embodiment
It can be used with same or similar mode in one or more other embodiments, with the feature in other embodiment
It is combined, or substitute the feature in other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, key element, step or component when being used herein, but simultaneously
It is not excluded for the presence or additional of one or more further features, key element, step or component.
In addition, disclosed method be not limited to specifications described in time sequencing perform, can also according to it
His time sequencing, concurrently or independently perform.Therefore, the execution sequence of the method described in this specification is not to this public affairs
The technical scope opened is construed as limiting.
Description more than is as can be seen that there is provided following scheme in accordance with an embodiment of the present disclosure:
A kind of 1. video transcoding methods are attached, including:
The video code flow for meeting the first video encoding and decoding standard comprising multiple image is decoded, generation solution yardage
According to;
Obtain the coding block size and predictive mode that meet the first video encoding and decoding standard in each two field picture;
Determined according to coding block size of the video code flow under the first video encoding and decoding standard and predictive mode
Its coding block size and predictive mode in the cataloged procedure for meeting the second video encoding and decoding standard;
Decoding data is encoded according to the identified coding block size and predictive mode for meeting the second video decoding standards
For the video code flow for meeting the second video encoding and decoding standard.
Method of the note 2. as described in note 1, wherein, the predictive mode is prediction direction, and wherein, according to institute
That states meets the coding block size and predictive mode of the video code flow of the first video encoding and decoding standard to be determined for compliance with the second video
The coding block size and coding prediction mode of encoding and decoding standard include:
For the block for meeting the non-maximum coding block size in the first video encoding and decoding standard in each frame, this is encoded
Block size selects directly as the coding block size for meeting the second video encoding and decoding standard and meets the first coding and decoding video mark
The identical or adjacent prediction direction of accurate prediction direction is used as the candidate prediction direction for meeting the second video encoding and decoding standard;
For the block with the maximum coding block size in the first video encoding and decoding standard in each frame, judgement has with it
Whether the adjacent block for having identical coding block size has identical prediction direction, in this way, then by block merged block adjacent thereto, carries
The coding block size after merging is taken as the coding block size for meeting the second video encoding and decoding standard, and extracts the first video and compiles solution
When corresponding to whole prediction directions of maximum coding block size in code standard as the coding for meeting the second video encoding and decoding standard
Candidate prediction direction;If not, extracting its coding block size and prediction direction directly as meeting the second coding and decoding video mark
Accurate coding block size and prediction direction.
Method of the note 3. as described in note 2, further comprises:
If the coding block size after the merging is less than the maximum encoding block chi that the second video encoding and decoding standard is allowed
It is very little, then judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then by the block and
Its adjacent block merges again, using again merge after coding block size as the second video encoding and decoding standard coding block size,
And using whole prediction directions of the coding block size corresponded in the second video encoding and decoding standard after merging again as closing again
And after block prediction direction;If not, by its coding block size and predictive mode directly as the second video encoding and decoding standard
Coding block size and prediction direction.
Method of the note 4. as described in note 2 or 3, further comprises:Recognize the background area in each frame.
Method of the note 5. as described in note 4, in addition to:
For the block with the non-maximum coding block size in the first video encoding and decoding standard in background area, compiled
Code block size is selected and its prediction direction identical prediction direction directly as the coding block size of the second video encoding and decoding standard
It is used as its prediction direction in the second video encoding and decoding standard;
For the block with the maximum coding block size met in the first video encoding and decoding standard in background area, judge
Have whether the adjacent block of identical coding block size has identical prediction direction with it, in this way, then by adjacent thereto piece of the block
Merge, extract the coding block size after merging as the coding block size for meeting the second video encoding and decoding standard, and extract described
Identical prediction direction is used as the prediction direction in the second video encoding and decoding standard;If not, extracting its coding block size and pre-
Survey coding block size and prediction direction of the direction directly as the second video encoding and decoding standard.
Method of the note 6. as described in note 5, further comprises:
If the coding block size after the merging is less than the maximum encoding block chi that the second video encoding and decoding standard is allowed
It is very little, then judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then by the block and
Its adjacent merged block, using the coding block size after merging again as the coding block size for meeting the second video encoding and decoding standard,
And it regard the identical predictive mode as the predictive mode for meeting the second video encoding and decoding standard;If not, by its encoding block
Size and predictive mode are directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
Method of the note 7. as described in note 5 or 6, wherein,
For the block in background area, the identified coding block size for meeting the second video encoding and decoding standard and prediction side
To can be reused in different frames.
Method of the note 8. as described in note 4, recognizes that the background area in each frame includes:
The coding block size of the block of same position in adjacent two frame is compared with predictive mode, if all same,
Judge that the block is in background area.
Method of the note 9. as described in note 1, wherein
Allow a variety of coding block sizes and a variety of predictive modes, the second video in first and second video encoding and decoding standards
The coding block size of encoding and decoding standard includes and is more than the coding block size of the first video encoding and decoding standard.
Method of the note 10. as described in note 1, wherein
The predictive mode of second video encoding and decoding standard includes and is more than the predictive mode of the first video encoding and decoding standard.
Method of the note 11. as described in note 1, wherein
First video encoding and decoding standard is H.264 standard.
Method of the note 12. as described in note 1, wherein
Second video encoding and decoding standard is HEVC standard.
A kind of 13. video code translators are attached, including:
First video encoding and decoding standard decoding unit, for meeting the first video encoding and decoding standard comprising multiple image
Video code flow decoded, generate decoding data;
Buffer, for obtaining the coding block size for meeting the first video encoding and decoding standard in each two field picture and prediction mould
Formula, and be stored therein;
Parameter information converting unit, for the encoding block under the first video encoding and decoding standard according to the video code flow
Size and predictive mode determine its coding block size and prediction mould in the cataloged procedure for meeting the second video encoding and decoding standard
Formula;
Second video encoding and decoding standard coding unit, the volume for meeting the second video encoding and decoding standard determined by
Decoding data is encoded to the video code flow for meeting the second video encoding and decoding standard by code block size and predictive mode.
Video code translator of the note 14. as described in note 13, wherein, the predictive mode is prediction direction, and
Wherein, the parameter information converting unit is configured as:For meeting the first coding and decoding video mark in each frame
The block of non-maximum coding block size in standard, by the coding block size directly as the coding for meeting the second video encoding and decoding standard
Block size, and identical with meeting the prediction direction of the first video encoding and decoding standard or adjacent prediction direction is selected as meeting the
The candidate prediction direction of two video encoding and decoding standards;For the maximum volume having in the first video encoding and decoding standard in each frame
The block of code block size, judges whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then
By block merged block adjacent thereto, extract the coding block size after merging and be used as the encoding block for meeting the second video encoding and decoding standard
Size, and extract and correspond to whole prediction directions of maximum coding block size in the first video encoding and decoding standard as meeting second
Candidate prediction direction during the coding of video encoding and decoding standard;If not, extracting its coding block size and prediction direction is directly made
To meet the coding block size and prediction direction of the second video encoding and decoding standard.
Video code translator of the note 15. as described in note 14, wherein, the parameter information converting unit is further configured
For:
Coding block size after the merging is less than the maximum coding block size that the second video encoding and decoding standard is allowed
In the case of, judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then should
Adjacent thereto piece of block merges again, using again merge after coding block size as the second video encoding and decoding standard encoding block chi
It is very little, and will correspond in the second video encoding and decoding standard it is described merge again after coding block size whole prediction directions as
The prediction direction of block after merging again;Solved if not, its coding block size and predictive mode are compiled directly as the second video
The coding block size and prediction direction of code standard.
Video code translator of the note 16. as described in note 14 or 15, further comprises background area determining unit, for knowing
Background area in not each frame.
Video code translator of the note 17. as described in note 16, wherein, the parameter information converting unit is further configured
For:
For the block with the non-maximum coding block size in the first video encoding and decoding standard in background area, compiled
Code block size is selected and its prediction direction identical prediction direction directly as the coding block size of the second video encoding and decoding standard
It is used as its prediction direction in the second video encoding and decoding standard;
For the block with the maximum coding block size met in the first video encoding and decoding standard in background area, judge
Have whether the adjacent block of identical coding block size has identical prediction direction with it, in this way, then by adjacent thereto piece of the block
Merge, extract the coding block size after merging as the coding block size for meeting the second video encoding and decoding standard, and extract described
Identical prediction direction is used as the prediction direction in the second video encoding and decoding standard;If not, extracting its coding block size and pre-
Survey coding block size and prediction direction of the direction directly as the second video encoding and decoding standard.
Video code translator of the note 18. as described in note 17, wherein, the parameter information converting unit is further configured
For:
Coding block size after the merging is less than the maximum coding block size that the second video encoding and decoding standard is allowed
In the case of, judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then should
Adjacent thereto piece of block merges again, regard the coding block size after merging again as the coding for meeting the second video encoding and decoding standard
Block size, and it regard the identical predictive mode as the predictive mode for meeting the second video encoding and decoding standard;If not, by its
Coding block size and predictive mode are directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
Video code translator of the note 19. as described in note 17 or 18, wherein further comprise background area parameter register,
For storing the coding block size and prediction direction that meet the second video encoding and decoding standard after conversion.
Video code translator of the note 20. as described in note 16, the background area determining unit is configured as adjacent two
The coding block size of the block of same position is compared with predictive mode in frame, if all same, judges that the block is in background
In region.
Video code translator of the note 21. as described in note 13, wherein
Allow a variety of coding block sizes and a variety of predictive modes, the second video in first and second video encoding and decoding standards
The coding block size of encoding and decoding standard includes and is more than the coding block size of the first video encoding and decoding standard.
Video code translator of the note 22. as described in note 13, wherein
The predictive mode of second video encoding and decoding standard includes and is more than the predictive mode of the first video encoding and decoding standard.
Video code translator of the note 23. as described in note 13, wherein
First video encoding and decoding standard is H.264 standard.
Video code translator of the note 24. as described in note 13, wherein
Second video encoding and decoding standard is HEVC standard.
Although being had been disclosed above by the description of the specific embodiment to the present invention to the present invention, should
The understanding, above-mentioned all embodiments and example are illustrative, and not restrictive.Those skilled in the art can be in institute
Various modifications, improvement or equivalent of the design to the present invention in attached spirit and scope by the claims.These modification, improve or
Person's equivalent should also be as being to be considered as included in protection scope of the present invention.
Claims (12)
1. a kind of video transcoding method, including:
The video code flow for meeting the first video encoding and decoding standard comprising multiple image is decoded, decoding data is generated;
Obtain the coding block size and predictive mode that meet the first video encoding and decoding standard in each two field picture;
Determined according to coding block size of the video code flow under the first video encoding and decoding standard and predictive mode its
Meet coding block size and predictive mode in the cataloged procedure of the second video encoding and decoding standard;
Decoding data is encoded to according to the identified coding block size and predictive mode for meeting the second video encoding and decoding standard
The video code flow for meeting the second video encoding and decoding standard,
Wherein, the predictive mode is prediction direction, and wherein, according to described first video encoding and decoding standard that meets
The coding block size and predictive mode of video code flow are determined for compliance with the coding block size and coding of the second video encoding and decoding standard
Predictive mode includes:
For the block for meeting the non-maximum coding block size in the first video encoding and decoding standard in each frame, by the encoding block chi
It is very little directly as the coding block size for meeting the second video encoding and decoding standard, and select and meet the first video encoding and decoding standard
The identical or adjacent prediction direction of prediction direction is used as the candidate prediction direction for meeting the second video encoding and decoding standard;
For the block with the maximum coding block size in the first video encoding and decoding standard in each frame, judgement has phase with it
Whether the adjacent block with coding block size has identical prediction direction, in this way, then by block merged block adjacent thereto, extracts and close
And after coding block size as the coding block size for meeting the second video encoding and decoding standard, and extract the first coding and decoding video mark
Correspond to whole prediction directions of maximum coding block size in standard as standby during the coding for meeting the second video encoding and decoding standard
Select prediction direction;If not, extracting its coding block size and prediction direction directly as meeting the second video encoding and decoding standard
Coding block size and prediction direction.
2. the method as described in claim 1, further comprises:
If the coding block size after the merging is less than the maximum coding block size that the second video encoding and decoding standard is allowed,
Judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then by the block and its phase
Adjacent block merges again, using again merge after coding block size as the second video encoding and decoding standard coding block size, and will
In second video encoding and decoding standard correspond to again merge after coding block size whole prediction directions as again merge after
Block prediction direction;If not, by the volume of its coding block size and predictive mode directly as the second video encoding and decoding standard
Code block size and prediction direction.
3. method as claimed in claim 1 or 2, further comprises:Recognize the background area in each frame.
4. method as claimed in claim 3, in addition to:
For the block with the non-maximum coding block size in the first video encoding and decoding standard in background area, by its encoding block
Size is selected and its prediction direction identical prediction direction conduct directly as the coding block size of the second video encoding and decoding standard
Its prediction direction in the second video encoding and decoding standard;
For the block with the maximum coding block size met in the first video encoding and decoding standard in background area, judge and it
Whether the adjacent block with identical coding block size has identical prediction direction, in this way, then by block merged block adjacent thereto,
The coding block size after merging is extracted as meeting the coding block size of the second video encoding and decoding standard, and extracts the identical
Prediction direction is used as the prediction direction in the second video encoding and decoding standard;If not, extracting its coding block size and prediction direction
Directly as the coding block size and prediction direction of the second video encoding and decoding standard.
5. method as claimed in claim 4, further comprises:
If the coding block size after the merging is less than the maximum coding block size that the second video encoding and decoding standard is allowed,
Judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then by the block and its phase
Adjacent merged block, using the coding block size after merging again as the coding block size for meeting the second video encoding and decoding standard, and will
The identical predictive mode is used as the predictive mode for meeting the second video encoding and decoding standard;If not, by its coding block size
With predictive mode directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
6. the method as described in claim 4 or 5, wherein,
For the block in background area, the identified coding block size and prediction direction for meeting the second video encoding and decoding standard can
To be reused in different frames.
7. a kind of video code translator, including:
First video encoding and decoding standard decoding unit, for meeting regarding for the first video encoding and decoding standard comprising multiple image
Frequency code stream is decoded, and generates decoding data;
Buffer, for obtaining the coding block size and predictive mode that meet the first video encoding and decoding standard in each two field picture,
And be stored therein;
Parameter information converting unit, for the coding block size under the first video encoding and decoding standard according to the video code flow
Its coding block size and predictive mode in the cataloged procedure for meeting the second video encoding and decoding standard is determined with predictive mode;
Second video encoding and decoding standard coding unit, the encoding block for meeting the second video encoding and decoding standard determined by
Decoding data is encoded to the video code flow for meeting the second video encoding and decoding standard by size and predictive mode,
Wherein, the predictive mode is prediction direction, and
Wherein, the parameter information converting unit is configured as:For meeting in the first video encoding and decoding standard in each frame
Non- maximum coding block size block, by the coding block size directly as the encoding block chi for meeting the second video encoding and decoding standard
It is very little, and select prediction direction identical with meeting the prediction direction of the first video encoding and decoding standard or adjacent to be regarded as meeting second
The candidate prediction direction of frequency encoding and decoding standard;For the maximum encoding block having in the first video encoding and decoding standard in each frame
The block of size, judges whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then should
Block merged block adjacent thereto, extracts the coding block size after merging and is used as the encoding block chi for meeting the second video encoding and decoding standard
It is very little, and regarded in the first video encoding and decoding standard of extraction corresponding to whole prediction directions of maximum coding block size as meeting second
Candidate prediction direction during the coding of frequency encoding and decoding standard;If not, extract its coding block size and prediction direction directly as
Meet the coding block size and prediction direction of the second video encoding and decoding standard.
8. video code translator as claimed in claim 7, wherein, the parameter information converting unit is further configured to:
Coding block size after the merging is less than the feelings for the maximum coding block size that the second video encoding and decoding standard is allowed
Under condition, judge whether the adjacent block for having identical coding block size with it has identical prediction direction, in this way, then by the block and
Its adjacent block merges again, using again merge after coding block size as the second video encoding and decoding standard coding block size,
And whole prediction directions of the coding block size after the merging again will be corresponded in the second video encoding and decoding standard as again
The prediction direction of block after secondary merging;If not, by its coding block size and predictive mode directly as the second coding and decoding video
The coding block size and prediction direction of standard.
9. video code translator as claimed in claim 7 or 8, further comprises background area determining unit, for recognizing each frame
In background area.
10. video code translator as claimed in claim 9, wherein, the parameter information converting unit is further configured to:
For the block with the non-maximum coding block size in the first video encoding and decoding standard in background area, by its encoding block
Size is selected and its prediction direction identical prediction direction conduct directly as the coding block size of the second video encoding and decoding standard
Its prediction direction in the second video encoding and decoding standard;
For the block with the maximum coding block size met in the first video encoding and decoding standard in background area, judge and it
Whether the adjacent block with identical coding block size has identical prediction direction, in this way, then by block merged block adjacent thereto,
The coding block size after merging is extracted as meeting the coding block size of the second video encoding and decoding standard, and extracts the identical
Prediction direction is used as the prediction direction in the second video encoding and decoding standard;If not, extracting its coding block size and prediction direction
Directly as the coding block size and prediction direction of the second video encoding and decoding standard.
11. video code translator as claimed in claim 10, wherein, the parameter information converting unit is further configured to:
Coding block size after the merging is less than the feelings for the maximum coding block size that the second video encoding and decoding standard is allowed
Under condition, judge whether the adjacent block for having identical coding block size with it has identical predictive mode, in this way, then by the block and
Its adjacent block merges again, regard the coding block size after merging again as the encoding block chi for meeting the second video encoding and decoding standard
It is very little, and it regard the identical predictive mode as the predictive mode for meeting the second video encoding and decoding standard;If not, being encoded
Block size and predictive mode are directly as the coding block size and predictive mode for meeting the second video encoding and decoding standard.
12. the video code translator as described in claim 10 or 11, wherein further comprising background area parameter register, is used for
The coding block size and prediction direction that meet the second video encoding and decoding standard after storage conversion.
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 CN104104948A (en) | 2014-10-15 |
CN104104948B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 | 深圳市网心科技有限公司 | Macroblock type determining method, video transcoding method, electronic device, and storage medium |
CN110062235B (en) * | 2019-04-08 | 2023-02-17 | 上海大学 | Background frame generation and update method, system, device and medium |
Citations (5)
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 |
-
2013
- 2013-04-15 CN CN201310129950.XA patent/CN104104948B/en not_active Expired - Fee Related
Patent Citations (5)
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)
Title |
---|
Fast Transcoding from H.264/AVC to High Efficiency Video Coding;Dong Zhang, et al.;《2012 IEEE International Conference on Multimedia and Expo》;20120713;正文第III部分A-B节 * |
Ultra Fast H.264/AVC to HEVC Transcoder;Tong Shen,et al.;《2013 Data Compression Conference》;20130322;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104104948A (en) | 2014-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102006473B (en) | Video encoder and encoding method, and video decoder and decoding method | |
CN104854866B (en) | The content-adaptive of next-generation video, characteristic compensation prediction | |
CN102006475B (en) | Video coding and decoding device and method | |
CN107155107A (en) | Method for video coding and device, video encoding/decoding method and device | |
CN103797800B (en) | It derives reference model value and coding and decoding represents the information of prediction mode | |
KR101611375B1 (en) | Cabac/avc compliant watermarking of syntax elements in compressed video | |
CN104718758B (en) | Coding method, coding/decoding method and code device for being carried out to the frame in video flowing | |
CN106067982A (en) | The method and apparatus of decoding high resolution image | |
CN105426883B (en) | The method and device that visual classification quickly identifies | |
CN107295337A (en) | Make the method and apparatus that the coding/decoding for the compensation skew of one group of reconstruction sample of image is optimized | |
CN104247427A (en) | Effective prediction using partition coding | |
CN107046645A (en) | Image coding/decoding method and device | |
CN104104948B (en) | Video transcoding method and video code translator | |
CN102474610A (en) | Method and apparatus for encoding/decoding motion vector | |
CN107404653B (en) | A kind of Parking rapid detection method of HEVC code stream | |
CN103210648A (en) | Video decoding using block- based mixed - resolution data pruning | |
CN103826125B (en) | Concentration analysis method and device for compression monitor video | |
CN103152578A (en) | H.264 video watermark embedding and extraction method based on mixed coding/decoding | |
CN104704826B (en) | Two steps quantify and coding method and device | |
CN107710763A (en) | For method, coding/decoding method, device and the related computer program encoded to digital picture | |
CN109819260A (en) | Video steganography method and device based on the fusion of multi-embedding domain | |
Wang et al. | Multi-scale convolutional neural network-based intra prediction for video coding | |
CN111246212A (en) | Geometric partition mode prediction method and device based on encoding and decoding end, storage medium and terminal | |
CN103051891B (en) | The method and apparatus for determining the saliency value of the block for the video frame that block prediction encodes in data flow | |
Fu et al. | Efficient depth intra frame coding in 3D-HEVC by corner points |
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 |