CN101232620A - Video decoding method and apparatus as well as device and method for implementing video data storage - Google Patents
Video decoding method and apparatus as well as device and method for implementing video data storage Download PDFInfo
- Publication number
- CN101232620A CN101232620A CN 200810100980 CN200810100980A CN101232620A CN 101232620 A CN101232620 A CN 101232620A CN 200810100980 CN200810100980 CN 200810100980 CN 200810100980 A CN200810100980 A CN 200810100980A CN 101232620 A CN101232620 A CN 101232620A
- Authority
- CN
- China
- Prior art keywords
- video
- field picture
- field
- module
- decoded
- 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.)
- Pending
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a video decoding method; the method comprises: For video that is coded in a two-field mode, the invention performs decoding for one field images in each frame image in the video. The invention also discloses a method for storing video data; the method comprises: for video that is coded in a two-field mode, the invention only stores one field of image data for each frame image. Besides, the invention also discloses a video decoding apparatus and a device for storing video data. The technical scheme of the invention can save resources occupied by decoding, improve decoding efficiency, and meanwhile save storage device resources and lower the cost for video data storage.
Description
Technical field
The present invention relates to the video data processing technology field, refer to a kind of video encoding/decoding method and device and a kind of method and apparatus of realizing the video data storage especially.
Background technology
Video information is because plurality of advantages such as its intuitive, certainty, high efficiency and popularity have obtained application widely in various fields.For example, the video monitoring technology has played great function in social safety guarantee engineering in recent years.
Fig. 1 is the networking schematic diagram of video monitoring system of the prior art.As shown in Figure 1, carry out compressed encoding by encoder behind the camera acquisition image, as adopt MPEG-2, MPEG-4 or H.264 wait the video compression coding standard to carry out compressed encoding, video code flow behind the compressed encoding transfers to real-time monitoring receiving terminal and memory device respectively, represents this two branches with real-time stream and storage flow respectively in Fig. 1.In Fig. 1, monitor the hardware decoder of receiving terminal in real time real-time compressed video stream is decoded, output to video wall then and show; Perhaps monitoring receiving terminal in real time also can be a videoconference client (as PC), by the software decoder (as Media Player) of videoconference client real-time compressed video stream is decoded, and outputs to display then.Another branch of compressed video stream is sent to memory device and stores, and is read the video data in the memory device and is carried out playback by videoconference client when demand is arranged in order to follow-up.
Need watch the multi-channel video image in as shown in Figure 1 supervisory control system and other field of video applications on a videoconference client through regular meeting, such situation has proposed higher requirement to the video decoding capability of videoconference client.But for the video image of the higher coded format of resolution, the performance index of videoconference client will influence the ability of multipath decoding to a great extent as the configuration of CPU, internal memory, video card and the hard disk etc. of PC.Therefore, very high to the occupancy of resources such as CPU when multi-channel video is play in decoding on a videoconference client, videoconference client can can't decode video image owing to excess load when multi-channel video reaches some.
In addition, store a large amount of historical video datas for satisfying the on-demand playback service needed in supervisory control system and other field of video applications, thereby need expend a large amount of memory devices, this has taken more equipment cost in the practical video applications field.
Summary of the invention
The invention provides a kind of video encoding/decoding method and device, this method and apparatus can be saved the shared resource of decoding, improves decoding efficiency.
The present invention also provides a kind of method and apparatus of realizing the video data storage, and this method and apparatus can be saved the memory device resource, reduces the cost of stored video data.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The invention discloses a kind of video encoding/decoding method, this method comprises: for the video of encoding with two field modes, only a field picture of each two field picture of this video is decoded.
The invention discloses a kind of video decoder, this device comprises: decoder module is used for a field picture of each two field picture of the video of encoding with two field modes is decoded.
The invention discloses a kind of method that realizes the video data storage, this method comprises: for the video of encoding with two field modes, only store field picture data of each two field picture of this video.
The invention also discloses a kind of device of realizing video data storage, it is characterized in that this device comprises: the storage enable module, field picture data that are used for each two field picture of the video of will encode with two field modes send to memory device and store.
As seen from the above technical solution, the present invention is this when the video of encoding with two field modes is decoded, and the technical scheme of a field picture of each two field picture of only decoding can be saved the shared resource of decoding, improves decoding efficiency.In addition, the present invention is this when the video data of encoding with two field modes is stored, and only stores the technical scheme of field picture data of each two field picture, can save the memory device resource, reduces the cost of stored video data.
Description of drawings
Fig. 1 is the networking schematic diagram of video monitoring system of the prior art;
Fig. 2 is an effect schematic diagram of interlace mode in the embodiment of the invention;
Fig. 3 is the flow chart of a kind of video encoding/decoding method of the embodiment of the invention;
Fig. 4 is a kind of flow chart of realizing the method for video data storage of the embodiment of the invention;
Fig. 5 is the structured flowchart of a kind of video decoder of the embodiment of the invention;
Fig. 6 is a kind of structured flowchart of realizing the device of video data storage of the embodiment of the invention.
Embodiment
Video shows two kinds of basic modes: interlacing scan and lining by line scan.Interlacing scan is meant and divides two demonstrations with a two field picture, wherein first is to comprise horizontal strange of all odd numbers, is also referred to as the field, top, and second is the idol field that comprises all even number level field, be also referred to as field, the end, so interlacing scan once only shows the half level line of a two field picture.Interlacing scan utilizes the eye storage characteristic of human eye to make the variation between two scanning fields of a two field picture thicken, and makes human eye perceives arrive piece image.Interlacing scan generally is applied on the television set of standard N TSC and pal mode.All horizontal lines of lining by line scan and once showing a two field picture, promptly a two field picture is made up of a scanning field.Line by line scan and generally be applied on computer and the Digital Television.
For moving image, interlace mode has the good advantage of continuity with respect to progressive scan mode.Fig. 2 is an effect schematic diagram of interlace mode in the embodiment of the invention, divides two to show a two field picture in the interlace mode as can be seen from Figure 2, more can guarantee the continuity of moving image.Simultaneously, the realization standard of interlace mode and most television sets is complementary, and has to have the low advantage of technical costs.Therefore, the IMAQ of two field modes and coded system become the image encoding implementation that industry is generally used.
Under the image encoding mode of two field modes, the actual per second of television set and monitor is play 50, and the field is spaced apart 20ms, also is per second 25 two field pictures.But PC is when display video image, and owing to not supporting interlacing scan, therefore the demonstration line by line that can only fix needs to show that per second also is 25 frames after very field and idol field are combined into a frame by median operation.
Based on the encoding characteristics of two above-mentioned field modes, core concept of the present invention is: for the video of encoding with two field modes, only a field picture of each two field picture of this video is decoded, to save the shared resource of decoding, improve decoding efficiency; For the video of encoding with two field modes, only store field picture data of each two field picture of this video, to save the memory device resource, reduce the cost of stored video data.
For making purpose of the present invention, technical scheme and advantage clearer, be example with the supervisory control system shown in Fig. 1 below, the present invention is described in more detail.
Videoconference client in the supervisory control system shown in Figure 1 is as PC, when showing the multi-channel video image with screen, can start the single game decoding scheme, promptly for every road video, in each two field picture of this video of only decoding strange (or idol), and abandon its idol (or strange).If original video image is a resolution is 720 * 576 D1 image, is 720 * 288 2CIF image through obtaining resolution after the single game decoding then, thereby the occupancy of the resource of the shared CPU that decodes only is original half.Simultaneously, showing with screen under the situation of multiway images that because the display size of each road image diminishes, so human eye is not seen the difference in quality of D1 image and 2CIF image substantially.
In the single game decode procedure, in order further to improve image quality, after wherein field picture decoding to a two field picture, can also estimate with certain algorithm for estimating according to a field picture of being decoded and be dropped another field picture, perhaps estimate another field picture that is dropped according to each field picture of being decoded in field picture of being decoded and the front and back two field picture, a field picture of gained and another field picture that estimates of will decoding then is merged into a two field picture, to improve the quality of picture.
For the problem of under which kind of situation, carrying out the single game decoding, the decoding end PC can judge whether to carry out the single game decoding according to predetermined configuration parameter, described configuration parameter can be by artificial setting, also can analyze the resource operating position of current decoding end PC by the software of decoding end PC automatically, set described configuration parameter according to analysis result.
Fig. 3 is the flow chart of a kind of video encoding/decoding method of the embodiment of the invention.As shown in Figure 3, may further comprise the steps:
In this step, show that with screen the multi-channel video image can be to show four pictures, six anchor rings or nine pictures etc. with screen.If original image is the D1 image, then become the picture of 2CIF picture quality after the single game decoding; If original image is a Half D1 image, then become the picture of CIF picture quality after the single game decoding.Wherein, Half D1 image be distinguished as half of D1 image, the resolution of CIF image is half of 2CIF image.
Obviously, in the present embodiment, the trigger condition of single game decoding is to show the multi-channel video image with screen.
In this step, can described other road video except that the full screen display video not decoded the video of the described full screen display of promptly only decoding under the situation that a certain road video is displayed in full screen yet.
In this step, carry out two decodings, thereby guarantee the image quality of this road video under full frame big picture shows by video to full screen display.
In this step, the video of two decodings will carrying out owing to full screen display also switches receipt field decoding process, to guarantee the low occupancy of resources such as CPU.
In the embodiment shown in fig. 3, when the user enables many pictures and shows multi-channel video, start the single game decoding process,, improve decoding efficiency to save the shared resource of decoding; When the user enables full framely when watching a certain road video, this road video switch is returned the decoding schema of the two field picture of each frame of decoding simultaneously, to improve the image quality that the user was watched.
Next the storing process to the video data among the present invention is illustrated.According to core concept of the present invention, for the video of encoding, only store field picture data of each two field picture of this video with two field modes, to save the memory device resource, reduce the cost of stored video data.For example, in supervisory control system shown in Figure 1, under the situation of the coding mode that does not change video encoder, deposit under the situation of shared drive after promptly the video image still with two field modes video camera gathered of video encoder is encoded, a video data storage process is set in encoder; This video data storage process reads two field data or the single game data write storage device of the video data in the shared drive.
Fig. 4 is a kind of flow chart of realizing the method for video data storage of the embodiment of the invention.As shown in Figure 4, may further comprise the steps:
In this step, can judge whether to carry out the single game storage according to the current time, for example, carry out two storages by day, and carry out the single game storage at night, promptly the video storage process judges whether to store then and there according to current system time.
In this step, the video data storage process can be distinguished strange field data and even field data in the frame image data according to certain standard, one data is wherein preserved, and abandon another data.
In this step, owing to carried out the single game storage mode, therefore, if original image is the D1 image, what then stored is the view data of 2CIF quality.
In the embodiment shown in fig. 4, can adopt single game storage or two storage modes according to the actual requirements, under the single game storage mode, can save the memory device cost of half.
Next give composition structure and a kind of composition structure that realizes the device of video data storage of a kind of video decoder of the present invention based on the foregoing description.
Fig. 5 is the structured flowchart of a kind of video decoder of the embodiment of the invention.As shown in Figure 5, this device mainly comprises: decoder module 501 is used for a field picture of each two field picture of the video of encoding with two field modes is decoded.
Video decoder among Fig. 5 can further include: synthesis module 502, be used for estimating another field picture that the two field picture under the field picture of being decoded is comprised, and a described field picture that decodes and a described field picture that estimates are merged into a two field picture according to predetermined algorithm for estimating.
Video decoder among Fig. 5 can further include: notification module 503 is used to notify decoder module 501 current plural video need being carried out to show with screen; Decoder module 501, be used for after receiving the notice that plural video need be carried out showing of notification module 503 transmissions with screen, to each video of encoding in the described plural video, all only of each two field picture of this video is decoded with two field modes.
Fig. 6 is a kind of structured flowchart of realizing the device of video data storage of the embodiment of the invention.As shown in Figure 6, this device mainly comprises: storage enable module 601, field picture data that are used for each two field picture of the video of will encode with two field modes send to memory device and store.
The device of the realization video data storage among Fig. 6 can further include: judge module 602, be used to judge whether carry out the single game storage, and with judged result notice storage enable module 601; Storage enable module 601, be used for receive that judge module 602 sends carry out the notice of single game storage the time, to carry out the memory device that field picture data of each two field picture of encoded video send with two field modes stores, receive that judge module 602 sends do not carry out the notice of single game storage the time, the memory device that the two field picture data of each two field picture of described video all send is stored.
The device of realization video data storage shown in Figure 6 can be arranged in the video encoder.
In sum, when the video to encoding with two field modes in the embodiment of the invention was decoded, the technical scheme of a field picture of each two field picture of only decoding can be saved the shared resource of decoding, improves decoding efficiency.In addition, in the embodiment of the invention when the video data of encoding with two field modes is stored, only store the technical scheme of field picture data of each two field picture, can save the memory device resource, reduce the cost of stored video data.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (13)
1. a video encoding/decoding method is characterized in that, this method comprises:
For the video of encoding, only a field picture of each two field picture of this video is decoded with two field modes.
2. the method for claim 1, it is characterized in that, this method further comprises: the predetermined algorithm for estimating of utilization estimates another field picture that the two field picture under the field picture of being decoded is comprised, and a described field picture that decodes and a described field picture that estimates are merged into a two field picture.
3. method as claimed in claim 1 or 2, it is characterized in that, when needs carry out plural video with the screen demonstration, to each video of encoding with two field modes in the described plural video, all carry out described the step that a field picture of each two field picture of this video is decoded.
4. method as claimed in claim 1 or 2 is characterized in that, in the time a video in the plural video need being displayed in full screen, the described two field picture of each two field picture of full screen display video that needs is all decoded.
5. a video decoder is characterized in that, this device comprises: decoder module is used for a field picture of each two field picture of the video of encoding with two field modes is decoded.
6. device as claimed in claim 5, it is characterized in that, this device further comprises: synthesis module, be used for estimating another field picture that the two field picture under the field picture of being decoded is comprised, and a described field picture that decodes and a described field picture that estimates are merged into a two field picture according to predetermined algorithm for estimating.
7. as claim 5 or 6 described devices, it is characterized in that this device further comprises: notification module is used to notify current plural video need being carried out of decoder module to show with screen;
Described decoder module, be used for after receiving the notice that plural video need be carried out showing of notification module transmission with screen, to each video of encoding in the described plural video, all only of each two field picture of this video is decoded with two field modes.
8. as claim 5 or 6 described devices, it is characterized in that this device further comprises: notification module is used for notifying that decoder module is current a video of plural video need be displayed in full screen;
Described decoder module is used for after the notice that a video of plural video need be displayed in full screen that receives the notification module transmission, and the described two field picture of each two field picture of full screen display video that needs is all decoded.
9. method that realizes video data storage is characterized in that this method comprises:
For the video of encoding, only store field picture data of each two field picture of this video with two field modes.
10. method as claimed in claim 9, it is characterized in that, this method further comprises: judging whether to carry out single game storage, is the step of field picture data of then carrying out each two field picture of described store video, otherwise the two field picture data of storing each two field picture of described video.
11. a device of realizing video data storage is characterized in that this device comprises: the storage enable module, field picture data that are used for each two field picture of the video of will encode with two field modes send to memory device and store.
12. device as claimed in claim 11 is characterized in that, this device further comprises: judge module, be used to judge whether carry out the single game storage, and with judged result notice storage enable module;
Described storage enable module, be used for receive that judge module sends carry out the notice of single game storage the time, will carry out the memory device that field picture data of each two field picture of encoded video send with two field modes and store; Receive that judge module sends do not carry out the notice of single game storage the time, the memory device that the two field picture data of each two field picture of described video all send is stored.
13., it is characterized in that this device is arranged in the video encoder as claim 11 or 12 described devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810100980 CN101232620A (en) | 2008-02-27 | 2008-02-27 | Video decoding method and apparatus as well as device and method for implementing video data storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810100980 CN101232620A (en) | 2008-02-27 | 2008-02-27 | Video decoding method and apparatus as well as device and method for implementing video data storage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101232620A true CN101232620A (en) | 2008-07-30 |
Family
ID=39898750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810100980 Pending CN101232620A (en) | 2008-02-27 | 2008-02-27 | Video decoding method and apparatus as well as device and method for implementing video data storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101232620A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104391721A (en) * | 2014-11-28 | 2015-03-04 | 深圳市华宝电子科技有限公司 | Data calling method and data calling device both based on vehicle-mounted video monitoring system |
CN105554375A (en) * | 2015-12-02 | 2016-05-04 | 浙江大华技术股份有限公司 | Method and device of video preview in digital video recorder |
CN108235006A (en) * | 2012-07-02 | 2018-06-29 | 索尼公司 | Video coding system and its operating method with time domain layer |
-
2008
- 2008-02-27 CN CN 200810100980 patent/CN101232620A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235006A (en) * | 2012-07-02 | 2018-06-29 | 索尼公司 | Video coding system and its operating method with time domain layer |
CN108235006B (en) * | 2012-07-02 | 2021-12-24 | 索尼公司 | Video coding system with temporal layer and method of operation thereof |
CN104391721A (en) * | 2014-11-28 | 2015-03-04 | 深圳市华宝电子科技有限公司 | Data calling method and data calling device both based on vehicle-mounted video monitoring system |
CN105554375A (en) * | 2015-12-02 | 2016-05-04 | 浙江大华技术股份有限公司 | Method and device of video preview in digital video recorder |
CN105554375B (en) * | 2015-12-02 | 2018-09-21 | 浙江大华技术股份有限公司 | The method and device of video preview in a kind of hard disk video recorder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2511595C2 (en) | Image signal decoding apparatus, image signal decoding method, image signal encoding apparatus, image encoding method and programme | |
CN101690163B (en) | Shutter time compensation | |
CN105791882A (en) | Video coding method and device | |
US20180077385A1 (en) | Data, multimedia & video transmission updating system | |
CN109151481B (en) | Method, device, system, equipment and medium for transmitting and receiving pictures | |
CN110121065B (en) | Multi-directional image processing in spatially ordered video coding applications | |
CN103533356A (en) | Video data transmission method and device | |
CN111800653B (en) | Video decoding method, system, device and computer readable storage medium | |
CN106162180A (en) | A kind of image coding/decoding method and device | |
CN111901603B (en) | Coding method and decoding method for static background video | |
CN112235606A (en) | Multi-layer video processing method, system and readable storage medium | |
CN101232620A (en) | Video decoding method and apparatus as well as device and method for implementing video data storage | |
CN102334336B (en) | Multiplex method and associated functional data structure for combining digital video signals | |
US20070269120A1 (en) | Video image compression using model plus difference image | |
US11323730B2 (en) | Temporally-overlapped video encoding, video decoding and video rendering techniques therefor | |
CN109429070A (en) | A kind of mobile terminal video coding method, device and mobile terminal | |
CN115580738B (en) | High-resolution video display method, device and system for on-demand transmission | |
CN117291810B (en) | Video frame processing method, device, equipment and storage medium | |
US20070171980A1 (en) | Method and Related Apparatus For Decoding Video Streams | |
Gao et al. | Standard designs for cross random access point reference in video coding | |
CN117579843B (en) | Video coding processing method and electronic equipment | |
CN102256124B (en) | Image layered coding method and device | |
EP3989566A1 (en) | Motion information list construction method in video encoding and decoding, device, and apparatus | |
Fitzek et al. | VideoMeter tool for YUV bitstreams | |
Thomas et al. | Towards Low-Complexity Scalable Coding for Ultra-High Resolution Video And Beyond |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20080730 |