CN105898500A - Network video play method and device - Google Patents
Network video play method and device Download PDFInfo
- Publication number
- CN105898500A CN105898500A CN201510971468.XA CN201510971468A CN105898500A CN 105898500 A CN105898500 A CN 105898500A CN 201510971468 A CN201510971468 A CN 201510971468A CN 105898500 A CN105898500 A CN 105898500A
- Authority
- CN
- China
- Prior art keywords
- time
- timing time
- described timer
- timer
- timestamp
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/24—Systems for the transmission of television signals using pulse code modulation
-
- 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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 invention provides a network video play method and device. The method comprises that when a network video is played, a timer is started to carry out timing on audio data play; timing time of the timer is obtained when each audio frame is played; and play of the audio data is synchronized with timing of the timer. Thus, the synchronization accuracy of video data is improved, and the playing effect of the network video is improved.
Description
Technical field
The present embodiments relate to video technique field, particularly relate to a kind of Internet video player method and dress
Put.
Background technology
The media data of Internet video is made up of voice data and video data (i.e. image data),
The operations such as the media data of Internet video is encoded, encapsulation, generate media file, with media file
Form is transmitted, and plays end by obtaining the media data in media file, and carry out demultiplexing,
After the operations such as decoding, i.e. can play Internet video.
Wherein, play end media data to be demultiplexed, to distribute voice data and video counts
According to, and obtain timestamp and the timestamp of each frame frame of video of each frame audio frame, in timestamp
Define rising between sowing time or between a sowing time of each frame frame of video of each frame audio frame.Thus entering
When row Internet video is play, carry out the broadcasting of audio frame and frame of video according to timestamp.
Due in the broadcasting carrying out voice data and video data, it is common that by video data to audio frequency number
According to synchronizing, particularly the timestamp with currently playing audio frame of playing of video data is entered
Row synchronizes.But due to audio frame is demultiplexed, the operation such as decoding time, it is thus achieved that audio frame
Timestamp be probably inaccurate, be not inconsistent with true reproduction time, this according to prior art is broadcast
Put mode, the synchronization of frame of video will be affected, cause synchronizing inaccurate, affect the broadcasting of Internet video
Effect.
Summary of the invention
The embodiment of the present invention provides a kind of Internet video player method and device, in order to solve in prior art
Internet video playing process sound intermediate frequency data and video data deposit time difference, affect Internet video result of broadcast
Technical problem.
The embodiment of the present invention provides a kind of Internet video player method, including:
When carrying out Internet video and playing, start timer and the broadcasting of voice data is carried out timing;
At the end of each frame audio frame is play, obtain the timing time of described timer;
The broadcasting of video data is carried out synchronize with the timing time of described timer.
The embodiment of the present invention provides a kind of Internet video playing device, including:
Timing starts module, for when carrying out Internet video and playing, starts timer to voice data
Broadcasting carries out timing;
Time-obtaining module, at the end of playing at each frame audio frame, obtains the meter of described timer
Time the time;
First plays adjusting module, for being entered by the timing time with described timer of playing of video data
Row synchronizes.
Internet video player method that the embodiment of the present invention provides and device, by broadcasting carrying out Internet video
When putting, start timer and the broadcasting of voice data is carried out timing, at the end of each frame audio frame is play,
Obtain the timing time of described timer;Such that it is able to according to the timing time of described timer, by video
The broadcasting of data carries out synchronize with the timing time of described timer, it is achieved video data is to voice data
Synchronize, improve the accuracy of video data synchronization, improve the result of broadcast of Internet video, improve
The experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is one embodiment flow chart of inventive network video broadcasting method;
Fig. 2 is another embodiment flow chart of inventive network video broadcasting method;
Fig. 3 is one example structure schematic diagram of inventive network video play device;
Fig. 4 is another example structure schematic diagram of inventive network video play device.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
When carrying out Internet video and playing, if voice data and video data are asynchronous, it will cause sound
Sound is inconsistent with picture, thus will affect the result of broadcast of Internet video, affects user's viewing experience.
In order to solve this technical problem, inventor finds under study for action, can be by video data to voice data
Synchronizing, according to the timestamp of currently playing audio frame, the broadcasting to video data is adjusted,
At the end of currently playing audio frame is play, if the timestamp of currently playing frame of video is more than currently broadcasting
The timestamp of the audio frame put, and difference not in allowed band time, the most currently playing frame of video is i.e. etc.
To be played, until identical with the timestamp of currently playing audio frame or difference in allowed band.But
It is that inventor is it has furthermore been found that demultiplex in the voice data obtained, owing to audio frame sample rate changes
Etc. problem so that the timestamp obtaining each frame audio frame is likely to occur mistake, the time that audio frame is corresponding
Stamp is not real timestamp, therefore, will affect the synchronization of video data, causes synchronizing inaccurate,
Affect the result of broadcast of Internet video.
Inventor, again through a series of researchs, has changed thinking, the creative technology proposing the present invention
Scheme, in embodiments of the present invention, when carrying out Internet video broadcasting, starts timer to voice data
Broadcasting carries out timing, at the end of each frame audio frame is play, obtains the timing time of described timer;
Such that it is able to the broadcasting of video data is carried out synchronize with the timing time of described timer, it is achieved video counts
According to the synchronization to voice data rather than the timestamp according to currently playing audio frame, to video data
Broadcasting play out, due to timer timing time record be the true reproduction time of audio frame, because of
This is according to the timing time of described timer, the broadcasting of video data carries out synchronization control and can improve and regard
Frequently the accuracy of data syn-chronization, improves the result of broadcast of Internet video, improves the experience of user.
The flow process of a kind of one embodiment of Internet video player method that Fig. 1 provides for the embodiment of the present invention
Figure, the method can include following step:
101: when carrying out Internet video and playing, start timer and the broadcasting of voice data is carried out timing.
102: at the end of each frame audio frame is play, obtain the timing time of described timer.
The timing time of timer starts timing when the first frame audio frame plays out, at each frame sound
Frequently, at the end of frame is play, a timing time can i.e. be obtained.
103: the broadcasting of video data is carried out synchronize with the timing time of described timer.
Concrete may is that
If the timestamp of current frame of video to be played is more than the timing time of this timer, and difference does not exists
In allowed band, the most current frame of video to be played i.e. waits, until with the timing time phase of timer
Difference is in allowed band.
If the timestamp of current frame of video to be played is more than the timing time of this timer, and difference is permitting
In the range of Xuing, the most i.e. can play this frame of video the most to be played.
If the timestamp of current frame of video to be played is less than the timing time of this timer, the most permissible
Play this frame of video the most to be played.
Wherein, currently playing frame of video i.e. refers to a frame frame of video the most to be played.
In the embodiment of the present invention, when carrying out Internet video and playing, by starting timer to voice data
Broadcasting carry out timing, each frame audio frame play at the end of, obtain the timing time of described timer;
The broadcasting of video data is carried out synchronize with the timing time of described timer.Such that it is able to raising video counts
According to the accuracy synchronized, improve the result of broadcast of Internet video, improve the experience of user.
Wherein, the broadcasting of video data is carried out with the timing time of described timer synchronize before, permissible
First the timing time of timer is judged, during to determine the need for the timing according to described timer
Between, the broadcasting to video data synchronizes.
Therefore as another embodiment, described by video data when playing with the timing of described timer
Between carry out synchronization and may is that
Synchronization bar is met at the timing time of described timer and the timestamp of described currently playing audio frame
During part, the broadcasting of video data is carried out synchronize with the timing time of described timer.
Currently playing audio frame i.e. refers to, after the broadcasting of each frame audio frame terminates, continue play
Frame audio frame, namely the next frame audio frame of the audio frame of currently playing end.
And if the timestamp of the timing time of timer and currently playing audio frame is unsatisfactory for synchronous condition
Time, another embodiment shown in Figure 2, described Internet video player method can include following several
Individual step:
201: when carrying out Internet video and playing, start timer and the broadcasting of voice data is carried out timing.
202: at the end of each frame audio frame is play, obtain the timing time of described timer.
203: judge whether the timing time of described timer meets with the timestamp of currently playing audio frame
Synchronous condition, if it is, perform step 204, if it does not, perform step 205.
204: the broadcasting of video data is carried out synchronize with the timing time of described timer.
205: adjust the timestamp that timing time is currently playing audio frame of described timer.
206: the timing time after adjusting with described timer of playing of video data is carried out synchronize.
Timing time after timer adjustment is also the timestamp of currently playing audio frame, also will
The broadcasting of video data carries out synchronize with the timestamp of currently playing audio frame.
In the present embodiment, when carrying out Internet video and playing, by starting timer to voice data
Broadcasting carries out timing, at the end of each frame audio frame is play, obtains the timing time of described timer;
If the timestamp of currently playing audio frame meets synchronous condition with the timing time of timer, the most permissible
The broadcasting of video data is carried out synchronize with the timing time of described timer, and if currently playing sound
Frequently the timestamp of frame and the timing time of timer are unsatisfactory for synchronous condition, then can be adjusted to by timer
The timestamp of described currently playing audio frame, the timing time after adjusting further according to timer, will regard
The timing time after adjusting with described timer of playing of frequency evidence carries out synchronize.To improve video data
The accuracy synchronized, improves the result of broadcast of Internet video, improves the experience of user.
This synchronous condition can be according to the timing time of the timestamp of currently playing audio frame and timer
Time difference is set.
As a kind of possible implementation, this synchronous condition can be described timer timing time with
The time difference of the timestamp of currently playing audio frame is more than preset value.
Therefore, the described timing time at described timer meets with the timestamp of currently playing audio frame
During synchronous condition, playing of video data synchronization be may include that with the timing time of described timer
At the timing time of described timer with the time difference of the timestamp of currently playing audio frame more than pre-
If during value, the broadcasting of video data being carried out synchronize with the timing time of described timer.
If the timing time of timer is relatively big with the time difference of the timestamp of currently playing audio frame, than
Such as larger than preset value, then show that the true reproduction time of voice data obtains timestamp definition with demultiplexing
Timestamp difference is relatively big, and if the timestamp of the timing time of timer and currently playing audio frame
Time difference is less, such as less than preset value, in error allowed band, then and can be according to currently playing
The timestamp of audio frame, enters the timing time with described currently playing audio frame of playing of video data
Row synchronizes.Concrete, timer periods is adjusted the timestamp into currently playing audio frame, will
The timing time after adjusting with described timer of playing of video data carries out synchronize.
As the implementation that another is possible, an actual application.Internet video can be based on
HLS (Http Live Streaming, real time streaming) agreement is transmitted, and HLS is based on HTTP
Protocol realization.The media data of Internet video is encapsulated as TS media file.The coded format of voice data is
AAC (Advanced Audio Coding, Advanced Audio Coding).
When carrying out Internet video and playing, voice data is to play continuously, and video data is to broadcast frame by frame
Put, in TS media file, after the sample rate of ACC voice data changes, demultiplex
Used time cannot obtain again employing rate accurately, makes a mistake when calculating timestamp when causing splitting audio frame,
Owing to the timestamp of audio frame exists mistake, if frame of video is synchronized to audio frame, may result in
Video data is play the most smooth, frame losing and card occurs now, and affects Consumer's Experience.
And owing to the timestamp of the PES bag in TS media file is correct, but if audio frequency number
According to, a general PES bag comprises multiframe audio frame, after audio frequency employing rate changes, to PES
When carrying out disassembling calculating timestamp, it is possible to occur to calculate deviation.Deviation value is generally at two audio frequency pes
Timestamp between.
Therefore, this synchronous condition can be the timing time of described timer and currently playing audio frame
The time difference of timestamp is less than the time tolerance of two PES audio pack.
Namely the timestamp of the described timing time at described timer and currently playing audio frame meets same
During step condition, playing of video data synchronization be may include that with the timing time of described timer
It is less than two with the time difference of the timestamp of currently playing audio frame at the timing time of described timer
During the time tolerance of individual PES audio pack, according to the timing time of described timer, by video data
Playing carries out synchronize with the timing time of described timer.
If the timing time of timer is less than two with the time difference of the timestamp of currently playing audio frame
The time tolerance (generally 200 milliseconds) of PES audio pack, shows that the timestamp of voice data is forbidden
Cause owing to the ACC sample rate of voice data changes really, the most then time according to the timing of timer
Between, the broadcasting of video data is carried out synchronize with the timing time of described timer.
And if the time difference of the timestamp of the timing time of timer and currently playing audio frame is more than two
The time tolerance of individual PES audio pack, when showing the timing time of timer and currently playing audio frame
Between the time difference of stamp be not due to the ACC sample rate change of voice data and cause, each frame audio frame
Timestamp is probably accurately, the most i.e. according to the timestamp of currently playing audio frame, by video data
Play the timestamp with currently playing audio frame carry out with.Concrete, timer periods is adjusted
The whole timestamp for currently playing audio frame, thus the timing time after utilizing timer to adjust, will
The timing time after adjusting with described timer of playing of video data carries out synchronize.
Fig. 3 shows for the structure of a kind of one embodiment of Internet video playing device that the embodiment of the present invention provides
Being intended to, this device may include that
Timing starts module 301, for when carrying out Internet video and playing, starts timer to audio frequency number
According to broadcasting carry out timing;
Time-obtaining module 302, at the end of playing at each frame audio frame, obtains described timer
Timing time;
First plays adjusting module 303, for by video data when playing with the timing of described timer
Between synchronize.
Concrete may is that
If the timestamp of current frame of video to be played is more than the timing time of this timer, and difference does not exists
In allowed band, the most currently playing frame of video i.e. waits, until differing with the timing time of timer
In allowed band.
If the timestamp of current frame of video to be played is more than the timing time of this timer, and difference is permitting
In the range of Xuing, the most i.e. can play this current frame of video to be played.
If current video frame time to be played stamp is less than the timing time of this timer, the most i.e. can broadcast
Put this frame of video the most to be played.
In the embodiment of the present invention, when carrying out Internet video and playing, by starting timer to voice data
Broadcasting carry out timing, each frame audio frame play at the end of, obtain the timing time of described timer;
The broadcasting of video data is carried out synchronize with the timing time of described timer.Such that it is able to raising video counts
According to the accuracy synchronized, improve the result of broadcast of Internet video, improve the experience of user.
Wherein, the broadcasting of video data is carried out synchronize with the timing time of described timer, can be the most right
The timing time of timer judges, to determine the need for selecting to synchronize according to timer timing time
Frame of video.
Therefore as another embodiment, shown in Figure 4, exist with embodiment illustrated in fig. 3 difference
In, described first selects the module 303 can be specifically for:
Synchronous condition is met at the timing time of described timer and the timestamp of currently playing audio frame
Time, the broadcasting of video data is carried out synchronize with the timing time of described timer.
And if the timestamp of the timing time of timer and currently playing audio frame is unsatisfactory for synchronous condition
Time, as another embodiment, this device can also include:
Time regulating module 305, for timing time and currently playing audio frame at described timer
Timestamp when being unsatisfactory for synchronous condition, the timing time adjusting described timer is currently playing audio frequency
The timestamp of frame.
Second plays adjusting module 306, after the broadcasting of video data being adjusted with described timer
Timing time synchronize.
Timing time after timer adjustment is also the timestamp of currently playing audio frame.
In the present embodiment, when carrying out Internet video and playing, by starting timer to voice data
Broadcasting carries out timing, at the end of each frame audio frame is play, obtains the timing time of described timer;
If the timestamp of currently playing audio frame meets synchronous condition with the timing time of timer, the most permissible
The broadcasting of video data is carried out synchronize with the timing time of described timer.If, and currently playing
The timestamp of audio frame and the timing time of timer are unsatisfactory for synchronous condition, then can be adjusted by timer
For the timestamp of described currently playing audio frame, then the broadcasting of video data is adjusted with described timer
Timing time afterwards synchronizes.Thus improve the accuracy of video data synchronization, improve Internet video
Result of broadcast, improve user experience.
This synchronous condition can be according to the timing time of the timestamp of currently playing audio frame and timer
Time difference is set.
As a kind of possible implementation, this synchronous condition can be described timer timing time with
The time difference of the timestamp of currently playing audio frame is more than preset value.
Therefore, described first play adjusting module 303 can be specifically for:
At the timing time of described timer with the time difference of the timestamp of currently playing audio frame more than pre-
If during value, the broadcasting of video data being carried out synchronize with the timing time of described timer.
If the timing time of timer is relatively big with the time difference of the timestamp of currently playing audio frame, than
Such as larger than preset value, then show that the timestamp of demultiplexing acquisition voice data is inaccurate, and if timer
Timing time less with the time difference of the timestamp of currently playing audio frame, such as less than preset value,
In error allowed band, then can be according to the timestamp of currently playing audio frame, by video data
Playing carries out synchronize with the timestamp of currently playing audio frame.Concrete, by the timing time of timer
It is adjusted the timestamp for currently playing audio frame, the broadcasting of video data is adjusted with described timer
Timing time after whole synchronizes.
As the implementation that another is possible, an actual application.Internet video can be based on
HLS (Http Live Streaming, real time streaming) agreement is transmitted, and HLS is based on HTTP
Protocol realization.The media data of Internet video is encapsulated as TS media file.The coded format of voice data is
AAC (Advanced Audio Coding, Advanced Audio Coding).
When carrying out Internet video and playing, voice data is to play continuously, and video data is to broadcast frame by frame
Put, in TS media file, after the sample rate of ACC voice data changes, demultiplex
Used time cannot obtain again employing rate accurately, makes a mistake when calculating timestamp when causing splitting audio frame,
Owing to the timestamp of audio frame exists mistake, if frame of video is synchronized to audio frame, may result in
Video data is play the most smooth, frame losing and card occurs now, and affects Consumer's Experience.
And owing to the timestamp of the PES bag in TS media file is correct, but if audio frequency number
According to, a general PES bag comprises multiframe audio frame, after audio frequency employing rate changes, to PES
When carrying out disassembling calculating timestamp, it is possible to occur to calculate deviation.Deviation value is generally at two audio frequency pes
Timestamp between.
Therefore, this synchronous condition can be the timing time of described timer and currently playing audio frame
The time difference of timestamp is less than the time tolerance of two PES audio pack.
This first play adjusting module 303 can be specifically for:
It is less than two with the time difference of the timestamp of currently playing audio frame at the timing time of described timer
During the time tolerance of individual PES audio pack, video data play the timing time with described timer
Synchronize.
If the timing time of timer is less than two with the time difference of the timestamp of currently playing audio frame
The time tolerance (generally 200 milliseconds) of PES audio pack, shows that voice data timestamp is inaccurate
To cause owing to the ACC sample rate of voice data changes, the most then according to the timing time of timer,
The broadcasting of video data is carried out synchronize with the timing time of described timer.
And if the time difference of the timestamp of the timing time of timer and currently playing audio frame is more than two
The time tolerance of individual PES audio pack, shows the timing time of timer and currently playing audio frame
The time difference of timestamp is not due to the ACC sample rate change of voice data and causes, currently playing sound
Frequently the timestamp of frame is probably accurately, the most i.e. according to the timestamp of currently playing audio frame, will regard
The broadcasting of frequency evidence carries out synchronize with the timestamp of currently playing audio frame.Concrete, during by timer
Between be adjusted the timestamp into currently playing audio frame, thus the timing after utilizing timer to adjust
Time, the timing time after adjusting with described timer of playing of video data is carried out synchronize.
By the technical scheme of the embodiment of the present invention, playing of voice data and video data can be improved
Process synchronization concordance, thus improve the result of broadcast of Internet video, improve the viewing of user
Experience.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, the parts shown as unit can be or
Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible
Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it
Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area
Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or
Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill
The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. an Internet video player method, it is characterised in that including:
When carrying out Internet video and playing, start timer and the broadcasting of voice data is carried out timing;
At the end of each frame audio frame is play, obtain the timing time of described timer;
The broadcasting of video data is carried out synchronize with the timing time of described timer.
Method the most according to claim 1, it is characterised in that described by the broadcasting of video data with
The timing time of described timer carries out synchronization and includes:
Synchronous condition is met at the timing time of described timer and the timestamp of currently playing audio frame
Time, the broadcasting of video data is carried out synchronize with the timing time of described timer.
Method the most according to claim 2, it is characterised in that at the timing time of described timer
When being unsatisfactory for synchronous condition with the timestamp of currently playing audio frame, described method also includes:
Adjust the timestamp that timing time is currently playing audio frame of described timer;
The timing time after adjusting with described timer of playing of video data is carried out synchronize.
The most according to the method in claim 2 or 3, it is characterised in that described at described timer
When the timestamp of timing time and currently playing audio frame meets synchronous condition, by the broadcasting of video data
Synchronization include with the timing time of described timer:
At the timing time of described timer with the time difference of the timestamp of currently playing audio frame more than pre-
If during value, the broadcasting of video data being carried out synchronize with the timing time of described timer.
The most according to the method in claim 2 or 3, it is characterised in that the media of described Internet video
File is TS media file,
The described timing time at described timer meets synchronization bar with the timestamp of currently playing audio frame
During part, playing of video data is synchronization included with the timing time of described timer:
It is less than two with the time difference of the timestamp of currently playing audio frame at the timing time of described timer
During the time tolerance of individual PES audio pack, video data play the timing time with described timer
Synchronize.
6. an Internet video playing device, it is characterised in that including:
Timing starts module, for when carrying out Internet video and playing, starts timer to voice data
Broadcasting carries out timing;
Time-obtaining module, at the end of playing at each frame audio frame, obtains the meter of described timer
Time the time;
First plays adjusting module, for being entered by the timing time with described timer of playing of video data
Row synchronizes.
Device the most according to claim 6, it is characterised in that described first plays adjusting module tool
Body is used for:
Synchronous condition is met at the timing time of described timer and the timestamp of currently playing audio frame
Time, the broadcasting of video data is carried out synchronize with the timing time of described timer.
Device the most according to claim 7, it is characterised in that also include:
Time regulating module, for timing time and the currently playing audio frame at described timer time
Between stamp when being unsatisfactory for synchronous condition, the timing time adjusting described timer is described next audio frame
Timestamp;
Second play adjusting module, for by video data play with described timer adjustment after based on
Time the time synchronize.
9. according to the device described in claim 7 or 8, it is characterised in that described first plays adjustment mould
Block specifically for:
At the timing time of described timer with the time difference of the timestamp of currently playing audio frame more than pre-
If during value, the broadcasting of video data being carried out synchronize with the timing time of described timer.
10. according to the device described in claim 7 or 8, it is characterised in that described first plays adjustment
Module specifically for:
Media file in described Internet video is TS media file, the timing time of described timer with work as
When the time difference of the timestamp of the audio frame of front broadcasting is less than the time tolerance of two PES audio pack, will
The broadcasting of video data carries out synchronize with the timing time of described timer.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971468.XA CN105898500A (en) | 2015-12-22 | 2015-12-22 | Network video play method and device |
PCT/CN2016/096013 WO2017107516A1 (en) | 2015-12-22 | 2016-08-19 | Method and device for playing network video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971468.XA CN105898500A (en) | 2015-12-22 | 2015-12-22 | Network video play method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105898500A true CN105898500A (en) | 2016-08-24 |
Family
ID=57002509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510971468.XA Pending CN105898500A (en) | 2015-12-22 | 2015-12-22 | Network video play method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105898500A (en) |
WO (1) | WO2017107516A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331840A (en) * | 2016-08-31 | 2017-01-11 | 青岛海信宽带多媒体技术有限公司 | Http live stream (HLS) protocol-based audio and video jump play method and apparatus |
CN107509100A (en) * | 2017-09-15 | 2017-12-22 | 深圳国微技术有限公司 | Audio and video synchronization method, system, computer installation and computer-readable recording medium |
WO2018072098A1 (en) * | 2016-10-18 | 2018-04-26 | 深圳市福斯康姆智能科技有限公司 | Method and device for synchronizing audio and video |
CN108566552A (en) * | 2018-04-20 | 2018-09-21 | 四川长虹网络科技有限责任公司 | Multi-medium play method and system suitable for top box of digital machine |
WO2021103724A1 (en) * | 2019-11-29 | 2021-06-03 | 深圳创维-Rgb电子有限公司 | Television sound and picture synchronous self-tuning method and device and storage medium |
CN113556595A (en) * | 2021-06-16 | 2021-10-26 | 珠海全志科技股份有限公司 | Miracast-based playback method and device |
WO2024054606A1 (en) * | 2022-09-08 | 2024-03-14 | DD Traders, Inc. | System and method for triggering countdown on digital user interface |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333756B (en) * | 2020-09-14 | 2024-02-27 | 咪咕文化科技有限公司 | Regional network quality monitoring method, system, electronic equipment and storage medium |
CN113891132A (en) * | 2021-10-25 | 2022-01-04 | 北京字节跳动网络技术有限公司 | Audio and video synchronization monitoring method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816156A (en) * | 2005-02-02 | 2006-08-09 | 乐金电子(惠州)有限公司 | Synchronous broadcasting method of multi-media data |
CN101137066A (en) * | 2007-05-11 | 2008-03-05 | 中兴通讯股份有限公司 | Multimedia data flow synchronous control method and device |
CN101290790A (en) * | 2008-06-16 | 2008-10-22 | 北京中星微电子有限公司 | Synchronous playing method and device for both audio and video |
CN101390388A (en) * | 2006-02-27 | 2009-03-18 | 松下电器产业株式会社 | Reproducer, portable telephone, and reproducing method |
CN101889451A (en) * | 2007-12-05 | 2010-11-17 | 思科技术公司 | Systems and methods of reducing media stream delay through independent decoder clocks |
CN101902649A (en) * | 2010-07-15 | 2010-12-01 | 浙江工业大学 | Audio-video synchronization control method based on H.264 standard |
CN102421035A (en) * | 2011-12-31 | 2012-04-18 | 青岛海信宽带多媒体技术有限公司 | Method and device for synchronizing audio and video of digital television |
CN103747316A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Audio and video synchronizing method and electronic device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6850284B2 (en) * | 2002-08-27 | 2005-02-01 | Motorola, Inc. | Method and apparatus for decoding audio and video information |
TWI265733B (en) * | 2004-07-27 | 2006-11-01 | Mediatek Inc | Playback device capable of synchronizing playback of video signal portion and audio signal portion of AV signal and method thereof |
-
2015
- 2015-12-22 CN CN201510971468.XA patent/CN105898500A/en active Pending
-
2016
- 2016-08-19 WO PCT/CN2016/096013 patent/WO2017107516A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816156A (en) * | 2005-02-02 | 2006-08-09 | 乐金电子(惠州)有限公司 | Synchronous broadcasting method of multi-media data |
CN101390388A (en) * | 2006-02-27 | 2009-03-18 | 松下电器产业株式会社 | Reproducer, portable telephone, and reproducing method |
CN101137066A (en) * | 2007-05-11 | 2008-03-05 | 中兴通讯股份有限公司 | Multimedia data flow synchronous control method and device |
CN101889451A (en) * | 2007-12-05 | 2010-11-17 | 思科技术公司 | Systems and methods of reducing media stream delay through independent decoder clocks |
CN101290790A (en) * | 2008-06-16 | 2008-10-22 | 北京中星微电子有限公司 | Synchronous playing method and device for both audio and video |
CN101902649A (en) * | 2010-07-15 | 2010-12-01 | 浙江工业大学 | Audio-video synchronization control method based on H.264 standard |
CN102421035A (en) * | 2011-12-31 | 2012-04-18 | 青岛海信宽带多媒体技术有限公司 | Method and device for synchronizing audio and video of digital television |
CN103747316A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Audio and video synchronizing method and electronic device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331840A (en) * | 2016-08-31 | 2017-01-11 | 青岛海信宽带多媒体技术有限公司 | Http live stream (HLS) protocol-based audio and video jump play method and apparatus |
CN106331840B (en) * | 2016-08-31 | 2019-05-21 | 青岛海信宽带多媒体技术有限公司 | A kind of redirect broadcasting method and device of the audio-video based on HLS protocol |
WO2018072098A1 (en) * | 2016-10-18 | 2018-04-26 | 深圳市福斯康姆智能科技有限公司 | Method and device for synchronizing audio and video |
CN107509100A (en) * | 2017-09-15 | 2017-12-22 | 深圳国微技术有限公司 | Audio and video synchronization method, system, computer installation and computer-readable recording medium |
CN108566552A (en) * | 2018-04-20 | 2018-09-21 | 四川长虹网络科技有限责任公司 | Multi-medium play method and system suitable for top box of digital machine |
CN108566552B (en) * | 2018-04-20 | 2021-05-25 | 四川长虹网络科技有限责任公司 | Multimedia playing method and system suitable for digital set top box |
WO2021103724A1 (en) * | 2019-11-29 | 2021-06-03 | 深圳创维-Rgb电子有限公司 | Television sound and picture synchronous self-tuning method and device and storage medium |
US11431880B2 (en) | 2019-11-29 | 2022-08-30 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Method and device for automatically adjusting synchronization of sound and picture of TV, and storage medium |
CN113556595A (en) * | 2021-06-16 | 2021-10-26 | 珠海全志科技股份有限公司 | Miracast-based playback method and device |
CN113556595B (en) * | 2021-06-16 | 2023-06-06 | 珠海全志科技股份有限公司 | Miracast-based playback method and device |
WO2024054606A1 (en) * | 2022-09-08 | 2024-03-14 | DD Traders, Inc. | System and method for triggering countdown on digital user interface |
Also Published As
Publication number | Publication date |
---|---|
WO2017107516A1 (en) | 2017-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105898500A (en) | Network video play method and device | |
CN106612452B (en) | method and device for synchronizing audio and video of set top box | |
CN109089130A (en) | A kind of method and apparatus for the timestamp adjusting live video | |
CN110139148B (en) | Video switching definition method and related device | |
JP5586511B2 (en) | Synchronous control device and program | |
CN101419827B (en) | Method for synchronzing audio and video data in avi file | |
CN107566889B (en) | Audio stream flow velocity error processing method and device, computer device and computer readable storage medium | |
CN109275008A (en) | A kind of method and apparatus of audio-visual synchronization | |
JPH11275519A (en) | Data recording method and data recorder | |
US10298901B2 (en) | Method for synchronous playback by multiple smart devices, and apparatus | |
CN101887739B (en) | Method and device for synchronizing media play | |
CN106717079B (en) | Clock synchronization using WIFI beacons | |
CN103648011B (en) | A kind of audio-visual synchronization apparatus and method based on HLS protocol | |
CN110519627B (en) | Audio data synchronization method and device | |
CN107105352A (en) | Captioning synchronization method and device | |
CN105979289A (en) | Video generation and play method and device | |
CN108600814A (en) | A kind of audio video synchronization playback method and device | |
CN105898504A (en) | Audio and video synchronization method and apparatus | |
CN103581730A (en) | Method for achieving synchronization of audio and video on digital set top box | |
CN103491430A (en) | Streaming media data processing method and electronic device | |
US7961792B2 (en) | Robust system for maintaining audio/video synchronization during playback of multimedia streams with no embedded time stamps | |
CN101290790A (en) | Synchronous playing method and device for both audio and video | |
CN109246443A (en) | A kind of live stream slice synchronous method and system | |
CN108650541A (en) | Realize that the method and system of video is played simultaneously in distinct device | |
CN108235099A (en) | A kind of media and the synchronous broadcast method and its device of vibration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |