CN104717552B - The dissemination method and device of a kind of audio and video for live streaming - Google Patents
The dissemination method and device of a kind of audio and video for live streaming Download PDFInfo
- Publication number
- CN104717552B CN104717552B CN201510148224.1A CN201510148224A CN104717552B CN 104717552 B CN104717552 B CN 104717552B CN 201510148224 A CN201510148224 A CN 201510148224A CN 104717552 B CN104717552 B CN 104717552B
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- module
- video flow
- flow
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000005540 biological transmission Effects 0.000 claims description 4
- 206010068052 Mosaicism Diseases 0.000 abstract 1
- 210000003765 sex chromosome Anatomy 0.000 abstract 1
- 238000009434 installation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000010899 nucleation Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- 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/60—Network 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/63—Control 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/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
- H04N21/64792—Controlling the complexity of the content stream, e.g. by dropping packets
-
- 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/439—Processing of audio elementary 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of dissemination methods and device of the audio and video for live streaming, wherein method includes:After Web page loads Softcam, start the Web service module and data source acquisition module in live streaming companion;The audio and video primary flow that data source acquisition module acquires is handled, and the first audio/video flow of generation is inputted into Softcam;Web page sends the request of the first audio/video flow of publication towards Web service module;After Web service module receives request, start the coding module and release module in live streaming companion;Coding module is encoded to the second audio/video flow generated after the first audio/video flow and inputs release module;Wherein, coding module supports a variety of coded formats;Second audio/video flow is published to streaming server by release module.Compared with prior art, technical scheme of the present invention does not need user authentication in audio/video flow issuing process, system compatible sex chromosome mosaicism is also not present, and encoding efficiency is good, code stream is low, and image quality is apparent.
Description
Technical field
The present invention relates to network direct broadcasting technical field, a kind of dissemination method more particularly to audio and video for live streaming and
Device.
Background technology
In audio and video direct seeding technique field, since network direct broadcasting is compared with live telecast, have of low cost, convenient fast
The features such as prompt, interactive strong, network direct broadcasting increasingly has been favored by people.And during network direct broadcasting, it is published to stream clothes
The quality of audio and video on business device directly influences network direct broadcasting quality.
Currently, being by way of installing ActiveX plug-in units or Flash plug-in units in front portion in the prior art
Realization carries out the issuing process such as acquisition, the coding of audio and video for live streaming in a browser.Specifically, in front portion
After ActiveX plug-in units or Flash plug-in units are installed, the processes such as acquisition, the coding of audio and video for live streaming are realized in a browser,
Audio/video flow to be released is obtained, further, audio/video flow obtained above is published to streaming server.
For installing ActiveX plug-in units in front portion, to realize, sound of the publication for live streaming regards in a browser
For the mode of frequency, for the sake of security, which usually requires user and carries out a verification process.In addition, ActiveX plug-in units
Compatibility between different browsers is bad.And for installing Flash plug-in units in front portion to realize clear
It lookes in device for mode of the publication for the audio and video of live streaming, since which can only use the coded format that Adobe is supported, no
The coded format of mainstream can be used, and the coded format encoding efficiency that Adobe is supported is poor, code stream is high, image quality clarity is not high.
Invention content
The embodiment of the present invention is designed to provide a kind of dissemination method and device of the audio and video for live streaming, improves system
System compatibility.Specific technical solution is as follows:
A kind of dissemination method of audio and video for live streaming is applied to electronic equipment, including:
After Web page loads Softcam, start live streaming companion;
Start the Web service module and data source acquisition module in live streaming companion;
The data source acquisition module acquires audio and video primary flow;
The audio and video primary flow is input to the video processing module in live streaming companion;
The video processing module handles the audio and video primary flow, generates the first audio/video flow;
First audio/video flow is input to the Softcam;
The Web page sends the request of the first audio/video flow of publication towards the Web service module in live streaming companion;
After the Web service module receives the request, start the coding module and release module in live streaming companion;
The coding module encodes first audio/video flow, generates the second audio/video flow;Wherein, the coding
Module supports a variety of coded formats;
Second audio/video flow is input to the release module;
Second audio/video flow is published to streaming server by the release module.
In a kind of specific implementation mode of the present invention, second audio/video flow is published to stream clothes by the release module
The step of business device, including:
The release module carries out packet loss processing to second audio/video flow;
By packet loss, treated that second audio/video flow is published to streaming server.
In a kind of specific implementation mode of the present invention, the Web page sends publication towards the Web service in live streaming companion
The step of request of first audio/video flow includes:
Pass through the Softcam first audio/video flow described in Web page preview;
When first audio/video flow meets default promulgated standard, Web of the Web page according to instruction into live streaming companion
Service sends the request of the first audio/video flow of publication.
In a kind of specific implementation mode of the present invention, second audio/video flow is being input to the release module
Afterwards, further include:
Second audio/video flow is input to picture recording module by the release module;
The picture recording module records a video to second audio/video flow, generates video file.
In a kind of specific implementation mode of the present invention, a variety of coded formats include:Audio coding formats are compiled for AAC
Code format, video code model are H264 coded formats.
The embodiment of the present invention also provides a kind of distributing device of the audio and video for live streaming, is applied to electronic equipment, including:
Companion's start unit is broadcast live:After working as Web page load Softcam, start live streaming companion;
Web service module and data source acquisition module start unit:For start live streaming companion in Web service module and
Data source acquisition module;
Audio and video primary flow collecting unit:Audio and video primary flow is acquired for the data source acquisition module;
Audio and video primary flow input unit:Video for the audio and video primary flow to be input in live streaming companion is handled
Module;
First audio/video flow generation unit:For the video processing module processing audio and video primary flow, the is generated
One audio/video flow;
First audio/video flow input unit:For first audio/video flow to be input to the Softcam;
Request transmitting unit:The first sound of publication is sent for the Web page towards the Web service module in live streaming companion to regard
The request of frequency stream;
Coding module and release module start unit:After receiving the request for the Web service module, start straight
Broadcast the coding module and release module in companion;
Second audio/video flow generation unit:First audio/video flow is encoded for the coding module, is generated
Second audio/video flow;Wherein, the coding module supports a variety of coded formats;
Second audio/video flow input unit:For second audio/video flow to be input to the release module;
Second audio/video flow release unit:Second audio/video flow is published to stream service for the release module
Device.
In a kind of specific implementation mode of the present invention, the second audio/video flow release unit includes:
Packet loss handles subelement:Packet loss processing is carried out to second audio/video flow for the release module;
Second audio/video flow issues subelement:For by packet loss treated second audio/video flow is published to stream service
Device.
In a kind of specific implementation mode of the present invention, the request transmitting unit includes:
First audio/video flow preview subelement:It is regarded by the first sound described in the Softcam preview for Web page
Frequency flows;
Ask transmission sub-unit:For judging whether first audio/video flow meets default promulgated standard, further,
If first audio/video flow meets default promulgated standard, Web page sends the first sound of publication towards the Web service in live streaming companion
The request of video flowing.
In a kind of specific implementation mode of the present invention, further include:
Input unit:Second audio/video flow is input to picture recording module for the release module;
Video file generation unit:It records a video to second audio/video flow for the picture recording module, generates video recording
File.
In a kind of specific implementation mode of the present invention, the coding module in the second audio/video flow generation unit is supported
A variety of coded formats include:Audio coding formats are AAC coded formats, and video code model is H264 coded formats.
The technical solution that the embodiment of the present invention is provided is opened after Web page loads Softcam by way of agreement
Dynamic live streaming companion;Further, start the Web service module and data source acquisition module in live streaming companion, data source is acquired
The audio and video primary flow of module acquisition is handled, and generates the first audio/video flow, and first audio/video flow is input to virtually
Camera.Then Web page sends the request of the first audio/video flow of publication, Web service towards the Web service module in live streaming companion
After module receives the request, start the coding module and release module in live streaming companion, the first sound of above-mentioned coding module pair
Video flowing is encoded, and the second audio/video flow is generated;Wherein, above-mentioned coding module supports a variety of coded formats, the coded format
Can be the audio and video coded format of mainstream, such as:Audio coding formats can be AAC coded formats, Video coding lattice
Formula can be H264 coded formats.The second audio/video flow is finally input to release module, release module regards second sound
Frequency stream is published to streaming server.
The publications of audio and video for live streaming is carried out in a browser relative to installing ActiveX plug-in units in terminal and realizing
For process, the issuing process of the above-mentioned audio and video for live streaming does not need the certification of user, and be broadcast live companion be independently of it is clear
It lookes at existing for device, so compatibility issue is not present in technical scheme of the present invention.And relative to the installation Flash controls in terminal
For realizing the issuing process carried out in a browser for the audio and video of live streaming, due to the hair of the above-mentioned audio and video for live streaming
Coding module used in cloth process supports the coded format of mainstream, and specifically, audio coding formats can be that AAC encodes lattice
Formula, video code model can be H264 coded formats.Compared with the coded format that Adobe is supported, coded format of the invention
Encoding efficiency is good, and code stream is low, and image quality is apparent.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of implementing procedure figure one of the dissemination method of audio and video for live streaming of the embodiment of the present invention;
Fig. 2 is a kind of implementing procedure figure two of the dissemination method of audio and video for live streaming of the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the distributing device of audio and video for live streaming of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of dissemination method of audio and video for live streaming provided in an embodiment of the present invention, is applied to electronics
Equipment, this method may include:
Step S101 starts live streaming companion after Web page loads Softcam;
The technical solution provided according to embodiments of the present invention after Web page loads Softcam, starts straight first
Broadcast companion.Wherein, the process of Web page load Softcam may include following three steps:
1) Web page enumerates the audio & video equipment on electronic equipment;
2) Softcam equipment is selected in the above-mentioned audio & video equipment enumerated;
3) Web page loads Softcam.
Specifically, after user opens Web page, Web page can call related function module to enumerate current electronic device
On audio & video equipment the audio & video equipment enumerated further is presented to user in the form of a list, then user from
Softcam equipment is selected in above-mentioned list, after the completion of selection, Web page loads Softcam.Wherein, Web page tune
The method that the audio & video equipment in current electronic device is enumerated with related function module is the prior art, and which is not described herein again.It can
What it is with understanding is:The process of above-mentioned Web page load Softcam is one kind in numerous realization methods, such as:Web page
Face can also directly be retrieved from above-mentioned electronic equipment and load Softcam.With the method for the first load Softcam
It compares, second of loading method is simpler, quick, but second method cannot load other audio and video except Softcam
Equipment is unfavorable for the Function Extension of above-mentioned Web page.
Step S102 starts Web service module and data source acquisition module in live streaming companion;
After starting live streaming companion, further, the Web service module and data source started in live streaming companion acquires mould
Block.The process can be manually completed by user, can also be directly broadcast live in companion by programming so that after starting live streaming companion
Web service module and data source acquisition module.
Step S103, the data source acquisition module acquire audio and video primary flow;
The audio and video primary flow is input to the video processing module in live streaming companion by step S104;
Step S105, the video processing module handle the audio and video primary flow, generate the first audio/video flow;
First audio/video flow is input to the Softcam by step S106;
For convenience of description, step S103 is combined to step S106 illustrate below.It is acquired in log-on data source
After module, further, data source acquisition module acquires audio and video primary flow, and collected audio and video primary flow is input to
The audio and video processing module in companion is broadcast live, after which handles above-mentioned original audio/video flow, generates
First audio/video flow.Wherein, audio and video processing module can increase brightness regulation, volume adjustment, picture to original audio/video flow
Proportion adjustment function is certainly not limited to increase these functions, such as can also be that original audio/video flow matches subtitle etc..It generates
After first audio/video flow, further, which is input in above-mentioned Softcam, to facilitate to the first sound
Video flowing is further to be handled.
Step S107, the Web page send asking for the first audio/video flow of publication towards the Web service module in live streaming companion
It asks;
After the first audio/video flow is input to Softcam, Web page is towards the Web service module in live streaming companion
Send the request of the first audio/video flow of publication.Specifically, in a kind of specific implementation mode of the present invention, Web page is towards live streaming
Web service module in companion sends the step of request of the first audio/video flow of publication and may include:
Pass through the Softcam first audio/video flow described in Web page preview;
When first audio/video flow meets default promulgated standard, Web of the Web page according to instruction into live streaming companion
Service sends the request of the first audio/video flow of publication.
Specifically, after above-mentioned first audio/video flow is input to Softcam, user is by Softcam in Web page
The first audio/video flow of face preview, and judge whether the first audio/video flow meets default promulgated standard.When first audio/video flow
When meeting default promulgated standard, user is sent to Web page by pre-set button and is instructed, and further, Web page is according to above-mentioned
The Web service into live streaming companion is instructed to send the request of the first audio/video flow of publication.Wherein, whether the first audio/video flow meets
Default promulgated standard can be using sound quality, image sharpness etc. as standard, naturally it is also possible to be other standards, such as judge first
Whether the picture of audio/video flow includes required picture, and whether the position of required picture is suitable etc..In addition, when first
When audio/video flow does not meet default promulgated standard, stop the first audio/video flow of publication.Of course it is to be appreciated that:In order to obtain
Preferably live streaming effect, we can carry out multigroup shooting to same picture, in this way, we can select from multiple audio/video flows
The preferable audio/video flow of effect is selected to be broadcast live.In addition, working as a certain audio/video flow when something goes wrong, we can also use in time
Other audio/video flows are substituted.
Step S108 after the Web service module receives the request, starts the coding module and hair in live streaming companion
Cloth module;
Further, after the request of the first audio and video of publication that Web page transmission is received in Web service module, start
The coding module in companion and release module is broadcast live.Above-mentioned first audio/video flow is encoded with facilitating, and to coding after
The first audio/video flow issued.
Step S109, the coding module encode first audio/video flow, generate the second audio/video flow;Its
In, the coding module supports a variety of coded formats;
Start live streaming companion in coding module and release module after, first, the first audio/video flow of coding module pair into
Row coding, generates the second audio/video flow;Wherein, coding module supports a variety of coded formats.In a kind of specific implementation of the present invention
In mode, a variety of coded formats may include:Audio coding formats are AAC coded formats, and video code model encodes for H264
Format.It is, of course, understood that a variety of coded formats can also include other audio coding formats and video code model.
For example, audio coding formats can also be that the audio coding formats of the mainstreams such as AC3, DTS, MP1, video code model can also be
The audio coding formats of the mainstreams such as H263, MJPEG, VP8.
Second audio/video flow is input to the release module by step S110;
After generating the second audio/video flow, further, the second audio/video flow of generation is input in live streaming companion
Release module, so that the second audio/video flow is published to streaming server by release module.
Second audio/video flow is published to streaming server by step S111, the release module.
After above-mentioned release module receives the second audio/video flow, further, the second audio/video flow is published to stream clothes
It is engaged on device, to facilitate the viewing of user.It is understood that in the case where network speed is very bad or resource scarcity, to use
Family obtains preferable result of broadcast, and the second audio/video flow can also be carried out certain processing by we, for example, the one of the present invention
In kind of specific implementation mode, the step of second audio/video flow is published to streaming server by the release module, may include:
The release module carries out packet loss processing to second audio/video flow;
By packet loss, treated that second audio/video flow is published to streaming server.
Wherein, above-mentioned packet loss processing uses preset algorithm, removes redundant data, specific method belongs to the prior art.Due to
The code stream smaller of packet loss treated the second audio/video flow.So in the case where network speed is not that fine or resource is relatively in short supply
User can also obtain preferable result of broadcast.
As shown in Fig. 2, in another specific implementation mode of the present invention, second audio/video flow is being input to institute
After stating release module, can also include:
Second audio/video flow is input to picture recording module by step S112, the release module;
Step S113, the picture recording module record a video to second audio/video flow, generate video file.
After the second audio/video flow of picture recording module pair carries out video recording generation video file, it is equivalent to and video is recorded.
This facilitate that the desired user that watch the video again and the user for not watching the video watch the video.
The technical solution that the embodiment of the present invention is provided is opened after Web page loads Softcam by way of agreement
Dynamic live streaming companion;Further, start the Web service module and data source acquisition module in live streaming companion, data source is acquired
The audio and video primary flow of module acquisition is handled, and generates the first audio/video flow, and first audio/video flow is input to virtually
Camera.Then Web page sends the request of the first audio/video flow of publication, Web service towards the Web service module in live streaming companion
After module receives the request, start the coding module and release module in live streaming companion, the first sound of above-mentioned coding module pair
Video flowing is encoded, and the second audio/video flow is generated;Wherein, above-mentioned coding module supports a variety of coded formats, the coded format
Can be the audio and video coded format of mainstream, such as:Audio coding formats can be AAC coded formats, Video coding lattice
Formula can be H264 coded formats.The second audio/video flow is finally input to release module, release module regards second sound
Frequency stream is published to streaming server.It is carried out in a browser for live streaming relative to the realization of ActiveX plug-in units is installed in terminal
For the issuing process of audio and video, the issuing process of the above-mentioned audio and video for live streaming does not need the certification of user, and companion is broadcast live
Companion is independently of existing for browser, so compatibility issue is not present in technical scheme of the present invention.And relative in terminal
For installation Flash controls realize the issuing process carried out in a browser for the audio and video of live streaming, due to above-mentioned for straight
Coding module used in the issuing process for the audio and video broadcast supports the coded format of mainstream, and specifically, audio coding formats can
Think that AAC coded formats, video code model can be H264 coded formats.Compared with the coded format that Adobe is supported, this hair
Bright coded format encoding efficiency is good, and code stream is low, and image quality is apparent.
Relative to above method embodiment, the present invention also provides a kind of distributing devices of the audio and video for live streaming, answer
Shown in Figure 3 for electronic equipment, which may include:
Companion's start unit 301 is broadcast live:After working as Web page load Softcam, start live streaming companion;
Web service module and data source acquisition module start unit 302:For starting the Web service mould in live streaming companion
Block and data source acquisition module;
Audio and video primary flow collecting unit 303:Audio and video primary flow is acquired for the data source acquisition module;
Audio and video primary flow input unit 304:Video for being input to the audio and video primary flow in live streaming companion
Processing module;
First audio/video flow generation unit 305:For the video processing module processing audio and video primary flow, generate
First audio/video flow;
First audio/video flow input unit 306:For first audio/video flow to be input to the Softcam;
Request transmitting unit 307:For the Web page publication first is sent towards the Web service module in live streaming companion
The request of audio/video flow;
Coding module and release module start unit 308:After receiving the request for the Web service module, open
Coding module in dynamic live streaming companion and release module;
Second audio/video flow generation unit 309:First audio/video flow is encoded for the coding module, it is raw
At the second audio/video flow;Wherein, the coding module supports a variety of coded formats;
Second audio/video flow input unit 310:For second audio/video flow to be input to the release module;
Second audio/video flow release unit 311:Second audio/video flow is published to stream clothes for the release module
Business device.
In a kind of specific implementation mode of the present invention, the second audio/video flow release unit 311 may include:
Packet loss handles subelement:Packet loss processing is carried out to second audio/video flow for the release module;
Second audio/video flow issues subelement:For by packet loss treated second audio/video flow is published to stream service
Device.
In a kind of specific implementation mode of the present invention, the request transmitting unit 307 may include:
First audio/video flow preview subelement:It is regarded by the first sound described in the Softcam preview for Web page
Frequency flows;
Ask transmission sub-unit:For judging whether first audio/video flow meets default promulgated standard, further,
If first audio/video flow meets default promulgated standard, Web page sends the first sound of publication towards the Web service in live streaming companion
The request of video flowing.
In a kind of specific implementation mode of the present invention, can also include:
Input unit:Second audio/video flow is input to picture recording module for the release module;
Video file generation unit:It records a video to second audio/video flow for the picture recording module, generates video recording
File.
In a kind of specific implementation mode of the present invention, the coding module in the second audio/video flow generation unit 309
Support a variety of coded formats may include:Audio coding formats are AAC coded formats, and video code model is that H264 encodes lattice
Formula.
The technical solution that the embodiment of the present invention is provided is opened after Web page loads Softcam by way of agreement
Dynamic live streaming companion;Further, start the Web service module and data source acquisition module in live streaming companion, data source is acquired
The audio and video primary flow of module acquisition is handled, and generates the first audio/video flow, and first audio/video flow is input to virtually
Camera.Then Web page sends the request of the first audio/video flow of publication, Web service towards the Web service module in live streaming companion
After module receives the request, start the coding module and release module in live streaming companion, the first sound of above-mentioned coding module pair
Video flowing is encoded, and the second audio/video flow is generated;Wherein, above-mentioned coding module supports a variety of coded formats, the coded format
Can be the audio and video coded format of mainstream, such as:Audio coding formats can be AAC coded formats, Video coding lattice
Formula can be H264 coded formats.The second audio/video flow is finally input to release module, release module regards second sound
Frequency stream is published to streaming server.It is carried out in a browser for live streaming relative to the realization of ActiveX plug-in units is installed in terminal
For the issuing process of audio and video, the issuing process of the above-mentioned audio and video for live streaming does not need the certification of user, and companion is broadcast live
Companion is independently of existing for browser, so compatibility issue is not present in technical scheme of the present invention.And relative in terminal
For installation Flash controls realize the issuing process carried out in a browser for the audio and video of live streaming, due to above-mentioned for straight
Coding module used in the issuing process for the audio and video broadcast supports the coded format of mainstream, and specifically, audio coding formats can
Think that AAC coded formats, video code model can be H264 coded formats.Compared with the coded format that Adobe is supported, this hair
Bright coded format encoding efficiency is good, and code stream is low, and image quality is apparent.
Wherein, above-described embodiment all executes in front portion, specifically, in the present invention is embodied,
Front portion can be computer.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It is realized by the mode of software plus required general hardware platform.Based on this understanding, technical scheme of the present invention essence
On in other words the part that contributes to existing technology can be expressed in the form of software products, the computer software product
It can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment
(can be personal computer, server either network equipment etc.) executes the certain of each embodiment of the present invention or embodiment
Method described in part.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.Apparatus and system embodiment described above is only schematical, wherein described be used as separation unit
The unit that part illustrates may or may not be physically separated, and the component shown as unit can be or also may be used
Not to be physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to reality
Need select some or all of module therein to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art exist
In the case of not making the creative labor, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of dissemination method of audio and video for live streaming, which is characterized in that it is applied to electronic equipment, including:
After Web page loads Softcam, start live streaming companion, wherein the live streaming companion is independently of browser;
Start the Web service module and data source acquisition module in live streaming companion;
The data source acquisition module acquires audio and video primary flow;
The audio and video primary flow is input to the video processing module in live streaming companion;
The video processing module handles the audio and video primary flow, generates the first audio/video flow;
First audio/video flow is input to the Softcam;
The Web page sends the request of the first audio/video flow of publication towards the Web service module in live streaming companion;
After the Web service module receives the request, start the coding module and release module in live streaming companion;
The coding module encodes first audio/video flow, generates the second audio/video flow;Wherein, the coding module
Support a variety of coded formats;
Second audio/video flow is input to the release module;
Second audio/video flow is published to streaming server by the release module.
2. according to the method described in claim 1, it is characterized in that, second audio/video flow is published to by the release module
The step of streaming server, including:
The release module carries out packet loss processing to second audio/video flow;
By packet loss, treated that second audio/video flow is published to streaming server.
3. according to the method described in claim 1, it is characterized in that, the Web page is towards the Web service module in live streaming companion
Send publication the first audio/video flow request the step of include:
Pass through the Softcam first audio/video flow described in Web page preview;
When first audio/video flow meets default promulgated standard, Web service of the Web page according to instruction into live streaming companion
Module sends the request of the first audio/video flow of publication.
4. according to the method described in claim 1, it is characterized in that, second audio/video flow is input to the publication mould
After block, further include:
Second audio/video flow is input to picture recording module by the release module;
The picture recording module records a video to second audio/video flow, generates video file.
5. according to the method described in claim 1, it is characterized in that, a variety of coded formats include:Audio coding formats are
AAC coded formats, video code model are H264 coded formats.
6. a kind of distributing device of audio and video for live streaming, which is characterized in that including:
Companion's start unit is broadcast live:After working as Web page load Softcam, start live streaming companion, wherein the live streaming
Companion is independently of browser;
Web service module and data source acquisition module start unit:For starting Web service module and data in live streaming companion
Source acquisition module;
Audio and video primary flow collecting unit:Audio and video primary flow is acquired for the data source acquisition module;
Audio and video primary flow input unit:Video for the audio and video primary flow to be input in live streaming companion handles mould
Block;
First audio/video flow generation unit:For the video processing module processing audio and video primary flow, the first sound is generated
Video flowing;
First audio/video flow input unit:For first audio/video flow to be input to the Softcam;
Request transmitting unit:For the Web page the first audio/video flow of publication is sent towards the Web service module in live streaming companion
Request;
Coding module and release module start unit:After receiving the request for the Web service module, start live streaming companion
Coding module in companion and release module;
Second audio/video flow generation unit:First audio/video flow is encoded for the coding module, generates second
Audio/video flow;Wherein, the coding module supports a variety of coded formats;
Second audio/video flow input unit:For second audio/video flow to be input to the release module;
Second audio/video flow release unit:Second audio/video flow is published to streaming server for the release module.
7. device according to claim 6, which is characterized in that the second audio/video flow release unit includes:
Packet loss handles subelement:Packet loss processing is carried out to second audio/video flow for the release module;
Second audio/video flow issues subelement:For by packet loss, treated that second audio/video flow is published to streaming server.
8. device according to claim 6, which is characterized in that the request transmitting unit includes:
First audio/video flow preview subelement:Pass through the first audio/video flow described in the Softcam preview for Web page;
Ask transmission sub-unit:For judging whether first audio/video flow meets default promulgated standard, further, if institute
It states the first audio/video flow and meets default promulgated standard, Web page sends the first sound of publication towards the Web service module in live streaming companion
The request of video flowing.
9. device according to claim 6, which is characterized in that further include:
Input unit:Second audio/video flow is input to picture recording module for the release module;
Video file generation unit:It records a video to second audio/video flow for the picture recording module, generates video file.
10. device according to claim 6, which is characterized in that the coding mould in the second audio/video flow generation unit
Block support a variety of coded formats include:Audio coding formats are AAC coded formats, and video code model is that H264 encodes lattice
Formula.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510148224.1A CN104717552B (en) | 2015-03-31 | 2015-03-31 | The dissemination method and device of a kind of audio and video for live streaming |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510148224.1A CN104717552B (en) | 2015-03-31 | 2015-03-31 | The dissemination method and device of a kind of audio and video for live streaming |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104717552A CN104717552A (en) | 2015-06-17 |
CN104717552B true CN104717552B (en) | 2018-08-03 |
Family
ID=53416433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510148224.1A Active CN104717552B (en) | 2015-03-31 | 2015-03-31 | The dissemination method and device of a kind of audio and video for live streaming |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717552B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107027046B (en) * | 2017-04-13 | 2020-03-10 | 广州华多网络科技有限公司 | Audio and video processing method and device for assisting live broadcast |
CN107027050B (en) * | 2017-04-13 | 2020-11-20 | 广州华多网络科技有限公司 | Audio and video processing method and device for assisting live broadcast |
CN112511884B (en) * | 2019-09-16 | 2023-11-03 | 江苏怀业信息技术股份有限公司 | Mixed flow control method, system and storage medium for audio and video flow |
CN115002503B (en) * | 2022-08-01 | 2023-01-06 | 广州市千钧网络科技有限公司 | Web end live broadcast display method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064823A (en) * | 2006-04-30 | 2007-10-31 | 互联天下科技发展(深圳)有限公司 | Video interdynamic network living broadcast method |
CN201491189U (en) * | 2009-09-11 | 2010-05-26 | 北京威方信科科技有限公司 | High-resolution recording and broadcasting server |
CN103118245A (en) * | 2013-01-31 | 2013-05-22 | 杭州星视科技有限公司 | Real-time audio and video interactive instrumented platform |
CN103297452A (en) * | 2012-02-24 | 2013-09-11 | 北京对角巷科技发展有限公司 | Method and system for publishing and broadcasting streaming media on Internet in live mode |
CN103327417A (en) * | 2013-07-11 | 2013-09-25 | 亿览在线网络技术(北京)有限公司 | Method and device for directly broadcasting real-time long-distance audio and video frequency |
CN104185082A (en) * | 2013-05-22 | 2014-12-03 | 深圳中兴网信科技有限公司 | Audio/video live broadcast method and system, client and server |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2002237748A1 (en) * | 2000-10-19 | 2002-05-21 | Loudeye Technologies, Inc. | System and method for selective insertion of content into streaming media |
CN101291303A (en) * | 2008-06-12 | 2008-10-22 | 北京中星微电子有限公司 | Remote browsing method, system and terminal for multimedia document |
CN102427467A (en) * | 2011-10-31 | 2012-04-25 | 麦克奥迪实业集团有限公司 | Remote browsing system and method for pathological digital section |
CN203387627U (en) * | 2013-03-27 | 2014-01-08 | 上海天道启科电子有限公司 | Live broadcast and order system of mobile streaming media |
CN104410916B (en) * | 2014-12-03 | 2018-01-12 | 广州华多网络科技有限公司 | A kind of online live broadcasting method and equipment |
-
2015
- 2015-03-31 CN CN201510148224.1A patent/CN104717552B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064823A (en) * | 2006-04-30 | 2007-10-31 | 互联天下科技发展(深圳)有限公司 | Video interdynamic network living broadcast method |
CN201491189U (en) * | 2009-09-11 | 2010-05-26 | 北京威方信科科技有限公司 | High-resolution recording and broadcasting server |
CN103297452A (en) * | 2012-02-24 | 2013-09-11 | 北京对角巷科技发展有限公司 | Method and system for publishing and broadcasting streaming media on Internet in live mode |
CN103118245A (en) * | 2013-01-31 | 2013-05-22 | 杭州星视科技有限公司 | Real-time audio and video interactive instrumented platform |
CN104185082A (en) * | 2013-05-22 | 2014-12-03 | 深圳中兴网信科技有限公司 | Audio/video live broadcast method and system, client and server |
CN103327417A (en) * | 2013-07-11 | 2013-09-25 | 亿览在线网络技术(北京)有限公司 | Method and device for directly broadcasting real-time long-distance audio and video frequency |
Also Published As
Publication number | Publication date |
---|---|
CN104717552A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754396B (en) | The display methods and device of barrage data | |
CN104717552B (en) | The dissemination method and device of a kind of audio and video for live streaming | |
CN103119960B (en) | Information processor, information processing method and program | |
CN105812943B (en) | A kind of video editing method and system | |
CN105723695B (en) | Picture pick-up device, external equipment, camera system and its control method | |
EP2472858A1 (en) | Method, device and system for presenting virtual conference site of video conference | |
CN107172443A (en) | Net cast methods, devices and systems | |
US20100223673A1 (en) | Providing multimedia content with access restrictions | |
CN101998116A (en) | Method, system and equipment for realizing multi-view video service | |
DE202011110535U1 (en) | An image display device for providing a remote control service | |
CN102801956B (en) | Network video monitoring device and method | |
CN106817596B (en) | Special effect processing method and device acting on media acquisition device | |
CN106412618A (en) | Video auditing method and system | |
CN111064980A (en) | Cloud-based audio and video playing control method and system | |
CN107205159B (en) | Method, device and storage medium for adjusting bit rate of streaming media in network live broadcast | |
CN104427363A (en) | Remote on-demand system, network set top box and remote on-demand method | |
CN109379607A (en) | A channel playing method, device and medium | |
EP3316546B1 (en) | Multimedia information live method and system, collecting device and standardization server | |
CN110048874B (en) | Method and device for verifying video networking terminal | |
CN103347199A (en) | Method and system for voice frequency live broadcast | |
CN110868620A (en) | Remote interaction system and method based on television | |
CN113556569A (en) | Server and live channel playing method | |
KR101957807B1 (en) | Method and system of audio retransmition for social network service live broadcasting of multi-people points | |
CN104322073A (en) | Digital television with social networking applications | |
US20120017242A1 (en) | Long Distance Audio Attendance |
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 |