CN102036076A - Video encoding and decoding method - Google Patents
Video encoding and decoding method Download PDFInfo
- Publication number
- CN102036076A CN102036076A CN 201010611588 CN201010611588A CN102036076A CN 102036076 A CN102036076 A CN 102036076A CN 201010611588 CN201010611588 CN 201010611588 CN 201010611588 A CN201010611588 A CN 201010611588A CN 102036076 A CN102036076 A CN 102036076A
- Authority
- CN
- China
- Prior art keywords
- macro block
- watermark information
- coefficient
- video
- video coding
- 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
Abstract
The invention discloses a video encoding and decoding method, which comprises the steps of embedding watermark information into the video code stream at the video coding end; and detecting whether the decoding data is identical to the watermark information at the decoding end or not so as to detect whether the video is modified or not. The invention, under the condition that video image quality is not affected and code stream load is not increased substantially, can detect accurately whether the video at the decoding end is falsified or not and has quite ideal use effect.
Description
Technical field
The present invention relates to a kind of video coding-decoding method, belong to the streaming Media Technology field.
Background technology
In recent years; digital media technology has obtained huge development; digital media data is more and more ripe in the application of every field, and because therefore the modification of copyright and transmit has very conveniently caused the transmission security problem of Digital Media and the Copyright Protection of information medium.Digital watermarking is a kind of copyright protection means that propose in recent years, and basic thought is to embed the copyright information of indicate identification in digital products such as digital picture, audio frequency, video and threedimensional model, so that reach the purposes such as copyright of protection digital product.Yet, existing in video code flow the technology of embed digital watermark information generally more immature, or have more accurate detectability, but cause image effect sharply to descend easily, have a strong impact on decoded video image quality; Though do not influence the video image quality of decoding end, departed from the original intention of copyright protection because accuracy in detection is not high.Therefore how to invent a kind of video information that can accurately detect and whether distorted, do not influence decoded video image quality again, become the important topic that those skilled in the art urgent need will solve.
Summary of the invention
Whether the objective of the invention is to, a kind of video coding-decoding method is provided, the present invention can not influence video image quality substantially, not increase under the situation of code stream burden, accurately detect the video of decoding end and distorted, and result of use is very desirable.
Technical scheme of the present invention: a kind of video coding-decoding method, at the video coding end, embed watermark information in the video code flow; Whether there is watermark information in decoding end by detecting decoded data, whether was modified to detect video.
In the above-mentioned video coding-decoding method, described video coding end, watermarked in the video code flow, be the macro block that earlier image is divided into the n * n of non-overlapping copies, again each macro block is carried out that DCT quantizes and after ZigZig scans, obtain the ac coefficient; The ac coefficient is carried out assignment, promptly watermarked so-calledly; And make each macro block preserve 1 watermark information.
In the aforesaid video coding-decoding method, described elder generation is divided into 16 * 16 macro block of non-overlapping copies with image, again each macro block is carried out that DCT quantizes and after ZigZig scans.
In the aforesaid video coding-decoding method, described the ac coefficient being carried out assignment, is that the 6th fixing in the every macro block later ac coefficient composed, and comes watermarked.
In the aforesaid video coding-decoding method, the ac coefficient is carried out assignment, the watermark information of the ac coefficient assignment of first macro block is the length of watermark information, and the watermark information of the ac system assignment of back macro block is real watermark information.
In the aforesaid video coding-decoding method, detecting decoded data in decoding end, is whether the length of watermark information watermark information of judging the ac coefficient assignment of first macro block conforms to the actual watermark information of the ac coefficient assignment of back macro block.
Compared with prior art, the present invention passes through at the video coding end, embed watermark information in the video code flow, whether conform to by detecting decoded data in decoding end with watermark information, whether detect video and be modified, whether the present invention is simple to operate, satisfactory for result, can accurately detect video was modified.Wherein, embed watermark information in the video code flow is that the ac coefficient to macro block carries out assignment, the ac coefficient is carried out assignment guaranteed not influence substantially picture quality, does not also increase the code stream burden.The ac coefficient is carried out assignment, with the ac coefficient assignment of first macro block is the length of watermark information, the watermark information of the ac system assignment of back macro block is real watermark information, whether the watermark information length that decoding end only need detect first macro block conforms to the actual watermark message length of back macro block, whether accurately detect the video of decoding end and distorted, result of use is very desirable.
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples, but not as the foundation to the present invention's restriction.
Embodiment: a kind of video coding-decoding method, at the video coding end, embed watermark information in the video code flow; Whether conform to by detecting decoded data in decoding end, whether be modified to detect video with watermark information.The video coding end, watermarked in the video code flow, be the macro block that earlier image is divided into the n * n of non-overlapping copies, again each macro block is carried out that DCT quantizes and after ZigZig scans, obtain the ac coefficient; The ac coefficient is carried out assignment, promptly watermarked so-calledly; And make each macro block preserve 1 watermark information.The ac coefficient is carried out assignment, is that the 6th fixing in the every macro block later ac coefficient composed, and comes watermarked.16 * 16 the macro block that earlier image is divided into non-overlapping copies, after again each macro block being carried out DCT quantification and ZigZig scanning, the ac coefficient is carried out assignment, is the length of watermark information with the ac coefficient assignment of first macro block, and the watermark information of the ac system assignment of back macro block is real watermark information.Detecting decoded data in decoding end, is whether the length of watermark information of judging the ac coefficient assignment of first macro block conforms to the length of the actual watermark information of the ac coefficient assignment of back macro block.
Claims (6)
1. video coding-decoding method is characterized in that: at the video coding end, and embed watermark information in the video code flow; Whether conform to by detecting decoded data in decoding end, whether be modified to detect video with watermark information.
2. video coding-decoding method according to claim 1, it is characterized in that: described video coding end, watermarked in the video code flow, be the macro block that earlier image is divided into the n * n of non-overlapping copies, after again each macro block being carried out DCT quantification and ZigZig scanning, obtain the ac coefficient; The ac coefficient is carried out assignment, promptly watermarked so-calledly; And make each macro block preserve 1 watermark information.
3. video coding-decoding method according to claim 2 is characterized in that: described the ac coefficient being carried out assignment, is that the 6th fixing in the every macro block later ac coefficient composed, and comes watermarked.
4. video coding-decoding method according to claim 3 is characterized in that: described elder generation is divided into 16 * 16 macro block of non-overlapping copies with image, again each macro block is carried out that DCT quantizes and after ZigZig scans.
5. according to each described video coding-decoding method of claim 2 to 4, it is characterized in that: the ac coefficient is carried out assignment, with the ac coefficient assignment of first macro block is the length of watermark information, and the watermark information of the ac system assignment of back macro block is real watermark information.
6. video coding-decoding method according to claim 5, it is characterized in that: detecting decoded data in decoding end, is whether the length of watermark information of judging the ac coefficient assignment of first macro block conforms to the length of the actual watermark information of the ac coefficient assignment of back macro block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010611588 CN102036076A (en) | 2010-12-29 | 2010-12-29 | Video encoding and decoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010611588 CN102036076A (en) | 2010-12-29 | 2010-12-29 | Video encoding and decoding method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102036076A true CN102036076A (en) | 2011-04-27 |
Family
ID=43888303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010611588 Pending CN102036076A (en) | 2010-12-29 | 2010-12-29 | Video encoding and decoding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102036076A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976437A (en) * | 2006-12-11 | 2007-06-06 | 浙江大学 | Coding and decoding equipment with watermark encrypting |
CN101442657A (en) * | 2008-12-23 | 2009-05-27 | 西安交通大学 | Design method for stream medium distributed digital watermarking architecture |
-
2010
- 2010-12-29 CN CN 201010611588 patent/CN102036076A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976437A (en) * | 2006-12-11 | 2007-06-06 | 浙江大学 | Coding and decoding equipment with watermark encrypting |
CN101442657A (en) * | 2008-12-23 | 2009-05-27 | 西安交通大学 | Design method for stream medium distributed digital watermarking architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Depovere et al. | The VIVA project: digital watermarking for broadcast monitoring | |
CN101166260B (en) | Method and device for image coding and watermark removal | |
Su et al. | A practical design of digital video watermarking in H. 264/AVC for content authentication | |
CN103152578B (en) | H.264 video watermark based on mixed encoding and decoding embeds and extracting method | |
CN101668170A (en) | Digital television program copyright protecting method for resisting time synchronization attacks | |
CN105100959A (en) | Evidence-obtaining marking method and device and digital home theater | |
CN101442657A (en) | Design method for stream medium distributed digital watermarking architecture | |
CN101583033A (en) | Method for protecting H.264 video data by using robust watermarks | |
JP2005341525A (en) | Video-watermarking method and apparatus, and protection method and apparatus of video contents using video watermarking | |
CN101860743A (en) | Real-time digital video watermarking method based on MPEG-2 standard | |
US8848791B2 (en) | Compressed domain video watermarking | |
Jianfeng et al. | A mpeg2 video watermarking algorithm based on dct domain | |
US20110122778A1 (en) | Multiple watermarks for fidelity assessment | |
CN102752671A (en) | Electronic device and copyright protection method of played content of electronic device | |
KR101501106B1 (en) | Apparatus and Method for Encoding Video, Apparatus and Method for Decoding Video | |
CN102036076A (en) | Video encoding and decoding method | |
CN102065287B (en) | T-shaped video watermark embedding and extracting method | |
CN100544428C (en) | Coding/decoding apparatus with watermark encrypting | |
CN110728613A (en) | Non-additive distortion JPEG image steganography method based on blocking effect | |
US8885874B2 (en) | Method and apparatus for embedding image-related information in image | |
Liu et al. | A novel data hiding scheme for H. 264/AVC video streams without intra-frame distortion drift | |
PL395303A1 (en) | Method and system for controlling access to sensitive digital image content | |
CN101854546A (en) | Video watermark embedding extraction method based on H.264 motion vector | |
JP2006229508A (en) | Monitor for broadcasting content | |
Xu et al. | A digital watermarking scheme used for authentication of surveillance video |
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 |
Application publication date: 20110427 |