CN102761745A - Decoding method and decoding equipment - Google Patents

Decoding method and decoding equipment Download PDF

Info

Publication number
CN102761745A
CN102761745A CN2012102424822A CN201210242482A CN102761745A CN 102761745 A CN102761745 A CN 102761745A CN 2012102424822 A CN2012102424822 A CN 2012102424822A CN 201210242482 A CN201210242482 A CN 201210242482A CN 102761745 A CN102761745 A CN 102761745A
Authority
CN
China
Prior art keywords
metadata information
decoding
decoder
data
video flowing
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.)
Granted
Application number
CN2012102424822A
Other languages
Chinese (zh)
Other versions
CN102761745B (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.)
National Computer Network and Information Security Management Center
Dawning Information Industry Beijing Co Ltd
Original Assignee
National Computer Network and Information Security Management Center
Dawning Information Industry Beijing 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 National Computer Network and Information Security Management Center, Dawning Information Industry Beijing Co Ltd filed Critical National Computer Network and Information Security Management Center
Priority to CN201210242482.2A priority Critical patent/CN102761745B/en
Publication of CN102761745A publication Critical patent/CN102761745A/en
Application granted granted Critical
Publication of CN102761745B publication Critical patent/CN102761745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a decoding method and decoding equipment. The decoding method comprises storing metadata information of a video stream, transmitting the metadata information and data slots in the video stream to a decoder, and decoding the data slots according to the metadata information through the decoder. By adopting the technical scheme, decoding requirements of a plurality of data slots can be satisfied in the supervision of audio and video contents.

Description

Coding/decoding method and decoding device
Technical field
The present invention relates to the processing technology field of audio-video document, more specifically, relate to coding/decoding method and decoding device.
Background technology
Along with rapid development of Internet; Based on network audio frequency and video delivery flow rate is also increasing; Network video stream has been deep into daily life, has brought a lot of convenience and variation for our life, and image information huge, different content storehouse constantly occurs; As if also brought many puzzlements to us, online a large amount of bad images are to a lot of murders by poisoning of having of numerous young people.In order to purify network, safeguard that social harmony is stable, press for the audio-video frequency content on the network is supervised.
The internet video supervision needs simultaneously audio and video streams to be carried out content analysis process, needs accelerator card can handle the mass data fragment, and these fragments belong to some video flowings, but has only first video flowing fragment to have the needed metadata information of decoding.
Yet prior art can't be decoded for further fragments, can only handle first fragment, because the broadcast information of a lot of video files only just has on file header, follow-up fragment just lacks metadata information.
To the problem in the correlation technique, effective solution is not proposed as yet at present.
Summary of the invention
To the problem in the correlation technique, the present invention proposes a kind of coding/decoding method and a kind of decoding device, can decode to arbitrary pieces of data, and can be in a plurality of decoders a plurality of data slots of the same data flow of parallel processing.。
According to a first aspect of the invention, a kind of coding/decoding method is provided, has may further comprise the steps: the metadata information of preserving video flowing; Send the data slot in metadata information and the video flowing to decoder; And decoder is decoded to the data fragment according to metadata information.
In addition, before the metadata information of preserving video flowing, from first fragment of video flowing, obtain metadata information.
Preferably, decoder is decoded to the data fragment according to metadata information and comprised: decoder analytical element data message to be obtaining the data fragment required parameter information of decoding, thereby based on parameter information the data fragment decoded.
Preferably, sending the data slot in metadata information and the video flowing to decoder comprises: metadata information is sent to each in a plurality of decoders and sends a plurality of data slots in the video flowing to a plurality of decoders respectively.
Preferably, each in a plurality of decoders all the analytical element data message obtaining to a data pieces section that the receives required parameter information of decoding, thereby based on parameter information this data slot is decoded.
According to a second aspect of the invention, a kind of decoding device is provided, has comprised: save set is used to preserve the metadata information of video flowing; Conveyer sends the data slot in metadata information and the video flowing to decoder; And decoder, according to said metadata information the data fragment is decoded.
In addition, this decoding device also comprises resolver, is used for obtaining metadata information from first fragment of video flowing, and metadata information is sent to save set.
Preferably, decoder analytical element data message to be obtaining the data fragment required parameter information of decoding, thereby based on parameter information the data fragment decoded.
Preferably, conveyer sends metadata information each in a plurality of decoders to and sends a plurality of data slots in the video flowing to a plurality of decoders respectively.
Preferably, each in a plurality of decoders all the analytical element data message obtaining to a data pieces section that the receives required parameter information of decoding, thereby based on parameter information this data slot is decoded.
The present invention just can decode to a plurality of data slots of same video flowing, even can decode simultaneously to said fragment through preserving metadata information seldom.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use among the embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart according to the coding/decoding method of the embodiment of the invention; And
Fig. 2 is the block diagram according to the decoding device of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtained belongs to the scope that the present invention protects.
Below, describe the present invention in detail with reference to accompanying drawing.
Fig. 1 is the flow chart according to the coding/decoding method of the embodiment of the invention.
With reference to Fig. 1, may further comprise the steps according to the coding/decoding method of the embodiment of the invention: S102, preserve the metadata information of video flowing; S104 sends the data slot in metadata information and the video flowing to decoder; And S106, decoder is decoded to the data fragment according to metadata information.
In addition, before S102, from first fragment of video flowing, obtain metadata information (being generally less than 64 bytes) like sps (sequence parameter set), the pps information such as (picture parameter sets) of H264.Therefore metadata information only is included in the file header of video flowing, when handling first fragment, obtains this metadata information and it is preserved, thereby can in the decoding processing of follow-up data fragment, use this metadata information.
For each data slot to be decoded, when sending to decoder, transmit this metadata information.Thereby decoder is after obtaining needing the task fragment of decoding, and at first the analytical element data message to be obtaining this data slot required parameter information of decoding, thereby based on parameter information the data fragment decoded.So, can decode to the arbitrary pieces of data of data flow.
In addition, in coding/decoding method of the present invention, can also metadata information be sent to each in a plurality of decoders and send a plurality of data slots in the video flowing to a plurality of decoders respectively.Then, each in a plurality of decoders all the analytical element data message obtaining to a data pieces section that the receives required parameter information of decoding, thereby based on parameter information this data slot is decoded.So, can be to a plurality of fragments parallel processing simultaneously in a plurality of decoder processes of same stream.
Notice that coding/decoding method of the present invention can be realized the decoding of multi-disc section to code/decode format commonly used such as H264, vp6, mpeg, wmv etc.
It should be noted that to obtain metadata information and fragment decoded to belong to the scope of state of the art, be not described in detail in order to be reduced at this paper.
Can find out that from top description coding/decoding method of the present invention just can be decoded to the fragment of the same video flowing under the multi-disc section mission mode through preserving metadata information seldom simultaneously.
Fig. 2 is the block diagram according to the decoding device of the embodiment of the invention.
With reference to Fig. 2, decoding device 20 according to the present invention comprises: save set 202 is used to preserve the metadata information of video flowing; Conveyer 204 sends the data slot in metadata information and the video flowing to decoder 206; And decoder 206, according to metadata information the data fragment is decoded.
In addition, decoding device 20 also comprises resolver 208, is used for obtaining metadata information from first fragment of video flowing, and metadata information is sent to save set 202.
Decoder 206 analytical element data messages to be obtaining the data fragment required parameter information of decoding, thereby based on parameter information the data fragment are decoded.
In addition; The quantity of the decoder 206 in the decoding device 20 of the present invention is not limited to one; But can be for a plurality of, conveyer 204 sends metadata information each in a plurality of decoders to and sends a plurality of data slots in the video flowing to a plurality of decoders respectively.
Like this, each in a plurality of decoders all the analytical element data message obtaining to a data pieces section that the receives required parameter information of decoding, thereby based on parameter information this data slot is decoded.
In sum,,, can carry out decoding processing to any fragment of data flow through preserving metadata information by means of technique scheme of the present invention, and can be in a plurality of decoder processes a plurality of data slots of parallel processing simultaneously.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a coding/decoding method is characterized in that, said method comprising the steps of:
Preserve the metadata information of video flowing;
Send the data slot in said metadata information and the said video flowing to decoder; And
Said decoder is decoded to said data slot according to said metadata information.
2. coding/decoding method according to claim 1 is characterized in that, before the said metadata information of preserving said video flowing, from first fragment of said video flowing, obtains said metadata information.
3. coding/decoding method according to claim 1; It is characterized in that; Said decoder is decoded to said data slot according to said metadata information and comprised: said decoder is resolved said metadata information obtaining the said data slot required parameter information of decoding, thereby based on said parameter information said data slot is decoded.
4. coding/decoding method according to claim 1; It is characterized in that, send the data slot in said metadata information and the said video flowing to decoder and comprise: said metadata information is sent to each in a plurality of decoders and sends a plurality of data slots in the said video flowing to said a plurality of decoder respectively.
5. coding/decoding method according to claim 4; It is characterized in that; In said a plurality of decoder each is all resolved said metadata information obtaining a data pieces section that the receives required parameter information of decoding, thereby based on said parameter information this data slot is decoded.
6. a decoding device is characterized in that, said equipment comprises:
Save set is used to preserve the metadata information of video flowing;
Conveyer sends the data slot in said metadata information and the said video flowing to decoder; And
Said decoder is decoded to said data slot according to said metadata information.
7. decoding device according to claim 6 is characterized in that said decoding device also comprises resolver, is used for obtaining said metadata information from first fragment of said video flowing, and said metadata information is sent to said save set.
8. decoding device according to claim 6 is characterized in that, said decoder is resolved said metadata information obtaining the said data slot required parameter information of decoding, thereby based on said parameter information said data slot is decoded.
9. decoding device according to claim 6 is characterized in that, said conveyer sends said metadata information each in a plurality of decoders to and sends a plurality of data slots in the said video flowing to said a plurality of decoder respectively.
10. decoding device according to claim 9; It is characterized in that; In said a plurality of decoder each is all resolved said metadata information obtaining a data pieces section that the receives required parameter information of decoding, thereby based on said parameter information this data slot is decoded.
CN201210242482.2A 2012-07-12 2012-07-12 Decoding method and decoding equipment Active CN102761745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210242482.2A CN102761745B (en) 2012-07-12 2012-07-12 Decoding method and decoding equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210242482.2A CN102761745B (en) 2012-07-12 2012-07-12 Decoding method and decoding equipment

Publications (2)

Publication Number Publication Date
CN102761745A true CN102761745A (en) 2012-10-31
CN102761745B CN102761745B (en) 2015-07-22

Family

ID=47056048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210242482.2A Active CN102761745B (en) 2012-07-12 2012-07-12 Decoding method and decoding equipment

Country Status (1)

Country Link
CN (1) CN102761745B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905783A (en) * 2012-12-25 2014-07-02 杭州海康威视数字技术股份有限公司 Method and device for performing decoding and displaying on video stream
WO2018006833A1 (en) * 2016-07-08 2018-01-11 华为技术有限公司 Method and device for decoding variable-length coding file
CN107690803A (en) * 2015-06-08 2018-02-13 高通股份有限公司 The adaptive constant illumination method decoded for HDR and wide color gamut video
US10666957B2 (en) 2015-06-08 2020-05-26 Qualcomm Incorporated Processing high dynamic range and wide color gamut video data for video coding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101107863A (en) * 2005-01-19 2008-01-16 汤姆森特许公司 Method and apparatus for real time parallel encoding
US20080075172A1 (en) * 2006-09-25 2008-03-27 Kabushiki Kaisha Toshiba Motion picture encoding apparatus and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101107863A (en) * 2005-01-19 2008-01-16 汤姆森特许公司 Method and apparatus for real time parallel encoding
US20080075172A1 (en) * 2006-09-25 2008-03-27 Kabushiki Kaisha Toshiba Motion picture encoding apparatus and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
开源代码: "《H.264参考软件-JM12.2》", 6 January 2011 *
毕厚杰: "《新一代视频压缩编码标准-H.264/AVC》", 1 August 2006 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905783A (en) * 2012-12-25 2014-07-02 杭州海康威视数字技术股份有限公司 Method and device for performing decoding and displaying on video stream
CN103905783B (en) * 2012-12-25 2017-09-01 杭州海康威视数字技术股份有限公司 The method and apparatus of decoding display is carried out to video flowing
CN107690803A (en) * 2015-06-08 2018-02-13 高通股份有限公司 The adaptive constant illumination method decoded for HDR and wide color gamut video
US10284863B2 (en) 2015-06-08 2019-05-07 Qualcomm Incorporated Adaptive constant-luminance approach for high dynamic range and wide color gamut video coding
CN107690803B (en) * 2015-06-08 2019-08-23 高通股份有限公司 The adaptive constant illumination method decoded for high dynamic range and wide color gamut video
US10666957B2 (en) 2015-06-08 2020-05-26 Qualcomm Incorporated Processing high dynamic range and wide color gamut video data for video coding
WO2018006833A1 (en) * 2016-07-08 2018-01-11 华为技术有限公司 Method and device for decoding variable-length coding file
US11284119B2 (en) 2016-07-08 2022-03-22 Huawei Technologies Co., Ltd. Method and apparatus for decoding variable-length coded file

Also Published As

Publication number Publication date
CN102761745B (en) 2015-07-22

Similar Documents

Publication Publication Date Title
US10542065B2 (en) Method and apparatus for transmitting/receiving media contents in multimedia system
JP7381661B2 (en) How to send
CN104303507B (en) For the method and apparatus of the transceiving data of multi-media transmission system
US11463495B2 (en) Custom content insertion
RU2018116842A (en) METHOD AND DEVICE FOR ENCAPULATION OF MEDIA TRANSPORT ASSETS OF THE EXPERT GROUP STANDARD ON MOVING IMAGES IN THE INTERNATIONAL STANDARDIZATION OF BASIC MEDIA FILES
GB2514027A (en) Dynamically-executed syndication services
CN102761745B (en) Decoding method and decoding equipment
CN109076025B (en) Method and apparatus for managing data removal
CN102801979A (en) Multi-channel video hybrid coding method and device
CN101894150A (en) Internet web page audio/video acquisition method and system for mobile communication equipment terminal
WO2019128668A1 (en) Method and apparatus for processing video bitstream, network device, and readable storage medium
CN103096054A (en) Video image filtering processing method and device thereof
CN102487453A (en) Method for dynamically inserting program in segmental program and system thereof
Thanh Le et al. Efficient transcoding and encryption for live 360 CCTV system
CN104093089A (en) Cinema program live telecasting system and method
KR20160005663A (en) MMT apparatus and method for low delay service
CN105847897A (en) Method and device of providing and processing video downloading
US10116576B2 (en) Methods and apparatus for random access of HEVC bitstream for MMT
CN112073727B (en) Transcoding method and device, electronic equipment and storage medium
Wu et al. A Novel Video Transmission Latency Measurement Method for Intelligent Cloud Computing
US10313708B1 (en) Distributed upload of television content
US20180098100A1 (en) Streaming video system
CN204190888U (en) A kind of system of movie theatre programme televised live
Fan et al. Implementation of a drone-based video streamer
EP2464114A1 (en) Procedure and device for the transport of markers

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