CN102685482A - Hybrid coding and decoding method and device - Google Patents

Hybrid coding and decoding method and device Download PDF

Info

Publication number
CN102685482A
CN102685482A CN2011104112252A CN201110411225A CN102685482A CN 102685482 A CN102685482 A CN 102685482A CN 2011104112252 A CN2011104112252 A CN 2011104112252A CN 201110411225 A CN201110411225 A CN 201110411225A CN 102685482 A CN102685482 A CN 102685482A
Authority
CN
China
Prior art keywords
coding
unit
decoding
video frame
parameter
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
Application number
CN2011104112252A
Other languages
Chinese (zh)
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.)
SUZHOU GALAXY ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SUZHOU GALAXY ELECTRONIC TECHNOLOGY 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 SUZHOU GALAXY ELECTRONIC TECHNOLOGY Co Ltd filed Critical SUZHOU GALAXY ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN2011104112252A priority Critical patent/CN102685482A/en
Publication of CN102685482A publication Critical patent/CN102685482A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a hybrid coding and decoding method and a hybrid coding and decoding device. The device comprises a precoding unit, a cache unit, a decoding unit, a comparison unit and a recoding unit. The method comprises the following steps of: performing coding according to an initial parameter, caching video data, decoding a coded video stream, comparing a decoding result with an original image of a corresponding frame in a cache to obtain a regulated coding parameter, and performing recoding according to the regulated coding parameter to obtain a final compressed video data stream. A coding parameter is finely regulated in real time without change in a coding algorithm, and the coding quality of each frame of image is improved to further improve overall coding quality by refinement and self-detection regulation.

Description

Hybrid decoding method and device
Technical field
The present invention relates to a kind of video coding and decoding technology, refer in particular to a kind of hybrid decoding method and device that can the oneself detects adjustment.
Background technology
Present video coding-decoding method, no matter use what coding standard, general flow is all as shown in Figure 2, confirms the coded data after the back obtains compression to the original video data coding at encryption algorithm, is that concrete encryption algorithm is slightly different.These conventional coding methods have a common shortcoming, be exactly after coding rule and parameter were confirmed, cataloged procedure was just according to this pre-determined rule treatments, no matter how the coding effect all no longer changes.But the content of video is ever-changing, and each video data all has the type of suitable coding and the type of improper coding, and any coding method parameter all can not ideally be handled all types of video flowings.A lot of for this reason coding methods have also adopted some technology to come this problem of customer service; Like (reduction compression ratios when video content is complicated and changeable such as the variable coding methods of encoding rate; When video flowing is relatively more steady, strengthen compression ratio); But all these algorithms all are to have confirmed a principle to cataloged procedure; Can not be careful to the coding quality of each frame, cause a lot of videos because the not careful decline that causes video quality of coding, the part video display video disc that makes us often see has mosaic phenomenon or other blooming when playing.
Open day be that the patent that July 29, publication number in 2009 are CN101494789A discloses a kind of decoding method; Based on the MPEG-4 standard, in the coefficient prediction algorithm, in internal memory, preserve the coefficient of the image first row macro block; Dope the second row macro block; Be when the coefficient of the second row macro block with the Data Update in the said internal memory then, further dope the third line macro block, up to decoding entire image.This invention reduces the shared internal memory of video decode through coefficient prediction, variable length encoding and decoding, image being filled the improvement of scheduling algorithm, the new coding but it can't check code lays equal stress on both quality and quantity, thus cause the partial video coding quality poor.
Summary of the invention
Can not adjust the dissatisfactory problem of video quality that causes in order to solve the not careful and coding parameter of existing video coding; The present invention proposes a kind of hybrid decoding method and device; Adopt every frame all to check the method for coding quality, adjustment coding parameter; Detect adjustment through refinement with the oneself, improved the coding quality of every two field picture subtly, and then improved overall coding quality.
The technical scheme that the present invention adopted is: a kind of hybrid decoding method comprises the steps:
A. according to the initial code parameter data of original video are done precoding and obtain pre-encoded frame, will be done buffer memory by the original video frame of precoding simultaneously;
B. pre-encoded frame is done decoding to obtain the preprocessed video frame;
C. original video frame and preprocessed video frame are done analyses and comparison, pass judgment on the reasonability of coding quality and algorithm parameter, obtain to improve coding parameter;
D. the improvement coding parameter recompile that obtains according to step c obtains the data of final video.
The present invention checks coding quality to each frame of video in using, and adjusts coding parameter in real time subtly, and refinement detects adjustment with the oneself, has improved the coding quality of every two field picture subtly, and then has improved overall coding quality.Though the present invention has increased many amounts of calculation when coding; But in today of microelectric technique development; These additional hardware expenses are inappreciable, although can increase some scramble times, for as making the DVD laser disc, doing once coding; The application scenario of massive duplication then, these extra costs just have been not problems more.
As preferably, the coded system that is adopted in described step a and the steps d is MJEP or MPEG-I/II or H.264.The present invention can adopt existing code decode algorithm, and code decode algorithm itself is not made change.
A kind of described hybrid coding and decoding device of claim 1 that is used for; Comprise precoding unit, buffer unit, decoding unit, comparing unit and coding unit again; Described precoding unit is used for that the data of original video are carried out pre-encode operation and obtains pre-encoded frame; Described buffer unit links to each other with coding unit again with precoding unit, comparing unit respectively; Buffer unit is used to preserve by the original video frame of precoding and offers comparing unit and coding unit again; Described decoding unit is used for pre-encoded frame is done decoding to obtain the preprocessed video frame and to pass to analytic unit; Thereby described analytic unit is used for the analyses and comparison of original video frame and preprocessed video frame to be obtained to improve coding parameter and pass to coding unit again, and described coding unit again is used on the basis of improving coding parameter the data of original video frame recompile with the acquisition final video.
As preferably; Described analytic unit comprises comparator and adjuster; Described comparator is used for the analyses and comparison of original video frame and preprocessed video frame, and described adjuster obtains to improve coding parameter and will improve coding parameter according to the comparison result calculating of comparator and offers coding unit again.
The invention has the beneficial effects as follows: every frame is all checked coding quality, adjusts coding parameter subtly in real time and does not change encryption algorithm, detects adjustment through refinement with the oneself, has improved the coding quality of every two field picture subtly, and then has improved overall coding quality.
Description of drawings
Fig. 1 is a kind of flow chart of the present invention;
Fig. 2 is the flow chart of prior art;
Fig. 3 is a kind of structured flowchart of apparatus of the present invention.
Among the figure, the 1-precoding unit, the 2-buffer unit, the 3-decoding unit, the 4-comparator, the 5-adjuster, 6-is coding unit again.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is done further detailed description.
The device that the present invention adopted is as shown in Figure 3, comprises precoding unit 1, buffer unit 2, decoding unit 3, comparing unit and coding unit 6 again, and analytic unit comprises comparator 4 and adjuster 5.
Operating procedure of the present invention is as shown in Figure 1: precoding unit 1 is carried out pre-encode operation according to initial parameter and is obtained pre-encoded frame, will be cached in buffer unit 2 by the original video frame of precoding simultaneously; 3 pairs of pre-encoded frame of decoding unit are done decoding to obtain the preprocessed video frame; After 4 pairs of original video frame of comparator in the analytic unit and preprocessed video frame are analysed and compared data are passed to adjuster 5, adjuster 5 and then calculating obtain to improve coding parameter and will improve coding parameter to send coding unit 6 to again; Coding unit 6 is improving on the basis of coding parameter the original video frame recompile that is cached in buffer unit 2 to obtain the data of final video again.
Precoding unit 1 and again the coded system that adopted of coding unit 6 be MJEP or MPEG-I/II or H.264.
As make the coding work of DVD laser disc, manufacture network TV programme and so on, can adopt technical scheme of the present invention.Though this programme has increased many amounts of calculation, it belongs to disposable coding, and the amount of calculation that is increased can't cause big influence.For Embedded encoded product, because the development of microelectric technique now, the current microelectric technique of the hardware using that the present invention increases realizes also not difficult.
Above embodiment is merely explanation technological thought of the present invention, can not limit protection scope of the present invention with this, every technological thought that proposes according to the present invention, and any change of on the technical scheme basis, being done all falls within protection scope of the present invention.

Claims (4)

1. a hybrid decoding method is characterized in that: comprise the steps:
According to the initial code parameter data of original video are done precoding and obtain pre-encoded frame, will be done buffer memory by the original video frame of precoding simultaneously;
Pre-encoded frame is done decoding to obtain the preprocessed video frame;
Original video frame and preprocessed video frame are done analyses and comparison, pass judgment on the reasonability of coding quality and algorithm parameter, obtain to improve coding parameter;
According to the improvement coding parameter recompile that step c obtains, obtain the data of final video.
2. hybrid decoding method according to claim 1 is characterized in that: the coded system that is adopted in described step a and the steps d is MJEP or MPEG-I/II or H.264.
3. one kind is used for the described hybrid coding and decoding device of claim 1; It is characterized in that: comprise precoding unit, buffer unit, decoding unit, comparing unit and coding unit again; Described precoding unit is used for that the data of original video are carried out pre-encode operation and obtains pre-encoded frame; Described buffer unit links to each other with coding unit again with precoding unit, comparing unit respectively; Buffer unit is used to preserve by the original video frame of precoding and offers comparing unit and coding unit again; Described decoding unit is used for pre-encoded frame is done decoding to obtain the preprocessed video frame and to pass to analytic unit; Thereby described analytic unit is used for the analyses and comparison of original video frame and preprocessed video frame to be obtained to improve coding parameter and pass to coding unit again, and described coding unit again is used on the basis of improving coding parameter the data of original video frame recompile with the acquisition final video.
4. hybrid coding and decoding device according to claim 3; It is characterized in that: described analytic unit comprises comparator and adjuster; Described comparator is used for the analyses and comparison of original video frame and preprocessed video frame, and described adjuster obtains to improve coding parameter and will improve coding parameter according to the comparison result calculating of comparator and offers coding unit again.
CN2011104112252A 2011-12-12 2011-12-12 Hybrid coding and decoding method and device Pending CN102685482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104112252A CN102685482A (en) 2011-12-12 2011-12-12 Hybrid coding and decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104112252A CN102685482A (en) 2011-12-12 2011-12-12 Hybrid coding and decoding method and device

Publications (1)

Publication Number Publication Date
CN102685482A true CN102685482A (en) 2012-09-19

Family

ID=46816773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104112252A Pending CN102685482A (en) 2011-12-12 2011-12-12 Hybrid coding and decoding method and device

Country Status (1)

Country Link
CN (1) CN102685482A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017045127A1 (en) * 2015-09-15 2017-03-23 华为技术有限公司 Method and system for adjusting media adaptive parameter, and related device
CN111787319A (en) * 2020-07-22 2020-10-16 腾讯科技(深圳)有限公司 Video information processing method, multimedia information processing method and device
CN114430501A (en) * 2021-12-28 2022-05-03 上海网达软件股份有限公司 Content adaptive encoding method and system for file transcoding

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992893A (en) * 2005-12-30 2007-07-04 财团法人资讯工业策进会 Decoder, method for adjusting decoding calculating quantity and computer readable media
CN101340575A (en) * 2007-07-03 2009-01-07 英华达(上海)电子有限公司 Method and terminal for dynamically regulating video code
CN101485209A (en) * 2006-07-10 2009-07-15 汤姆逊许可证公司 Methods and apparatus for enhanced performance in a multi-pass video encoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992893A (en) * 2005-12-30 2007-07-04 财团法人资讯工业策进会 Decoder, method for adjusting decoding calculating quantity and computer readable media
CN101485209A (en) * 2006-07-10 2009-07-15 汤姆逊许可证公司 Methods and apparatus for enhanced performance in a multi-pass video encoder
CN101340575A (en) * 2007-07-03 2009-01-07 英华达(上海)电子有限公司 Method and terminal for dynamically regulating video code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017045127A1 (en) * 2015-09-15 2017-03-23 华为技术有限公司 Method and system for adjusting media adaptive parameter, and related device
CN111787319A (en) * 2020-07-22 2020-10-16 腾讯科技(深圳)有限公司 Video information processing method, multimedia information processing method and device
CN114430501A (en) * 2021-12-28 2022-05-03 上海网达软件股份有限公司 Content adaptive encoding method and system for file transcoding

Similar Documents

Publication Publication Date Title
CN104096362B (en) The Rate Control bit distribution of video flowing is improved based on player's region-of-interest
CN103975601B (en) The rate distortion complexity optimization of Video coding
Quinlan et al. Datasets for AVC (H. 264) and HEVC (H. 265) evaluation of dynamic adaptive streaming over HTTP (DASH)
US20080034396A1 (en) System and method for video distribution and billing
US9292897B2 (en) Watermarking of images
Zhou et al. Scalable compression of stream cipher encrypted images through context-adaptive sampling
CN113170086B (en) Video block combinatorial optimization
CN102137258A (en) Method for controlling three-dimensional video code rates
CN105338422B (en) The smoothing method of the network transmission rate of vedio data
CN102075784B (en) Video quality assessment method under condition of comprehensively considering compression and packet loss impairment
CN108965887A (en) A kind of video information hiding method and device based on uncoupling between block
CA3057894C (en) Video compression using down-sampling patterns in two phases
CN106101714A (en) One and the tightly coupled H.264 video information hiding method of compression encoding process
Ban et al. An optimal spatial-temporal smoothness approach for tile-based 360-degree video streaming
CN102685482A (en) Hybrid coding and decoding method and device
EP3451672A1 (en) Method and device for video content encoding optimisation in adaptive streaming systems
CN102625104A (en) Video coding method
Zeng et al. TVSR‐OR: Tile‐based 360‐degree video streaming over real time streaming protocol with optimized read
Kim et al. HLS-based 360 VR using spatial segmented adaptive streaming
CN113630576A (en) Adaptive video streaming system and method
US10448009B1 (en) Determining sample adaptive offset filter parameters
CN103747261A (en) Layered perceptual encryption method of H.264 compressed domain based on motion reference structure
Karim et al. The evaluation video quality in social clouds
Cicalo et al. Fairness-oriented multi-stream rate adaptation using scalable video coding
TWI735297B (en) Coding of video and audio with initialization fragments

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: 20120919