CN102811382B - A kind of method of multimedia signal acquisition and device - Google Patents

A kind of method of multimedia signal acquisition and device Download PDF

Info

Publication number
CN102811382B
CN102811382B CN201210280052.XA CN201210280052A CN102811382B CN 102811382 B CN102811382 B CN 102811382B CN 201210280052 A CN201210280052 A CN 201210280052A CN 102811382 B CN102811382 B CN 102811382B
Authority
CN
China
Prior art keywords
media signal
coding
signal
module
decoded
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.)
Expired - Fee Related
Application number
CN201210280052.XA
Other languages
Chinese (zh)
Other versions
CN102811382A (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.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media 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 Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201210280052.XA priority Critical patent/CN102811382B/en
Publication of CN102811382A publication Critical patent/CN102811382A/en
Application granted granted Critical
Publication of CN102811382B publication Critical patent/CN102811382B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a kind of acquisition method and device of multi-media signal.Described method comprises: obtain pending multi-media signal; Kind according to described multi-media signal is decoded to described multi-media signal; Decoded multi-media signal is pressed predetermined format coding.The invention also discloses the device for realizing described method.

Description

A kind of method of multimedia signal acquisition and device
Technical field
The present invention relates to video capture technology field, particularly relate to a kind of method and device of multimedia signal acquisition.
Background technology
Broadcast television industry generally uses serial digital interface SDI(SerialDigitalInterface), Asynchronous Serial Interface ASI(AsynchronizeSerialInterface) and transport stream TS (TransportStream) as video broadcasting signal.Now hardware coder commercially is substantially also all the input supporting this several video source, and by certain setting, can encode and export the video flowing after H.264 encoding to provide other application (such as: Internet video is play, and carries out net cast by the Internet or 3G net).
Along with the universal of the Internet and telecommunications enterprise register one's residence improving constantly of bandwidth, the audio, video data that spreads through the internet becomes possibility.But because the code check of general sdi signal and TS and ASI information transmission is all very large, and be that radio, TV and film industries are customized at the beginning of the design of these signal transmissions, be not suitable for internet transmission, therefore existing multi-media signal directly some bottlenecks in addition of transmission on the internet, these signals must be carried out recompile, when ensureing video quality, reducing the encoder bit rate of video as far as possible, adapting to internet transmission.Current various encoder is separate mutually different, so also makes the video after encoding can not cross-reference mutually, if think that cross-reference must unify transcoding ability reusable again to the video after coding.
Although multiple input source supported by these encoders, but a road can only be selected as input source simultaneously, if that is have selected SDI just can not select TS mode again, also just this road input source is encoded in follow-up coding simultaneously, after coding, also can only export the way of output that a road is selected.If need to receive different input sources simultaneously, so just need to purchase a few cover capturing and coding equipment according to several roads input source.In order to adapt to different input sources, need the encoding device purchasing different manufacturers, there will be so again the use that can not to cross one another between the audio, video data after coding, because the coding implementation of each producer is different, substantially increase the use cost of user like this, and due to the coded format of each producer different, cause the data after encoding also cannot intersect shared.
Summary of the invention
The embodiment of the present invention provides a kind of acquisition method and device of multi-media signal, for realizing the collection to different-format signal source, is then encoded into the audio, video data of same-code parameter, user is saved hardware cost, remarkable in economical benefits.
The embodiment of the present invention proposes a kind of method that audio, video data gathers, and comprises the following steps: obtain pending multi-media signal; Kind according to described multi-media signal is decoded to described multi-media signal; Decoded multi-media signal is pressed predetermined format coding.Adopt technique scheme, can by the audio, video data collection of a set of collecting device realization to different-format signal source, and the audio, video data after gathering is decoded respectively according to type difference, then unification is packaged into the coding of same format, saves user cost.
In technique scheme, preferably, described decoded multi-media signal is also comprised step by after predetermined format coding step: encapsulated according to predetermined format by the multi-media signal after coding, the multi-media signal after described encapsulation is exported.Adopt technique scheme, exported in a variety of formats by the multi-media signal after encapsulation, the multi-media signal form that user can be facilitated to select oneself to want also uses.
In technique scheme, preferably, the step of the pending multi-media signal of described acquisition comprises further: the kind determining pending multi-media signal; Corresponding signal input interface is selected according to the kind of described multi-media signal; Obtain pending multi-media signal.By judging that signal kinds selects corresponding signal input interface, the signal of number of different types can be received simultaneously, increasing signal transacting scope.
In technique scheme, preferably, the described kind according to described multi-media signal also comprises after described multi-media signal decoding step, detects decoded audio/video frames; Abandon there being the audio/video frames of damage and/or mending frame.By abandoning and/or mend the process of frame, can ensure encoder accepts to audio/video frames be all effectively, improve the quality of multimedia signal encoding.
In technique scheme, preferably, the kind of described input multi-media signal comprises serial digital interface signal, Asynchronous Serial Interface signal and/or transmission stream signal.
In technique scheme, preferably, described the step that decoded multi-media signal is encoded by predetermined format to be specially, be H.264(joint video team (JVT by decoded multi-media signal Unified coding, JointVideoTeam) the high compression digital video coding-coding device standard proposed) said shank or AAC form (AdvancedAudioCoding, " Advanced Audio Coding ") coding.Adopt technique scheme, the data encoding parameter after coding is unified, and after convenient, user is to the cross-reference of audio, video data, saves user cost, increases work efficiency.
In technique scheme, preferably, described the step that encapsulate according to predetermined format of multi-media signal after coding to be specially, the multi-media signal after encoding is encapsulated as TS form or FLV form.Be packaged into above-mentioned form, facilitating user to carry out selection is live or file program request.
In technique scheme, preferably, the described step by the multi-media signal output after described encapsulation is specially, by the multi-media signal after encapsulation with HTTP(hypertexttransportprotocol, HTTP) or UDP stream (UserDatagramProtocol, User Datagram Protoco (UDP)) formatted output.
Present invention also offers a kind of multimedia signal acquisition device for realizing said method, comprising acquisition module, decoder module and coding module, and being connected successively, wherein said acquisition module, for obtaining pending multi-media signal; Described decoder module, decodes to described multi-media signal for the kind according to described multi-media signal; Described coding module, for pressing predetermined format coding by decoded multi-media signal.
In technique scheme, preferably, also comprise output module, be connected with coding module, described output module, for the multi-media signal after coding is encapsulated according to predetermined format, the multi-media signal after described encapsulation is exported.
In technique scheme, preferably, described acquisition module comprises judging unit, selected cell and acquiring unit further, and connects successively, wherein said judging unit, for determining the kind of pending multi-media signal; Described selected cell, for selecting corresponding signal input interface according to the kind of described multi-media signal; Described acquiring unit, for obtaining pending multi-media signal.
In technique scheme, preferably, described decoder module also for, decoded audio/video frames is detected; Abandon there being the audio/video frames of damage and/or mending frame.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of multimedia signal acquisition method in the embodiment of the present invention;
Fig. 2 is the flow chart of the another kind of execution mode of multimedia signal acquisition method in the embodiment of the present invention;
Fig. 3 is the structural representation of multimedia signal acquisition device in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Core concept of the present invention is, for the shortcoming that existing encoder exists, adopt the mode of soft capturing and coding, SDI can be received simultaneously, the input signal source that ASI and TS etc. are different, different signal acquisition module can be enabled flexibly owing to adopting Software Coding, receive different input sources, then unification is decoded into original RAW form audio frequency and video, decoded RAW form audio frequency and video are given the different threads of one and same coding module, encode, audio frequency and video after coding come from the realization of same coding module, so the uniform format of audio frequency and video, can cross-reference when giving other application, there will not be unmatched situation.
As shown in Figure 1, the embodiment of the present invention proposes a kind of method that multi-medium data gathers, and comprises the following steps:
Step 101, obtain pending multi-media signal;
Step 102, according to the kind of described multi-media signal, described multi-media signal to be decoded;
Step 103, decoded multi-media signal pressed predetermined format coding.
As shown in Figure 2, the embodiment of the present invention proposes the method that another kind of multi-medium data more specifically gathers, and further illustrates the present invention with this.
Step 201, according to input multi-media signal kind select corresponding signal input interface, include or gather described multi-media signal;
Multi-media signal source can be the video recording (DV) of video camera, and also can be that the SDI of TV station broadcasts information, can also be cable TV signal and satellite-signal (TS), or analog signal etc.After determining the kind of pending multi-media signal, select corresponding signal input interface according to the kind of multi-media signal and obtain pending multi-media signal.Generally, the corresponding a kind of signal input interface of each multi-media signal, by judging that signal kinds selects corresponding signal input interface, can receive the signal of number of different types simultaneously, increasing signal transacting scope.
The kind of the multi-media signal included or gather described in step 202, basis is to the described multi-media signal decoding included or gather;
The audio, video data of original RAW form is decoded into for dissimilar multi-media signal, in order to ensure the quality of next stage coding work, here can detect decoded audio, video data, the audio/video frames damaged is carried out abandoning and/or mend frame process.
Step 203, by decoded multi-media signal Unified coding;
According to the audio, video data after the process received, the Multi-instance of same coding module is adopted to carry out correlative coding, owing to being the same coding module enabled, so the data encoding parameter after coding is unified, use these data cross after being convenient to user, data format comprises H.264 said shank or AAC said shank.
Step 204, the multi-media signal after described coding to be encapsulated according to predetermined format.
Presetting according to user, can be encapsulated as TS(TransportStream by the multi-media signal after coding) form or FLV (FlashVideo) form, facilitate user's choice for use.
In technique scheme, the audio, video data after encapsulation can be selected with HTTP(HTTP) or UDP(User Datagram Protoco (UDP)) formatted output that flows.
Have employed technical scheme of the present invention, use Software Coding realizes, the signal source of multiple different pattern of the input can be gathered simultaneously, then the audio, video data of same-code parameter is encoded into, during the audio/video flow of multiple pattern of the input of encoding at the same time, only need with an equipment, if employing universaling coder, so there is the input source of how many kinds of form just must purchase a few cover encoder, user is made greatly to have saved hardware cost like this, particularly in the application gathering a large amount of audio/video flows, remarkable in economical benefits, reduces the operation cost etc. of whole company.
Due to collection is software collection coded system, the actual hardware device used is PC server, low price, support on the basis of the audio frequency and video input source commonly used simultaneously, also non-common input source can be supported, and capturing and coding equipment need not be purchased again in addition, for user is cost-saving, can adjust flexibly according to the actual conditions of user again simultaneously.
As shown in Figure 3, the embodiment of the present invention additionally provides a kind of multimedia signal acquisition device for realizing said method, and comprise acquisition module 301, decoder module 302, coding module 303, described each module connects successively.
Acquisition module 301, for selecting corresponding signal input interface according to the kind of input multi-media signal, includes or gathers described multi-media signal;
Decoder module 302, the kind for the multi-media signal of including described in basis or gather is decoded to the described multi-media signal included or gather;
Coding module 303, for by decoded multi-media signal Unified coding.
Described decoder module also for, the audio/video frames after raising the price is detected, abandons there being the audio/video frames of damage and/or mending frame.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. an acquisition method for multi-media signal, is characterized in that, comprises the following steps:
Obtain pending multi-media signal;
Kind according to described multi-media signal is decoded to described multi-media signal, and the kind of described multi-media signal comprises serial digital interface signal, Asynchronous Serial Interface signal or transmission stream signal;
Decoded multi-media signal is pressed predetermined format coding;
Wherein, described coding by predetermined format by decoded multi-media signal specifically comprises:
The Multi-instance of same coding module is adopted to carry out correlative coding;
When described multi-media signal has multiple, the step of the pending multi-media signal of described acquisition comprises further:
Determine the kind of pending multi-media signal;
Corresponding signal input interface is selected according to the kind of described multi-media signal;
Obtain described multiple pending multi-media signal simultaneously.
2. the method for claim 1, is characterized in that, described decoded multi-media signal is also comprised step by after predetermined format coding step:
Multi-media signal after coding is encapsulated according to predetermined format, the multi-media signal after described encapsulation is exported.
3. method as claimed in claim 1 or 2, it is characterized in that, the described kind according to described multi-media signal also comprises after described multi-media signal decoding step,
Decoded audio/video frames is detected;
Abandon there being the audio/video frames of damage and/or mending frame.
4. method as claimed in claim 1 or 2, it is characterized in that, describedly the step that decoded multi-media signal is encoded by predetermined format being specially, is H.264 high compression digital video coding-coding device reference format coding or AAC Advanced Audio Coding format coding by decoded multi-media signal Unified coding.
5. method as claimed in claim 2, is characterized in that, describedly the step that multi-media signal after coding encapsulate according to predetermined format is specially, and the multi-media signal after encoding is encapsulated as TS transport stream format or FLV stream media format.
6. method as claimed in claim 2, is characterized in that, described in, the step that the multi-media signal after described encapsulation exports is specially, by the multi-media signal after encapsulation with the formatted output of HTTP HTTP or udp user datagram protocol stream.
7. a harvester for multi-media signal, is characterized in that, comprises acquisition module, decoder module and coding module, and is connected successively, wherein
Described acquisition module, for obtaining pending multi-media signal;
Described decoder module, decodes to described multi-media signal for the kind according to described multi-media signal, and the kind of described multi-media signal comprises serial digital interface signal, Asynchronous Serial Interface signal or transmission stream signal;
Described coding module, for pressing predetermined format coding by decoded multi-media signal;
Wherein, described coding module carries out correlative coding specifically for adopting the Multi-instance of same coding module;
When described multi-media signal has multiple, described acquisition module comprises judging unit, selected cell and acquiring unit further, and connects successively,
Described judging unit, for determining the kind of pending multi-media signal;
Described selected cell, for selecting corresponding signal input interface according to the kind of described multi-media signal;
Described acquiring unit, for obtaining described multiple pending multi-media signal simultaneously.
8. device as claimed in claim 7, is characterized in that, also comprise output module, be connected with coding module,
Described output module, for being encapsulated according to predetermined format by the multi-media signal after coding, exports the multi-media signal after described encapsulation.
9. as claimed in claim 7 or 8 device, is characterized in that, described decoder module also for,
Decoded audio/video frames is detected;
Abandon there being the audio/video frames of damage and/or mending frame.
CN201210280052.XA 2012-08-08 2012-08-08 A kind of method of multimedia signal acquisition and device Expired - Fee Related CN102811382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210280052.XA CN102811382B (en) 2012-08-08 2012-08-08 A kind of method of multimedia signal acquisition and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210280052.XA CN102811382B (en) 2012-08-08 2012-08-08 A kind of method of multimedia signal acquisition and device

Publications (2)

Publication Number Publication Date
CN102811382A CN102811382A (en) 2012-12-05
CN102811382B true CN102811382B (en) 2016-03-23

Family

ID=47234939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210280052.XA Expired - Fee Related CN102811382B (en) 2012-08-08 2012-08-08 A kind of method of multimedia signal acquisition and device

Country Status (1)

Country Link
CN (1) CN102811382B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768025B (en) * 2015-04-02 2018-05-08 无锡天脉聚源传媒科技有限公司 A kind of video bad frame restorative procedure and device
CN106331168B (en) * 2016-10-14 2020-08-25 成都比斯特科技有限责任公司 Grain condition remote supervision platform
CN107155115A (en) * 2017-06-09 2017-09-12 浙江广播电视集团 Video/audio processing system and method
CN109769129B (en) * 2018-12-27 2021-03-26 武汉科技大学 Decoding method for preventing analysis failure in automobile liquid crystal instrument
CN110708564B (en) * 2019-10-21 2021-12-07 上海网达软件股份有限公司 Live transcoding method and system for dynamically switching video streams
CN112054818B (en) * 2020-09-15 2022-02-25 北京锐马视讯科技有限公司 SDI and ASI signal acquisition and transmission equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007069851A1 (en) * 2005-12-13 2007-06-21 Lg Electronics Inc. Broadcasting receiver and method for recording and reproducing video signal
CN101964905A (en) * 2010-10-11 2011-02-02 北京中科大洋科技发展股份有限公司 Terminal for realizing television news live broadcast through wireless communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8752097B2 (en) * 2009-02-27 2014-06-10 At&T Mobility Ii Llc Method and apparatus for distributing media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007069851A1 (en) * 2005-12-13 2007-06-21 Lg Electronics Inc. Broadcasting receiver and method for recording and reproducing video signal
CN101964905A (en) * 2010-10-11 2011-02-02 北京中科大洋科技发展股份有限公司 Terminal for realizing television news live broadcast through wireless communication network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于FPGA的SDI/ASI传输系统设计实现;周圣鑫等;《微计算机信息》;20101231;第26卷(第5-2期);119-121 *

Also Published As

Publication number Publication date
CN102811382A (en) 2012-12-05

Similar Documents

Publication Publication Date Title
CN102811382B (en) A kind of method of multimedia signal acquisition and device
US10546599B1 (en) Systems and methods for identifying a mute/sound sample-set attribute
KR102156030B1 (en) Image decoding and encoding method, decoding and encoding device, decoder and encoder
JP4481889B2 (en) Data recording apparatus and method, program, and recording medium
TWI632810B (en) Data generating device, data generating method, data reproducing device, and data reproducing method
CN105376612A (en) Video playing method, media equipment, playing equipment and multimedia system
AU2007243966B2 (en) Method and apparatus for re-constructing media from a media representation
TWI630820B (en) File generation device, file generation method, file reproduction device, and file reproduction method
CN104284241A (en) Video editing method and device
CN103716662A (en) Mixed transmission method and server
CN102802021B (en) A kind of method of editing multimedia data and device
CN103607587A (en) Debugging method and system for video terminal
CN103731672A (en) Audio and video decoding method and smart television
CN104270667A (en) Program switchover method and device and terminal
CN108540734B (en) Switching method, device and system of 4K video and audio signals and electronic equipment
CN104780391A (en) Video file format converting method and device
JP6838201B2 (en) Backward compatibility Display management metadata compression
CN110944197B (en) Method and device for coding images and audios
CN100336388C (en) Audio/video data recording/reproducing device and method, and audio/video data reproducing device and method
CN103747249A (en) Audio and video decoding method and android mobile terminal
CN104333765A (en) Processing method and device of video live streams
WO2014136291A1 (en) Moving picture data editing device, moving picture data editing method, playback device, playback method and program
CN112468740B (en) Intelligent virtual synthesis manufacturing system, method and storage medium for 8K ultra-high definition programs
CN103081487A (en) Method and apparatus for streaming media content using variable duration media segments
CN106028058A (en) Method and device for recording multimedia 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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for collecting multimedia signals

Effective date of registration: 20170401

Granted publication date: 20160323

Pledgee: Silicon Valley Bank Co.,Ltd.

Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd.

Registration number: 2017310000018

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160323

Termination date: 20210808