CN105245920A - Multi-channel video transmission method and device - Google Patents

Multi-channel video transmission method and device Download PDF

Info

Publication number
CN105245920A
CN105245920A CN201510645737.3A CN201510645737A CN105245920A CN 105245920 A CN105245920 A CN 105245920A CN 201510645737 A CN201510645737 A CN 201510645737A CN 105245920 A CN105245920 A CN 105245920A
Authority
CN
China
Prior art keywords
video data
road
broadcast server
direct broadcast
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510645737.3A
Other languages
Chinese (zh)
Other versions
CN105245920B (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 CN201510645737.3A priority Critical patent/CN105245920B/en
Publication of CN105245920A publication Critical patent/CN105245920A/en
Application granted granted Critical
Publication of CN105245920B publication Critical patent/CN105245920B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • 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

Abstract

The invention discloses a multi-channel video transmission method and device. The method comprises the following steps: after receiving a first channel of video data, packaging the first channel of video data with a corresponding recoded first channel of audio data, and transmitting the packaged first channel of audio data to a live broadcast server; when transmitting the first channel of audio data to the live broadcast server, if receiving a video switching instruction, interrupting a current packaging process, and obtaining a second channel of video data corresponding to the switching instruction; and packaging the second channel of video data with a corresponding recorded second channel of audio data, and transmitting the packaged second channel of audio data to the live broadcast server. By adopting the multi-channel video transmission method and device disclosed by the technical scheme of the invention, live broadcast programs can be switched in a soft switching manner, so as to greatly facilitate live broadcast workers and reduce the hardware cost.

Description

A kind of transmission method of multi-channel video and device
Technical field
The present invention relates to technical field of video transmission, particularly a kind of transmission method of multi-channel video and device.
Background technology
At present, in live process, if need to switch current live program, just need to be switched by hardware, this switching mode needs user to switch, cumbersome, in addition, the switching sensitivity isoparametric requirement of this switching mode to hardware is higher, and cost is also higher.
Summary of the invention
The invention provides a kind of transmission method and device of multi-channel video, in order to first via audio, video data is being transferred to direct broadcast server, when this first via audio, video data being carried out live for direct broadcast server, if receive video switch instruction, just automatically can obtain the second corresponding road video data according to this video switch instruction, and transfer to direct broadcast server after being encapsulated by this second road video data, for direct broadcast server, this first via audio, video data is carried out live, thus achieve and just programme televised live can be switched by the mode of soft handover, thus be very easy to live staff, and reduce hardware cost.
The invention provides a kind of transmission method of multi-channel video, comprise: when receiving first via video data, the first via voice data recorded corresponding with it for described first via video data is encapsulated, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server;
When described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupt current encapsulation process, and obtain the second road video data corresponding with described switching command;
The the second road voice data recorded corresponding with it for described second road video data is encapsulated, and the second road audio, video data obtained after encapsulation is transferred to described direct broadcast server.
In one embodiment, before receiving first via video data, described method also comprises:
When receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, select from described multi-path video data and the described first via video data corresponding to described selection instruction.
In one embodiment, described when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then obtain the second road video data corresponding with described switching command, comprising:
When described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then from described multi-path video data, determine the described second road video data corresponding with described switching command;
Receive the described second road video data that the terminal belonging to described second road video data sends;
Before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, described method also comprises:
Abandon and encapsulated but do not transferred to the part first via audio, video data of described direct broadcast server.
In one embodiment, described in receive first via video data, comprising:
In the process be connected with multiple terminal, receive the described first via video data that a terminal in described multiple terminal sends;
Described when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then obtain the second road video data corresponding with described switching command, comprising:
If receive described video switch instruction, then send video data to the terminal corresponding to described switching command and obtain notice;
The terminal pins receiving described correspondence obtains the described second road video data of notice transmission to described video data;
Before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, described method also comprises:
To encapsulate but the part first via audio, video data not transferring to described direct broadcast server continues to transfer to described direct broadcast server.
In one embodiment, described method also comprises:
After described part first via audio, video data is transferred to described direct broadcast server, if do not receive described second road video data yet, then default frame of video and described second road voice data are encapsulated;
By the target sound video data transmission after encapsulation to described direct broadcast server.
In one embodiment, described method also comprises:
Socket agreement is used to receive described first via video data or described second road video data;
Use described first via audio, video data, described second road voice data, described part first via audio, video data or the described target sound video data transmission extremely described direct broadcast server that data format is TS fragment file by socket agreement.
The present invention also provides a kind of transmitting device of multi-channel video, comprise: the first processing module, for when receiving first via video data, the first via voice data recorded corresponding with it for described first via video data is encapsulated, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server;
Second processing module, for when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupts current encapsulation process, and obtains the second road video data corresponding with described switching command;
3rd processing module, for being encapsulated by the second road voice data recorded corresponding with it for described second road video data, and transfers to described direct broadcast server by the second road audio, video data obtained after encapsulation.
In one embodiment, described device also comprises:
Select module, for before receiving first via video data, when receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, select from described multi-path video data and the described first via video data corresponding to described selection instruction.
In one embodiment, described second processing module comprises:
Determine submodule, for when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then from described multi-path video data, determine the described second road video data corresponding with described switching command;
First receives submodule, the described second road video data that the terminal for receiving belonging to described second road video data sends;
Described device also comprises:
Discard module, for before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, abandons and has encapsulated but do not transferred to the part first via audio, video data of described direct broadcast server.
In one embodiment, described first processing module comprises:
Second receives submodule, in the process be connected with multiple terminal, receives the described first via video data that a terminal in described multiple terminal sends;
Described second processing module comprises:
Send submodule, if for receiving described video switch instruction, then send video data to the terminal corresponding to described switching command and obtain notice;
3rd receives submodule, described video data is obtained to the described second road video data notifying to send for the terminal pins receiving described correspondence;
Described device also comprises:
First transport module, for before the second road voice data recorded corresponding with it for described second road video data is encapsulated, will to encapsulate but the part first via audio, video data not transferring to described direct broadcast server continues to transfer to described direct broadcast server.
In one embodiment, described device also comprises:
Package module, for after described part first via audio, video data is transferred to described direct broadcast server, if do not receive described second road video data yet, then encapsulates default frame of video and described second road voice data;
Second transport module, for by the target sound video data transmission after encapsulation to described direct broadcast server.
In one embodiment, described device also comprises:
Receiver module, receives described first via video data or described second road video data for using socket agreement;
3rd transport module, the described first via audio, video data being TS fragment file by data format for using socket agreement, described second road voice data, described part first via audio, video data or described target sound video data transmission are to described direct broadcast server.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: first via audio, video data is being transferred to direct broadcast server, when this first via audio, video data being carried out live for direct broadcast server, if receive video switch instruction, just automatically can obtain the second corresponding road video data according to this video switch instruction, and transfer to direct broadcast server after being encapsulated by this second road video data, for direct broadcast server, this first via audio, video data is carried out live, thus achieve and just programme televised live can be switched by the mode of soft handover, thus be very easy to live staff, and reduce hardware cost.
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 the transmission method of a kind of multi-channel video according to an exemplary embodiment.
Fig. 2 is the flow chart of the transmission method of another kind of multi-channel video according to an exemplary embodiment.
Fig. 3 is the flow chart of the transmission method of another multi-channel video according to an exemplary embodiment.
Fig. 4 is the flow chart of the transmission method of another multi-channel video according to an exemplary embodiment.
Fig. 5 is the block diagram of the transmitting device of a kind of multi-channel video according to an exemplary embodiment.
Fig. 6 is the block diagram of the transmitting device of another kind of multi-channel video according to an exemplary embodiment.
Fig. 7 is the block diagram of the transmitting device of another multi-channel video according to an exemplary embodiment.
Fig. 8 is the block diagram of the transmitting device of another multi-channel video according to an exemplary embodiment.
Fig. 9 is the block diagram of the transmitting device of another multi-channel video according to an exemplary embodiment.
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.
In correlation technique, in live process, if need to switch current live program, just need to be switched by hardware, this switching mode needs user to switch, cumbersome, in addition, the switching sensitivity isoparametric requirement of this switching mode to hardware is higher, and cost is also higher.
In order to solve the problems of the technologies described above, disclosure embodiment provides a kind of transmission method of multi-channel video, and its executive agent can be ordinary terminal or server, and the method is applicable in the transmission procedure of multi-channel video, system or device, as shown in Figure 1,
Step S101, when receiving first via video data, encapsulates the first via voice data recorded corresponding with it for first via video data, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server; Wherein, first via video data can be the video of the yuv form (pixel format that a kind of brightness parameter and colourity parameter separately represent) that transmitting terminal is recorded by camera, also can be that the video of this yuv form is encoded by this transmitting terminal further, the h264 video (a kind of video encoding and decoding standard) obtained.
And transmitting terminal is when being sent to local terminal by this first via video data, Tcp agreement can be passed through by this first via video data transmission to local terminal.
In addition, the mode of local terminal reception first via video data has two kinds:
Mode A, local terminal opens multiple process, receive the multi-path video data that multiple transmitting terminal sends simultaneously, but according to the selection instruction received, the first via voice data of a road video data and first via video data and recording is only selected to encapsulate, then ts (a kind of encapsulation format is exported, full name is MPEG2-TS) fragment file is to direct broadcast server, for this direct broadcast server, the first via audio, video data after encapsulation is carried out live, thus meet the viewing demand of spectators, certainly, in the process, just encapsulation process is carried out to first via video data, other circuit-switched data also have received, but do not carry out encapsulation process, but directly to abandon or after buffer memory a period of time, directly abandon, mode B, local terminal is kept in communication with multiple transmitting terminal simultaneously and is connected, but the same time only has a transmitting terminal transmitting video data, and with this transmitting terminal outside other transmitting terminals not to local terminal transmitting video data, therefore, this transmitting terminal transmitting video data that local terminal receives is exactly this first via video data.
Step S102, when first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupts current encapsulation process, and obtains the second road video data corresponding with switching command;
When receiving video switch instruction, illustrating that user expects to switch current live program, then can interrupt current encapsulation process immediately, think to receive the second road video data in time and carry out data encapsulation and prepare.
Step S103, encapsulates the second road voice data recorded corresponding with it for the second road video data, and the second road audio, video data obtained after encapsulation is transferred to direct broadcast server.
By the second road video data the second road voice data recorded corresponding thereto is encapsulated, the the second road audio, video data obtained after encapsulation can be transferred to direct broadcast server, thus achieve and just programme televised live can be switched by the mode of soft handover, be very easy to live staff, and reduce hardware cost.Certainly, when encapsulating, the second road video data the second road voice data recorded corresponding thereto can be encapsulated as the audio, video data of TS data format.
As shown in Figure 2, in one embodiment, before step S101, method also comprises:
Step S201, when receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, selects and the first via video data corresponding to selection instruction from multi-path video data.
When local terminal is connected with multiple terminal simultaneously, and each terminal all to local terminal transmission of one line video data (namely local terminal receives the multi-path video data of multiple terminal transmission) simultaneously time, can, according to the selection instruction received, live staff be selected to expect live first via video data.
As shown in Figure 3, in one embodiment, above-mentioned steps S102 can be performed as:
Steps A 1, when first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then determines the second road video data corresponding with switching command from multi-path video data;
Steps A 2, receives the second road video data that the terminal belonging to the second road video data sends;
By this first via audio data transmission in the process of this direct broadcast server, if receive video switch instruction, then according to this switching command, the second corresponding road video data can be determined exactly from multi-path video data; Then this second road video data is obtained in time from the transmitting terminal belonging to the second road video data, so that the second road voice data recorded corresponding with it for this second road video data is encapsulated, and the second road audio, video data obtained after encapsulation is transferred to this direct broadcast server, thus can realize freely switching programme televised live without barrier by software, thus be very easy to live staff, reduce hardware cost, and this switching mode is more smooth.
Before step S103, method also comprises:
Step 301, abandons and has encapsulated but do not transferred to the part first via audio, video data of direct broadcast server.
Before the second road voice data recorded corresponding with it for this second road video data is encapsulated, in order to avoid affecting the receiving velocity of the second road video data and the second road video data, encapsulation speed with video data, can abandon and encapsulated but not yet transferred to the part first via audio, video data of this direct broadcast server.
As shown in Figure 4, in one embodiment, receive first via video data, comprising:
In the process be connected with multiple terminal, receive the first via video data that a terminal in multiple terminal sends;
Above-mentioned steps S102 also can be performed as:
Step B1, if receive video switch instruction, then sends video data to the terminal corresponding to switching command and obtains notice;
Step B2, receives corresponding terminal pins obtains notice transmission the second road video data to video data;
When occupation mode B receives first via video data, if receive video switch instruction, then can send video acquisition notice to the video transmitting terminal corresponding to this switching command, so that this transmitting terminal sends the second road video data in time, thus make local terminal can receive the second road video data of this transmitting terminal transmission in time, and final realization can realize freely switching without barrier by software, thus be very easy to live staff, and reduce hardware cost.
Before step S103, method also comprises:
Step S401, will encapsulate but the part first via audio, video data not transferring to direct broadcast server continues to transfer to direct broadcast server.
Before the second road voice data recorded corresponding with it for this second road video data is encapsulated, this direct broadcast server can be transferred to live in order to ensure all first via audio, video datas encapsulated, thus meet the viewing demand of user, can will to encapsulate but the part first via audio, video data not yet transferring to this direct broadcast server continues to transfer to this direct broadcast server, thus to have avoided this part first via audio, video data to be wasted.
As shown in Figure 4, in one embodiment, method also comprises:
Step S402, after part first via audio, video data is transferred to direct broadcast server, if do not receive the second road video data yet, then encapsulates default frame of video and the second road voice data;
Step S403, by the target sound video data transmission after encapsulation to direct broadcast server.
Certainly, the process switched in order to ensure programme televised live is smooth as much as possible, realize seamless switching as far as possible, after this part first via audio, video data is transferred to this direct broadcast server completely, if also do not receive the second road video data, then this default frame of video and this second road voice data of being used for the filling time can be encapsulated, and by the target sound video data transmission after encapsulation to this direct broadcast server, thus make this live handoff procedure smooth as much as possible, to improve the viewing experience of user.
In one embodiment, socket agreement is used to receive first via video data or the second road video data; First via audio, video data, the second road voice data, part first via audio, video data or target sound video data transmission that data format is TS fragment file by use socket agreement are to direct broadcast server.
By this first via audio, video data, this second road voice data, this part first via audio, video data or this target sound video data transmission to direct broadcast server time, agreement can be used to transmit, wherein, SOCKET is applicable to two intercommunications based on the application program of ICP/IP protocol.Appearing at the earliest in unix system, is the main mode of intelligence transmission of unix system.In WINDOWS system, SOCKET is called WINSOCK, and Transmission Control Protocol (TransmissionControlProtocol, transmission control protocol) be a kind of connection-oriented, reliable, based on the transport layer communication protocol of byte stream, defined by the RFC793 of IETF.
As shown in Figure 5, the present invention also provides a kind of transmitting device of multi-channel video, comprise: the first processing module 501, be configured to when receiving first via video data, the first via voice data recorded corresponding with it for described first via video data is encapsulated, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server;
Second processing module 502, is configured to when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupts current encapsulation process, and obtains the second road video data corresponding with described switching command;
3rd processing module 503, is configured to the second road voice data recorded corresponding with it for described second road video data to encapsulate, and the second road audio, video data obtained after encapsulation is transferred to described direct broadcast server.
As shown in Figure 6, in one embodiment, described device also comprises:
Select module 601, be configured to before receiving first via video data, when receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, select from described multi-path video data and the described first via video data corresponding to described selection instruction.
As shown in Figure 7, in one embodiment, described second processing module 502 comprises:
Determine submodule 5021, be configured to when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then from described multi-path video data, determine the described second road video data corresponding with described switching command;
First receives submodule 5022, is configured to the described second road video data of the terminal transmission received belonging to described second road video data;
Described device also comprises:
Discard module 701, is configured to before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, abandons and has encapsulated but do not transferred to the part first via audio, video data of described direct broadcast server.
As shown in Figure 8, in one embodiment, described first processing module 501 comprises:
Second receives submodule 5011, is configured in the process be connected with multiple terminal, receives the described first via video data that a terminal in described multiple terminal sends;
Described second processing module 502 comprises:
Send submodule 5023, receive described video switch instruction if be configured to, then send video data to the terminal corresponding to described switching command and obtain notice;
3rd receives submodule 5024, and the terminal pins being configured to receive described correspondence obtains the described second road video data of notice transmission to described video data;
Described device also comprises:
First transport module 801, be configured to before the second road voice data recorded corresponding with it for described second road video data is encapsulated, will have encapsulated but the part first via audio, video data not transferring to described direct broadcast server continues to transfer to described direct broadcast server.
As shown in Figure 9, in one embodiment, described device also comprises:
Package module 901, is configured to after described part first via audio, video data is transferred to described direct broadcast server, if do not receive described second road video data yet, then default frame of video and described second road voice data is encapsulated;
Second transport module 902, is configured to the target sound video data transmission after by encapsulation to described direct broadcast server.
As shown in Figure 9, in one embodiment, described device also comprises:
Receiver module 903, is configured to use socket agreement to receive described first via video data or described second road video data;
3rd transport module 904, is configured to use described first via audio, video data, described second road voice data, described part first via audio, video data or the described target sound video data transmission extremely described direct broadcast server that data format is TS fragment file by socket agreement.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Finally, the transmitting device of the multi-channel video in the present invention is applicable to terminal equipment.Such as, can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
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 (12)

1. a transmission method for multi-channel video, is characterized in that, comprising:
When receiving first via video data, the first via voice data recorded corresponding with it for described first via video data is encapsulated, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server;
When described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupt current encapsulation process, and obtain the second road video data corresponding with described switching command;
The the second road voice data recorded corresponding with it for described second road video data is encapsulated, and the second road audio, video data obtained after encapsulation is transferred to described direct broadcast server.
2. method according to claim 1, is characterized in that, before receiving first via video data, described method also comprises:
When receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, select from described multi-path video data and the described first via video data corresponding to described selection instruction.
3. method according to claim 2, is characterized in that,
Described when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then obtain the second road video data corresponding with described switching command, comprising:
When described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then from described multi-path video data, determine the described second road video data corresponding with described switching command;
Receive the described second road video data that the terminal belonging to described second road video data sends;
Before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, described method also comprises:
Abandon and encapsulated but do not transferred to the part first via audio, video data of described direct broadcast server.
4. method according to claim 1, is characterized in that, described in receive first via video data, comprising:
In the process be connected with multiple terminal, receive the described first via video data that a terminal in described multiple terminal sends;
Described when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then obtain the second road video data corresponding with described switching command, comprising:
If receive described video switch instruction, then send video data to the terminal corresponding to described switching command and obtain notice;
The terminal pins receiving described correspondence obtains the described second road video data of notice transmission to described video data;
Before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, described method also comprises:
To encapsulate but the part first via audio, video data not transferring to described direct broadcast server continues to transfer to described direct broadcast server.
5. method according to claim 4, is characterized in that, described method also comprises:
After described part first via audio, video data is transferred to described direct broadcast server, if do not receive described second road video data yet, then default frame of video and described second road voice data are encapsulated;
By the target sound video data transmission after encapsulation to described direct broadcast server.
6. method according to any one of claim 1 to 5, is characterized in that, described method also comprises:
Socket agreement is used to receive described first via video data or described second road video data;
Use described first via audio, video data, described second road voice data, described part first via audio, video data or the described target sound video data transmission extremely described direct broadcast server that data format is TS fragment file by socket agreement.
7. a transmitting device for multi-channel video, is characterized in that, comprising:
First processing module, for when receiving first via video data, encapsulates the first via voice data recorded corresponding with it for described first via video data, and the first via audio, video data obtained after encapsulation is transferred to direct broadcast server;
Second processing module, for when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then interrupts current encapsulation process, and obtains the second road video data corresponding with described switching command;
3rd processing module, for being encapsulated by the second road voice data recorded corresponding with it for described second road video data, and transfers to described direct broadcast server by the second road audio, video data obtained after encapsulation.
8. device according to claim 7, is characterized in that, described device also comprises:
Select module, for before receiving first via video data, when receiving the multi-path video data of multiple terminal transmission, according to the selection instruction received, select from described multi-path video data and the described first via video data corresponding to described selection instruction.
9. device according to claim 8, is characterized in that,
Described second processing module comprises:
Determine submodule, for when described first via audio, video data is transferred to direct broadcast server, if receive video switch instruction, then from described multi-path video data, determine the described second road video data corresponding with described switching command;
First receives submodule, the described second road video data that the terminal for receiving belonging to described second road video data sends;
Described device also comprises:
Discard module, for before being encapsulated by the second road voice data recorded corresponding with it for described second road video data, abandons and has encapsulated but do not transferred to the part first via audio, video data of described direct broadcast server.
10. device according to claim 7, is characterized in that,
Described first processing module comprises:
Second receives submodule, in the process be connected with multiple terminal, receives the described first via video data that a terminal in described multiple terminal sends;
Described second processing module comprises:
Send submodule, if for receiving described video switch instruction, then send video data to the terminal corresponding to described switching command and obtain notice;
3rd receives submodule, described video data is obtained to the described second road video data notifying to send for the terminal pins receiving described correspondence;
Described device also comprises:
First transport module, for before the second road voice data recorded corresponding with it for described second road video data is encapsulated, will to encapsulate but the part first via audio, video data not transferring to described direct broadcast server continues to transfer to described direct broadcast server.
11. devices according to claim 10, is characterized in that, described device also comprises:
Package module, for after described part first via audio, video data is transferred to described direct broadcast server, if do not receive described second road video data yet, then encapsulates default frame of video and described second road voice data;
Second transport module, for by the target sound video data transmission after encapsulation to described direct broadcast server.
12. devices according to any one of claim 7 to 11, it is characterized in that, described device also comprises:
Receiver module, receives described first via video data or described second road video data for using socket agreement;
3rd transport module, the described first via audio, video data being TS fragment file by data format for using socket agreement, described second road voice data, described part first via audio, video data or described target sound video data transmission are to described direct broadcast server.
CN201510645737.3A 2015-10-08 2015-10-08 A kind of transmission method and device of multi-channel video Expired - Fee Related CN105245920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510645737.3A CN105245920B (en) 2015-10-08 2015-10-08 A kind of transmission method and device of multi-channel video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510645737.3A CN105245920B (en) 2015-10-08 2015-10-08 A kind of transmission method and device of multi-channel video

Publications (2)

Publication Number Publication Date
CN105245920A true CN105245920A (en) 2016-01-13
CN105245920B CN105245920B (en) 2018-08-24

Family

ID=55043363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510645737.3A Expired - Fee Related CN105245920B (en) 2015-10-08 2015-10-08 A kind of transmission method and device of multi-channel video

Country Status (1)

Country Link
CN (1) CN105245920B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341412A (en) * 2016-09-28 2017-01-18 天脉聚源(北京)科技有限公司 Method and apparatus for processing audio and video data
CN111356007A (en) * 2018-12-24 2020-06-30 深圳Tcl数字技术有限公司 Broadcast channel switching method and system, television and storage medium
CN112738540A (en) * 2020-12-25 2021-04-30 广州虎牙科技有限公司 Multi-device live broadcast switching method, device and system, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090478A (en) * 2006-06-12 2007-12-19 中国电信股份有限公司 Request/live telecast switchover method, system, coorelation request method and set-top box
CN101316357A (en) * 2008-06-30 2008-12-03 华为技术有限公司 Channel switching method, terminal and medium service apparatus
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
US20140101227A1 (en) * 2012-10-09 2014-04-10 Christoph Bieselt Viewing angle switching for live broadcasts and on demand video playback
CN103856806A (en) * 2012-11-28 2014-06-11 腾讯科技(北京)有限公司 Video stream switching method, device and system
US20140247270A1 (en) * 2010-06-07 2014-09-04 Apple Inc. Switching Video Streams for a Display Without a Visible Interruption

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090478A (en) * 2006-06-12 2007-12-19 中国电信股份有限公司 Request/live telecast switchover method, system, coorelation request method and set-top box
CN101316357A (en) * 2008-06-30 2008-12-03 华为技术有限公司 Channel switching method, terminal and medium service apparatus
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
US20140247270A1 (en) * 2010-06-07 2014-09-04 Apple Inc. Switching Video Streams for a Display Without a Visible Interruption
US20140101227A1 (en) * 2012-10-09 2014-04-10 Christoph Bieselt Viewing angle switching for live broadcasts and on demand video playback
CN103856806A (en) * 2012-11-28 2014-06-11 腾讯科技(北京)有限公司 Video stream switching method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341412A (en) * 2016-09-28 2017-01-18 天脉聚源(北京)科技有限公司 Method and apparatus for processing audio and video data
CN111356007A (en) * 2018-12-24 2020-06-30 深圳Tcl数字技术有限公司 Broadcast channel switching method and system, television and storage medium
CN112738540A (en) * 2020-12-25 2021-04-30 广州虎牙科技有限公司 Multi-device live broadcast switching method, device and system, electronic device and readable storage medium
CN112738540B (en) * 2020-12-25 2023-09-05 广州虎牙科技有限公司 Multi-device live broadcast switching method, device, system, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN105245920B (en) 2018-08-24

Similar Documents

Publication Publication Date Title
US10045065B2 (en) Synchronization and control of overlay contents for video streaming in a wireless communication system
CN108476508B (en) Downlink data packet configuration method and device
TWI565310B (en) Video streaming in a wireless communication system
KR101936944B1 (en) Interactive video conferencing
WO2011126511A4 (en) Establishing a video conference during a phone call
EP3537686B1 (en) Protocol data unit (pdu) packet generating method and apparatus
TWI386062B (en) Method, apparatus and computer program product for processing media content
CN109495761A (en) Video switching method and device
KR20140111010A (en) Bi-directional tunneling via user input back channel for wireless displays
CN107566918A (en) A kind of low delay under video distribution scene takes the neutrel extraction of root
US20200169774A1 (en) Control method and device
EP2934007A1 (en) Method for switching coding mode, sending end and receiving end
CN105245920A (en) Multi-channel video transmission method and device
CN109963106B (en) Video image processing method and device, storage medium and terminal
CN111447457A (en) Live video processing method and device and storage medium
CN109996348B (en) Method, system and storage medium for interaction between intelligent glasses and intelligent equipment
CN104580289B (en) A kind of methods, devices and systems being controlled to user equipment
KR20210141295A (en) Method and apparatus for transmitting video content using edge computing service
CN108307227A (en) A kind of method and device for realizing intelligent terminal and projection device Display on the same screen
CN103491368A (en) Method, device and system for processing video
CN114710568A (en) Audio and video data communication method, equipment and storage medium
US11699462B2 (en) Method, apparatus and computer program
EP3386203B1 (en) Signalling of auxiliary content for a broadcast signal
JP2008148314A (en) Method and apparatus for processing reorder in wireless communication system
US20220103601A1 (en) Terminal devices, infrastructure equipment and methods

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
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: A multi-channel video transmission method and device

Effective date of registration: 20210104

Granted publication date: 20180824

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

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

Registration number: Y2020990001517

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: 20180824

Termination date: 20211008