CN104506883A - Audio and video encoder based on wide area network live broadcast and working method thereof - Google Patents

Audio and video encoder based on wide area network live broadcast and working method thereof Download PDF

Info

Publication number
CN104506883A
CN104506883A CN201410753369.XA CN201410753369A CN104506883A CN 104506883 A CN104506883 A CN 104506883A CN 201410753369 A CN201410753369 A CN 201410753369A CN 104506883 A CN104506883 A CN 104506883A
Authority
CN
China
Prior art keywords
audio
module
video
video data
data
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
CN201410753369.XA
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.)
CHENGDU DEXIN DIGITAL TECHNOLOGY Co Ltd
Original Assignee
CHENGDU DEXIN DIGITAL 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 CHENGDU DEXIN DIGITAL TECHNOLOGY Co Ltd filed Critical CHENGDU DEXIN DIGITAL TECHNOLOGY Co Ltd
Priority to CN201410753369.XA priority Critical patent/CN104506883A/en
Publication of CN104506883A publication Critical patent/CN104506883A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an audio and video encoder based on wide area network live broadcast and a working method thereof. The audio and video encoder comprises a signal input module, an encoding module, a network protocol encapsulation module and a data pushing module, wherein the signal input module comprises more than two audio and video input interfaces and an audio and video A/D (Analog to Digital) conversion module for digitalizing input audio and video data and transmitting the digitalized input audio-video data to the encoding module; the encoding module is used for compressing and encoding the received audio and video digital data and transmitting the compressed and encoded audio and video digital data to the network protocol encapsulation module; the network protocol encapsulation module comprises a protocol encapsulation module which is used for performing protocol encapsulation on the compressed and encoded audio and video data; the data pushing module is used for pushing the protocol-encapsulated audio and video data to a streaming media server. A plurality of network protocols can be embedded, and the audio and video data can be pushed to the streaming media server in a wide area network. Meanwhile, various audio and video input interfaces are available, so that various practical application requirements are met.

Description

A kind of audio/video coder live based on wide area network and method of work thereof
Technical field
The present invention relates to a kind of audio/video coder live based on wide area network and method of work thereof, particularly relate to a kind of audio/video coder and the method for work thereof that are applicable to field of broadcast televisions.
Background technology
In the stream media service system of real-time live broadcast, encoder is used for the audio, video data of collection in worksite to carry out compressed encoding, and then push in streaming media server, streaming media server carries out the distribution of audio, video data, thus realizes live.
Conventional codec export support agreement single, can not in wide area network propelling data, therefore encoder and streaming media server must be in same local area network (LAN), bring restriction to the deployment of stream media service system.
In practical application also there is the single problem of input interface in encoder, thus have specific requirement to the output interface of audio-video acquisition equipment.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of audio/video coder live based on wide area network and method of work thereof.
The technical solution used in the present invention is as follows: a kind of audio/video coder live based on wide area network, is characterized in that, comprise
Signal input module, comprises two or more audio frequency and video input interface, and sends to the audio frequency and video A/D modular converter of coding module after carrying out digitlization to the audio, video data of input;
Coding module, sends to procotol package module after the audiovisual digital data of reception are carried out compressed encoding;
Procotol package module, comprises,
Protocol encapsulation module, carries out protocol encapsulation by the audio, video data after compressed encoding;
Data push away module, and the audio, video data after protocol encapsulation is pushed to streaming media server.
As preferably, described network encapsulation module also comprises data cache module, the audio, video data after buffer memory compressed encoding.
As preferably, described protocol encapsulation module also comprises initialization module, carries out initialization to protocol encapsulation module.
Based on the audio/video coder method of work that wide area network is live, concrete grammar is:
Step one, to input audio, video data carry out digitlization;
Step 2, the audio, video data after digitlization is carried out compressed encoding;
Step 3, the audio, video data after compressed encoding is carried out RTMP protocol encapsulation;
Step 4, the audio, video data after protocol encapsulation is pushed to streaming media server.
As preferably, described step also comprises after the audio, video data after by compressed encoding carries out buffer memory carries out RTMP protocol encapsulation again.
As preferably, described step also comprises, and initialization RTMP agreement, sets up the connection of same streaming media server.
As preferably, the concrete grammar step of described step 4 is, the audio, video data after compressed encoding is first encapsulated as PS stream, is then packaged into FLV form, adopts RTMP laundry transmission, initiatively sends and be connected to streaming media server.
As preferably, described method also comprises, and the DTS/PTS size of adjustment Audio and Video, ensures audio-visual synchronization.
As preferably, described method also comprises, and when data cube computation occurs abnormal, sends abnormal signal to server.
Compared with prior art, the invention has the beneficial effects as follows: can embedded multiple network agreement, audio, video data can be pushed to streaming media server in wide area network.Make audio frequency and video input interface various simultaneously, meet various practical application request.
Accompanying drawing explanation
Fig. 1 is the principle schematic of the present invention's wherein embodiment.
Fig. 2 is the workflow schematic diagram of the present invention's wherein protocol encapsulation module of an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Arbitrary feature disclosed in this specification (comprising any accessory claim, summary and accompanying drawing), unless specifically stated otherwise, all can be replaced by other equivalences or the alternative features with similar object.That is, unless specifically stated otherwise, each feature is an example in a series of equivalence or similar characteristics.
As shown in Figure 1, a kind of audio/video coder live based on wide area network, comprises signal input module, comprises two or more audio frequency and video input interface, and sends to the audio frequency and video A/D modular converter of coding module after carrying out digitlization to the audio, video data of input; Coding module, sends to procotol package module after the audiovisual digital data of reception are carried out compressed encoding;
Procotol package module, comprises, protocol encapsulation module, and the audio, video data after compressed encoding is carried out protocol encapsulation; Data push away module, and the audio, video data after protocol encapsulation is pushed to streaming media server.
Can embedded multiple network agreement, audio, video data can be pushed to streaming media server in wide area network.Make audio frequency and video input interface various simultaneously, meet various practical application request.
The signal that various interface inputs by described signal input module carries out digitlization, (SuSE) Linux OS carries out the detection of each input signal, insert when ADI7441 detects various signal when there being signal and input laggard row digital conversion at configuration alternative signal, the data after conversion are supplied to back-end code module.
Audio, video data is carried out compressed encoding by coding module, is convenient to reduce encoder bit rate and transmits in a network.Be encoded to H264 coding, point HE-AAC audio frequency and H264 video two parts, be ES stream by coding module encoding stream out, be convenient to stream encapsulation format below; Ensure that encoding stream scope is within 300Kbps-15Mbps simultaneously.
As shown in Figure 2, described network encapsulation module also comprises data cache module, the audio, video data after buffer memory compressed encoding.Protocol encapsulation module constantly extracts the audio, video data after compression coding from data cache module, is packaged into RTMP bag, and sends to streaming media server by RTMP agreement.
As shown in Figure 2, described protocol encapsulation module also comprises initialization module, carries out initialization to protocol encapsulation module.
As shown in Figure 1, a kind of audio/video coder method of work live based on wide area network, concrete grammar is: step one, to input audio, video data carry out digitlization; Step 2, the audio, video data after digitlization is carried out compressed encoding; Step 3, the audio, video data after compressed encoding is carried out RTMP protocol encapsulation; Step 4, the audio, video data after protocol encapsulation is pushed to streaming media server.Thus realize live TV stream real-time Transmission in wide area network.
The embedded multiple network agreement of encoder, can push real-time live broadcast stream after protocol encapsulation in the wide area network, and therefore encoder and streaming media server need not in same local area network (LAN)s, and project plan is flexible, is more applicable to the practical application needs of various real-time live broadcast occasion.Meet the IPTV system layout based on wide area network, for some special application provide a kind of application new paragon new technology newly simultaneously.Signal input interface variation, meets the application needs of various real-time live broadcast occasion.
Digitized video data is carried out H264 compressed encoding by coding module, and voice data carries out AAC compressed encoding.
As shown in Figure 2, described step also comprises after the audio, video data after by compressed encoding carries out buffer memory carries out RTMP protocol encapsulation again, and this buffer memory ensure that the fluency of the audio frequency and video that encoder pushes.
In this specific embodiment, described step also comprises, and initialization RTMP agreement, sets up the connection of same streaming media server.
In this specific embodiment, the concrete grammar step of described step 4 is, the audio, video data after compressed encoding is first encapsulated as PS stream, then FLV form is packaged into, adopt RTMP laundry transmission, initiatively send and be connected to streaming media server, make this encoder possess ability live in the Internet.
In this specific embodiment, described method also comprises, and the DTS/PTS size of adjustment Audio and Video, ensures audio-visual synchronization.
In this specific embodiment, described method also comprises, and when data cube computation occurs abnormal, sends abnormal signal to server.

Claims (9)

1. based on the audio/video coder that wide area network is live, it is characterized in that, comprise
Signal input module, comprises two or more audio frequency and video input interface, and sends to the audio frequency and video A/D modular converter of coding module after carrying out digitlization to the audio, video data of input;
Coding module, sends to procotol package module after the audiovisual digital data of reception are carried out compressed encoding;
Procotol package module, comprises,
Protocol encapsulation module, carries out protocol encapsulation by the audio, video data after compressed encoding;
Data push away module, and the audio, video data after protocol encapsulation is pushed to streaming media server.
2. audio/video coder according to claim 1, is characterized in that, described network encapsulation module also comprises data cache module, the audio, video data after buffer memory compressed encoding.
3. audio/video coder according to claim 1 and 2, is characterized in that, described protocol encapsulation module also comprises initialization module, carries out initialization to protocol encapsulation module.
4., based on the audio/video coder method of work that wide area network is live, concrete grammar is:
Step one, to input audio, video data carry out digitlization;
Step 2, the audio, video data after digitlization is carried out compressed encoding;
Step 3, the audio, video data after compressed encoding is carried out RTMP protocol encapsulation;
Step 4, the audio, video data after protocol encapsulation is pushed to streaming media server.
5. audio/video coder method of work according to claim 4, described step also comprises after the audio, video data after by compressed encoding carries out buffer memory carries out RTMP protocol encapsulation again.
6. audio/video coder method of work according to claim 4 or 5, described step also comprises, and initialization RTMP agreement, sets up the connection of same streaming media server.
7. audio/video coder method of work according to claim 6, the concrete grammar step of described step 4 is, the audio, video data after compressed encoding is first encapsulated as PS stream, is then packaged into FLV form, adopt RTMP laundry transmission, initiatively send and be connected to streaming media server.
8. audio/video coder method of work according to claim 7, described method also comprises, and the DTS/PTS size of adjustment Audio and Video, ensures audio-visual synchronization.
9. audio/video coder method of work according to claim 7, described method also comprises, and when data cube computation occurs abnormal, sends abnormal signal to server.
CN201410753369.XA 2014-12-11 2014-12-11 Audio and video encoder based on wide area network live broadcast and working method thereof Pending CN104506883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410753369.XA CN104506883A (en) 2014-12-11 2014-12-11 Audio and video encoder based on wide area network live broadcast and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410753369.XA CN104506883A (en) 2014-12-11 2014-12-11 Audio and video encoder based on wide area network live broadcast and working method thereof

Publications (1)

Publication Number Publication Date
CN104506883A true CN104506883A (en) 2015-04-08

Family

ID=52948587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410753369.XA Pending CN104506883A (en) 2014-12-11 2014-12-11 Audio and video encoder based on wide area network live broadcast and working method thereof

Country Status (1)

Country Link
CN (1) CN104506883A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254963A (en) * 2016-08-19 2016-12-21 熊安永 A kind of method of real-time synchronization transmission AV signal
CN106454390A (en) * 2016-10-20 2017-02-22 安徽协创物联网技术有限公司 Server network system for live video
CN107566791A (en) * 2017-08-24 2018-01-09 北京都在哪网讯科技有限公司 Live broadcasting method and live equipment
CN108040282A (en) * 2017-12-21 2018-05-15 山东亿海兰特通信科技有限公司 A kind of video broadcasting method and device
CN108173861A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of method, apparatus of net cast and live streaming distribution connector
CN108206833A (en) * 2018-01-11 2018-06-26 福建星网锐捷通讯股份有限公司 Audio/video data transmission method and its system
CN117596442A (en) * 2024-01-16 2024-02-23 深圳星网信通科技股份有限公司 Converged communication method and platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281255A1 (en) * 2004-06-18 2005-12-22 Trevor Davies Maintaining synchronization of streaming audio and video using internet protocol
CN101938606A (en) * 2009-07-03 2011-01-05 北京大学 Method, system and device for propelling multimedia data
CN102647613A (en) * 2012-04-12 2012-08-22 广东威创视讯科技股份有限公司 Internet protocol video coding box
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN103442203A (en) * 2013-07-26 2013-12-11 浙江工业大学 Network video monitoring system and method based on DM365
CN104038844A (en) * 2014-06-25 2014-09-10 浙江工业大学 Mobile live broadcast system based on MPEG-2 standard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281255A1 (en) * 2004-06-18 2005-12-22 Trevor Davies Maintaining synchronization of streaming audio and video using internet protocol
CN101938606A (en) * 2009-07-03 2011-01-05 北京大学 Method, system and device for propelling multimedia data
CN102647613A (en) * 2012-04-12 2012-08-22 广东威创视讯科技股份有限公司 Internet protocol video coding box
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN103442203A (en) * 2013-07-26 2013-12-11 浙江工业大学 Network video monitoring system and method based on DM365
CN104038844A (en) * 2014-06-25 2014-09-10 浙江工业大学 Mobile live broadcast system based on MPEG-2 standard

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254963A (en) * 2016-08-19 2016-12-21 熊安永 A kind of method of real-time synchronization transmission AV signal
CN106454390A (en) * 2016-10-20 2017-02-22 安徽协创物联网技术有限公司 Server network system for live video
CN107566791A (en) * 2017-08-24 2018-01-09 北京都在哪网讯科技有限公司 Live broadcasting method and live equipment
CN108040282A (en) * 2017-12-21 2018-05-15 山东亿海兰特通信科技有限公司 A kind of video broadcasting method and device
CN108173861A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of method, apparatus of net cast and live streaming distribution connector
CN108206833A (en) * 2018-01-11 2018-06-26 福建星网锐捷通讯股份有限公司 Audio/video data transmission method and its system
CN117596442A (en) * 2024-01-16 2024-02-23 深圳星网信通科技股份有限公司 Converged communication method and platform

Similar Documents

Publication Publication Date Title
CN104506883A (en) Audio and video encoder based on wide area network live broadcast and working method thereof
CN101895750B (en) Set-top box and PC-oriented real-time streaming media server and working method
JP6165983B2 (en) Transcoding media streams using subchunking
AU2018344830A8 (en) Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to DirAC based spatial audio coding
WO2011136622A3 (en) An apparatus of processing an image and a method of processing thereof
WO2012094533A3 (en) Devices, systems, and methods for managing multimedia traffic across a common wireless communication network
WO2012161848A3 (en) Conversion of multimedia data streams for use by connected devices
WO2012051528A3 (en) Streaming digital video between video devices using a cable television system
WO2013117889A3 (en) Method and apparatus for converting audio, video and control signals
WO2012023829A3 (en) Method and apparatus for transmitting and receiving data based on secured path bandwidth in network established by using audio/video interface
GB2514292A (en) System and method for dynamic file availability during encoding
CN102131084A (en) RTMP (Real Time Messaging Protocol) pushing device and method for audio/video streaming media
CN101360200A (en) Apparatus and method for acquiring audio and video using remote controller and transmitting the same to television
EP4013018A3 (en) Method for transmitting stream, streaming server and streaming system
WO2013181108A3 (en) Video transmission and reconstruction
CN104935952A (en) Video transcoding method and system
CN103986941A (en) Wireless audio and video transmission system
KR101793971B1 (en) 4k UHD ENCODING APPRATUS USING PLURALITY OF FPGA
CN103826084A (en) Audio encoding method
CN104093089A (en) Cinema program live telecasting system and method
CN109640030A (en) A kind of audio-video peripheral expansion device and method of video conferencing system
CN104270607A (en) Streaming media service providing method
JP2014204331A5 (en)
WO2012158771A3 (en) Multiple-resolution audio and video systems, methods of production, delivery and uses thereof
US20150358676A1 (en) Transmission arrangement for wirelessly transmitting an mpeg2-ts-compatible data stream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 610046, No. 10, No. four, 12 Xing Wu Road, Chengdu, Sichuan, Wuhou District

Applicant after: Chengdu German core digital Polytron Technologies Inc

Address before: 610046, No. 10, No. four, 12 Xing Wu Road, Chengdu, Sichuan, Wuhou District

Applicant before: Chengdu Dexin Digital Technology Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information

Address after: 610046, No. 10, No. four, 12 Xing Wu Road, Chengdu, Sichuan, Wuhou District

Applicant after: Chengdu core digital Polytron Technologies Inc

Address before: 610046, No. 10, No. four, 12 Xing Wu Road, Chengdu, Sichuan, Wuhou District

Applicant before: Chengdu Dexin Digital Technology Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408