CN101094406A - Method and device for transferring video data stream - Google Patents
Method and device for transferring video data stream Download PDFInfo
- Publication number
- CN101094406A CN101094406A CN 200710119403 CN200710119403A CN101094406A CN 101094406 A CN101094406 A CN 101094406A CN 200710119403 CN200710119403 CN 200710119403 CN 200710119403 A CN200710119403 A CN 200710119403A CN 101094406 A CN101094406 A CN 101094406A
- Authority
- CN
- China
- Prior art keywords
- data flow
- unit
- coding
- video data
- data stream
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims description 32
- 238000011002 quantification Methods 0.000 claims description 20
- 230000015572 biosynthetic process Effects 0.000 claims description 17
- 238000003786 synthesis reaction Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 11
- 238000013139 quantization Methods 0.000 abstract description 20
- 230000009466 transformation Effects 0.000 abstract 1
- 239000011159 matrix material Substances 0.000 description 16
- 230000000694 effects Effects 0.000 description 7
- 238000007906 compression Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 5
- 230000001154 acute effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013144 data compression Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 241000023320 Luma <angiosperm> Species 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical group COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000003079 width control Methods 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The method comprises: after making low bit rate quantization for the video stream treated with discrete cosine transformation (DCT), the video stream is encoded; after encoding the video stream, sending out a first data stream ; according to the data stream treated with low bit rate quantization, reconstructing the image information, and according to the reconstructed image information and said original image information of the video stream, getting the residual image information; after making DCT for the residual image information, making high bit rate quantization for the residual image information, and then making encode for it; after encode, sending out the second data stream. The apparatus thereof comprises: a DCT unit, a low bit rate quantization unit, a high bit rate quantization unit, an encode unit, a reconstruction unit and a residual data obtaining unit.
Description
Technical field
The present invention relates to the transmission method of data flow, refer in particular to a kind of transmission method and device of video data stream.
Background technology
Along with extensively popularizing of fast development of computer technology and network technology, the application of broadcast multimedia and free online multimedium is also more and more general, various services such as video request program, quasi-video request program, time-moving television program request and video instant messaging occurred.For real-time and the continuity that guarantees to serve, these services all need the bigger network bandwidth to transmit a large amount of images and video data usually.Therefore, in order to save limited bandwidth, people use coding techniques that original image and video data are effectively compressed before transmission usually.
In the transmission course of video data stream, the data flow that is transmitted can be compressed into various forms, modal is JPEG (joint photographic experts group) (JPEG, Joint Photographic Experts Group) form and Motion Picture Experts Group (MPEG, Moving Picture Experts Group) form.Wherein, JPEG is the expert body that International Organization for Standardization and CCITT (CCITT) unite establishment, and the general in the world data Compression Standard that is applicable to colored and monochromatic many continuous gray scale tone still image that this tissue is formulated is called as Joint Photographic Experts Group.Utilize Joint Photographic Experts Group to compress and to obtain higher compression ratio, and keep signal to noise ratio preferably, thereby save image storage space greatly, reduce communication bandwidth, therefore be an Image Data Compression standard that the scope of application is very wide, its application is not limited to rest image, also can be applicable to the processing to the video data stream intraframe data.To be example with the Joint Photographic Experts Group below, simply introduce processing method video data stream.
Figure 1 shows that the flow chart of in the prior art video data stream being handled.As shown in Figure 1, utilize the concrete steps of Joint Photographic Experts Group processing video data stream as follows:
A kind of in the video data stream of described yuv data stream, wherein, YUV is a kind of colour coding method that the eurovision system adopts, and is used to optimize the transmission of colour-video signal, its advantage is only need take few bandwidth, and can solve the compatibling problem of color television set and black and white television set." Y " expression brightness (Luminance or Luma) signal in the yuv data stream; And " U " and " V " expression colourity (Chrominance or Chroma) signal is used to describe colors of image and saturation, the color of specified pixel.
In Joint Photographic Experts Group, can all regard each Frame in the video data stream as an independently image.And be for each two field picture in the yuv data stream is changed to the frequency domain from transform of spatial domain to the purpose that above-mentioned yuv data stream carries out dct transform, the pixel number that is about to image is according to representing with different coefficient of frequencies, thereby learns the frequency distribution situation of pixel number certificate in frequency domain of image.Concrete dct transform process is: read in a two field picture from yuv data stream, this two field picture is also pressed from left to right as original image, order is from top to bottom carried out scanning encoding to its pixel, be divided into a series of sub-pieces with 8 * 8 pixels after block-by-block handle.Described being treated to: read the pixel value of each pixel in the above-mentioned sub-piece and form one 8 * 8 pixel data matrix, use the DCT function to carry out computing to this matrix then, export one 8 * 8 matrix of frequency coefficients.The upper left corner of this matrix of frequency coefficients is the coefficient of frequency value of low frequency component, and the lower right corner is the coefficient of frequency value of high fdrequency component.Because the variation of the pixel value of pixel is generally all compared gently in the sub-piece of original image, from frequency domain, coefficient of frequency through the original image behind the dct transform mainly concentrates on low frequency part, therefore the numerical value in the above-mentioned matrix of frequency coefficients upper left corner is bigger, and the numerical value in the lower right corner is less, levels off to null value.Amount of information and the amount of information before the conversion through the view data behind the dct transform equate, do not reduce, so dct transform is undistorted conversion.
Because the information (for example colour difference information) of the human fine information to the view data low frequency part of eye (for example monochrome information) comparison HFS has higher susceptibility, therefore can be according to above-mentioned human visual system, keep the useful or important information in the image as much as possible, and abandon those redundancies or unessential information simultaneously, thereby realize compression to view data as far as possible.
In order to reach the purpose of compressing image data, can use quantization table that above-mentioned matrix of frequency coefficients through dct transform is quantized.Described quantization table is a quantization parameter matrix pre-defined according to the characteristics of human visual system's characteristic and compressed image type and that optimize; Described quantification is exactly with the element of each element in the said frequencies coefficient matrix divided by relevant position in the above-mentioned quantization parameter matrix, and the fractions omitted part.By above-mentioned quantification treatment, can under the prerequisite that guarantees certain mass, a part in the original image be become continuous 0 identical value to the value that visual effect influences the little pairing coefficient of frequency of frequency information (for example monochrome information).At this moment, in follow-up transfer of data, just can transmit continuous a plurality of 0 values more by turn, and only need transmit " number " information of a plurality of 0 values, revert to a plurality of 0 values by this information again when to be decoded.For example " 00000 " usefulness " 50 " can be represented, and when decoding, data be reverted to " 00000 " according to " 50 " again.Therefore, can significantly compress above-mentioned matrix of frequency coefficients by above-mentioned quantification.As from the foregoing, above-mentioned quantification treatment is irreversible lossy compression method, and this also is the main cause that causes the loss of JPEG compressed information.
Decode for the ease of transmission, storage and decoder, the data that encoded image data need be assembled into a frame one frame are transmitted, and such data are commonly called encoded data stream.
Fig. 2 is the structural representation of the device video data stream handled in the prior art.As shown in Figure 2, the device of in the prior art video data stream being handled generally comprises DCT unit 201, quantifying unit 202, coding unit 203.Wherein, the yuv data stream that 201 pairs of DCT unit receive carries out dct transform, and will be through the input of the data flow behind dct transform quantifying unit 202; 202 pairs of data flow that receive of quantifying unit are carried out quantification treatment, and with the data flow input coding unit 203 after the quantification treatment; 203 pairs of data flow that receive of coding unit are encoded, outputting encoded data stream.
Though the yuv data of required transmission stream has become the encoded data stream that can directly transmit through after the above-mentioned processing, but still need bigger bandwidth to transmit above-mentioned encoded data stream, and above-mentioned transmission course also needs to continue one long period to guarantee institute's image transmitted quality, thereby availability and available bandwidth to the network bandwidth have proposed very high requirement, be and obtained high as far as possible picture quality, need utilize the transmission bandwidth of network to transmit video data stream as much as possible as much as possible.And in actual conditions, because network user's number, the fluctuation of transmitted data amount, the disposal ability of network and other factor, the available bandwidth of network is constantly changing.In the case, if send too much video data stream, make the video data stream that is sent surpass the available bandwidth of network, then can cause losing of video data, the phenomenon of frame losing occurs, thereby have a strong impact on the dynamic effect of the video data stream that receiving terminal receives.Therefore, in actual applications, transmitting terminal is all tried one's best usually when sending video data stream and is adjusted the data volume that is sent, and reserves certain bandwidth surplus to avoid occurring the phenomenon of frame losing.But in the digital coding acute variation, even transmitting terminal uses above-mentioned this band width control method, also be difficult to the data volume that is sent is accomplished effective control, therefore the very easy data volume that occurs being sent exceeds the phenomenon of bandwidth, thereby cause frame losing, wrong frame, have a strong impact on the dynamic mass of video data stream.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of transmission method and device of video data stream, thereby also can not occur the problem that frame losing etc. has a strong impact on dynamic effect when digital coding stream acute variation.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of sending method of video data stream is characterized in that, this method comprises at least:
A, quantize the back and encode, and send first data flow behind this coding hang down code check through the video data stream after the discrete cosine transform;
B, the video data stream reconstructing image information after quantizing according to described low code check according to the original image information of the image information and the described video data stream of described reconstruct, are asked for residual image information;
C, described residual image information is carried out discrete cosine transform, carry out high code check according to the video data stream after the discrete cosine transform and quantize the back coding, and send second data flow behind this coding.
A kind of method of reseptance of video data stream is characterized in that, this method comprises at least:
A1, first data flow behind the received coding or second data flow are decoded, obtain decoded first data flow or decoded second data flow;
B1, according to the decoded first data flow synthetic video data flow; Perhaps, according to decoded first data flow and with the corresponding second data flow synthetic video data flow of first data flow.
A kind of dispensing device of video data stream, this device comprises: the discrete cosine transform unit, low code check quantifying unit, high code check quantifying unit, coding unit, reconfiguration unit and residual error are asked for the unit; Described discrete cosine transform unit, be used for receiving video data stream or described residual error and ask for the residual image information that the unit sends, after the video data stream that receives carried out discrete cosine transform, send to described low code check quantifying unit, after the residual image information that receives carried out discrete cosine transform, send to described high code check quantifying unit; Described low code check quantifying unit after the data flow of the process discrete cosine transform that is used for receiving is hanged down the code check quantification, sends to described coding unit and described reconfiguration unit respectively; Described high code check quantifying unit, the data flow of the process discrete cosine transform that is used for receiving sends to described coding unit after carrying out high code check quantification; Described coding unit is used for the low code check quantification of process of reception or the data flow after the quantification of high code check are encoded, and sends the respective coding data flow; Described reconfiguration unit is used for the data flow that the low code check of process that receives quantizes is reconstructed, and the image information after the reconstruct is sent to residual error ask for the unit; Described residual error is asked for the unit, be used for the image information after the reconstruct of receiving video data stream and described reconfiguration unit transmission, ask residual error according to the image information after original image information in the video data stream and the reconstruct that received, residual image information is sent to described discrete cosine transform unit.
A kind of receiving system of video data stream is characterized in that, this device comprises: decoding unit and synthesis unit; Described decoding unit, the data flow behind the coding that receives decoded obtains decoded data stream, sends to described synthesis unit; Described synthesis unit synthesizes video data stream with the decoded data stream that receives, the output video data flow.
In summary, the invention provides a kind of transmission method and device of video data stream,, thereby can not cause frame losing etc. to have a strong impact on the problem of dynamic effect even make and in digital coding stream acute variation, also can guarantee the primary image transmission of Information; Simultaneously, under the network bandwidth and all normal situation of digital coding, also can guarantee the precision and the fine and smooth texture of image.
Description of drawings
The flow chart of Fig. 1 in the prior art video data stream being handled.
Fig. 2 is the structural representation of the device video data stream handled in the prior art.
Fig. 3 is the flow chart that sends video data stream in the embodiment of the invention.
Fig. 4 is the structural representation of video data flow transmitting device in the embodiment of the invention.
Fig. 5 is the structural representation of video data flow receiving device in the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The invention provides a kind of transmission method and device of video data stream, its main thought is: before transmitting video data stream, in advance each Frame in the video data stream of required transmission all is divided into basic layer and high code rate layer; In the transmission course of video data stream, utilize little bandwidth to finish the transmission of the basic layer of present frame then earlier, realize the primary image transmission of Information of present frame; Then utilize remaining bandwidth to finish the transmission of high code rate layer again, realize the transmission of the image precise information of present frame, thereby make and in the transmission course of above-mentioned video data stream, can not cause frame losing etc. to have a strong impact on the problem of dynamic effect.
For the convenience of narrating, in following embodiment, we will be that jpeg format is an example with the video data stream of being transmitted, and the technical scheme of the embodiment of the invention is described in detail.
Fig. 3 is the flow chart that sends video data stream in the embodiment of the invention.In following processing procedure, we with each Frame in the video data stream (be yuv data stream) all treat as one independently image handle.As shown in Figure 3, the concrete steps of transmission video data stream are as follows in the embodiment of the invention:
Described low code check is quantified as: a quantization table is set, and according to this quantization table to the thinner quantification (making that promptly the variation of coefficient of frequency is little) of low frequency component setting through the matrix of frequency coefficients upper left corner behind the above-mentioned dct transform, and be the thicker quantification of high fdrequency component setting (making that promptly the variation of coefficient of frequency is bigger) to remainder, most of coefficient of frequency in the feasible matrix of frequency coefficients after treatment is very little, even be zero, thereby be convenient in following coding step, the Frame in the video data stream be compressed, form the basic layer of this Frame with higher compression ratio (for example 30: 1).Above-mentioned quantization table can be the low code check quantization table of standard in the Joint Photographic Experts Group, also can be the quantization table that is provided with voluntarily as the case may be.
Described coding is: the Frame after quantizing through above-mentioned low code check is compressed, make the required data quantity transmitted after being compressed can reduce to minimum.Through behind the above-mentioned cataloged procedure, can obtain the basic layer of present frame, the primary image information of having carried present frame in this basic layer.Described coding can be divided into three encoding operations such as variable-length encoding, entropy coding and adding frame head information, described variable-length encoding and entropy coding are coded system commonly used in the prior art, described adding frame head information comprises the reserve bytes that utilizes present frame frame head part, add a flag bit in described reserve bytes, this basic layer of sign that act as of this flag bit is the basic layer of present frame.After finishing above-mentioned encoding operation, above-mentioned basic layer is divided into one or more packets, then these packets is exported successively, form the encoded data stream of this basic layer, can be referred to as first data flow according to concrete actual conditions.
Described dct transform is identical with dct transform in step 102 and the step 302.Described high code check is quantified as: a quantization table is set, and low frequency component and high fdrequency component part through the matrix of frequency coefficients behind the above-mentioned dct transform all are provided with thinner quantification (making that promptly the variation of coefficient of frequency is little) according to this quantization table, make through the most of coefficient of frequency in the matrix of frequency coefficients after quantizing all non-vanishing, so that in following coding step, residual image is compressed, form the high code rate layer of the affiliated Frame of this residual image with lower compression ratio (for example 5: 1).Above-mentioned quantization table can be the high code check quantization table of standard in the Joint Photographic Experts Group, also can be the quantization table that is provided with voluntarily as the case may be.
Coding method described in described coding and the step 304 is similar, also can be divided into three parts such as variable-length encoding, entropy coding and adding frame head information.Through behind the above-mentioned cataloged procedure, can obtain the high code rate layer of present frame, the high-precision image information of having carried present frame in this high code rate layer.Wherein, the method for variable-length encoding and entropy coding is identical in the method for carrying out variable-length encoding and entropy coding and the step 304; Described adding frame head information comprises the reserve bytes that utilizes present frame frame head part, adds a flag bit in described reserve bytes, and acting as of this flag bit indicates that this high code rate layer is the high code rate layer of present frame.After finishing above-mentioned encoding operation, above-mentioned high code rate layer is divided into one or more packets, then these packets is exported successively, form the encoded data stream of this high code rate layer, can be referred to as first data flow according to concrete actual conditions.
In above-mentioned step 304 and step 308, after the present frame of required data flow transmitted is divided into above-mentioned basic layer and high code rate layer, can utilize little bandwidth to finish the transmission of the basic layer of present frame earlier, and then utilize remaining bandwidth to finish the transmission of the high code rate layer of present frame.In actual applications, the basic layer of above-mentioned same Frame and high code rate layer are to send continuously, promptly send the basic layer of present frame earlier, then send the high code rate layer of present frame; And then order sends the basic layer and the high code rate layer of next Frame, and the rest may be inferred until the transmission of finishing all data flow.
Receiving terminal can learn that the encoded data stream that is received is the encoded data stream of basic layer or the encoded data stream of high code rate layer according to the flag bit of frame head information in the encoded data stream that is received after receiving the encoded data stream that comprises basic layer or high code rate layer.If comprise basic layer in the encoded data stream that receiving terminal received, then receiving terminal can carry out carrying out obtaining this primary image information of the affiliated Frame of layer substantially behind the variable length decoding after the entropy decoding to this encoded data stream by corresponding decoding device again; In like manner, receiving terminal also can carry out obtaining behind the corresponding decoding the high-precision image information of Frame under this high code rate layer by corresponding decoding device to the encoded data stream of received high code rate layer.If receiving terminal can also correctly receive the information of the high code rate layer of Frame under this basic layer, basic layer that belongs to same Frame that then can be received and the merging of high code rate layer, thus obtain the complete image information of this Frame; If receiving terminal can't correctly receive the high code rate layer of certain Frame owing to the network bandwidth or other reason, then because receiving terminal has received the basic layer of this Frame, can access the primary image information of the affiliated Frame of this basic layer so can guarantee receiving terminal, therefore though can have influence on the precision of the image information that receiving terminal receives, but can not produce the phenomenon of frame losing, thereby can the dynamic effect of video data stream not produced serious influence.
The embodiment of the invention also provides a kind of video data flow transmitting device.Fig. 4 is the structural representation of video data flow transmitting device in the embodiment of the invention.As shown in Figure 4, the video data flow transmitting device in the embodiment of the invention comprises: DCT unit 401, low code check quantifying unit 402, high code check quantifying unit 403, coding unit 404, reconfiguration unit 405 and residual error are asked for unit 406; Described coding unit 404 comprises that variable-length encoding unit 407, entropy coding unit 408, frame head information add unit 409.Wherein, described DCT unit 401 receives the yuv data stream or the residual error of extraneous input and asks for the residual image information that unit 406 sends, the yuv data stream that is received is carried out sending to described low code check quantifying unit 402 behind the dct transform, the residual image information that is received is carried out sending to described high code check quantifying unit 403 behind the dct transform; Data flow behind low 402 pairs of received dct transforms of code check quantifying unit is hanged down code check and is quantized, and the data flow that will hang down then after code check quantizes sends to variable-length encoding unit 407 and reconfiguration unit 405 respectively; Data flow after the received low code checks of 405 pairs of reconfiguration units quantize is reconstructed, thereby obtains the image information of basic layer, and image information that will basic layer sends to residual error and asks for unit 406; Residual error ask for unit 406 according to the image information of the basic layer that is received and should basic layer under yuv data stream in the original image information of Frame ask residual error, and residual information is sent to DCT unit 401; Data flow behind 403 pairs of received dct transforms of described high code check quantifying unit is carried out high code check and is quantized, and the data flow after then high code check being quantized sends to variable-length encoding unit 407; Data flow after the 407 pairs of quantifications that received in variable-length encoding unit is carried out variable-length encoding, then the data flow after the variable-length encoding is sent to entropy coding unit 408; Data flow after the 408 pairs of variable-length encodings that received in entropy coding unit is carried out entropy coding, then the data flow behind the entropy coding is sent to frame head information and adds unit 409; The data flow that frame head information adds behind the 409 pairs of entropy codings that received in unit encapsulates, and corresponding marker bit is write in the frame head information, finishes data compression, obtains the basic layer or the high code rate layer of present frame and exports the respective coding data flow.
The embodiment of the invention also provides a kind of video data flow receiving device.Fig. 5 is the structural representation of video data flow receiving device in the embodiment of the invention.As shown in Figure 5, the video data flow receiving device in the embodiment of the invention comprises; Decoding unit 501 and synthesis unit 502.
Wherein, described decoding unit 501 also comprises frame head information reading unit 503, entropy decoding unit 504 and variable length decoding unit 505.Frame head information reading unit 503 reads the flag bit in the frame head information from the data flow behind the received coding, flag bit information is sent to synthesis unit 502, and the data flow behind the received coding is sent to entropy decoding unit 504; Data flow behind 504 pairs of codings that receive of entropy decoding unit is carried out the entropy decoding, then the decoded data flow of entropy is sent to variable length decoding unit 505; The 505 pairs of decoded data flow of the entropy that receives in variable length decoding unit are carried out variable length decoding, then the data flow behind the variable length decoding are sent to synthesis unit 502.Described synthesis unit 502 can learn that received decoded data flow is basic layer or high code rate layer according to received flag bit information.If comprise the basic layer and the high code rate layer of same Frame in the decoded data flow that synthesis unit 502 is received, then synthesis unit 502 synthesizes the basic layer and the high code rate layer of above-mentioned same Frame, obtain decoded Frame, comprised the complete image information in the initial data frame in this decoded Frame; If synthesis unit 502 has received only the basic layer of some Frames, and do not receive the high code rate layer of this Frame, then synthesis unit 502 is with the above-mentioned laminated substantially decoded Frame that becomes this Frame, comprised the primary image information in the initial data frame in this decoded Frame, though therefore this decoded Frame does not comprise high-precision image information in the initial data frame, picture quality to video data stream has certain influence, but avoided the appearance of frame losing phenomenon, thereby can the dynamic effect of video data stream not produced serious influence.
In sum, the invention provides a kind of transmission method and device of video data stream, make in the transmission course of video data stream, when data code flow and the network bandwidth are normal, can guarantee that the received video data stream of receiving terminal has very high precision and fine and smooth texture, and in digital coding stream acute variation, also can guarantee primary image transmission of Information in the video data stream, therefore only can have influence on the precision of image in the video data stream and the phenomenon that frame losing etc. has a strong impact on dynamic effect can not occur.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (11)
1, a kind of sending method of video data stream is characterized in that, this method may further comprise the steps at least:
A, quantize the back and encode, and send first data flow behind this coding hang down code check through the video data stream after the discrete cosine transform;
B, the video data stream reconstructing image information after quantizing according to described low code check according to the original image information of the image information and the described video data stream of described reconstruct, are asked for residual image information;
C, described residual image information is carried out discrete cosine transform, carry out high code check according to the video data stream after the discrete cosine transform and quantize the back coding, and send second data flow behind this coding.
2, method according to claim 1 is characterized in that, steps A and the described coding of step C comprise: add frame head information in the video data stream after the quantification that is encoded.
3, method according to claim 2 is characterized in that, described adding frame head information comprises: adding this data flow of sign in the frame head of the Frame in described first data flow is first flag bit of first data flow; Adding this data flow of sign in the frame head of the Frame in described second data flow is second flag bit of second data flow.
4, method according to claim 3 is characterized in that, described adding flag bit comprises: add first flag bit or second flag bit in the frame head reserve bytes partly of Frame.
5, a kind of method of reseptance of video data stream is characterized in that, this method may further comprise the steps at least:
A1, first data flow behind the received coding or second data flow are decoded, obtain decoded first data flow or decoded second data flow;
B1, according to the decoded first data flow synthetic video data flow; Perhaps, according to decoded first data flow and with the corresponding second data flow synthetic video data flow of first data flow.
6, method according to claim 5, it is characterized in that, steps A 1 described decoding comprises: read first flag bit in the frame head information first data flow behind the coding that receives, read second flag bit in the frame head information second data flow behind the coding that receives, first data flow behind the coding that receives or second data flow are decoded.
7, method according to claim 6 is characterized in that, comprises according to decoded first data flow with the corresponding second data flow synthetic video data flow of first data flow among the described step B1:
B11, according to described first flag bit and second flag bit, will belong to decoded first data flow of same Frame and second data flow and merge the synthetic video data flow.
8, a kind of dispensing device of video data stream is characterized in that, this device comprises: the discrete cosine transform unit, and low code check quantifying unit, high code check quantifying unit, coding unit, reconfiguration unit and residual error are asked for the unit;
Described discrete cosine transform unit, be used for receiving video data stream or described residual error and ask for the residual image information that the unit sends, after the video data stream that receives carried out discrete cosine transform, send to described low code check quantifying unit, after the residual image information that receives carried out discrete cosine transform, send to described high code check quantifying unit;
Described low code check quantifying unit after the data flow of the process discrete cosine transform that is used for receiving is hanged down the code check quantification, sends to described coding unit and described reconfiguration unit respectively;
Described high code check quantifying unit, the data flow of the process discrete cosine transform that is used for receiving sends to described coding unit after carrying out high code check quantification;
Described coding unit is used for the low code check quantification of process of reception or the data flow after the quantification of high code check are encoded, and sends the respective coding data flow;
Described reconfiguration unit is used for the data flow that the low code check of process that receives quantizes is reconstructed, and the image information after the reconstruct is sent to residual error ask for the unit;
Described residual error is asked for the unit, be used for the image information after the reconstruct of receiving video data stream and described reconfiguration unit transmission, ask residual error according to the image information after original image information in the video data stream and the reconstruct that received, residual image information is sent to described discrete cosine transform unit.
According to device according to claim 8, it is characterized in that 9, described coding unit at least also comprises: the variable-length encoding unit, entropy coding unit and frame head information add the unit;
Described variable-length encoding unit is used for the low code check of the process that receives is quantized or the data flow variable-length encoding of high code check after quantizing, and the data flow after the variable-length encoding is sent to described entropy coding unit;
Described entropy coding unit is used for the data flow after the variable-length encoding that receives is carried out entropy coding, the data flow behind the entropy coding is sent to described frame head information add the unit;
Described frame head information adds the unit, and the frame head that is used for the data flow behind the entropy coding that receives is provided with flag bit, sends the data flow after encoding.
10, a kind of receiving system of video data stream is characterized in that, this device comprises: decoding unit and synthesis unit;
Described decoding unit, the data flow behind the coding that receives decoded obtains decoded data stream, sends to described synthesis unit;
Described synthesis unit synthesizes video data stream with the decoded data stream that receives, the output video data flow.
11, device according to claim 10 is characterized in that, described decoding unit at least also comprises: frame head information reading unit, entropy decoding unit and variable length decoding unit;
Described frame head information reading unit is used for data flow behind the coding that receives and reads flag bit the frame head information, and flag bit information is sent to described synthesis unit, and the data flow behind the coding that receives is sent to described entropy decoding unit;
Described entropy decoding unit is used for the decoding of the data flow entropy behind the coding that receives is sent to described variable length decoding unit with the decoded data flow of entropy;
Described variable length decoding unit is used for the decoded data flow variable length decoding of the entropy that receives is sent to described synthesis unit with the data flow behind the variable length decoding;
Described synthesis unit is used for according to flag bit information that receives and the data flow behind the variable length decoding, synthetic video data flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710119403 CN101094406B (en) | 2007-07-23 | 2007-07-23 | Method and device for transferring video data stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710119403 CN101094406B (en) | 2007-07-23 | 2007-07-23 | Method and device for transferring video data stream |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101094406A true CN101094406A (en) | 2007-12-26 |
CN101094406B CN101094406B (en) | 2010-09-29 |
Family
ID=38992379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710119403 Expired - Fee Related CN101094406B (en) | 2007-07-23 | 2007-07-23 | Method and device for transferring video data stream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101094406B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363454A (en) * | 2014-09-01 | 2015-02-18 | 北京大学 | Method and system for video coding and decoding of high-bit-rate images |
CN104639909A (en) * | 2015-02-06 | 2015-05-20 | 达声蔚 | Method and device for transmitting video |
CN106803795A (en) * | 2017-01-22 | 2017-06-06 | 北京中科睿芯科技有限公司 | Video monitoring system Fault Identification based on detection frame, positioning and warning system and its method |
TWI621350B (en) * | 2013-02-22 | 2018-04-11 | 湯姆生特許公司 | Coding and decoding methods of a picture block, corresponding devices and data stream |
US10701373B2 (en) | 2013-02-22 | 2020-06-30 | Interdigital Vc Holdings, Inc. | Coding and decoding methods of a picture block, corresponding devices and data stream |
CN111613222A (en) * | 2020-05-25 | 2020-09-01 | 广东电网有限责任公司 | Transformer substation inspection system |
CN112188239A (en) * | 2020-09-30 | 2021-01-05 | 中国联合网络通信集团有限公司 | Audio and video stream transmission method, media server and wireless access network entity |
CN113489644A (en) * | 2021-06-25 | 2021-10-08 | 南京诺源医疗器械有限公司 | Data information transmission method for medical optical imaging system |
CN115103194A (en) * | 2022-06-16 | 2022-09-23 | 慧之安信息技术股份有限公司 | Video decoding method based on multiple decoding modes |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7082221B1 (en) * | 2000-09-29 | 2006-07-25 | Intel Corporation | Bandwidth determination for multiple layer digital video |
CN1160945C (en) * | 2001-09-05 | 2004-08-04 | 北京中科大洋科技发展股份有限公司 | TV program making system and method with double-bit rate video stream |
EP1751955B1 (en) * | 2004-05-13 | 2009-03-25 | Qualcomm, Incorporated | Header compression of multimedia data transmitted over a wireless communication system |
-
2007
- 2007-07-23 CN CN 200710119403 patent/CN101094406B/en not_active Expired - Fee Related
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI621350B (en) * | 2013-02-22 | 2018-04-11 | 湯姆生特許公司 | Coding and decoding methods of a picture block, corresponding devices and data stream |
US11750830B2 (en) | 2013-02-22 | 2023-09-05 | Interdigital Vc Holdings, Inc. | Coding and decoding methods of a picture block, corresponding devices and data stream |
US11558629B2 (en) | 2013-02-22 | 2023-01-17 | Interdigital Vc Holdings, Inc. | Coding and decoding methods of a picture block, corresponding devices and data stream |
US10701373B2 (en) | 2013-02-22 | 2020-06-30 | Interdigital Vc Holdings, Inc. | Coding and decoding methods of a picture block, corresponding devices and data stream |
CN104363454B (en) * | 2014-09-01 | 2017-10-27 | 北京大学 | A kind of video coding and decoding method and system of high code rate image |
CN104363454A (en) * | 2014-09-01 | 2015-02-18 | 北京大学 | Method and system for video coding and decoding of high-bit-rate images |
CN104639909A (en) * | 2015-02-06 | 2015-05-20 | 达声蔚 | Method and device for transmitting video |
CN106803795B (en) * | 2017-01-22 | 2020-02-07 | 北京中科睿芯科技有限公司 | Video monitoring system fault identification, positioning and warning system and method based on detection frame |
CN106803795A (en) * | 2017-01-22 | 2017-06-06 | 北京中科睿芯科技有限公司 | Video monitoring system Fault Identification based on detection frame, positioning and warning system and its method |
CN111613222A (en) * | 2020-05-25 | 2020-09-01 | 广东电网有限责任公司 | Transformer substation inspection system |
CN112188239A (en) * | 2020-09-30 | 2021-01-05 | 中国联合网络通信集团有限公司 | Audio and video stream transmission method, media server and wireless access network entity |
CN113489644A (en) * | 2021-06-25 | 2021-10-08 | 南京诺源医疗器械有限公司 | Data information transmission method for medical optical imaging system |
CN115103194A (en) * | 2022-06-16 | 2022-09-23 | 慧之安信息技术股份有限公司 | Video decoding method based on multiple decoding modes |
CN115103194B (en) * | 2022-06-16 | 2023-03-24 | 慧之安信息技术股份有限公司 | Video decoding method based on multiple decoding modes |
Also Published As
Publication number | Publication date |
---|---|
CN101094406B (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101094406B (en) | Method and device for transferring video data stream | |
EP1113672B1 (en) | Quantization matrix for still and moving picture coding | |
Aravind et al. | Image and video coding standards | |
TW308776B (en) | Memory management for an image signal processor | |
CN100355287C (en) | Adaptive variable-length coding methods for image data | |
CN1466853B (en) | Video processing method, device and system | |
CN100542288C (en) | The method of chroma deblocking | |
US6075554A (en) | Progressive still frame mode | |
JP2002514363A (en) | Pixel block compressor in image processing system | |
KR100309853B1 (en) | PIPTV inserts average only frame into full size frame | |
KR100679027B1 (en) | Method and apparatus for coding image without DC component loss | |
WO2024078066A1 (en) | Video decoding method and apparatus, video encoding method and apparatus, storage medium, and device | |
CN116527909A (en) | Method, apparatus, device, storage medium and program product for transmitting coding parameters | |
CN101395924A (en) | Differential coding with lossy embedded compression | |
CN110798705A (en) | Video image transmission method, device and equipment | |
CN115866297A (en) | Video processing method, device, equipment and storage medium | |
US5737446A (en) | Method for estimating high frequency components in digitally compressed images and encoder and decoder for carrying out same | |
CN107945108A (en) | Method for processing video frequency and device | |
CN1647544A (en) | Coding and decoding method and device | |
KR100349058B1 (en) | video compression and decompression Apparatus | |
CN100481951C (en) | Digital signal conversion method and digital signal conversion device | |
CN100334885C (en) | Image signal compression coding method and apparatus | |
Nasiopoulos et al. | A high-quality fixed-length compression scheme for color images | |
JPH1070723A (en) | Encoder for video signal encoding system | |
Richter et al. | JPEG XS profiles and levels for screen content coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20120723 |