CN109413469A - A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium - Google Patents
A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109413469A CN109413469A CN201811013755.XA CN201811013755A CN109413469A CN 109413469 A CN109413469 A CN 109413469A CN 201811013755 A CN201811013755 A CN 201811013755A CN 109413469 A CN109413469 A CN 109413469A
- Authority
- CN
- China
- Prior art keywords
- main broadcaster
- broadcaster end
- video stream
- target video
- video flowing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 241000209140 Triticum Species 0.000 title claims abstract description 45
- 235000021307 Triticum Nutrition 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004904 shortening Methods 0.000 claims abstract description 47
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- 238000001514 detection method Methods 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000001934 delay Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010899 nucleation Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42203—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440281—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a kind of live streamings even wheat delay control method, device, electronic equipment and storage medium, in this method, obtain the video flowing of the second main broadcaster end transmission, wherein, second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end, the first time stamp and video flowing being currently played of the acquired video flowing of detection the second timestamp difference not within a preset range when, it determines in acquired video flowing, target video stream between first time stamp and the second timestamp, shorten the play time of target video stream, and play the target video stream after shortening play time.In the present invention, in network delay, by the play time for shortening target video stream, and the mode of the target video stream after shortening play time is played, target video stream is fast skipped, the difference of stamp and the second timestamp at the first time is reduced, reduce a possibility that dialogue can not be connected, the company of raising Mai Xiaoguo.
Description
Technical field
The present invention relates to direct seeding technique fields, set more particularly to a kind of live streaming even wheat delay control method, device, electronics
Standby and storage medium.
Background technique
Currently, two main broadcasters can be communicated by way of even wheat, wherein each main broadcaster can during live streaming
To carry out even wheat by respective main broadcaster end.
During main broadcaster carries out even wheat by main broadcaster end, there are such a case: if network has a delay, one
There is delay in the video flowing at another main broadcaster end that a main broadcaster's termination receives, so that the dialogue between two main broadcasters can not be connected,
Caton is caused when serious, causes company's wheat effect poor.
Summary of the invention
A kind of live streaming of being designed to provide of the embodiment of the present invention even wheat delay control method, device, electronic equipment and is deposited
Storage media, with the company of raising Mai Xiaoguo.Specific technical solution is as follows:
A kind of live streaming company wheat delay control method, is applied to the first main broadcaster end, which comprises
Obtain the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is to carry out with first main broadcaster end
The even main broadcaster end of wheat;
The difference of second timestamp of the first time stamp and video flowing being currently played of the acquired video flowing of detection
Whether within a preset range;
If not, determining in acquired video flowing, the target video between first time stamp and the second timestamp
Stream;
Shorten the play time of the target video stream, and plays the target video stream after shortening play time.
Optionally, described the step of obtaining the video flowing that the second main broadcaster end is sent, comprising:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
Optionally, the play time for shortening the target video stream, and play the target view after shortening play time
The step of frequency flows, comprising:
Quickly play the target video stream.
Optionally, the play time for shortening the target video stream, and play the target view after shortening play time
The step of frequency flows, comprising:
According to default minimizing technology, video frame is removed from the target video stream;
Target video stream after playing removal video frame.
A kind of live streaming company wheat postpones control device, is applied to the first main broadcaster end, described device includes:
Module is obtained, for obtaining the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is with described the
One main broadcaster end carries out the main broadcaster end of even wheat;
Detection module, for detecting the of the first time stamp of acquired video flowing and the video flowing being currently played
The difference of two timestamps whether within a preset range, if not, triggering determining module;
The determining module is located at the first time between stamp and the second timestamp for determining in acquired video flowing
Target video stream;
Shorten module, for shortening the play time of the target video stream, and plays the target after shortening play time
Video flowing.
Optionally, the acquisition module, is specifically used for:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
Optionally, the shortening module, is specifically used for:
Quickly play the target video stream.
Optionally, the shortening module, comprising:
Submodule is removed, for removing video frame from the target video stream according to removal device is preset;
Submodule is played, for playing the target video stream after removing video frame.
A kind of electronic equipment, including processor and memory, wherein
Memory, for storing computer program;
Processor when for executing the computer program stored on memory, realizes any of the above-described method step
Suddenly.
A kind of computer readable storage medium, which is characterized in that calculating is stored in the computer readable storage medium
Machine program, the computer program realize any of the above-described method and step when being executed by processor.
In the embodiment of the present invention, the video flowing that the second main broadcaster end is sent is obtained, wherein the second main broadcaster end is and the first main broadcaster
The first time stamp and the second of the video flowing being currently played of acquired video flowing is detected at the main broadcaster end for holding the company of progress wheat
The difference of timestamp whether within a preset range, if not, determine in acquired video flowing, when being located at that stamp is with second at the first time
Between stamp between target video stream, shorten target video stream play time, and play shorten play time after target video
Stream.In the present invention, when the first time by detecting acquired video flowing stabs second with the video flowing being currently played
Between the difference stabbed whether mode within a preset range determines whether network postpones, and in network delay, pass through and shorten target view
The play time of frequency stream, and the mode of the target video stream after shortening play time is played, target video stream is fast skipped, is reduced
The difference of second timestamp of the first time stamp and video flowing being currently played for the video flowing that the second main broadcaster end is sent, subtracts
A possibility that small dialogue occurred between two main broadcasters can not be connected, reduce a possibility that Caton occurs, the company of raising Mai Xiaoguo.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram that a kind of live streaming provided in an embodiment of the present invention connects wheat delay control method;
Fig. 2 be it is provided in an embodiment of the present invention shorten target video stream play time, and play shorten play time after
Target video stream flow diagram;
Fig. 3 is that a kind of live streaming provided in an embodiment of the present invention connects the structural schematic diagram that wheat postpones control device;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of live streaming company wheat delay control method is provided for the embodiments of the invention first below to be introduced.
Even wheat delay control method is applied to the first main broadcaster end, the first main broadcaster end for a kind of live streaming provided in an embodiment of the present invention
For electronic equipment used in some main broadcaster in live streaming even thrashing floor for wheat scape, even carry out connecting the other of wheat with the main broadcaster in the scape of thrashing floor for wheat
Electronic equipment used in main broadcaster is the second main broadcaster end, wherein electronic equipment can include but is not limited to following equipment: mobile phone,
Tablet computer.
As shown in Figure 1, a kind of live streaming provided in an embodiment of the present invention connects wheat delay control method, it is applied to the first main broadcaster
End, this method may include:
S101: the video flowing that the second main broadcaster end is sent is obtained, wherein the second main broadcaster end is that even wheat is carried out with the first main broadcaster end
Main broadcaster end.
During the first main broadcaster end and the second main broadcaster end connect wheat, the first main broadcaster end can send to the second main broadcaster end and regard
Frequency flows, and the second main broadcaster end can also send video flowing to the first main broadcaster end.
First main broadcaster end needs to play the video flowing, at this point, first after the video flowing for receiving the transmission of the second main broadcaster end
Main broadcaster end obtains the video flowing that the second main broadcaster end is sent, wherein the second main broadcaster end is the main broadcaster that even wheat is carried out with the first main broadcaster end
End.
The video flowing that above-mentioned acquisition the second main broadcaster end is sent may include:
From the buffer area at the first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
Since the speed of service of caching is more faster than memory, data can be quickly read from caching, it is therefore, general whole
It is provided with buffer area in end, is i.e. is provided with buffer area in the first main broadcaster end, the first main broadcaster end will receive the second main broadcaster end
After the video flowing of transmission, by the video stream to buffer area.
When the first main broadcaster end needs to play the video flowing, it is main that second can be obtained from the buffer area at the first main broadcaster end
The video flowing that end is sent is broadcast, in order to play out.
As a result, in such a way that the video streaming for sending the second main broadcaster end is placed in buffer area, so that the first main broadcaster end can
Quickly to obtain the video flowing of the second main broadcaster end transmission from the buffer area at the first main broadcaster end.
S102: the second timestamp of the first time stamp and the video flowing being currently played of acquired video flowing is detected
Difference whether within a preset range, if so, without any processing, if not, executing step S103.
In general, second time of the first time stamp of acquired video flowing earlier than the video flowing being currently played
Stamp, also, first time stabs when differing the smaller video flowing that just can guarantee acquired in playing with the second timestamp, and main broadcaster will not
Generate the feeling that dialogue can not be connected.
Such as: it is said assuming that the main broadcaster at the first main broadcaster end greets in 7:49 to the main broadcaster at the second main broadcaster end: " you are good ",
The main broadcaster at the second main broadcaster end returns in 7:50 to the main broadcaster at the first main broadcaster end: " you might as well ", the second main broadcaster end will include " you
It is good " video stream of information to the first main broadcaster end, then the video flowing that the second main broadcaster end acquired in the first main broadcaster end is sent
Stamp is 7:50 at the first time;
Assuming that the second timestamp of the video flowing being currently played is 7:51, due to first time stamp and the second timestamp
It differs only by 1 minute, when playing acquired video flowing, main broadcaster's uppick " you might as well " at the first main broadcaster end is that itself says
After 2 minutes of " you are good ", therefore, the main broadcaster at the first main broadcaster end will not generate the feeling that dialogue can not be connected.
And when network has delay, the time for causing the first main broadcaster termination to receive the second main broadcaster end is later, so that acquired
First time of video flowing stab and with the second timestamp of the video flowing being currently played differ larger, at this point, main broadcaster's generation
Talk with the feeling that can not be connected.
Such as: it is said assuming that the main broadcaster at the first main broadcaster end greets in 7:49 to the main broadcaster at the second main broadcaster end: " you are good ",
The main broadcaster at the second main broadcaster end returns in 7:50 to the main broadcaster at the first main broadcaster end: " you might as well ", the second main broadcaster end will include " you
It is good " video stream of information to the first main broadcaster end, then the video flowing that the second main broadcaster end acquired in the first main broadcaster end is sent
Stamp is 7:50 at the first time;
Assuming that current network postpones, so that the time that the first main broadcaster termination receives the video flowing of the second main broadcaster end transmission is 7:
55, since the first main broadcaster end obtains the fast speed for the video flowing that the second main broadcaster end is sent, can be similar to receive second
The video flowing that main broadcaster end is sent just obtains the video flowing of the second main broadcaster end transmission, thus it can be assumed that be currently played
Second timestamp of video flowing is exactly 7:55;
Assuming that the main broadcaster at the first main broadcaster end says in 7:52 to the main broadcaster at the second main broadcaster end: " liking that trip played recently
Play ";
Since first time stamp differs 5 minutes with the second timestamp, when playing acquired video flowing, the first main broadcaster end
Main broadcaster's uppick " you might as well " be that therefore, the master at the first main broadcaster end can be generated after itself saying 6 minutes of " you are good "
It broadcasts and is said certainly in 7:52 to the main broadcaster at the second main broadcaster end: " liking that game played recently ", it is but main in 7:55 uppick second
The case where " you might as well " that the main broadcaster broadcast answers, so that the main broadcaster at the first main broadcaster end generates the feeling that dialogue can not be connected.
Therefore, in order to judge currently to whether there is network delay, need to detect the first time stamp of acquired video flowing
And within a preset range whether the difference of the second timestamp of the video flowing being currently played, and carries out according to testing result subsequent
Step.
S103: determining in acquired video flowing, the target video stream between first time stamp and the second timestamp.
When the acquired video flowing of detection first time stamp and the video flowing being currently played the second timestamp it
Difference within a preset range, illustrates that first time stabs and differs smaller with the second timestamp, at this point, network delay is not present.
When the acquired video flowing of detection first time stamp and the video flowing being currently played the second timestamp it
Difference within a preset range, does not illustrate that first time stabs and differs larger with the second timestamp, at this point, there are network delays.
It is determining there are after network delay, in order to reduce a possibility that dialogue for occurring between two main broadcasters can not be connected,
It needs to be determined that the target video stream in acquired video flowing, between first time stamp and the second timestamp.
Such as: accept in step S102 there are the example of network delay, determine in acquired video flowing, be located at first
Target video stream between timestamp and the second timestamp are as follows: determine in acquired video flowing, the target between 7:50-7:55
Video flowing.
S104: shortening the play time of target video stream, and plays the target video stream after shortening play time.
When being the first of the video flowing sent because of the second main broadcaster end due to leading to the problem of dialogue and can not be connected
Between stab and differ larger with the second timestamp of the video flowing being currently played, therefore, in order to shorten stamp and second at the first time
Gap between timestamp, needs to shorten the play time of target video stream, and plays the target video after shortening play time
Stream.
Such as: the example in step S103 is accepted, the play time of the target video stream between 7:50-7:55 is 5 minutes,
Assuming that the play time for shortening target video stream is 1 minute, and the target video stream after shortening play time is played, due to 7:
Target video stream between 50-7:55 finishes playing in 7:56, then in 7:57, the first main broadcaster end can obtain the second main broadcaster
End is in the 7:56 video flowing sent and plays the video flowing, since 7:57 and 7:56 is differed only by one minute, the first main broadcaster end
Main broadcaster will not generate the feeling that can not be connected of dialogue.
The play time of above-mentioned shortening target video stream, and the mode for playing the target video stream after shortening play time has
It is a variety of, including but not limited to following several:
First way: shorten the play time of target video stream by way of quickly playing.
Step S104 may include:
Quickly play target video stream.
Target video stream can be quickly played with pre-set velocity, wherein pre-set velocity is greater than normal playback speed, such as:
Assuming that normal playback speed is 25 frames/s, then pre-set velocity can be 50 frames/s.
Due to improving broadcasting speed, in the case where the frame number for the video frame that target video stream is included is unchanged, reduce
The play time of target video stream.
As a result, by way of quickly playing, the play time of target video stream is reduced.
The second way:
Referring to fig. 2, step S104 may include:
S1041: according to default minimizing technology, video frame is removed from target video stream.
Since there are some unessential video frames in target video stream, removed by these unessential video frames
Afterwards, the broadcasting of target video stream is had no effect on, and still can express original meaning of target video stream, therefore, Ke Yigen
According to default minimizing technology, video frame is removed from target video stream.Wherein, default minimizing technology can be any in the prior art
A kind of method of inessential video frame in removal video flowing, details are not described herein.
S1042: the target video stream after playing removal video frame.
After removing video frame, remaining video frame is more important video frame in target video stream, at this point, can
To play the target video stream after removing video frame.
Due to eliminating video frame from target video stream, the frame number for the video frame for causing target video stream to be included subtracts
It is few, in the case where broadcasting speed is unchanged, reduce the play time of target video stream.
As a result, by way of removing unessential video frame, the play time of target video stream is reduced.
In the embodiment of the present invention, the video flowing that the second main broadcaster end is sent is obtained, wherein the second main broadcaster end is and the first main broadcaster
The first time stamp and the second of the video flowing being currently played of acquired video flowing is detected at the main broadcaster end for holding the company of progress wheat
The difference of timestamp whether within a preset range, if not, determine in acquired video flowing, when being located at that stamp is with second at the first time
Between stamp between target video stream, shorten target video stream play time, and play shorten play time after target video
Stream.In the present invention, when the first time by detecting acquired video flowing stabs second with the video flowing being currently played
Between the difference stabbed whether mode within a preset range determines whether network postpones, and in network delay, pass through and shorten target view
The play time of frequency stream, and the mode of the target video stream after shortening play time is played, target video stream is fast skipped, is reduced
The difference of second timestamp of the first time stamp and video flowing being currently played for the video flowing that the second main broadcaster end is sent, subtracts
A possibility that small dialogue occurred between two main broadcasters can not be connected, reduce a possibility that Caton occurs, the company of raising Mai Xiaoguo.
In the embodiment of the present invention, live streaming even wheat delay control is provided for the embodiments of the invention with the angle at the first main broadcaster end
Method processed is described, similar, when the second main broadcaster end obtains the video flowing that the first main broadcaster end is sent, can also use and this
Live streaming provided by inventive embodiments applied to the first main broadcaster end connects the identical mode of wheat delay control method to live streaming even wheat
Delay is controlled.
Relative to above method embodiment, referring to Fig. 3, the embodiment of the invention also provides a kind of live streamings even wheat delay control
Device is applied to the first main broadcaster end, the apparatus may include:
Obtain module 301, for obtains the second main broadcaster end send video flowing, wherein second main broadcaster end for institute
State the main broadcaster end that the first main broadcaster end carries out even wheat;
Detection module 302, the video flowing that the first time for detecting acquired video flowing stabs and is currently played
The second timestamp difference whether within a preset range, if not, triggering determining module 303;
The determining module 303, for determining in acquired video flowing, be located at the first time stamp and the second timestamp it
Between target video stream;
Shorten module 304, for shortening the play time of the target video stream, and plays the mesh after shortening play time
Mark video flowing.
In the embodiment of the present invention, the video flowing that the second main broadcaster end is sent is obtained, wherein the second main broadcaster end is and the first main broadcaster
The first time stamp and the second of the video flowing being currently played of acquired video flowing is detected at the main broadcaster end for holding the company of progress wheat
The difference of timestamp whether within a preset range, if not, determine in acquired video flowing, when being located at that stamp is with second at the first time
Between stamp between target video stream, shorten target video stream play time, and play shorten play time after target video
Stream.In the present invention, when the first time by detecting acquired video flowing stabs second with the video flowing being currently played
Between the difference stabbed whether mode within a preset range determines whether network postpones, and in network delay, pass through and shorten target view
The play time of frequency stream, and the mode of the target video stream after shortening play time is played, target video stream is fast skipped, is reduced
The difference of second timestamp of the first time stamp and video flowing being currently played for the video flowing that the second main broadcaster end is sent, subtracts
A possibility that small dialogue occurred between two main broadcasters can not be connected, reduce a possibility that Caton occurs, the company of raising Mai Xiaoguo.
In a kind of implementation of the invention, the acquisition module 301 can be specifically used for:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
In a kind of implementation of the invention, the shortening module 304 can be specifically used for:
Quickly play the target video stream.
In a kind of implementation of the invention, the shortening module 304 may include:
Submodule is removed, for removing video frame from the target video stream according to removal device is preset;
Submodule is played, for playing the target video stream after removing video frame.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 4, including processor 401 and memory 402,
Memory 402, for storing computer program;
Processor 401 when for executing the computer program stored on memory 402, realizes live streaming even wheat delay control
Method processed, this method are applied to the first main broadcaster end, and this method may include steps of:
Obtain the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is to carry out with first main broadcaster end
The even main broadcaster end of wheat;
The difference of second timestamp of the first time stamp and video flowing being currently played of the acquired video flowing of detection
Whether within a preset range;
If not, determining in acquired video flowing, the target video between first time stamp and the second timestamp
Stream;
Shorten the play time of the target video stream, and plays the target video stream after shortening play time.
In the embodiment of the present invention, electronic equipment obtain the second main broadcaster end send video flowing, wherein the second main broadcaster end be with
First main broadcaster end carries out the main broadcaster end of even wheat, and detect acquired video flowing first time stamp and the video that is currently played
Within a preset range whether the difference of the second timestamp of stream, if not, determining in acquired video flowing, be located at and stab at the first time
Target video stream between the second timestamp, shorten target video stream play time, and play shorten play time after
Target video stream.First time stamp and the video flowing that is currently played by detect acquired video flowing in the present invention
The difference of the second timestamp whether mode within a preset range determines whether network postpones, and in network delay, pass through contracting
The play time of short target video stream, and the mode of the target video stream after shortening play time is played, fast skip target view
Frequency flows, and reduces the second time of the first time stamp and the video flowing being currently played of the video flowing of the second main broadcaster end transmission
The difference of stamp reduces a possibility that dialogue between two main broadcasters of generation can not be connected, reduces a possibility that Caton occurs, the company of raising
Wheat effect.
In a kind of implementation of the invention, described the step of obtaining the video flowing that the second main broadcaster end is sent, it can wrap
It includes:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
In a kind of implementation of the invention, the play time for shortening the target video stream, and play shortening
The step of target video stream after play time, may include:
Quickly play the target video stream.
In a kind of implementation of the invention, the play time for shortening the target video stream, and play shortening
The step of target video stream after play time, may include:
According to default minimizing technology, video frame is removed from the target video stream;
Target video stream after playing removal video frame.
The memory that above-mentioned electronic equipment is mentioned may include random access memory (Random Access Memory,
It RAM), also may include nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a disk storage
Device.Optionally, memory can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
The embodiment of the present invention also provides a kind of computer readable storage medium, storage in the computer readable storage medium
There is computer program, live streaming even wheat delay control method, this method application are realized when the computer program is executed by processor
In the first main broadcaster end, this method be may include steps of:
Obtain the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is to carry out with first main broadcaster end
The even main broadcaster end of wheat;
The difference of second timestamp of the first time stamp and video flowing being currently played of the acquired video flowing of detection
Whether within a preset range;
If not, determining in acquired video flowing, the target video between first time stamp and the second timestamp
Stream;
Shorten the play time of the target video stream, and plays the target video stream after shortening play time.
In the embodiment of the present invention, electronic equipment obtain the second main broadcaster end send video flowing, wherein the second main broadcaster end be with
First main broadcaster end carries out the main broadcaster end of even wheat, and detect acquired video flowing first time stamp and the video that is currently played
Within a preset range whether the difference of the second timestamp of stream, if not, determining in acquired video flowing, be located at and stab at the first time
Target video stream between the second timestamp, shorten target video stream play time, and play shorten play time after
Target video stream.First time stamp and the video flowing that is currently played by detect acquired video flowing in the present invention
The difference of the second timestamp whether mode within a preset range determines whether network postpones, and in network delay, pass through contracting
The play time of short target video stream, and the mode of the target video stream after shortening play time is played, fast skip target view
Frequency flows, and reduces the second time of the first time stamp and the video flowing being currently played of the video flowing of the second main broadcaster end transmission
The difference of stamp reduces a possibility that dialogue between two main broadcasters of generation can not be connected, reduces a possibility that Caton occurs, the company of raising
Wheat effect.
In a kind of implementation of the invention, described the step of obtaining the video flowing that the second main broadcaster end is sent, it can wrap
It includes:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
In a kind of implementation of the invention, the play time for shortening the target video stream, and play shortening
The step of target video stream after play time, may include:
Quickly play the target video stream.
In a kind of implementation of the invention, the play time for shortening the target video stream, and play shortening
The step of target video stream after play time, may include:
According to default minimizing technology, video frame is removed from the target video stream;
Target video stream after playing removal video frame.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of live streaming connects wheat delay control method, which is characterized in that be applied to the first main broadcaster end, which comprises
Obtain the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is that even wheat is carried out with first main broadcaster end
Main broadcaster end;
Whether the difference of the second timestamp of the first time stamp and video flowing being currently played of the acquired video flowing of detection
Within a preset range;
If not, determining in acquired video flowing, the target video stream between first time stamp and the second timestamp;
Shorten the play time of the target video stream, and plays the target video stream after shortening play time.
2. the method according to claim 1, wherein the step for obtaining the video flowing that the second main broadcaster end is sent
Suddenly, comprising:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
3. the method according to claim 1, wherein the play time for shortening the target video stream, and
The step of playing the target video stream after shortening play time, comprising:
Quickly play the target video stream.
4. the method according to claim 1, wherein the play time for shortening the target video stream, and
The step of playing the target video stream after shortening play time, comprising:
According to default minimizing technology, video frame is removed from the target video stream;
Target video stream after playing removal video frame.
5. even wheat postpones control device for a kind of live streaming, which is characterized in that be applied to the first main broadcaster end, described device includes:
Module is obtained, for obtaining the video flowing of the second main broadcaster end transmission, wherein second main broadcaster end is and first master
Broadcast the main broadcaster end of the end company of progress wheat;
Detection module, when the first time for detecting acquired video flowing stabs second with the video flowing being currently played
Between stab difference whether within a preset range, if not, triggering determining module;
The determining module, the mesh for determining in acquired video flowing, between first time stamp and the second timestamp
Mark video flowing;
Shorten module, for shortening the play time of the target video stream, and plays the target video after shortening play time
Stream.
6. device according to claim 5, which is characterized in that the acquisition module is specifically used for:
From the buffer area at first main broadcaster end, the video flowing that the second main broadcaster end is sent is obtained.
7. device according to claim 5, which is characterized in that the shortening module is specifically used for:
Quickly play the target video stream.
8. device according to claim 5, which is characterized in that the shortening module, comprising:
Submodule is removed, for removing video frame from the target video stream according to removal device is preset;
Submodule is played, for playing the target video stream after removing video frame.
9. a kind of electronic equipment, which is characterized in that including processor and memory, wherein
Memory, for storing computer program;
Processor when for executing the computer program stored on memory, realizes any method of claim 1-4
Step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes claim 1-4 any method and step when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811013755.XA CN109413469A (en) | 2018-08-31 | 2018-08-31 | A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811013755.XA CN109413469A (en) | 2018-08-31 | 2018-08-31 | A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109413469A true CN109413469A (en) | 2019-03-01 |
Family
ID=65464433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811013755.XA Pending CN109413469A (en) | 2018-08-31 | 2018-08-31 | A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413469A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822503A (en) * | 2020-12-30 | 2021-05-18 | 腾讯科技(深圳)有限公司 | Method, device and equipment for playing live video stream and storage medium |
WO2022142481A1 (en) * | 2020-12-31 | 2022-07-07 | 杭州星犀科技有限公司 | Audio/video data processing method, livestreaming apparatus, electronic device, and storage medium |
WO2023011050A1 (en) * | 2021-08-06 | 2023-02-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and system for performing microphone-connection chorusing, and device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873952A (en) * | 2012-12-18 | 2014-06-18 | 风网科技(北京)有限公司 | High-efficiency video playing frame loss control system and method |
CN106028082A (en) * | 2016-06-22 | 2016-10-12 | 乐视控股(北京)有限公司 | Live broadcasting method and equipment |
CN108156498A (en) * | 2017-11-13 | 2018-06-12 | 青岛海信电器股份有限公司 | A kind of method and device of audio-visual synchronization |
-
2018
- 2018-08-31 CN CN201811013755.XA patent/CN109413469A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873952A (en) * | 2012-12-18 | 2014-06-18 | 风网科技(北京)有限公司 | High-efficiency video playing frame loss control system and method |
CN106028082A (en) * | 2016-06-22 | 2016-10-12 | 乐视控股(北京)有限公司 | Live broadcasting method and equipment |
CN108156498A (en) * | 2017-11-13 | 2018-06-12 | 青岛海信电器股份有限公司 | A kind of method and device of audio-visual synchronization |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822503A (en) * | 2020-12-30 | 2021-05-18 | 腾讯科技(深圳)有限公司 | Method, device and equipment for playing live video stream and storage medium |
WO2022142481A1 (en) * | 2020-12-31 | 2022-07-07 | 杭州星犀科技有限公司 | Audio/video data processing method, livestreaming apparatus, electronic device, and storage medium |
WO2023011050A1 (en) * | 2021-08-06 | 2023-02-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and system for performing microphone-connection chorusing, and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11882321B2 (en) | Establishment and use of time mapping based on interpolation using low-rate fingerprinting, to help facilitate frame-accurate content revision | |
CN109413469A (en) | A kind of live streaming company wheat delay control method, device, electronic equipment and storage medium | |
US20110176060A1 (en) | Data feedback for broadcast applications | |
CN108063970A (en) | A kind of method and apparatus for handling live TV stream | |
CN109089130A (en) | A kind of method and apparatus for the timestamp adjusting live video | |
US20070074243A1 (en) | Inserting commercials in time-shifted broadcast content | |
EP3011691B1 (en) | System and method to assist synchronization of distributed play out of control | |
CN107426629A (en) | A kind of streaming media file processing method and live broadcast system | |
US11087772B2 (en) | Systems and methods to improve timestamp transition resolution | |
CN111031385B (en) | Video playing method and device | |
CN109714622A (en) | A kind of video data handling procedure, device and electronic equipment | |
WO2017151611A1 (en) | Media channel identification with multi-match detection and disambiguation based on single-match | |
CN105611337A (en) | Advertisement recreation and popularization method and system | |
CN101267262B (en) | Method and apparatus for transmitting and receiving broadcasting information using reserved channels | |
JP2006314092A (en) | Videotape recording method of digital video by using terminal and mobile terminal | |
EP2725578A1 (en) | Loudness log for recovery of gated loudness measurements and associated analyzer | |
JP4119130B2 (en) | External input terminal detection method and apparatus | |
JP7064284B2 (en) | Methods and devices for detecting packet loss in staggered cast | |
GB2526154A (en) | Broadcast media synchronisation system | |
US20030079225A1 (en) | Processing of a broadcast signal | |
EP3300376A1 (en) | Method and apparatus for processing iptv program, and iptv system | |
CN114339453B (en) | Time stamp calibration method and device, electronic equipment and storage medium | |
CN115297364B (en) | Cloud game video transmission time delay determining method, cloud game video transmission time delay determining system and electronic equipment | |
EP1387514A2 (en) | Signal comparison method and apparatus | |
KR101309433B1 (en) | Apparatus and Method for Recording of Digital Multimedia Broadcasting Receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190301 |
|
WD01 | Invention patent application deemed withdrawn after publication |