CN105245920B - A kind of transmission method and device of multi-channel video - Google Patents

A kind of transmission method and device of multi-channel video Download PDF

Info

Publication number
CN105245920B
CN105245920B CN201510645737.3A CN201510645737A CN105245920B CN 105245920 B CN105245920 B CN 105245920B CN 201510645737 A CN201510645737 A CN 201510645737A CN 105245920 B CN105245920 B CN 105245920B
Authority
CN
China
Prior art keywords
video data
road
video
audio
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510645737.3A
Other languages
Chinese (zh)
Other versions
CN105245920A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of transmission method of multi-channel video and devices.Method includes:When receiving first via video data, the corresponding first via audio data recorded of first via video data is packaged, and the first via audio, video data obtained after encapsulation is transmitted to direct broadcast server;When first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, current encapsulation process is interrupted, and obtain the second road video data corresponding with switching command;Corresponding the second road audio data recorded of second road video data is packaged, and the second road audio, video data obtained after encapsulation is transmitted to direct broadcast server.Technical solution through the invention can be realized and be switched over programme televised live by way of soft handover, to greatly facilitate live streaming staff, and reduce hardware cost.

Description

A kind of transmission method and device of multi-channel video
Technical field
The present invention relates to technical field of video transmission, more particularly to the transmission method and device of a kind of multi-channel video.
Background technology
Currently, during live streaming, if necessary to switch current live program, it is necessary to it is switched over by hardware, this Kind switching mode needs user to switch over, cumbersome, in addition, this switching mode is to parameters such as the switching sensitivity of hardware Requirement it is relatively high, and cost is also relatively high.
Invention content
The present invention provides a kind of transmission method and device of multi-channel video, to be transmitted to by first via audio, video data Direct broadcast server when being broadcast live the first via audio, video data for direct broadcast server, refers to if receiving video switching It enables, so that it may to obtain corresponding second road video data automatically according to the video switching command, and by the second road video counts According to direct broadcast server is transmitted to after being packaged, so that the first via audio, video data is broadcast live by direct broadcast server, to Programme televised live can be switched over by way of soft handover by realizing, to greatly facilitate live streaming staff, And reduce hardware cost.
The present invention provides a kind of transmission method of multi-channel video, including:It, will be described when receiving first via video data The first via that the corresponding first via audio data recorded of first via video data is packaged, and will be obtained after encapsulation Audio, video data is transmitted to direct broadcast server;
When the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, in Disconnected current encapsulation process, and obtain the second road video data corresponding with the switching command;
Video data corresponding the second road audio data recorded in second road is packaged, and will encapsulation The the second road audio, video data obtained afterwards is transmitted to the direct broadcast server.
In one embodiment, before receiving first via video data, the method further includes:
When receiving the multi-path video data of multiple terminal transmissions, according to the selection instruction received, from the multichannel Selection and the first via video data corresponding to the selection instruction in video data.
In one embodiment, described when the first via audio, video data is transmitted to direct broadcast server, if receiving To video switching command, then the second road video data corresponding with the switching command is obtained, including:
When the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, from Second road video data corresponding with the switching command is determined in the multi-path video data;
Receive second road video data that the terminal belonging to the video data of second road is sent;
Before the second road audio data recorded that second road video data is corresponding is packaged, institute The method of stating further includes:
Abandon the part first via audio, video data for having encapsulated and having completed but be not transferred to the direct broadcast server.
In one embodiment, described to receive first via video data, including:
During being connected with multiple terminals, a terminal in the multiple terminal is sent described first is received Road video data;
It is described when the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, The second road video data corresponding with the switching command is then obtained, including:
If receiving the video switching command, sends video data to the terminal corresponding to the switching command and obtain Notice;
It receives the corresponding terminal and obtains second road video data that notice is sent for the video data;
Before the second road audio data recorded that second road video data is corresponding is packaged, institute The method of stating further includes:
It will encapsulate and completed but be not transferred to the part first via audio, video data of the direct broadcast server and continue to be transmitted to The direct broadcast server.
In one embodiment, the method further includes:
After the part first via audio, video data is transmitted to the direct broadcast server, if not receiving described yet Default video frame and second road audio data are then packaged by two road video datas;
By the target sound video data transmission after encapsulation to the direct broadcast server.
In one embodiment, the method further includes:
The first via video data or second road video data are received using socket agreements;
The first via audio, video data, second tunnel using socket agreements by data format for TS fragment files Audio data, the part first via audio, video data or the target sound video data transmission are to the direct broadcast server.
The present invention also provides a kind of transmitting devices of multi-channel video, including:First processing module, for receiving first When the video data of road, the corresponding first via audio data recorded of the first via video data is packaged, and The first via audio, video data obtained after encapsulation is transmitted to direct broadcast server;
Second processing module, for when the first via audio, video data is transmitted to direct broadcast server, if receiving Video switching command then interrupts current encapsulation process, and obtains the second road video data corresponding with the switching command;
Third processing module, for by corresponding the second road audio data recorded of second road video data It is packaged, and the second road audio, video data obtained after encapsulation is transmitted to the direct broadcast server.
In one embodiment, described device further includes:
Selecting module, for before receiving first via video data, being regarded in the multichannel for receiving multiple terminal transmissions Frequency according to when, according to the selection instruction received, from the multi-path video data selection with corresponding to the selection instruction The first via video data.
In one embodiment, the Second processing module includes:
Determination sub-module, for when the first via audio, video data is transmitted to direct broadcast server, being regarded if receiving Frequency switching command then determines second road video counts corresponding with the switching command from the multi-path video data According to;
First receiving submodule is regarded for receiving second tunnel that the terminal belonging to the video data of second road is sent Frequency evidence;
Described device further includes:
Discard module, for by corresponding the second road audio data recorded of second road video data into Before row encapsulation, the part first via audio, video data for having encapsulated and having completed but be not transferred to the direct broadcast server is abandoned.
In one embodiment, the first processing module includes:
Second receiving submodule, for during being connected with multiple terminals, receiving one in the multiple terminal The first via video data that a terminal is sent;
The Second processing module includes:
Sending submodule, if for receiving the video switching command, to the terminal corresponding to the switching command It sends video data and obtains notice;
Third receiving submodule obtains the institute that notice is sent for receiving the corresponding terminal for the video data State the second road video data;
Described device further includes:
First transmission module, for by corresponding the second tunnel audio number recorded of second road video data According to before being packaged, the part first via audio, video data continuation completed but be not transferred to the direct broadcast server will have been encapsulated It is transmitted to the direct broadcast server.
In one embodiment, described device further includes:
Package module, for after the part first via audio, video data is transmitted to the direct broadcast server, if still Second road video data is not received, then is packaged default video frame and second road audio data;
Second transmission module, for the target sound video data transmission after encapsulating to the direct broadcast server.
In one embodiment, described device further includes:
Receiving module, for receiving the first via video data or second road video counts using socket agreements According to;
Third transmission module, for being regarded the first via sound that data format is TS fragment files using socket agreements Frequency evidence, second road audio data, the part first via audio, video data or the target sound video data transmission To the direct broadcast server.
The technical scheme provided by this disclosed embodiment can include the following benefits:By first via audio, video data It is transmitted to direct broadcast server, when the first via audio, video data is broadcast live for direct broadcast server, if receiving video Switching command, so that it may to obtain corresponding second road video data automatically according to the video switching command, and by second tunnel Video data is transmitted to direct broadcast server after being packaged, so that direct broadcast server carries out the first via audio, video data directly It broadcasts, programme televised live can be switched over by way of soft handover to realize, to greatly facilitate live streaming work Make personnel, and reduces hardware cost.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the transmission method of multi-channel video shown according to an exemplary embodiment.
Fig. 2 is the flow chart of the transmission method of another multi-channel video shown according to an exemplary embodiment.
Fig. 3 is the flow chart according to the transmission method of another multi-channel video shown in an exemplary embodiment.
Fig. 4 is the flow chart according to the transmission method of another multi-channel video shown in an exemplary embodiment.
Fig. 5 is a kind of block diagram of the transmitting device of multi-channel video shown according to an exemplary embodiment.
Fig. 6 is the block diagram of the transmitting device of another multi-channel video shown according to an exemplary embodiment.
Fig. 7 is the block diagram according to the transmitting device of another multi-channel video shown in an exemplary embodiment.
Fig. 8 is the block diagram according to the transmitting device of another multi-channel video shown in an exemplary embodiment.
Fig. 9 is the block diagram according to the transmitting device of another multi-channel video shown in an exemplary embodiment.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In the related technology, during live streaming, if necessary to switch current live program, it is necessary to be cut by hardware It changes, this switching mode needs user to switch over, cumbersome, in addition, switching sensitivity of this switching mode to hardware Etc. parameters requirement it is relatively high, and cost is also relatively high.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of transmission method of multi-channel video, executes Main body can be ordinary terminal or server, and this method is suitable for the transmission program of multi-channel video, system or device, such as Shown in Fig. 1,
Step S101 has been recorded when receiving first via video data by first via video data is corresponding First via audio data is packaged, and the first via audio, video data obtained after encapsulation is transmitted to direct broadcast server;Wherein, First via video data can be sent the yuv formats that terminal is recorded by camera (a kind of brightness parameter and coloration parameter divide The pixel format that game clock is shown) video, can also be that the transmission terminal further encodes the video of the yuv formats, A kind of obtained h264 videos (video encoding and decoding standard).
And terminal is sent when sending the first via video data to local terminal, it can be by Tcp agreements by the first via Video data transmission is to local terminal.
In addition, there are two types of the modes of local terminal reception first via video data:
Mode A, local terminal open multiple processes, while receiving the multi-path video data that multiple transmission terminals are sent, but root According to the selection instruction received, only select video data i.e. first via video data all the way and the first via audio data of recording into Then row encapsulation exports a kind of ts (encapsulation format, full name MPEG2-TS) fragment files to direct broadcast server, for the live streaming First via audio, video data after encapsulation is broadcast live by server, to meet the viewing demand of spectators, certainly, in this process In, encapsulation process only has been carried out to first via video data, other circuit-switched datas also have received, but are not packaged processing, But after directly abandoning or caching a period of time, directly abandon;Mode B, local terminal are kept in communication with multiple transmission terminals simultaneously Connection, but the same time only there are one send terminal transmission video data, and with except the transmission terminal other send terminals Not to local terminal transmitting video data, therefore, the transmission terminal transmission video data that local terminal receives is exactly that the first via regards Frequency evidence.
Step S102, when first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, Current encapsulation process is then interrupted, and obtains the second road video data corresponding with switching command;
When receiving video switching command, illustrates that user it is expected to switch current live program, then can interrupt and work as immediately Preceding encapsulation process, to prepare to receive the second road video data in time and carrying out data encapsulation.
Corresponding the second road audio data recorded of second road video data is packaged by step S103, and The the second road audio, video data obtained after encapsulation is transmitted to direct broadcast server.
It is packaged, can be incited somebody to action by the second road audio data recorded by the second road video data corresponding thereto The the second road audio, video data obtained after encapsulation is transmitted to direct broadcast server, to realize by way of soft handover Programme televised live is switched over, greatly facilitates live streaming staff, and reduce hardware cost.Certainly, it is being packaged When, the second road audio data recorded that can be by the second road video data corresponding thereto is encapsulated as the sound of TS data formats Video data.
As shown in Fig. 2, in one embodiment, before step S101, method further includes:
Step S201, when receiving the multi-path video data of multiple terminal transmissions, according to the selection instruction received, from Selection and the first via video data corresponding to selection instruction in multi-path video data.
When local terminal is connected simultaneously with multiple terminals, and each terminal is to local terminal transmission of one line video data (i.e. local terminal The multi-path video data of multiple terminal transmissions is received simultaneously) when, live streaming work can be selected according to the selection instruction received Personnel it is expected the first via video data of live streaming.
As shown in figure 3, in one embodiment, above-mentioned steps S102 can be performed as:
Step A1, when first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, The second road video data corresponding with switching command is determined from multi-path video data;
Step A2 receives the second road video data that the terminal belonging to the second road video data is sent;
During the first via audio data is transmitted to the direct broadcast server, if receiving video switching command, Then corresponding second road video data can be accurately determined out from multi-path video data according to the switching command;Then The second road video data is obtained in time from the transmission terminal belonging to the second road video data, in order to regard second tunnel Frequency is packaged according to corresponding the second road audio data recorded, and the second tunnel audio and video number that will be obtained after encapsulation According to the direct broadcast server is transmitted to, to which free switching programme televised live without barrier can be realized by software, to greatly Live streaming staff is facilitated, reduces hardware cost, and this switching mode is than smoother.
Before step S103, method further includes:
Step 301, the part first via audio, video data for having encapsulated and having completed but be not transferred to direct broadcast server is abandoned.
Before the second road audio data recorded that the second road video data is corresponding is packaged, in order to The receiving velocity and the second road video data, the encapsulation rate with video data for avoiding influencing the second road video data, can lose Abandon the part first via audio, video data for having encapsulated and having completed but be not yet transmitted to the direct broadcast server.
As shown in figure 4, in one embodiment, first via video data is received, including:
During being connected with multiple terminals, the first via video counts that a terminal in multiple terminals is sent are received According to;
Above-mentioned steps S102 can be also performed as:
Step B1 sends video data to the terminal corresponding to switching command and obtains if receiving video switching command Notice;
Step B2 receives corresponding terminal and obtains the second road video data that notice is sent for video data;
When occupation mode B receives first via video data, if receiving video switching command, can refer to the switching It enables corresponding video send terminal and sends video acquisition notice, in order to which the transmission terminal sends the second road video counts in time According to so that local terminal can receive the second road video data of transmission terminal transmission in time, and finally realizing by soft Free switching without barrier can be realized in part, to greatly facilitate live streaming staff, and reduces hardware cost.
Before step S103, method further includes:
Step S401 will have been encapsulated and completed but be not transferred to the part first via audio, video data of direct broadcast server after resuming Transport to direct broadcast server.
Before the second road audio data recorded that the second road video data is corresponding is packaged, in order to Ensure that all first via audio, video datas of encapsulated completion can be transmitted to the direct broadcast server to be broadcast live, to full The viewing demand of sufficient user can will encapsulate the part first via audio and video number completed but be not yet transmitted to the direct broadcast server According to continuing to be transmitted to the direct broadcast server, to avoid the part first via audio, video data from being wasted.
As shown in figure 4, in one embodiment, method further includes:
Step S402, after part first via audio, video data is transmitted to direct broadcast server, if not receiving second yet Default video frame and the second road audio data are then packaged by road video data;
Step S403, by the target sound video data transmission after encapsulation to direct broadcast server.
Certainly, in order to ensure the process of programme televised live switching is smooth as much as possible, seamless switching is realized as far as possible, when should After part first via audio, video data is completely transferred to the direct broadcast server, if not receiving the second road video data also, It can will be packaged with the second road audio data for the default video frame of filling time, and by the target sound after encapsulation Video data transmission is to the direct broadcast server, so that the live streaming handoff procedure is smooth as much as possible, to improve the sight of user See experience.
In one embodiment, first via video data or the second road video data are received using socket agreements;It uses Data format is the first via audio, video data, the second road audio data, the part first via of TS fragment files by socket agreements Audio, video data or target sound video data transmission are to direct broadcast server.
By the first via audio, video data, the second road audio data, the part first via audio, video data or should It when target sound video data transmission to direct broadcast server, can be transmitted using agreement, wherein SOCKET is suitable for two bases In the intercommunication of the application program of ICP/IP protocol.It appears in unix system earliest, is the main information of unix system Transfer mode.In WINDOWS systems, SOCKET is known as WINSOCK, and Transmission Control Protocol (Transmission Control Protocol, transmission control protocol) it is a kind of connection-oriented, reliable transport layer communication protocol based on byte stream, by The RFC 793 of IETF is defined.
As shown in figure 5, the present invention also provides a kind of transmitting devices of multi-channel video, including:First processing module 501, quilt It is configured to when receiving first via video data, by the corresponding first via sound recorded of the first via video data Frequency evidence is packaged, and the first via audio, video data obtained after encapsulation is transmitted to direct broadcast server;
Second processing module 502 is configured as when the first via audio, video data is transmitted to direct broadcast server, if Video switching command is received, then interrupts current encapsulation process, and obtain the second road video corresponding with the switching command Data;
Third processing module 503 is configured as corresponding the second tunnel recorded of second road video data Audio data is packaged, and the second road audio, video data obtained after encapsulation is transmitted to the direct broadcast server.
As shown in fig. 6, in one embodiment, described device further includes:
Selecting module 601 is configured as before receiving first via video data, is receiving multiple terminal transmissions When multi-path video data, according to the selection instruction received, selection and the selection instruction institute from the multi-path video data The corresponding first via video data.
As shown in fig. 7, in one embodiment, the Second processing module 502 includes:
Determination sub-module 5021 is configured as when the first via audio, video data is transmitted to direct broadcast server, if Video switching command is received, then determines second tunnel corresponding with the switching command from the multi-path video data Video data;
First receiving submodule 5022 is configured as receiving the described of the terminal transmission belonging to the video data of second road Second road video data;
Described device further includes:
Discard module 701 is configured as by corresponding the second road sound recorded of second road video data Frequency abandons the part first via audio and video number for having encapsulated and having completed but be not transferred to the direct broadcast server according to before being packaged According to.
As shown in figure 8, in one embodiment, the first processing module 501 includes:
Second receiving submodule 5011 is configured as during with multiple terminals being connected, receiving the multiple end The first via video data that a terminal in end is sent;
The Second processing module 502 includes:
Sending submodule 5023, if being configured as receiving the video switching command, to the switching command, institute is right The terminal answered sends video data and obtains notice;
Third receiving submodule 5024 is configured as receiving the corresponding terminal for video data acquisition notice Second road video data sent;
Described device further includes:
First transmission module 801 is configured as by second corresponding recorded of second road video data Before road audio data is packaged, the part first via audio and video completed but be not transferred to the direct broadcast server will have been encapsulated Data continue to be transmitted to the direct broadcast server.
As shown in figure 9, in one embodiment, described device further includes:
Package module 901 is configured as the part first via audio, video data being transmitted to the direct broadcast server Afterwards, if not receiving second road video data yet, default video frame and second road audio data are packaged;
Second transmission module 902 is configured as the target sound video data transmission after encapsulating to the direct broadcast server.
As shown in figure 9, in one embodiment, described device further includes:
Receiving module 903 is configured with socket agreements and receives the first via video data or second tunnel Video data;
Third transmission module 904 is configured with socket agreements by data format is TS fragment files described the Audio, video data, second road audio data, the part first via audio, video data or the target audio and video all the way Data transmission is to the direct broadcast server.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the transmitting device of the multi-channel video in the present invention is suitable for terminal device.For example, it may be mobile phone, Computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, a number Word assistant etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of transmission method of multi-channel video, which is characterized in that including:
When receiving first via video data, by the corresponding first via audio recorded of the first via video data Data are packaged, and the first via audio, video data obtained after encapsulation is transmitted to direct broadcast server;
When the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, interruption is worked as Preceding encapsulation process, and obtain the second road video data corresponding with the switching command;
Video data corresponding the second road audio data recorded in second road is packaged, and will be obtained after encapsulation To the second road audio, video data be transmitted to the direct broadcast server.
2. according to the method described in claim 1, it is characterized in that, before receiving first via video data, the method Further include:
When receiving the multi-path video data of multiple terminal transmissions, according to the selection instruction received, from the multi-channel video Selection and the first via video data corresponding to the selection instruction in data.
3. according to the method described in claim 2, it is characterized in that,
It is described when the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, obtain The second road video data corresponding with the switching command is taken, including:
When the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, from described Second road video data corresponding with the switching command is determined in multi-path video data;
Receive second road video data that the terminal belonging to the video data of second road is sent;
Before the second road audio data recorded that second road video data is corresponding is packaged, the side Method further includes:
Abandon the part first via audio, video data for having encapsulated and having completed but be not transferred to the direct broadcast server.
4. according to the method described in claim 1, it is characterized in that, described receive first via video data, including:
During being connected with multiple terminals, the first via for receiving the transmission of in the multiple terminal terminal regards Frequency evidence;
It is described when the first via audio, video data is transmitted to direct broadcast server, if receiving video switching command, obtain The second road video data corresponding with the switching command is taken, including:
If receiving the video switching command, sends video data to the terminal corresponding to the switching command and obtain and lead to Know;
It receives the corresponding terminal and obtains second road video data that notice is sent for the video data;
Before the second road audio data recorded that second road video data is corresponding is packaged, the side Method further includes:
By encapsulated complete but be not transferred to the direct broadcast server part first via audio, video data continue to be transmitted to it is described Direct broadcast server.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
After the part first via audio, video data is transmitted to the direct broadcast server, if not receiving second tunnel yet Default video frame and second road audio data are then packaged by video data;
By the target sound video data transmission after encapsulation to the direct broadcast server.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
The first via video data or second road video data are received using socket agreements;
The first via audio, video data, second tunnel audio using socket agreements by data format for TS fragment files Data, the part first via audio, video data or the target sound video data transmission are to the direct broadcast server.
7. a kind of transmitting device of multi-channel video, which is characterized in that including:
First processing module, it is for when receiving first via video data, the first via video data is corresponding The first via audio data recorded is packaged, and the first via audio, video data obtained after encapsulation is transmitted to direct broadcast service Device;
Second processing module, for when the first via audio, video data is transmitted to direct broadcast server, if receiving video Switching command then interrupts current encapsulation process, and obtains the second road video data corresponding with the switching command;
Third processing module, for carrying out corresponding the second road audio data recorded of second road video data Encapsulation, and the second road audio, video data obtained after encapsulation is transmitted to the direct broadcast server.
8. device according to claim 7, which is characterized in that described device further includes:
Selecting module, for before receiving first via video data, in the multi-channel video number for receiving multiple terminal transmissions According to when, according to the selection instruction received, from the multi-path video data selection with corresponding to the selection instruction described in First via video data.
9. device according to claim 8, which is characterized in that
The Second processing module includes:
Determination sub-module, for when the first via audio, video data is transmitted to direct broadcast server, being cut if receiving video Instruction is changed, then determines second road video data corresponding with the switching command from the multi-path video data;
First receiving submodule, second road video counts sent for receiving the terminal belonging to the video data of second road According to;
Described device further includes:
Discard module, for being sealed by corresponding the second road audio data recorded of second road video data Before dress, the part first via audio, video data for having encapsulated and having completed but be not transferred to the direct broadcast server is abandoned.
10. device according to claim 7, which is characterized in that
The first processing module includes:
Second receiving submodule, for during being connected with multiple terminals, receiving an end in the multiple terminal Hold the first via video data sent;
The Second processing module includes:
If sending submodule is sent for receiving the video switching command to the terminal corresponding to the switching command Video data obtains notice;
Third receiving submodule, obtain that notice is sent for the video data for receiving the corresponding terminal described the Two road video datas;
Described device further includes:
First transmission module, for by corresponding the second road audio data recorded of second road video data into Before row encapsulation, it will encapsulate and completed but be not transferred to the part first via audio, video data of the direct broadcast server and continue to transmit To the direct broadcast server.
11. device according to claim 10, which is characterized in that described device further includes:
Package module, for after the part first via audio, video data is transmitted to the direct broadcast server, if not connecing yet Second road video data is received, then is packaged default video frame and second road audio data;
Second transmission module, for the target sound video data transmission after encapsulating to the direct broadcast server.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Receiving module, for receiving the first via video data or second road video data using socket agreements;
Third transmission module, for using the first via audio and video number of the socket agreements by data format for TS fragment files According to, second road audio data, the part first via audio, video data or the target sound video data transmission to institute State 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 CN105245920A (en) 2016-01-13
CN105245920B true 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)

Families Citing this family (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
CN112738540B (en) * 2020-12-25 2023-09-05 广州虎牙科技有限公司 Multi-device live broadcast switching method, device, system, electronic device and readable storage medium

Citations (4)

* 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
CN103856806A (en) * 2012-11-28 2014-06-11 腾讯科技(北京)有限公司 Video stream switching method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8730251B2 (en) * 2010-06-07 2014-05-20 Apple Inc. Switching video streams for a display without a visible interruption
US9078012B2 (en) * 2012-10-09 2015-07-07 Christoph Bieselt Viewing angle switching for live broadcasts and on demand video playback

Patent Citations (4)

* 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
CN103856806A (en) * 2012-11-28 2014-06-11 腾讯科技(北京)有限公司 Video stream switching method, device and system

Also Published As

Publication number Publication date
CN105245920A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
US11621984B2 (en) Interface apparatus and method for transmitting and receiving media data
RU2528008C2 (en) Information receiving device and information transmitting device
EP3591908B9 (en) Method and device for lip-speech synchronization among multiple devices
EP4246932A2 (en) Method for transmitting data in a multimedia transmission system
EP3247121B1 (en) Streaming media data transmission method, client and server
CN105245920B (en) A kind of transmission method and device of multi-channel video
CN111512609B (en) Method and user equipment for streaming data from a UE to an ingestion point in a network
CN114363667B (en) Client, server, receiving method and transmitting method
JP2018056994A (en) Method for transmitting video and data transmitter
WO2020173165A1 (en) Method and apparatus for simultaneously switching audio stream and video stream
JP2015529044A (en) Method and apparatus for distributing transfer characteristic information of multimedia data
CN106454394A (en) Fast changing method of DVB channels, equipment and system
EP2312826A2 (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
KR20200018423A (en) Demodulation device, processing device, receiving device and data processing method
EP3419297B1 (en) Method and device for controlling the delivery type of mmt based multimedia service
US20220103601A1 (en) Terminal devices, infrastructure equipment and methods
CN107431571B (en) Data receiving apparatus, data transmission system, data receiving method, and data transmission method
US10440406B2 (en) Method and apparatus for transmitting or receiving multimedia
CN109640040B (en) Video transmission method, device, system and server
WO2024060719A1 (en) Data transmission methods, apparatus, electronic device, and storage medium
CN109196870B (en) Method and apparatus for transmitting and receiving MMTP packets
EP4274189A2 (en) Packet validity time enhancement for quality of service flows
EP4120732A1 (en) Media packet transmission method, apparatus, and system

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