CN102256119B - Video recording method and apparatus thereof - Google Patents

Video recording method and apparatus thereof Download PDF

Info

Publication number
CN102256119B
CN102256119B CN 201010177999 CN201010177999A CN102256119B CN 102256119 B CN102256119 B CN 102256119B CN 201010177999 CN201010177999 CN 201010177999 CN 201010177999 A CN201010177999 A CN 201010177999A CN 102256119 B CN102256119 B CN 102256119B
Authority
CN
China
Prior art keywords
video
code flow
frame
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.)
Active
Application number
CN 201010177999
Other languages
Chinese (zh)
Other versions
CN102256119A (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

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, namely the picture frame of back uses the picture frame of front as predictive frame, then the residual values after 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 some I pictures of radom insertion in cataloged procedure as required.Due to the dependence of inter frame image to the predicted picture of front, must first decode all predicted pictures, the inter frame image of then could decoding.
In the process of on-line meeting, in order to preserve minutes, often need conference scenario is carried out video record.As previously mentioned, due to present Video coding mode, the decoded picture of back has dependence to the predicted picture of front, play for making the decoding that image after 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 meeting, can't realize realizing recording video content since any time.
For realizing since any time recording 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 in decoding end the video code flow that begins from I picture 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 after 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 affect actual 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 because needs are encoded to reconstructed image again, greatly increased computational complexity, and due to the compression of cataloged procedure, record picture quality and greatly reduce.
Summary of the invention
The above-mentioned technical problem that exists in order to solve prior art, 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 the 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 after lossless compression-encoding;
Video code flow after described lossless compression-encoding is deposited in the recording and storing device, and the video code flow that described reconstructed image successive image is corresponding directly deposits in 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 the selected moment 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, the described reconstructed image that is used for described acquiring unit is obtained carries out lossless compression-encoding, obtains the video code flow after lossless compression-encoding;
The first memory cell is used for depositing the video code flow after described coding unit lossless compression-encoding in the recording and storing device;
The second memory cell is used for the video code flow that described reconstructed image successive image is corresponding and directly deposits described recording and storing device in.
The technical scheme that the embodiment of the present 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 the image with reference to the front during decoding of video code flow after lossless compression-encoding, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images to previous image, realized from any time recorded video content; And when video code flow is recorded, after this reconstructed image is carried out depositing in the recording and storing device after 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 after the coding of having avoided receiving is decoded and encoded, thereby not increasing operand, not increasing under the prerequisite of peripheral hardware, guaranteed the video record quality; In a word, the technical scheme that the embodiment of the present 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 present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of video record in the embodiment of the present invention 1;
Fig. 2 is the method flow diagram of decoding end video record in the embodiment of the present invention 2;
Fig. 3 is the method flow diagram of coding side video record in the embodiment of the present invention 3;
Fig. 4 is the installation composition block diagram of a kind of video record in the embodiment of the present invention 4;
Fig. 5 is the installation composition block diagram of another kind of video record in the embodiment of the present invention 4.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1
The embodiment of the present invention provides a kind of method of video record, and as shown in Figure 1, the method comprises:
101, when needs are recorded current video, in coding side or the 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 to begin to record any time of present image for the user, and the embodiment of the present 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 after lossless compression-encoding.
Wherein, in prior art, any lossless compression-encoding may be used in the embodiment of the present invention, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side adopts; 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 after described lossless compression-encoding is deposited in the recording and storing device, and the video code flow that described reconstructed image successive image is corresponding directly deposits in 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 present invention, the embodiment of the present invention does not limit this.
In the embodiment of the present 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 the image with reference to the front during decoding of video code flow after lossless compression-encoding, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images to previous image, realized from any time recorded video content; And when video code flow is recorded, after this reconstructed image is carried out depositing in the recording and storing device after lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image after the coding of having avoided receiving is decoded and encoded, thereby not increasing operand, not increasing under the prerequisite of peripheral hardware, guaranteed the video record quality; In a word, the technical scheme that the embodiment of the present 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 present 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 present invention is to implement video record as example at the video decode end, the concrete method of setting forth video record, as shown in Figure 2, the 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 detect needs to record current video, when detecting need to record current video the time, execution in step 203; 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, execution in step 204; If judge and do not record a selected frame or the multiframe reconstructed image that constantly begins, 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 to begin to record any time of present image for the user, and the embodiment of the present invention does not limit this.
204, according to the coded system of video code flow, determine and obtain a frame or multiframe reconstructed image that the selected moment begins.
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 after lossless compression-encoding.
Wherein, in prior art, any lossless compression-encoding may be used in the embodiment of the present invention, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side adopts; 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, refers to each MB in a 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 present invention, the embodiment of the present invention does not limit this.
207, the described decoding end video code flow that described reconstructed image successive image is corresponding directly deposits in described recording and storing device, and namely the described decoding end video code flow corresponding to described reconstructed image successive image that will receive directly deposits in described recording and storing device.
Wherein, process in the described decoding end video code flow that described reconstructed image successive image is corresponding directly deposits described recording and storing device in, the method also comprises: whether the frame of video sequence number that judges the frame of video sequence number of the video code flow that described successive image is corresponding and reconstructed image is continuous; If judge that the frame of video sequence number of the frame of video sequence number of the video code flow that described successive image is corresponding and reconstructed image is discontinuous, adjust the frame of video sequence number of video code flow corresponding to described successive image, make the frame of video sequence number of itself and reconstructed image continuous, and video code flow corresponding to successive image after described adjustment frame of video sequence number directly deposited in described recording and storing device.
In the embodiment of the present 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 the image with reference to the front during decoding of video code flow after lossless compression-encoding, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images to previous image, realized from any time recorded video content; And when video code flow is recorded, after this reconstructed image is carried out depositing in the recording and storing device after 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 after the coding of having avoided receiving is decoded and encoded, thereby not increasing operand, not increasing under the prerequisite of peripheral hardware, guaranteed the video record quality; In a word, the technical scheme that the embodiment of the present 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 present invention provides a kind of method of video record, to implement video record as example at the Video coding end, specifically sets forth the method for video record, and as shown in Figure 3, the 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 is decoded to 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 to record current video the time, and 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, execution in step 304; If judge and do not record a selected frame or the multiframe reconstructed image that constantly begins, 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 to begin to record any time of present image for the user, and the embodiment of the present invention does not limit this.
304, described coding side according to the coded system of video code flow, is determined and obtains from selecting a frame or the multiframe reconstructed image that the moment begins.
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 after lossless compression-encoding.
Wherein, in prior art, any lossless compression-encoding may be used in the embodiment of the present invention, and the invention process does not limit this, but the lossless coding mode that adopts is corresponding with the coded system that coding side adopts; 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, refers to each MB in a 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 present invention, the embodiment of the present invention does not limit this.
307, described coding side directly deposits its video code flow corresponding to described reconstructed image successive image of having encoded in described recording and storing device.
Wherein, process in the described decoding end video code flow that described reconstructed image successive image is corresponding directly deposits described recording and storing device in, the method also comprises: whether the frame of video sequence number that judges the frame of video sequence number of the video code flow that described successive image is corresponding and reconstructed image is continuous; If judge that the frame of video sequence number of frame of video sequence number in video code flow corresponding to described successive image and reconstructed image is discontinuous, adjust the frame number of video code flow corresponding to described successive image, make the frame of video sequence number of itself and reconstructed image continuous, and the video code flow that the successive image of described adjustment is corresponding directly deposit in described recording and storing device.
In the embodiment of the present 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 the image with reference to the front during decoding of video code flow after this lossless compression-encoding, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images to previous image, realized from any time recorded video content; And when video code flow is recorded, after this reconstructed image is carried out depositing in the recording and storing device after lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image after the coding of having avoided receiving is decoded and encoded, thereby not increasing operand, not increasing under the prerequisite of peripheral hardware, guaranteed the video record quality; In a word, the technical scheme that the embodiment of the present 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 present 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, the first memory cell 43 and the 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 the selected moment 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 to begin to record any time of present image for the user, and the embodiment of the present 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 obtained 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, the described reconstructed image that is used for described acquiring unit 41 is obtained carries out lossless compression-encoding, obtains the video code flow after 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 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 adopts; 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, refers to each MB in a two field picture is not compressed, directly to the brightness of this macro block, the coding mode that the chroma pixel value is encoded.
The first memory cell 43 is used for depositing the video code flow after 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 present invention, the embodiment of the present invention does not limit this.The second memory cell 44 is used for the video code flow that described reconstructed image successive image is corresponding and directly deposits described recording and storing device in.
Further, as shown in Figure 5, this device also comprises: judging unit 45 and adjustment unit 46.
Judging unit 45, be used in described the second memory cell 44 video code flow that described reconstructed image successive image is corresponding directly deposits the process of described recording and storing device in, judge whether the frame of video sequence number of the frame of video sequence number of the video code flow that described successive image is corresponding and reconstructed image is continuous; When described judging unit 45 judges that the frame of video sequence number of the frame of video sequence number of the video code flow that described successive images are corresponding and reconstructed image is discontinuous, adjustment unit 46, be used for adjusting the frame of video sequence number of video code flow corresponding to described successive image, make the frame of video sequence number of itself and reconstructed image continuous.
In the embodiment of the present 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 the image with reference to the front during decoding of video code flow after this lossless compression-encoding, the code stream of back is at most only with reference to current frame image, therefore avoided the dependence of inter coded images to previous image, realized from any time recorded video content; And when video code flow is recorded, after this reconstructed image is carried out depositing in the recording and storing device after lossless compression-encoding, the subsequent video code stream that described coding side has been encoded is directly recorded, the process of storage after image after the coding of having avoided receiving is decoded and encoded, thereby not increasing operand, not increasing under the prerequisite of peripheral hardware, guaranteed the video record quality; In a word, the technical scheme that the embodiment of the present 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 in a lot of situation, the former is better execution mode.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; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in 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 the 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; Wherein, the coded system of described video code flow comprises any one in single reference frame coded system and multi-reference frame coded system dual mode;
Described reconstructed image is carried out lossless compression-encoding, obtain the video code flow after lossless compression-encoding;
Video code flow after described lossless compression-encoding is deposited in the recording and storing device, and the video code flow that the successive image of described reconstructed image is corresponding directly deposits in 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 of corresponding 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 corresponding 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, the process in the video code flow that described reconstructed image successive image is corresponding directly deposits described recording and storing device in, and the method also comprises:
Whether the frame number that judges frame number in video code flow corresponding to described successive image and reconstructed image is continuous;
If judge that the frame of video sequence number of frame of video sequence number in video code flow corresponding to described successive image and reconstructed image is discontinuous, adjust the frame of video sequence number of video code flow corresponding to described successive image, 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 the selected moment the reconstructed image of corresponding frame of video, the described selected moment is the moment that begins to record the current video code stream; Wherein, the coded system of described video code flow comprises any one in single reference frame coded system and multi-reference frame coded system dual mode;
Coding unit, the described reconstructed image that is used for described acquiring unit is obtained carries out lossless compression-encoding, obtains the video code flow after lossless compression-encoding;
The first memory cell is used for depositing the video code flow after described coding unit lossless compression-encoding in the recording and storing device;
The second memory cell is used for the video code flow that described reconstructed image successive image is corresponding and directly deposits described recording and storing device in.
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 5, is characterized in that, this device also comprises:
Judging unit, be used in described the second memory cell video code flow that described reconstructed image successive image is corresponding directly deposits the process of described recording and storing device in, judge whether the frame of video sequence number of frame of video sequence number in video code flow corresponding to described successive image and reconstructed image is continuous;
Adjustment unit, when discontinuous for the frame of video sequence number of the frame of video sequence number of judging described successive image code stream at described judging unit and reconstructed image, 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 5, 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 CN102256119A (en) 2011-11-23
CN102256119B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102036054B1 (en) * 2012-12-21 2019-11-26 삼성전자 주식회사 Method for recoding a video in the terminal having a dual camera and device thereof
CN106210837B (en) * 2016-06-30 2019-05-10 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operating method, media server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4117615B2 (en) * 2003-06-30 2008-07-16 ソニー株式会社 Temporary storage management device, temporary storage management method, and temporary storage management program
CN101102465A (en) * 2006-07-03 2008-01-09 长江计算机(集团)公司 A time shift system for playing digital TV
CA2728138A1 (en) * 2008-06-16 2009-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Media stream processing
US9232226B2 (en) * 2008-08-19 2016-01-05 Marvell World Trade Ltd. Systems and methods for perceptually lossless video compression
CN101686358B (en) * 2008-09-28 2012-07-04 华为技术有限公司 Video recording method, device and system

Also Published As

Publication number Publication date
CN102256119A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CA2737728C (en) Low latency video encoder
US10321138B2 (en) Adaptive video processing of an interactive environment
CN102625106B (en) Scene self-adaptive screen encoding rate control method and system
WO2017129090A1 (en) Data transmission method and device for mobile terminal
US8665943B2 (en) Encoding device, encoding method, encoding program, decoding device, decoding method, and decoding program
US8254707B2 (en) Encoding device, encoding method, encoding program, decoding device, decoding method, and decoding program in interlace scanning
KR101859155B1 (en) Tuning video compression for high frame rate and variable frame rate capture
US9414086B2 (en) Partial frame utilization in video codecs
JP2012075136A (en) Content classification for multimedia processing
US20170163934A1 (en) Data, multimedia & video transmission updating system
US10616498B2 (en) High dynamic range video capture control for video transmission
US20100014578A1 (en) Systems and methods for highly efficient video compression using selective retention of relevant visual detail
US11343501B2 (en) Video transcoding method and device, and storage medium
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
WO2007139391A1 (en) Pre-processing of video data
CN116962613A (en) Data transmission method and device, computer equipment and storage medium
CN111050175A (en) Method and apparatus for video encoding
Fitzek et al. VideoMeter tool for YUV bitstreams
GB2398951A (en) Storage of slices of video frames
Kamat Low bandwidth YCbCr data processing technique for video applications in handheld devices
WO2020181540A1 (en) Video processing method and device, encoding apparatus, and decoding apparatus
CN104469399A (en) Method for macro block SKIP type selection in spatial resolution video transcoding

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
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.

TR01 Transfer of patent right
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.