CN102256119A - Video recording method and apparatus thereof - Google Patents

Video recording method and apparatus thereof Download PDF

Info

Publication number
CN102256119A
CN102256119A CN2010101779999A CN201010177999A CN102256119A CN 102256119 A CN102256119 A CN 102256119A CN 2010101779999 A CN2010101779999 A CN 2010101779999A CN 201010177999 A CN201010177999 A CN 201010177999A CN 102256119 A CN102256119 A CN 102256119A
Authority
CN
China
Prior art keywords
video
frame
code flow
reconstructed image
video code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101779999A
Other languages
Chinese (zh)
Other versions
CN102256119B (en
Inventor
李军华
王浦林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN 201010177999 priority Critical patent/CN102256119B/en
Publication of CN102256119A publication Critical patent/CN102256119A/en
Application granted granted Critical
Publication of CN102256119B publication Critical patent/CN102256119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Embodiments of the invention, which relate to the video recording field, disclose a video recording method and an apparatus thereof. Under the condition of guaranteeing video recording qualities, recording video contents at any time without increasing computation and peripherals can be realized. The method of the embodiments in the invention comprises the following steps: acquiring a reconstructed image of a video frame which is corresponding to a selected moment according to a coding mode of a video stream on a coding terminal or a decoding terminal when a current video is needed to be recorded, wherein the selected moment is the moment of recording the current video stream; performing a lossless compression coding to the reconstructed image so as to obtain the lossless-compression-coded video stream and then storing the lossless-compression-coded video stream into a recording memory; directly storing the video stream which is corresponding to a subsequent image of the reconstructed image into the recording memory. The embodiments of the invention can be mainly used during a video recording process, especially an on-line video recording process.

Description

The method of video record and device
Technical field
The present invention relates to video recorded broadcast field, relate in particular to a kind of method and device of video record.
Background technology
In the video compression coding standard of present main flow, in order to improve compression ratio, all adopted the coding method of inter prediction, promptly the picture frame of back uses the picture frame of front as predictive frame, then the residual values after the prediction is encoded, such image is called inter frame image.In the actual coding process, some images are also arranged not with reference to other two field picture, only carry out predictive coding in frame, as the first frame coded image, such image is called I picture.Also can in cataloged procedure, insert some I pictures as required at random.Because inter frame image must decode all predicted pictures earlier, the inter frame image of could decoding then to the dependence of the predicted picture of front.
In the process of on-line meeting,, often need conference scenario is carried out video record in order to preserve minutes.As previously mentioned, because present video coding mode, the decoded picture of back has dependence to the predicted picture of front, play for making the decoding that image behind the coding can be complete, present method is, directly MCU (Multipoint Control Unit, multipoint control unit) or the received complete video code stream that is used for watching in real time of terminal are preserved, as recorded content.Adopting this kind method to record the video content that gets off, is exactly the complete video content that begins from conversation in the middle of the meeting, can't realize realizing recording video content since any time.
For realizing since any time recording to video content, the following two kinds of methods of available technology adopting, comprise: the first, regularly insert the image of some intraframe codings at coding side, preserve the video code flow that begins from I picture in decoding end and supply subsequent playback as recorded content; The second, increase a camera in output end of image, the image of output is rebuild in picked-up, then this image is encoded again, and the code stream behind the coding is deposited in the recording and storing device.
State in realization in the process of video record, when adopting the method for regularly inserting the image of some intraframe codings at coding side, when realization realizes the recording of video content since any time, because the I picture compression ratio is low, and changed the original coded system of coding side, so the process of video record can influence the practical video effect; When adopting the method that increases a camera in output end of image, when realization realizes the recording of video content since any time, increased peripheral hardware, and owing to need encode again to reconstructed image, increased computational complexity greatly, and because the compression of cataloged procedure is recorded picture quality and is reduced greatly.
Summary of the invention
In order to solve the above-mentioned technical problem that prior art exists, embodiments of the invention provide a kind of method and device of video record, do not increasing operand, do not increasing peripheral hardware, and guaranteeing to have realized from any time recorded video content under the prerequisite of video record quality.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of video record comprises:
When needs are recorded current video, in coding side or decoding end coded system according to video code flow, obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream;
Described reconstructed image is carried out lossless compression-encoding, obtain the video code flow behind the lossless compression-encoding;
Video code flow behind the described lossless compression-encoding is deposited in the recording and storing device, and the video code flow of described reconstructed image successive image correspondence is directly deposited in the described recording and storing device.
A kind of device of video record comprises:
Acquiring unit is used for when needs are recorded current video, according to the coded system of video code flow obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream;
Coding unit is used for the described reconstructed image that described acquiring unit obtains is carried out lossless compression-encoding, obtains the video code flow behind the lossless compression-encoding;
First memory cell is used for depositing the video code flow behind the described coding unit lossless compression-encoding in the recording and storing device;
Second memory cell is used for directly depositing the video code flow of described reconstructed image successive image correspondence in described recording and storing device.
The technical scheme that the embodiment of the invention provides, when carrying out video record, according to the coded system of video code flow the reconstructed image of corresponding frame of video is carried out lossless compression-encoding, do not need again image during the decoding of video code flow behind the lossless compression-encoding with reference to the front, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images, realized from any time recorded video content to previous image; And when video code flow is recorded, after this reconstructed image carried out depositing in the recording and storing device behind the lossless compression-encoding, the subsequent video code stream that described coding side has been encoded carries out direct recording, the process of storage after image behind the coding of having avoided receiving is decoded and encoded, thereby, guaranteed the video record quality not increasing operand, not increasing under the prerequisite of peripheral hardware; In a word, the technical scheme that the embodiment of the invention provides is not increasing operand, is not increasing peripheral hardware, and guarantees to have realized from any time recorded video content under the prerequisite of video record quality.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of video record in the embodiment of the invention 1;
Fig. 2 is the method flow diagram of decoding end video record in the embodiment of the invention 2;
Fig. 3 is the method flow diagram of coding side video record in the embodiment of the invention 3;
Fig. 4 is the device composition frame chart of a kind of video record in the embodiment of the invention 4;
Fig. 5 is the device composition frame chart of another kind of video record in the embodiment of the invention 4.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1
The embodiment of the invention provides a kind of method of video record, and as shown in Figure 1, this method comprises:
101, when needs are recorded current video, in coding side or decoding end coded system according to video code flow, obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream.The described selected moment can need begin to record any time of present image for the user, and the embodiment of the invention does not limit this.
Wherein, described coded system according to video code flow, the reconstructed image that obtains the corresponding frame of video of selected institute constantly comprises: when the coded system of described video code flow is single reference frame coded system, obtain a frame reconstructed image that begins from the selected moment; When the coded system of described video code flow is the multi-reference frame coded system, obtain the corresponding multiframe reconstructed image that constantly begins from selected.
102, described reconstructed image is carried out lossless compression-encoding, obtain the video code flow behind the lossless compression-encoding.
Wherein, any lossless compression-encoding may be used in the embodiment of the invention in the prior art, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side is adopted; For example, when described coding side adopted that H.264 the coded system of consensus standard is encoded, described lossless compression-encoding can be encoded for I_PCM.
103, the video code flow behind the described lossless compression-encoding is deposited in the recording and storing device, and the video code flow of described reconstructed image successive image correspondence is directly deposited in the described recording and storing device.
Wherein, described recording and storing device can for but be not limited to hard disk, any memory device that can be used for the store video code stream all can be used for the embodiment of the invention, the embodiment of the invention does not limit this.
In the embodiment of the invention, when carrying out video record, according to the coded system of video code flow the reconstructed image of corresponding frame of video is carried out lossless compression-encoding, do not need again image during the decoding of video code flow behind the lossless compression-encoding with reference to the front, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images, realized from any time recorded video content to previous image; And when video code flow is recorded, after this reconstructed image carried out depositing in the recording and storing device behind the lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image behind the coding of having avoided receiving is decoded and encoded, thereby, guaranteed the video record quality not increasing operand, not increasing under the prerequisite of peripheral hardware; In a word, the technical scheme that the embodiment of the invention provides is not increasing operand, is not increasing peripheral hardware, and guarantees to have realized from any time recorded video content under the prerequisite of video record quality.
Embodiment 2
The embodiment of the invention provides a kind of method of video record, wherein, the method of video record can be implemented at the video coding end, also can implement at the video decode end, the embodiment of the invention is an example to implement video record at the video decode end, the concrete method of setting forth video record, as shown in Figure 2, this method comprises:
201, decoding end receiver, video code stream with the described video code flow formation reconstructed image of decoding, and is play described reconstructed image and is shown.
202, described decoding end described video code flow is decoded play to show in, whether need record current video, when detecting need record current video the time execution in step 203 if detecting; When detecting when not needing to record current video, do not carry out recording of current video.
203, judge whether to record a selected frame or the multiframe reconstructed image that constantly begins, if judging to record selectes a frame or the multiframe reconstructed image that constantly begins, then execution in step 204; If judge and do not record a selected frame or the multiframe reconstructed image that constantly begins, then execution in step 207.
Wherein, the described selected moment is the moment that begins to record the current video code stream.The described selected moment can need begin to record any time of present image for the user, and the embodiment of the invention does not limit this.
204,, determine and obtain a frame or multiframe reconstructed image that the selected moment begins according to the coded system of video code flow.
Wherein, the coded system of described video code flow comprises single reference frame coding and multi-reference frame coded system; When the coded system of described video code flow is single reference frame coded system, obtain a selected frame reconstructed image that constantly begins; When the coded system of described video code flow is the multi-reference frame coded system, obtain the corresponding multiframe reconstructed image that constantly begins from selected.
205, described decoding end is carried out lossless compression-encoding with the described reconstructed image that obtains, and obtains the video code flow behind the lossless compression-encoding.
Wherein, any lossless compression-encoding may be used in the embodiment of the invention in the prior art, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side is adopted; For example, when described coding side adopted that H.264 the coded system of consensus standard is encoded, described lossless compression-encoding can be encoded for I_PCM; In agreement H.264, a two field picture is divided into several macro blocks (MB), for example, when image adopted the sampling of 4:2:0 form, a MB comprised the luminance block of a 16x16 pixel and the chrominance block of 2 8x8 pixels.This kind I_PCM coding mode is a kind of macro-block coding pattern, is meant each MB in the two field picture is not compressed, directly to the brightness of this macro block, the coding mode that the chroma pixel value is encoded.
206, the video code flow of described decoding end after with described lossless compression-encoding deposits in the recording and storing device.
Wherein, described recording and storing device can for but be not limited to hard disk, any memory device that can be used for the store video code stream all can be used for the embodiment of the invention, the embodiment of the invention does not limit this.
207, described decoding end directly deposits the video code flow of described reconstructed image successive image correspondence in the described recording and storing device, and the video code flow of the described reconstructed image successive image correspondence that promptly described decoding end will receive directly deposits in the described recording and storing device.
Wherein, directly deposit the video code flow of described reconstructed image successive image correspondence in the described recording and storing device process in described decoding end, this method also comprises: whether the frame of video sequence number of judging the frame of video sequence number of video code flow of described successive image correspondence and reconstructed image is continuous; If the frame of video sequence number of the video code flow of the described successive image correspondence of judgement and the frame of video sequence number of reconstructed image are discontinuous, then adjust the frame of video sequence number of the video code flow of described successive image correspondence, make the frame of video sequence number of itself and reconstructed image continuous, and the video code flow of the successive image correspondence after the described adjustment frame of video sequence number is directly deposited in the described recording and storing device.
In the embodiment of the invention, when carrying out video record, according to the coded system of video code flow the reconstructed image of corresponding frame of video is carried out lossless compression-encoding, do not need again image during the decoding of video code flow behind the lossless compression-encoding with reference to the front, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images, realized from any time recorded video content to previous image; And when video code flow is recorded, after this reconstructed image carried out depositing in the recording and storing device behind the lossless compression-encoding, the video code flow that the described coding side that receives has been encoded is directly recorded, the process of storage after image behind the coding of having avoided receiving is decoded and encoded, thereby, guaranteed the video record quality not increasing operand, not increasing under the prerequisite of peripheral hardware; In a word, the technical scheme that the embodiment of the invention provides is not increasing operand, is not increasing peripheral hardware, and guarantees to have realized from any time recorded video content under the prerequisite of video record quality.
Embodiment 3
The embodiment of the invention provides a kind of method of video record, is example to implement video record at the video coding end, specifically sets forth the method for video record, and as shown in Figure 3, this method comprises:
301, the video code flow after coding side will be encoded sends to the video code flow receiving terminal, so that described receiving terminal is after receiving this video code flow, described video code flow decoded play to be shown.
Whether when 302, the video code flow after described coding side will be encoded sends, detecting needs to record current video, when detecting need record current video the time execution in step 303; When detecting when not needing to record current video, do not carry out recording of current video.
303, described coding side judges whether to record a selected frame or the multiframe reconstructed image that constantly begins, if judging to record selectes a frame or the multiframe reconstructed image that constantly begins, then execution in step 304; If judge and do not record a selected frame or the multiframe reconstructed image that constantly begins, then execution in step 307.
Wherein, the described selected moment is the moment that begins to record the current video code stream.The described selected moment can need begin to record any time of present image for the user, and the embodiment of the invention does not limit this.
304, described coding side is according to the coded system of video code flow, determines and obtains a frame or the multiframe reconstructed image that constantly begins from selected.
Wherein, the coded system of described video code flow comprises single reference frame coding and multi-reference frame coded system; When the coded system of described video code flow is single reference frame coded system, obtain a frame reconstructed image that constantly begins from selected; When the coded system of described video code flow is the multi-reference frame coded system, obtain the corresponding multiframe reconstructed image that constantly begins from selected.
305, described coding side carries out lossless compression-encoding with the described reconstructed image that obtains, and obtains the video code flow behind the lossless compression-encoding.
Wherein, any lossless compression-encoding may be used in the embodiment of the invention in the prior art, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side is adopted; For example, when described coding side adopted that H.264 the coded system of consensus standard is encoded, described lossless compression-encoding can be encoded for I_PCM; In agreement H.264, a two field picture is divided into several macro blocks (MB), for example, when image adopted the sampling of 4:2:0 form, a MB comprised the luminance block of a 16x16 pixel and the chrominance block of 2 8x8 pixels.This kind I_PCM coding mode is a kind of macro-block coding pattern, is meant each MB in the two field picture is not compressed, directly to the brightness of this macro block, the coding mode that the chroma pixel value is encoded.
306, the video code flow of described coding side after with described lossless compression-encoding deposits in the recording and storing device.
Wherein, described recording and storing device can for but be not limited to hard disk, any memory device that can be used for the store video code stream all can be used for the embodiment of the invention, the embodiment of the invention does not limit this.
307, described coding side directly deposits the video code flow of its described reconstructed image successive image correspondence of having encoded in the described recording and storing device.
Wherein, directly deposit the video code flow of described reconstructed image successive image correspondence in the described recording and storing device process in described decoding end, this method also comprises: whether the frame of video sequence number of judging the frame of video sequence number of video code flow of described successive image correspondence and reconstructed image is continuous; If the frame of video sequence number in the video code flow of the described successive image correspondence of judgement and the frame of video sequence number of reconstructed image are discontinuous, then adjust the frame number of the video code flow of described successive image correspondence, make the frame of video sequence number of itself and reconstructed image continuous, and the video code flow of the successive image correspondence of described adjustment is directly deposited in the described recording and storing device.
In the embodiment of the invention, when carrying out video record, according to the coded system of video code flow the reconstructed image of corresponding frame of video is carried out lossless compression-encoding, do not need again image during the decoding of video code flow behind this lossless compression-encoding with reference to the front, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images, realized from any time recorded video content to previous image; And when video code flow is recorded, after this reconstructed image carried out depositing in the recording and storing device behind the lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image behind the coding of having avoided receiving is decoded and encoded, thereby, guaranteed the video record quality not increasing operand, not increasing under the prerequisite of peripheral hardware; In a word, the technical scheme that the embodiment of the invention provides is not increasing operand, is not increasing peripheral hardware, and guarantees to have realized from any time recorded video content under the prerequisite of video record quality.
Embodiment 4
The embodiment of the invention provides a kind of device of video record, and this device can be the video coding end, also can be the video decode end, and as shown in Figure 4, this device comprises: acquiring unit 41, coding unit 42, first memory cell 43 and second memory cell 44.
Acquiring unit 41 is used for when needs are recorded current video, according to the coded system of video code flow obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream; The described selected moment can need begin to record any time of present image for the user, and the embodiment of the invention does not limit this.The coded system of described video code flow comprises single reference frame coded system and multi-reference frame coded system; When the coded system of described video code flow was single reference frame coded system, described acquiring unit 41 was used for, and obtains a frame reconstructed image that constantly begins from selected; When the coded system of described video code flow was the multi-reference frame coded system, described acquiring unit 41 was used for, and obtained the corresponding multiframe reconstructed image that constantly begins from selected.
Coding unit 42 is used for the described reconstructed image that described acquiring unit 41 obtains is carried out lossless compression-encoding, obtains the video code flow behind the lossless compression-encoding; Wherein, when 42 pairs of described reconstructed images of described coding unit carry out lossless compression-encoding, can adopt any lossless compression-encoding mode in the prior art, the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side is adopted; For example, when described coding side adopted that H.264 the coded system of consensus standard is encoded, described lossless compression-encoding can be encoded for I_PCM; In agreement H.264, a two field picture is divided into several macro blocks (MB), for example, when image adopted the sampling of 4:2:0 form, a MB comprised the luminance block of a 16x16 pixel and the chrominance block of 2 8x8 pixels.This kind I_PCM coding mode is a kind of macro-block coding pattern, is meant each MB in the two field picture is not compressed, directly to the brightness of this macro block, the coding mode that the chroma pixel value is encoded.
First memory cell 43 is used for depositing the video code flow behind described coding unit 42 lossless compression-encodings in the recording and storing device; Wherein, described recording and storing device can for but be not limited to hard disk, any memory device that can be used for the store video code stream all can be used for the embodiment of the invention, the embodiment of the invention does not limit this.Second memory cell 44 is used for directly depositing the video code flow of described reconstructed image successive image correspondence in described recording and storing device.
Further, as shown in Figure 5, this device also comprises: judging unit 45 and adjustment unit 46.
Judging unit 45, be used for directly depositing in the process of described recording and storing device, judge whether the frame of video sequence number of the frame of video sequence number of video code flow of described successive image correspondence and reconstructed image is continuous at the video code flow of described second memory cell 44 with described reconstructed image successive image correspondence; When described judging unit 45 judges that the frame of video sequence number of the frame of video sequence number of video code flow of described successive image correspondence and reconstructed image is discontinuous, adjustment unit 46, be used to adjust the frame of video sequence number of the video code flow of described successive image correspondence, make the frame of video sequence number of itself and reconstructed image continuous.
In the embodiment of the invention, when carrying out video record, according to the coded system of video code flow the reconstructed image of corresponding frame of video is carried out lossless compression-encoding, do not need again image during the decoding of video code flow behind this lossless compression-encoding with reference to the front, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images, realized from any time recorded video content to previous image; And when video code flow is recorded, after this reconstructed image carried out depositing in the recording and storing device behind the lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image behind the coding of having avoided receiving is decoded and encoded, thereby, guaranteed the video record quality not increasing operand, not increasing under the prerequisite of peripheral hardware; In a word, the technical scheme that the embodiment of the invention provides is not increasing operand, is not increasing peripheral hardware, and guarantees to have realized from any time recorded video content under the prerequisite of video record quality.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, memory or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (8)

1. the method for a video record is characterized in that, comprising:
When needs are recorded current video, in coding side or decoding end coded system according to video code flow, obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream;
Described reconstructed image is carried out lossless compression-encoding, obtain the video code flow behind the lossless compression-encoding;
Video code flow behind the described lossless compression-encoding is deposited in the recording and storing device, and the video code flow of the successive image correspondence of described reconstructed image is directly deposited in the described recording and storing device.
2. method according to claim 1 is characterized in that, described coded system according to video code flow obtain from selected constantly the reconstructed image of corresponding frame of video comprise:
When the coded system of described video code flow was single reference frame coded system, described obtaining from the selected reconstructed image that begins pairing frame of video constantly was: obtain a frame reconstructed image that constantly begins from selected;
When the coded system of described video code flow was the multi-reference frame coded system, described obtaining from the selected reconstructed image of pairing frame of video constantly was: obtain the corresponding multiframe reconstructed image that constantly begins from selected.
3. method according to claim 1 is characterized in that, directly deposits process in the described recording and storing device at the video code flow with described reconstructed image successive image correspondence, and this method also comprises:
Whether the frame number of judging frame number in the video code flow of described successive image correspondence and reconstructed image is continuous;
If judge that the frame of video sequence number of frame of video sequence number in the video code flow of described successive image correspondence and reconstructed image is discontinuous, then adjust the frame of video sequence number of the video code flow of described successive image correspondence, make the frame of video sequence number of itself and described reconstructed image continuous.
4. method according to claim 1 is characterized in that, when described coding side adopted that H.264 the coded system of consensus standard is encoded to video code flow, described lossless compression-encoding was the I_PCM coding.
5. the device of a video record is characterized in that, comprising:
Acquiring unit is used for when needs are recorded current video, according to the coded system of video code flow obtain selected constantly the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream;
Coding unit is used for the described reconstructed image that described acquiring unit obtains is carried out lossless compression-encoding, obtains the video code flow behind the lossless compression-encoding;
First memory cell is used for depositing the video code flow behind the described coding unit lossless compression-encoding in the recording and storing device;
Second memory cell is used for directly depositing the video code flow of described reconstructed image successive image correspondence in described recording and storing device.
6. device according to claim 5 is characterized in that, described acquiring unit is used for:
When the coded system of described video code flow is single reference frame coded system, obtain a frame reconstructed image that constantly begins from selected;
When the coded system of described video code flow is the multi-reference frame coded system, obtain the corresponding multiframe reconstructed image that constantly begins from selected.
7. device according to claim 1 is characterized in that, this device also comprises:
Judging unit, be used for directly depositing in the process of described recording and storing device, judge whether the frame of video sequence number of frame of video sequence number in the video code flow of described successive image correspondence and reconstructed image is continuous at the video code flow of described second memory cell with described reconstructed image successive image correspondence;
Adjustment unit, be used for when described judging unit judges that the frame of video sequence number of the frame of video sequence number of described successive image code stream and reconstructed image is discontinuous, adjust the frame of video sequence number of the corresponding video code flow of described successive image, make the frame of video sequence number of itself and reconstructed image continuous.
8. device according to claim 1 is characterized in that, when described coding side adopted that H.264 the coded system of consensus standard is encoded to video code flow, described lossless compression-encoding was the I_PCM coding.
CN 201010177999 2010-05-20 2010-05-20 Video recording method and apparatus thereof Active CN102256119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010177999 CN102256119B (en) 2010-05-20 2010-05-20 Video recording method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010177999 CN102256119B (en) 2010-05-20 2010-05-20 Video recording method and apparatus thereof

Publications (2)

Publication Number Publication Date
CN102256119A true CN102256119A (en) 2011-11-23
CN102256119B CN102256119B (en) 2013-06-05

Family

ID=44983068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010177999 Active CN102256119B (en) 2010-05-20 2010-05-20 Video recording method and apparatus thereof

Country Status (1)

Country Link
CN (1) CN102256119B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888668A (en) * 2012-12-21 2014-06-25 三星电子株式会社 Method and apparatus for recording video image in a portable terminal having dual cameras
CN106210837A (en) * 2016-06-30 2016-12-07 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operational approach, media server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701373A (en) * 2003-06-30 2005-11-23 索尼株式会社 Temporary accumulation management device
CN101102465A (en) * 2006-07-03 2008-01-09 长江计算机(集团)公司 A time shift system for playing digital TV
WO2009154529A1 (en) * 2008-06-16 2009-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Media stream processing
US20100046628A1 (en) * 2008-08-19 2010-02-25 Vasudev Bhaskaran Systems and Methods for Perceptually Lossless Video Compression
CN101686358A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Video recording method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701373A (en) * 2003-06-30 2005-11-23 索尼株式会社 Temporary accumulation management device
CN101102465A (en) * 2006-07-03 2008-01-09 长江计算机(集团)公司 A time shift system for playing digital TV
WO2009154529A1 (en) * 2008-06-16 2009-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Media stream processing
US20100046628A1 (en) * 2008-08-19 2010-02-25 Vasudev Bhaskaran Systems and Methods for Perceptually Lossless Video Compression
CN101686358A (en) * 2008-09-28 2010-03-31 华为技术有限公司 Video recording method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888668A (en) * 2012-12-21 2014-06-25 三星电子株式会社 Method and apparatus for recording video image in a portable terminal having dual cameras
CN106210837A (en) * 2016-06-30 2016-12-07 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operational approach, media server
CN106210837B (en) * 2016-06-30 2019-05-10 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operating method, media server

Also Published As

Publication number Publication date
CN102256119B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CA2737728C (en) Low latency video encoder
CN102625106B (en) Scene self-adaptive screen encoding rate control method and system
US10321138B2 (en) Adaptive video processing of an interactive environment
US9414086B2 (en) Partial frame utilization in video codecs
US20180077385A1 (en) Data, multimedia & video transmission updating system
AU2014275405A1 (en) Tuning video compression for high frame rate and variable frame rate capture
US8243117B2 (en) Processing aspects of a video scene
CN107172376B (en) Video coding method and device based on screen sharing
CN111901630A (en) Data transmission method, device, terminal equipment and storage medium
US11343501B2 (en) Video transcoding method and device, and storage medium
AU2009273707A1 (en) Systems and methods for highly efficient video compression using selective retention of relevant visual detail
CN112235606A (en) Multi-layer video processing method, system and readable storage medium
CN115118964A (en) Video encoding method, video encoding device, electronic equipment and computer-readable storage medium
CN102256119B (en) Video recording method and apparatus thereof
WO2023061129A1 (en) Video encoding method and apparatus, device, and storage medium
CN116962613A (en) Data transmission method and device, computer equipment and storage medium
CN116781900A (en) Encoding and decoding method and electronic equipment
Usman et al. Exploiting the spatio-temporal attributes of HD videos: A bandwidth efficient approach
CN111050175A (en) Method and apparatus for video encoding
US20240244229A1 (en) Systems and methods for predictive coding
KR101656160B1 (en) Encoding and decoding using perceptual representations
Fitzek et al. VideoMeter tool for YUV bitstreams
GB2398951A (en) Storage of slices of video frames
CN113965748A (en) High-fidelity video stream compression control method
CN117939313A (en) HDR video generation method and device

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
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20181218

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right