CN105959731B - A kind of statistical-multiplexing encoding method of DTV - Google Patents
A kind of statistical-multiplexing encoding method of DTV Download PDFInfo
- Publication number
- CN105959731B CN105959731B CN201610279797.2A CN201610279797A CN105959731B CN 105959731 B CN105959731 B CN 105959731B CN 201610279797 A CN201610279797 A CN 201610279797A CN 105959731 B CN105959731 B CN 105959731B
- Authority
- CN
- China
- Prior art keywords
- code stream
- bandwidth
- road
- video
- quality level
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/2365—Multiplexing of several video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
- H04N21/4385—Multiplex stream processing, e.g. multiplex stream decrypting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4621—Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
Abstract
The invention discloses a kind of statistical-multiplexing encoding methods of DTV, comprising the following steps: 1) is encoded into the code stream of a variety of encoding quality levels with identical gop structure to multichannel precoding transmission video Zhong Ge road precoding transmission video;2) code stream of a variety of encoding quality levels come out to step 1) coding caches;3) code stream that suitable encoding quality level is selected in the corresponding each code stream of video is being sent per precoding all the way according to total transmission video bandwidth;4) code stream that each road precoding of step 3) selection sends the corresponding suitable encoding quality level of video is sent;5) step 1), 2), 3) and 4) is repeated, until all videos are sent completely, completes the statistical-multiplexing encoding of DTV.The present invention can be realized the statistical-multiplexing encoding of DTV, and operate relatively simple.
Description
Technical field
The invention belongs to video statistics coding fields, are related to a kind of statistical-multiplexing encoding method of DTV.
Background technique
In DTV statistical-multiplexing encoding, the video of the major part road method Dou Shiduimei coding is encoded into one kind at present
Code stream is analyzed by calculating, controls the code rate of every road encoding code stream.But algorithm realization is sufficiently complex.
Summary of the invention
It is an object of the invention to overcome the above-mentioned prior art, the statistic multiplexing for providing a kind of DTV is compiled
Code method, this method can be realized the statistical-multiplexing encoding of DTV, and operate relatively simple.
In order to achieve the above objectives, DTV of the present invention statistical-multiplexing encoding method the following steps are included:
1) multichannel precoding transmission video Zhong Ge road precoding transmission video is encoded into identical gop structure a variety of
The code stream of encoding quality level;
2) code stream of a variety of encoding quality levels come out to step 1) coding caches;
3) the suitable volume of selection in the corresponding each code stream of video is being sent per precoding all the way according to total transmission video bandwidth
The code stream of code credit rating;
4) code stream that each road precoding of step 3) selection sends the corresponding suitable encoding quality level of video is sent out
It goes;
5) step 1), 2), 3) and 4) is repeated, until all videos are sent completely until, the statistics for completing DTV is answered
With coding.
The concrete operations of step 3) are as follows:
When selecting the code stream of suitable encoding quality level for the first time, it is no more than total hair in the bandwidth summation of each road code stream
It send and selects code stream of the highest code stream of encoding quality level as this suitable encoding quality level under conditions of bandwidth;
When not being to select the code stream of suitable encoding quality level for the first time, and total transmission video bandwidth is less than last choosing
When the road Ze Ge encoding quality level corresponds to the sum of bandwidth of this code stream, if then turning down the higher main line code stream of video complexity
Encoding quality level, the sum of total bandwidth of each road code stream is less than or equal to total transmission Video Broadband after the completion of making to turn down;When total
Transmission video bandwidth subtract the encoding quality level of last time selection and correspond to the result of the sum of bandwidth of this code stream and be less than or equal to
When preset value, the road Ze Ge code stream continues to use the encoding quality level of last selection;When this total transmission video bandwidth subtracts
When the result that each road encoding quality level once selected corresponds to the sum of bandwidth of this code stream is greater than preset value, then video is turned up
If the encoding quality level of the higher main line code stream of complexity, until this total transmission video bandwidth, which subtracts, is turned up the road Hou Ge code
The result of the sum of the bandwidth of stream is less than or equal to preset value.
The total bandwidth of the code stream of each road encoding quality level chosen in step 3) is less than or equal to total transmission video
Bandwidth.
The bit stream buffer of a variety of different coding credit ratings in step 2) by step 1) coding out is a GOP long
Degree.
Multichannel precoding is sent into video Zhong Ge road precoding and sends video with identical gop structure according to default code rate
It is encoded into the code stream of multiple encoding quality levels.
Each road precoding transmission video is identical with the quantity for the code stream that identical gop structure is encoded into.
The invention has the following advantages:
The statistical-multiplexing encoding method of DTV of the present invention is direct first with hardware device when specific operation
Each road precoding transmission video is encoded into the code stream of multiple encoding quality levels with identical gop structure, then further according to system
Meter analysis directly selects the code stream of suitable encoding quality level from sending video per precoding all the way and correspond in each code stream, operate compared with
Be it is simple, avoid controlling the code rate of every road encoding code stream using complicated algorithm, it is easy to accomplish, cost is relatively low.
Detailed description of the invention
Fig. 1 is flow chart of the invention.
Specific embodiment
The invention will be described in further detail with reference to the accompanying drawing:
With reference to Fig. 1, the statistical-multiplexing encoding method of DTV of the present invention the following steps are included:
1) multichannel precoding transmission video Zhong Ge road precoding transmission video is encoded into identical gop structure a variety of
The code stream of encoding quality level;
2) code stream of a variety of encoding quality levels come out to step 1) coding caches;
3) the suitable volume of selection in the corresponding each code stream of video is being sent per precoding all the way according to total transmission video bandwidth
The code stream of code credit rating;
4) code stream that each road precoding of step 3) selection sends the corresponding suitable encoding quality level of video is sent out
It goes;
5) step 1), 2), 3) and 4) is repeated, until all videos are sent completely until, the statistics for completing DTV is answered
With coding.
It should be noted that the total bandwidth of the code stream of each road encoding quality level chosen in step 3) is less than or equal to
Total transmission video bandwidth;The bit stream buffer of a variety of different coding credit ratings in step 2) by step 1) coding out is one
A GOP length;Multichannel precoding is sent into video Zhong Ge road precoding and sends video with identical gop structure according to code presupposition
Rate is encoded into the code stream of multiple encoding quality levels;The code stream that each road precoding transmission video is encoded into identical gop structure
Quantity is identical.
The concrete operations of step 3) are as follows: when selecting the code stream of suitable encoding quality level for the first time, in each road code stream
Bandwidth summation selects the highest code stream of encoding quality level as this suitable coding under conditions of being no more than total transmission bandwidth
The code stream of credit rating;When not being to select the code stream of suitable encoding quality level for the first time, and total transmission video bandwidth is less than
When each road encoding quality level of last time selection corresponds to the sum of bandwidth of this code stream, if it is higher then to turn down video complexity
The encoding quality level of main line code stream keeps the sum of total bandwidth of each road code stream after the completion of turning down wide less than or equal to total transmission video
Band;When the result that the encoding quality level that total transmission video bandwidth subtracts last time selection corresponds to the sum of bandwidth of this code stream is small
When being equal to preset value, the road Ze Ge code stream continues to use the encoding quality level of last selection;When this total transmission video bandwidth
When subtracting each road encoding quality level of last selection and correspond to the result of the sum of bandwidth of this code stream greater than preset value, then adjust
If the encoding quality level of the high higher main line code stream of video complexity, until after this total transmission video bandwidth subtracts height-regulating
The result of the sum of the bandwidth of each road code stream is less than or equal to preset value, to enable video smooth playing.
Claims (5)
1. a kind of statistical-multiplexing encoding method of DTV, which comprises the following steps:
1) video Zhong Ge road precoding transmission video is sent to multichannel precoding and a variety of codings is encoded into identical gop structure
The code stream of credit rating;
2) code stream of a variety of encoding quality levels come out to step 1) coding caches;
3) the suitable coding matter of selection in the corresponding each code stream of video is being sent per precoding all the way according to total transmission video bandwidth
Measure the code stream of grade;
4) code stream that each road precoding of step 3) selection sends the corresponding suitable encoding quality level of video is sent;
5) step 1), 2), 3) and 4) is repeated, until all videos are sent completely until, completes the statistic multiplexing volume of DTV
Code;
The concrete operations of step 3) are as follows:
When selecting the code stream of suitable encoding quality level for the first time, it is no more than total transmission band in the bandwidth summation of each road code stream
Code stream of the highest code stream of encoding quality level as this suitable encoding quality level is selected under conditions of width;
The code stream of suitable encoding quality level is selected for the first time when not being, and when total transmission video bandwidth is less than last selection
Each road encoding quality level when corresponding to the sum of bandwidth of this code stream, if then turning down the higher main line code stream of video complexity
Encoding quality level makes the sum of total bandwidth of each road code stream after the completion of turning down be less than or equal to total transmission Video Broadband;When total
The result that the encoding quality level that transmission video bandwidth subtracts last time selection corresponds to the sum of bandwidth of this code stream is less than or equal to pre-
If when value, the road Ze Ge code stream continues to use the encoding quality level of last selection;When this total transmission video bandwidth subtracts upper one
When the result that each road encoding quality level of secondary selection corresponds to the sum of bandwidth of this code stream is greater than preset value, then it is multiple that video is turned up
If the encoding quality level of the miscellaneous higher main line code stream of degree, until this total transmission video bandwidth, which subtracts, is turned up the road Hou Ge code stream
The result of the sum of bandwidth be less than or equal to preset value.
2. the statistical-multiplexing encoding method of DTV according to claim 1, which is characterized in that selected in step 3)
The total bandwidth of the code stream of the road Lai Ge encoding quality level is less than or equal to total transmission video bandwidth.
3. the statistical-multiplexing encoding method of DTV according to claim 1, which is characterized in that by step in step 2)
1) bit stream buffer for a variety of different coding credit ratings that coding comes out is a GOP length.
4. the statistical-multiplexing encoding method of DTV according to claim 1, which is characterized in that send out multichannel precoding
It send video Zhong Ge road precoding to send video and multiple encoding quality levels is encoded into according to default code rate with identical gop structure
Code stream.
5. the statistical-multiplexing encoding method of DTV according to claim 1, which is characterized in that each road precoding is sent
Video is identical with the quantity for the code stream that identical gop structure is encoded into.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610279797.2A CN105959731B (en) | 2016-04-28 | 2016-04-28 | A kind of statistical-multiplexing encoding method of DTV |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610279797.2A CN105959731B (en) | 2016-04-28 | 2016-04-28 | A kind of statistical-multiplexing encoding method of DTV |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959731A CN105959731A (en) | 2016-09-21 |
CN105959731B true CN105959731B (en) | 2019-02-05 |
Family
ID=56916465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610279797.2A Active CN105959731B (en) | 2016-04-28 | 2016-04-28 | A kind of statistical-multiplexing encoding method of DTV |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959731B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151612B (en) | 2017-06-27 | 2020-10-16 | 华为技术有限公司 | Video transmission method, device and system |
CN107835423A (en) * | 2017-09-06 | 2018-03-23 | 国家新闻出版广电总局广播电视规划院 | A kind of statistical-multiplexing encoding performance test and evaluation method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545810A (en) * | 2001-08-20 | 2004-11-10 | �ʼҷ����ֵ��ӹɷ�����˾ | Method of providing multilevel quality signals |
CN101120591A (en) * | 2005-01-12 | 2008-02-06 | 法国电信公司 | Device and method for scalably encoding and decoding an image data stream, a signal, computer program and an adaptation module for a corresponding image quality |
CN104683804A (en) * | 2015-02-14 | 2015-06-03 | 北京航空航天大学 | Parameter-adaptive multidimensional bit rate control method based on video content characteristics |
KR101530832B1 (en) * | 2011-11-07 | 2015-06-22 | 캐논 가부시끼가이샤 | Method and device for optimizing encoding/decoding of compensation offsets for a set of reconstructed samples of an image |
-
2016
- 2016-04-28 CN CN201610279797.2A patent/CN105959731B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545810A (en) * | 2001-08-20 | 2004-11-10 | �ʼҷ����ֵ��ӹɷ�����˾ | Method of providing multilevel quality signals |
CN101120591A (en) * | 2005-01-12 | 2008-02-06 | 法国电信公司 | Device and method for scalably encoding and decoding an image data stream, a signal, computer program and an adaptation module for a corresponding image quality |
KR101530832B1 (en) * | 2011-11-07 | 2015-06-22 | 캐논 가부시끼가이샤 | Method and device for optimizing encoding/decoding of compensation offsets for a set of reconstructed samples of an image |
CN104683804A (en) * | 2015-02-14 | 2015-06-03 | 北京航空航天大学 | Parameter-adaptive multidimensional bit rate control method based on video content characteristics |
Also Published As
Publication number | Publication date |
---|---|
CN105959731A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
De Cock et al. | Complexity-based consistent-quality encoding in the cloud | |
CN105187835B (en) | Adaptive video code-transferring method and device based on content | |
CN106537923B (en) | The technology of adaptive video stream | |
CN103733632B (en) | Dynamic bit rate regulation in bandwidth change connection | |
TWI325697B (en) | Multi-pass video encoding | |
CN102158729B (en) | Method for objectively evaluating encoding quality of video sequence without reference | |
CA2507503A1 (en) | Rate control with picture-based lookahead window | |
CN110225343B (en) | Code rate control method and device for video coding | |
JP4209197B2 (en) | How to determine distortion in video | |
KR102013461B1 (en) | System and method for enhanced remote transcoding using content profiling | |
CN105959731B (en) | A kind of statistical-multiplexing encoding method of DTV | |
WO2012028856A1 (en) | Adaptive streaming of video at different quality levels | |
CN108900838B (en) | Rate distortion optimization method based on HDR-VDP-2 distortion criterion | |
CN108574841A (en) | A kind of coding method and device based on adaptive quantizing parameter | |
CN103945222B (en) | Code rate control model updating method based on HEVC standards | |
EP2589223A1 (en) | Video streaming | |
CN109997360A (en) | The method and apparatus that video is coded and decoded based on perception measurement classification | |
CN104104951A (en) | Rate control method for screen content coding in HEVC | |
CN109660825A (en) | Video transcoding method, device, computer equipment and storage medium | |
US8824547B2 (en) | Video coding using a constant perceptual quality | |
CN104185024A (en) | HEVC quantization parameter optimizing method based on total code rate and information entropy model | |
CN109660801A (en) | The method for video coding that quantization parameter is limited | |
MX2020012586A (en) | Techniques for evaluating a video rate selection algorithm over a completed streaming session. | |
CN109729353A (en) | A kind of method for video coding, device, system and medium | |
CN104754335B (en) | A kind of code rate controlling method for video coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |