CN101742294B - Method and device for enhancing monitoring video compression ratio - Google Patents

Method and device for enhancing monitoring video compression ratio Download PDF

Info

Publication number
CN101742294B
CN101742294B CN 200810226585 CN200810226585A CN101742294B CN 101742294 B CN101742294 B CN 101742294B CN 200810226585 CN200810226585 CN 200810226585 CN 200810226585 A CN200810226585 A CN 200810226585A CN 101742294 B CN101742294 B CN 101742294B
Authority
CN
China
Prior art keywords
parameter set
video data
parameter
original video
monitoring
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 200810226585
Other languages
Chinese (zh)
Other versions
CN101742294A (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.)
Mid Star Technology Ltd By Share Ltd
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN 200810226585 priority Critical patent/CN101742294B/en
Publication of CN101742294A publication Critical patent/CN101742294A/en
Application granted granted Critical
Publication of CN101742294B publication Critical patent/CN101742294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for enhancing monitoring video compression ratio. The method comprises: carrying out content monitoring alarm detection on the original video data of video data collection; selecting different parameter sets to code the original video data, wherein the parameter sets comprise parameters related to code rates, thus realizing adopting codes with different code rates under different alarm state. By intelligently and dynamically adjusting coding parameters during video compression coding in the invention, the code rate of monitoring video compression coding is greatly lowered, and simultaneously the part of code stream interesting to monitoring can have better quality.

Description

A kind of method and apparatus that improves monitoring video compression ratio
Technical field
The present invention relates to monitor video encoding compression field.
Background technology
In monitor video encoding compression field, the encoding compression of monitor video generally adopts the higher international video compression coding standard of compression efficiency to compress.Because the acquisition time of monitor video is very long, and has certain requirement for video quality, even therefore the compress mode of high compression ratio to compress later monitor video data volume still very big.Increase the monitor video compression ratio, reduce the monitor video code check and become a very urgent task.
Summary of the invention
The object of the present invention is to provide to increase the monitor video compression ratio, reduce the method for monitor video code check.
For this reason, it is clear and definite to have monitoring purposes property to monitor video, and a large amount of data characteristic that have nothing to do with the monitoring application are arranged in the video data, the present invention proposes a kind of method that improves monitoring video compression ratio.
According to first aspect, the present invention provides a kind of coding method of monitor video, comprising: the original video data for video data acquiring is carried out contents supervision's alarm detection; Based on testing result, select different parameter sets to encode for original video data, said parameter set comprises the parameter relevant with code check, realizes adopting under the different alarm condition coding of different code checks thus.
According to second aspect, the present invention provides a kind of encoding device of monitor video, comprising: the video data acquiring unit is used to gather original video data; Memory, the storage original video data; The monitoring and detection alarm unit carries out contents supervision's alarm detection to original video data; Parameter set is selected based on testing result in the parameter set selecting unit, and said parameter set comprises the parameter relevant with code check; With, encoder utilizes parameter set and code check that original video data is encoded.
According to the third aspect, the present invention provides a kind of video monitoring equipment, comprises like the described encoding device of second aspect.
The present invention is technological through the operation parameter collection, parameters such as video coding frame per second, quantization parameter in dynamically adjusting, and with low frame per second, big quantization parameter carries out the compression of vast scale for video data long-time useless in the monitor video.When the relevant anomalous event of monitoring takes place, monitor video is carried out the higher coding of quality.Finally, realized that the code check of monitor video compressed encoding reduces significantly, can also make the interested that part of code stream of monitoring obtain better quality simultaneously through coding parameter intelligent, when dynamically regulating video compression coding.
Description of drawings
Below with reference to accompanying drawings specific embodiments of the present invention is explained in more detail, in the accompanying drawing:
Fig. 1 is the device structure sketch map according to raising monitoring video compression ratio of the present invention;
Fig. 2 (a) and (b), (c) and (d) illustrated required partial parameters that comprises of sequence parameter set, picture parameter set, head and macroblock layer and control information respectively.
Embodiment
Parameter set is a kind of through improving video code flow structure, the method for enhance encoding flexibility and code stream error recovery capabilities.The parameter set of video coding can be divided into sequence parameter set and picture parameter set.Wherein, sequence parameter set acts on a string video image continuous in time, i.e. video sequence, and it comprises the public information of an image sequence, i.e. two public informations that refresh all images between (IDR) image immediately.Picture parameter set acts on one or more other images in the video sequence, and it comprises the public information of all bursts of an image, comprises image type, sequence number etc.A plurality of different sequences and picture parameter set can be stored in the decoder in advance.Encoder is selected the proper parameters collection according to the memory location of the head of each coded slices (Slice), and picture parameter set itself also comprises the sequence parameter set information of use.Decoder is decoded based on the sequence and the image parameter set pair coded data of storage.Sequence and picture parameter set mechanism have reduced the transmission of repetition parameter.With network self-adapting layer (NAL) unit is example, and each NAL unit comprises a sign, points to relevant picture parameter set; Each picture parameter set comprises a sign; Point to the content of relevant sequence parameter set, therefore, a pointer information with minority; Just quote a large amount of parameters, significantly reduce the information that each NAL unit repeats to transmit.
The present invention is technological through the operation parameter collection, parameters such as video coding frame per second, quantization parameter in dynamically adjusting, and with low frame per second, big quantization parameter carries out the compression of vast scale for video data long-time useless in the monitor video.When the relevant anomalous event of monitoring takes place, monitor video is carried out the higher coding of quality.Finally, realized that the code check of monitor video compressed encoding reduces significantly, can also make the interested that part of code stream of monitoring obtain better quality simultaneously through Rate Control parameter intelligent, when dynamically regulating video compression coding.
Fig. 1 is the device structure sketch map according to raising monitoring video compression ratio of the present invention.As shown in Figure 1, this equipment comprises video data acquiring unit, monitoring and detection alarm unit, memory, parameter set selecting unit and encoder.
At first, one section original video data F (t) of t is constantly gathered and imported to video data acquiring equipment.This original video data can be stored in the memory.Then, the original video data of using monitoring and detection equipment that video data acquiring equipment is imported is carried out monitoring alarm and is detected, and sends warning message based on testing result to the parameter set selecting unit.The parameter set selecting unit selects different parameter set information to send to encoder based on warning message.At last, encoder is encoded to view data based on this parameter set information, and the video data that obtains compressing.Need to prove that the present invention also can adopt other monitoring alarm technology.In an example, can send warning message based on the testing result of the voice data that accompanies with video data.
In an example; Sequence parameter set 1 and sequence parameter set 2 be respectively be used to have anomalous event a situation arises with normal condition under parameter set; Sequence parameter set 1 includes the control data of high code rate, and sequence parameter set 2 includes the control data of low code check.If when t found to have the relevant anomalous event of monitoring to take place constantly, then the monitoring and detection alarm unit sent warning message to the parameter set selecting unit.The parameter set selecting unit selects sequence parameter set 1 to send to encoder according to warning message.Encoder uses the configuration of sequence parameter set 1 for encoding since the original video data of time t, up to t ' all clear.When all clear, the parameter set selecting unit selects sequence parameter set 2 to send to encoder according to warning message.Encoder uses the configuration of sequence parameter set 2 to encode for the video of moment t ' beginning.
According to the present invention, sequence parameter set 1 passes through to realize the coding for the different fine degree of code stream for parameter regulation relevant with code check such as frame per second, quantization parameters with sequence parameter set 2.In order to accomplish above function, need make amendment for the parameter of the sequence parameter set that has video encoding standard now, add for parameter control information relevant such as video sequence frame per second, quantization parameters with code check.In an example; In sequence parameter set, add the parameter control informations relevant such as frame_rate and seq_init_qp with code check; Wherein parameter f rame_rate has indicated the frame per second information of sequence, and seq_init_qp has represented the quantization parameter value that sequence is initial.
In one embodiment, consider the spatial movement intrusion detection, technological possible time-delay such as voice-control alarm, for important video data is not omitted in assurance, the video data of a period of time that in memory or buffer, can prestore, such as F (t-1) ..., F (t-N).When finding to have the relevant anomalous event of monitoring to take place, begin to carry out the higher coding of quality from that part of video data F (t-N) that prestores.
Fig. 2 (a) and (b), (c) and (d) illustrated required partial parameters that comprises of sequence parameter set, picture parameter set, head and macroblock layer and control information respectively.
The parameter s eq_parameter_set_id that sequential parameter is concentrated indicates id number of this sequence parameter set, will be quoted by picture parameter set for this id number.When encoder need produce new sequence parameter set, should use new seq_parameter_set_id.Simultaneously, new sequence parameter set can adopt the content in the original parameter set.New adding parameter f rame_rate has indicated the frame per second information of sequence, and parameter s eq_init_qp has represented the quantization parameter value that sequence is initial.
The parameter p ic_parameter_set_id that image parameter is concentrated is in order to specify the sequence number of this picture parameter set, and this sequence number is cited at the head of each sheet.Parameter s eq_parameter_set_id indicates the sequence number of the sequence parameter set that this picture parameter set quotes.Parameter p ic_qp_delta is used to calculate the quantization parameter value of present image.
Parameter p ic_parameter_set_id in the head is used to specify the call number of picture parameter set.Parameter p ic_qp_delta is used to calculate the quantization parameter value when anter.
The parameter m b_qp_delta of macroblock layer representes the quantization parameter side-play amount in the macroblock layer.
Quantization parameter is that sub-sequence parameter set, picture parameter set, head, macro block head provide for four layers in the method for the raising monitoring video compression ratio that in previous example, designs.Certainly, also can take other different quantized parametric form.
Therefore, as shown in Figure 1, use monitoring and detection equipment to carry out monitoring alarm and detect for video data acquiring equipment input original video data.When t found to have the relevant anomalous event of monitoring to take place constantly, the configuration of using sequence parameter set 1 was for encoding since the original video data of time t-N, up to t ' all clear.When all clear, use the configuration of sequence parameter set 2 to encode for the video of moment t ' beginning.
Each parameter value in can configuration sequence parameter set 1 is following:
seq_parameter_set_id=1;
frame_rate=30;
seq_init_qp=10。
Each parameter value in can configuration sequence parameter set 2 is following:
seq_parameter_set_id=2;
frame_rate=15;
seq_init_qp=40。
So just realized for parameter regulation relevant such as frame per second, quantization parameters, cooperated the final coding of realizing for the different fine degree of code stream different piece of use of picture parameter set, head, macroblock layer etc. again with code check.
Use the method for raising monitoring video compression ratio of the present invention, the compression factor of the monitor video of longer-term storage is greatly improved, realized the new breakthrough on the monitor video compress technique.In addition, the present invention carries out high-quality compression at the same video of using to monitoring interested that can also make at present that reduces code check, makes that this part video is more clear.
Obviously, the present invention described here can have many variations, and this variation can not be thought and departs from the spirit and scope of the present invention.Therefore, the change that all it will be apparent to those skilled in the art all is included within the covering scope of these claims.

Claims (12)

1. the coding method of a monitor video comprises:
Original video data for video data acquiring is carried out contents supervision's alarm detection, and sends warning message based on testing result;
Select different parameter sets to encode for original video data based on warning message, said parameter set comprises the parameter relevant with code check, realizes adopting under the different alarm condition coding of different code checks thus; If receive warning message, then showing has anomalous event to take place, and selects first parameter set that said original video data is encoded; Behind all clear, select second parameter set to the coding video data after sounding all clear.
2. coding method as claimed in claim 1; It is characterized in that said method is included in the video data of a period of time that prestores in memory or the buffer, the step that the different parameter set of said selection is encoded for original video data comprises from this section period video data that prestores and begins to adopt the first parameter set parameter set to encode.
3. coding method as claimed in claim 1 is characterized in that said method comprises that the voice data relevant with original video data carried out voice-control alarm detects the said testing result of generation.
4. coding method as claimed in claim 1 is characterized in that parameter set comprises sequence parameter set and picture parameter set.
5. coding method as claimed in claim 4 is characterized in that parameter set also comprises head and/or macroblock layer.
6. the encoding device of a monitor video comprises:
The video data acquiring unit is used to gather original video data;
Memory is used to store original video data;
The monitoring and detection alarm unit is used for original video data is carried out contents supervision's alarm detection, and sends warning message based on testing result;
The parameter set selecting unit; Be used for selecting different parameter sets to send to encoder based on warning message, if receive warning message, then showing has anomalous event to take place; Select first parameter set to send to encoder; Behind all clear, select second parameter set to send to encoder, said parameter set comprises the parameter relevant with code check; With
Encoder is used to utilize the parameter set and the code check that receive that original video data is encoded.
7. encoding device as claimed in claim 6 is characterized in that the said parameter relevant with code check comprises frame per second and/or quantization parameter.
8. encoding device as claimed in claim 6 is characterized in that said parameter set comprises sequence parameter set and picture parameter set.
9. encoding device as claimed in claim 8 is characterized in that parameter set also comprises head and/or macroblock layer.
10. encoding device as claimed in claim 6 is characterized in that comprising memory or buffer, the video data of a period of time that is used to prestore, and said encoder begins to adopt first parameter set to encode to this section period video data that prestores.
11. encoding device as claimed in claim 6 is characterized in that comprising acoustic control detection alarm unit, the voice data relevant with original video data is carried out voice-control alarm detect, thereby produce said testing result.
12. a video monitoring equipment comprises the described encoding device like one of claim 6-11.
CN 200810226585 2008-11-14 2008-11-14 Method and device for enhancing monitoring video compression ratio Active CN101742294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810226585 CN101742294B (en) 2008-11-14 2008-11-14 Method and device for enhancing monitoring video compression ratio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810226585 CN101742294B (en) 2008-11-14 2008-11-14 Method and device for enhancing monitoring video compression ratio

Publications (2)

Publication Number Publication Date
CN101742294A CN101742294A (en) 2010-06-16
CN101742294B true CN101742294B (en) 2012-09-05

Family

ID=42465074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810226585 Active CN101742294B (en) 2008-11-14 2008-11-14 Method and device for enhancing monitoring video compression ratio

Country Status (1)

Country Link
CN (1) CN101742294B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048225A1 (en) * 2012-09-26 2014-04-03 中兴通讯股份有限公司 Coding and decoding method and device with parameter set and electronic device

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014284B (en) * 2010-12-10 2014-09-10 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN102572381A (en) * 2010-12-29 2012-07-11 中国移动通信集团公司 Video monitoring scene judging method and monitoring image coding method and device thereof
CN102164231A (en) * 2011-01-24 2011-08-24 南京壹进制信息技术有限公司 Monitoring device and method capable of dynamically adjusting resolution ratio based on sensitive information
CN102244785A (en) * 2011-06-16 2011-11-16 杭州华三通信技术有限公司 Method and equipment for storing variable-bit rate video
CN103428483B (en) * 2012-05-16 2017-10-17 华为技术有限公司 A kind of media data processing method and equipment
CN103354610A (en) * 2013-06-19 2013-10-16 圆展科技股份有限公司 Monitoring equipment and adjusting method of camera
CN104837022B (en) * 2015-04-29 2018-05-01 中南大学 A kind of neuroimaging data compression method based on HEVC
CN106559632B (en) * 2015-09-30 2021-02-12 杭州萤石网络有限公司 Multimedia file storage method and device
CN105933669A (en) * 2016-06-17 2016-09-07 北京汉唐自远技术股份有限公司 Mobile video terminal
CN111866522A (en) * 2019-04-29 2020-10-30 杭州海康威视数字技术股份有限公司 Video data coding method and device
CN113573065A (en) * 2020-04-28 2021-10-29 华为技术有限公司 Multimedia data coding method and device
CN112291538A (en) * 2020-12-30 2021-01-29 南京风兴科技有限公司 Video monitoring data storage method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558670A (en) * 2003-02-28 2004-12-29 ��ʽ���綫֥ Apparatus and method for recording video data
CN1849826A (en) * 2003-09-12 2006-10-18 皇家飞利浦电子股份有限公司 Method and apparatus for scalable signal processing
CN1921629A (en) * 2006-09-22 2007-02-28 杭州华为三康技术有限公司 Frequency-video monitoring system and data compression dump device
CN1985510A (en) * 2004-07-13 2007-06-20 索尼株式会社 Imaging apparatus, integrated circuit for imaging element and processing method for imaging result

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558670A (en) * 2003-02-28 2004-12-29 ��ʽ���綫֥ Apparatus and method for recording video data
CN1849826A (en) * 2003-09-12 2006-10-18 皇家飞利浦电子股份有限公司 Method and apparatus for scalable signal processing
CN1985510A (en) * 2004-07-13 2007-06-20 索尼株式会社 Imaging apparatus, integrated circuit for imaging element and processing method for imaging result
CN1921629A (en) * 2006-09-22 2007-02-28 杭州华为三康技术有限公司 Frequency-video monitoring system and data compression dump device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048225A1 (en) * 2012-09-26 2014-04-03 中兴通讯股份有限公司 Coding and decoding method and device with parameter set and electronic device

Also Published As

Publication number Publication date
CN101742294A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101742294B (en) Method and device for enhancing monitoring video compression ratio
CN106537923B (en) The technology of adaptive video stream
CN100505887C (en) Grouping of image frames in video coding
CN100518315C (en) Coding/decoding apparatus adopting articulation improving technology and spatial scalable compression scheme, and method thereof
US20100104021A1 (en) Remote Transmission and Display of Video Data Using Standard H.264-Based Video Codecs
CN100571365C (en) Be used for selecting the method and apparatus of scan pattern at dual pass encoding
US20140119456A1 (en) Encoding video into lower resolution streams
CN108184118A (en) Cloud desktop contents encode and coding/decoding method and device, system
CN102625106A (en) Scene self-adaptive screen encoding rate control method and system
CN103458241A (en) Rate control method for multi-layer video encoding, and video encoder and video signal processing system using method thereof
KR101032243B1 (en) Method and system for scalable bitstream extraction
US20080212673A1 (en) Systems and Methods for Adaptively Determining I Frames for Acquisition and Base and Enhancement Layer Balancing
CN111263192A (en) Video processing method and related equipment
US20140119446A1 (en) Preserving rounding errors in video coding
US20110299605A1 (en) Method and apparatus for video resolution adaptation
GB2371434A (en) Encoding and transmitting video data
CN112738516A (en) Encoding method, encoding device, storage medium and electronic equipment
KR101957539B1 (en) On-demand intra-refresh for end-to-end coded video transmission systems
KR20180026360A (en) A method of controlling bit rate and an apparatus therefor
JP4650894B2 (en) Image decoding device
US20140118460A1 (en) Video Coding
KR100896688B1 (en) Multimedia service providing method considering a terminal capability, and terminal used therein
CN113938687A (en) Multi-reference inter-frame prediction method, system, device and storage medium
EP1841237B1 (en) Method and apparatus for video encoding
KR100880639B1 (en) Method and apparatus for encoding video signal, and transmitting and decoding the encoded data

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

Effective date of registration: 20171221

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee after: Vimicro Electronics Co., Ltd.

Patentee after: Zhongxing Technology Co., Ltd.

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee before: Vimicro Electronics Co., Ltd.

Patentee before: Beijing Vimicro Corporation

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

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee after: Vimicro Electronics Co., Ltd.

Patentee after: Mid Star Technology Limited by Share Ltd

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee before: Vimicro Electronics Co., Ltd.

Patentee before: Zhongxing Technology Co., Ltd.

CP01 Change in the name or title of a patent holder