CN105979344A - Multimedia play method and player - Google Patents
Multimedia play method and player Download PDFInfo
- Publication number
- CN105979344A CN105979344A CN201510854261.4A CN201510854261A CN105979344A CN 105979344 A CN105979344 A CN 105979344A CN 201510854261 A CN201510854261 A CN 201510854261A CN 105979344 A CN105979344 A CN 105979344A
- Authority
- CN
- China
- Prior art keywords
- time
- data
- playing
- player
- playing progress
- 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
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4333—Processing operations in response to a pause request
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- 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 Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a multimedia play method and a player. The method comprises: when a player is employed to play the streaming media data, monitoring the stored buffer data volume in real time; when the stored buffer data volume is smaller a play threshold, pausing the playing of the streaming media data, and recording the current pause time point and stopping refreshing a playing progress bar; downloading the buffer data, and storing the buffer data; and when the stored buffer data volume reaches a playing starting threshold, starting the playing and taking the paused time point as a starting point for refreshing the playing progress bar. According to the invention, the problem is solved that the playing time display of a player is inaccurate in the process of playing multimedia by a user.
Description
Technical field
The present invention relates to MultiMedia Field, particularly relate to a kind of multi-medium play method, and one is broadcast
Put device.
Background technology
User, when using the intelligent terminal such as smart mobile phone, panel computer, can use player to carry out many
Media play, in playing process, multimedia is likely to be due to network or data source problem causes amount of buffered data
Deficiency, and cause broadcasting to suspend and when downloading buffered data, playing progress bar still can forward slip, make
The buffered data time of actual play display corresponding with playing progress bar Time Inconsistency when must replay,
The i.e. playing progress bar correspondence display time is inaccurate.
Such as, player playing certain video to 10 points, within 10 seconds, due to amount of buffered data deficiency, broadcast by time-out
Putting, during suspending and downloading buffered data, playing progress bar continues forward slip.Buffer 2 seconds
After can restart to play, now the playing progress bar correspondence display time be 10 points 12 seconds, and actual
On now be play 10 points of buffered datas of 10 seconds.Visible, cause owing to amount of buffered data is not enough
Suspend and play, after replaying, usually there will be buffered data time and the playing progress bar of actual play
The problem of corresponding display Time Inconsistency.
Therefore, those skilled in the art need badly and solve the problem in that: propose a kind of multi-medium play method
And player, show inaccurate problem solving the reproduction time of player.
Summary of the invention
The embodiment of the present invention provides a kind of multi-medium play method and player, in order to solve multimedia
During reproduction time show inaccurate problem.
The embodiment of the invention discloses a kind of multi-medium play method, including: using player plays stream
During media data, the amount of buffered data of monitoring storage in real time;When the buffer data size of storage is less than playing threshold
During value, suspend streaming media data broadcasting, record current time out point and stop refreshing playing into
Degree bar;Download buffered data, store buffered data;When the amount of buffered data of storage has reached to broadcast threshold value,
Start and play and refresh playing progress bar with the time point suspended for starting point.
Accordingly, the embodiment of the invention also discloses a kind of player, including: monitoring modular, it is used for
When using player plays stream medium data, the amount of buffered data of monitoring storage in real time;Suspend processing module,
For when the buffer data size of storage is less than when playing threshold value, suspending the broadcasting of streaming media data, record
The time point of current time-out also stops refreshing playing progress bar download module, is used for downloading buffered data,
Storage buffered data;Playing module, for when the amount of buffered data of storage has reached to broadcast threshold value, starting
Play and refresh playing progress bar with the time point suspended for starting point.
A kind of multi-medium play method and player that the embodiment of the present invention provides pass through to monitor storage in real time
Amount of buffered data;When the buffer data size of storage is less than when playing threshold value, suspend streaming media data
Play, record the time out point that the Presentation Time Stamp of current time-out is corresponding, and stop refreshing playing into
Degree bar, makes when there is the situation because of buffering deficiency time-out, and player can find time-out accurately and broadcast
The time point put and stopping preset identification, when the amount of buffered data of storage has reached to broadcast threshold value, open
Dynamic broadcasting also refreshes playing progress bar with the timestamp suspended for starting point, plays during making multimedia
Time showing is more accurate.
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 the flow chart of steps of a kind of multi-medium play method of one embodiment of the invention;
Fig. 2 is the flow chart of steps of a kind of multi-medium play method of another embodiment of the present invention;
Fig. 3 is the structured flowchart of a kind of player of one embodiment of the invention;
Fig. 4 is the structured flowchart of a kind of player of another embodiment of the present invention.
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 user uses intelligent terminal to play multimedia online, wherein, the system of intelligent terminal can
To include the operating systems such as Windows, Android, as used intelligent television, flat board or intelligence hands
When machine plays video or video online, system upper level applications such as player, the data from bottom connect
Obtain data in Kou to play out, when occurring because of network problem or data source problem, delaying of download online
Strokes per minute is currently playing according to being not enough to support so that plays and suspends because of the deficiency of amount of buffered data;But counting
According to when being in buffer stage, playing progress bar is still gone ahead so that the reproduction time of final display includes
Actual play time and buffer time, final reproduction time is caused to show inaccurate.
The embodiment of the present invention proposes a kind of multi-medium play method, in order to solve reproduction time in prior art
Show inaccurate problem.
Embodiment one
With reference to Fig. 1, it is shown that the steps flow chart of a kind of multi-medium play method of one embodiment of the invention
Figure, specifically may include steps of:
Step S102, when using player plays stream medium data, the buffer number of in real time monitoring storage
According to amount.
When using player plays stream medium data, it is slow that upper layer application obtains from bottom data interface
Strokes per minute evidence, stores the buffered data got in corresponding relief area, in real time in storage address
Amount of buffered data is monitored, and wherein, stream medium data includes voice data and/or view data.
Preset threshold value, the amount of buffered data stored by the threshold value set as real-time monitoring relief area
Criterion, player is by monitoring amount of buffered data in real time, it is judged that whether the amount of buffered data of storage
Meet broadcasting condition or suspend broadcasting condition.
As default broadcasting threshold value broadcasts threshold value with rising, play threshold value and refer to the threshold that buffered data plays out
Value, when amount of buffered data is play less than suspending when playing threshold value;Rise broadcast threshold value refer to for suspend buffering
The threshold value that data replay, opens and plays;And for example playing threshold value is 5s, and rising and broadcasting threshold value is 5s.
Step S104, when storage buffer data size less than play threshold value time, suspend streaming media data
Broadcasting, record the time point of current time-out and stop refreshing playing progress bar.
When amount of buffered data storage being detected is less than and plays threshold value, the amount of buffered data such as storage is corresponding
Reproduction time less than 5s time, now, suspend the broadcasting of streaming media data, and search currently playing
Device suspends the time point play, and records this time point, and by current for this time point correspondence playing progress bar
Progress location point, as the terminal of buffer stage, stops the refreshing to playing progress bar, i.e. playing progress bar
Stop forward slip.
Step S106, download buffered data, store buffered data.
Player continues to download buffered data by network, and the buffered data after downloading stores buffering
District.
Step S108, when storage amount of buffered data reached to broadcast threshold value time, start play and with time-out
Time point be starting point refresh playing progress bar.
Stream medium data play whole during, broadcast threshold value also by having preset, to broadcast threshold value work
The criterion play is opened, when amount of buffered data relief area being detected has reached to broadcast threshold value for player
Time, open the broadcasting to buffered data, search because suspending the time point playing record, make with this time point
For the starting point replayed, again refresh playing progress bar simultaneously.
The embodiment of the present invention is by the amount of buffered data of monitoring storage in real time;When the buffer data size of storage is little
In time playing threshold value, suspend the broadcasting of streaming media data, record the time point of current time-out and stop
Refreshing playing progress bar, make when there is the situation because of buffering deficiency time-out, player can be looked into accurately
Find and suspend the time point play and stop preset identification, when the amount of buffered data of storage has reached to broadcast
During threshold value, start and play and refresh playing progress bar with the timestamp suspended for starting point, make multimedia broadcast
During putting reproduction time show more accurate.
Embodiment two
With reference to Fig. 2, it is shown that the steps flow chart of a kind of multi-medium play method of another embodiment of the present invention
Figure, specifically may include steps of:
Step S202, when using player plays stream medium data, the buffer number of in real time monitoring storage
According to amount.
When using player plays stream medium data, it is slow that upper layer application obtains from bottom data interface
Strokes per minute evidence, stores relief area by the buffered data got, and player is in real time to the buffering in relief area
Data volume is monitored, and wherein, stream medium data includes voice data and/or view data.
Presetting threshold value, the threshold value of setting refers to the detection threshold value of data buffering data volume, player
By monitoring amount of buffered data in real time, it is judged that whether the amount of buffered data of storage meets broadcasting condition or time-out
Broadcasting condition.
As default broadcasting threshold value broadcasts threshold value with rising, play threshold value and refer to the threshold that amount of buffered data plays out
Value, when amount of buffered data is play less than suspending when playing threshold value;Rise broadcast threshold value refer to for suspend video
The threshold value replayed, when buffering quantity and having reached to broadcast threshold value, opens and plays;And for example playing threshold value is
5s, rising and broadcasting threshold value is 5s.
Step S204, judge that the amount of buffered data of storage is whether less than playing threshold value.
Therefore in video display process, can be in the mistake in real time amount of buffered data of storage being monitored
Cheng Zhong, it is judged that whether the buffer data size of storage is less than playing threshold value.
When the amount of buffered data of storage is less than when playing threshold value, perform step S206, when the buffering of storage
Data volume, not less than when playing threshold value, performs step S208.
Step S206, triggering suspend control event.
When the amount of buffered data of storage is less than when playing threshold value, triggers and suspend control event, suspend currently
The broadcasting of stream medium data.
The embodiment of the present invention, presets and suspends control event, and it is because of amount of buffered data not that this time-out controls event
Foot and the suspending event that triggers, the buffer data size i.e. stored suspends control less than triggering to start when playing threshold value
Event processed.Wherein, in upper level applications, monitor event is set from the data-interface of bottom in advance, thus
Monitor event obtains data to the application program on upper strata from the data-interface of bottom and is monitored, when storage
Buffer data size, less than when playing threshold value, triggers and suspends control event.Suspend control event to refer to because of slow
Event when rushing data volume deficiency and suspend broadcasting, player being controlled.
By default broadcasting threshold value, play threshold value as judging depending on of amount of buffered data that relief area stores
According to, when the amount of buffered data of storage is less than broadcasting threshold value, broadcasting as corresponding in the amount of buffered data of storage
When time is less than 5s, the amount of buffered data that i.e. upper level applications gets is less than playing threshold value, now,
Trigger and suspend control event, and player is sent pause instruction.
Step S208, the broadcasting of continuation Current buffer data.
Step S210, the pause instruction sent according to time-out control event, suspend streaming media data
Play.
Step S212, foundation pause instruction, search the Presentation Time Stamp of player, by Presentation Time Stamp
The corresponding time is recorded as the time point suspended.
Step S214, the movement of stopping playing progress bar, to stop refreshing playing progress bar.
According to pause instruction, player suspends the broadcasting to current stream medium data, according to pause instruction,
Searching current player and suspend the Presentation Time Stamp play, wherein, timestamp is typically a character string,
Uniquely identify the time at certain a moment, search the time point that Presentation Time Stamp is corresponding, by this time point record
For the time point suspended, and show the time point of this time-out.
The Presentation Time Stamp play according to this time-out, so that playing progress bar stops moving forward, Yi Jiting
Only refresh playing progress bar, the display time that i.e. playing progress bar is play in buffer time section according to time-out
The time point of the time-out that stamp is corresponding, rests on this position and remains stationary as.
Step S216, download buffered data, store buffered data.
Player continues to download buffered data by network, and the buffered data after downloading stores buffering
District.
In a preferred embodiment of the present invention, play when suspending because of amount of buffered data deficiency, be in buffering
During the stage, it is also possible to by player interface with percents display buffer progress, wherein, buffering
The amount of buffered data that progress computing formula is currently stored has accounted for the ratio broadcasting threshold value, wherein, rises and broadcasts threshold value
Including time threshold or data-quantity threshold, such as 5s or 500kb, when rise broadcast threshold value be time threshold time, will
Currently stored amount of buffered data is converted to corresponding playing duration and is calculating.
Step S218, judge storage amount of buffered data whether reached to broadcast threshold value.
When the amount of buffered data of storage is to have reached to broadcast threshold value, performs step S220, otherwise return step
Rapid S216.
Step S220, startup broadcasting the time point with described time-out refresh playing progress bar for starting point.
Stream medium data play whole during, broadcast threshold value also by having preset, to broadcast threshold value work
The criterion play is opened, when amount of buffered data relief area being detected has reached to broadcast threshold value for player
Time, the broadcasting to buffered data opened by player, when stream medium data includes voice data or view data
Time, during such as pure audio or pure video, search because suspending the Presentation Time Stamp play, according to the display time
The time point of corresponding time-out searched by stamp, using the time point of this time-out as the starting point replayed.
After player is opened and is play, playing progress bar synchronous refresh, for voice data or view data,
After buffered data unlatching broadcasting taken by player, by the position of playing progress bar corresponding for time out point
As starting point, playing progress bar refreshes using system time as progress bar refreshing frequency, i.e. normally
The speed forward slip of playing progress bar system for tracking time during broadcasting.
When stream medium data includes voice data and view data, during such as audio frequency and video, search because time-out is broadcast
The Presentation Time Stamp put, searches the time point of corresponding time-out according to Presentation Time Stamp, with this time-out time
Between point as the starting point replayed.After player is opened and is play, playing progress bar synchronous refresh, right
In voice data and view data, when buffered data unlatching broadcasting taken by player, by time out point
The position of corresponding playing progress bar is refreshed as progress bar using speed bit stream as starting point, playing progress bar
Frequency refreshes, and i.e. when normal play, reproduction time follows speed bit stream forward slip.
The embodiment of the present invention can also be in the case of buffered data abundance, and user actively triggers time-out and broadcasts
Putting, now player suspends broadcasting, the Presentation Time Stamp that record current hang is play, and searches the display time
The time point of the time-out that stamp is corresponding, playing progress bar also stops refreshing, when reopening broadcasting, plays
The position of the playing progress bar that the time point of the time-out that progress bar is play with current hang is corresponding, restarts
Refresh.
The embodiment of the present invention is by the amount of buffered data of monitoring storage in real time;When the buffer data size of storage is little
In time playing threshold value, suspend the broadcasting of streaming media data, record the Presentation Time Stamp of current time-out,
Search the time point suspending broadcasting that Presentation Time Stamp is corresponding, and stop refreshing playing progress bar, make
During situation about now suspending because buffering is not enough, player can find accurately and suspend the display time play
What stamp was corresponding suspends the time point play and stops preset identification, and show that current hang plays time
Between shop, at buffer stage, player interface can also pass through percents display buffer progress;When depositing
When the amount of buffered data of storage has reached to broadcast threshold value, start and play and broadcast for starting point refreshing with the timestamp suspended
Put progress bar, make reproduction time during multimedia show more accurate.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present invention is not by described
The restriction of sequence of movement because according to the embodiment of the present invention, some step can use other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Embodiment three
With reference to Fig. 3, it is shown that the structured flowchart of a kind of player of one embodiment of the invention, the most permissible
Including such as lower module:
Wherein, monitoring modular 302, for when using player plays stream medium data, monitoring in real time
The amount of buffered data of storage;Suspend processing module 304, for when the buffer data size of storage is less than playing
During threshold value, suspend the broadcasting of streaming media data, record the time point of current time-out and stop refreshing and broadcast
Put progress bar;Download module 306, is used for downloading buffered data, stores buffered data;Playing module 308,
For when storage amount of buffered data reached to broadcast threshold value time, start play and with suspend time point for
Point refreshes playing progress bar.
When user uses the player streaming media data in Android system equipment to play online,
System upper level applications such as player, monitors the slow of download module 306 storage by monitoring modular 302
Strokes per minute evidence, time-out processing module 304 is less than by amount of buffered data storage being detected when playing threshold value,
Trigger to play and suspend, stop the broadcasting of streaming media data, record the time point of current time-out and stop brush
New playing progress bar;When the amount of buffered data of storage has arrived and broadcast threshold value, playing module 308 opens again
The dynamic broadcasting to time-out stream medium data, by searching because buffering deficiency suspends the Presentation Time Stamp of broadcasting,
And search Presentation Time Stamp corresponding play suspend time point, with this time point for starting point refresh play into
Degree bar.
The embodiment of the present invention monitors the amount of buffered data of storage in real time by detection module;Suspend processing module
Detect that the buffer data size of storage, less than when playing threshold value, suspends the broadcasting of streaming media data, record
The time point of current time-out also stops refreshing playing progress bar, makes the feelings suspended because of buffering deficiency occurring
During condition, player can find accurately and suspends the time point play and stop preset identification, when
When the amount of buffered data of storage has reached to broadcast threshold value, start and play and refresh for starting point with the timestamp suspended
Playing progress bar, makes reproduction time during multimedia show more accurate.
For player embodiment, due to itself and embodiment of the method basic simlarity, so the ratio described
Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
Embodiment four
With reference to Fig. 4, it is shown that another embodiment of the present invention one player structure block diagram, specifically can wrap
Include such as lower module:
Monitoring modular 302 is connected with the side of download module 306, and the opposite side of download module 306 is with temporarily
The side stopping processing module 304 connects, and suspends the opposite side of processing module 304 with playing module 308 even
Connect, wherein, disconnected module 304 include the triggers module 3042 being sequentially connected with, suspend submodule 3044,
Record sub module 3046 and refreshing submodule 3048.
Monitoring modular 302, for when using player plays stream medium data, monitoring in real time stores
Amount of buffered data;Suspend processing module 304, be used for when the buffer data size of storage is less than broadcasting threshold value,
Suspend the broadcasting of streaming media data, record the time point of current time-out and stop refreshing playing progress rate
Bar;Download module 306, is used for downloading buffered data, stores buffered data;Playing module 308, uses
In time including voice data or view data when stream medium data, according to system time as playing progress bar
Refreshing frequency, with the timestamp that suspends as starting point, starts refreshing to playing progress bar;Playing module 308,
Be additionally operable to when stream medium data includes voice data and view data, according to speed bit stream as play into
Degree bar refreshing frequency, with the timestamp that suspends as starting point, starts refreshing to playing progress bar.
Wherein, suspend the triggers module 3042 that processing module 304 includes being sequentially connected with, for when storage
Buffer data size less than play threshold value time, trigger suspend control event;Suspend submodule 3044, be used for
According to suspending the pause instruction that control event sends, suspend the broadcasting of streaming media data;Record sub module
3046, for according to pause instruction, the reproduction time searching player is recorded as the timestamp of time-out;Brush
New submodule 3048, for stopping the movement of playing progress bar, to stop refreshing playing progress bar.
A kind of preferred version of the embodiment of the present invention, data process player can also include display, uses
In when there is playing time-out, display halt identifies and the reproduction time of display current hang.
The embodiment of the present invention monitors the amount of buffered data of storage in real time by detection module;Suspend processing module
Judge, when the buffer data size of storage is less than when playing threshold value, to suspend the broadcasting of streaming media data, record
The Presentation Time Stamp of current time-out, searches the time point suspending broadcasting that Presentation Time Stamp is corresponding, and stops
Only refreshing playing progress bar, make when there is the situation because of buffering deficiency time-out, player can be accurately
Find and suspend corresponding the suspending the time point play and stop refreshing progress of the Presentation Time Stamp play
Bar, and show the time shop that current hang is play, at buffer stage, player interface can also be by hundred
Proportion by subtraction form display buffer progress;When the amount of buffered data of storage has reached to broadcast threshold value, start and play also
Refreshing playing progress bar with the timestamp suspended for starting point, during making multimedia, reproduction time shows
More accurate.
Player embodiment described above is only schematically, wherein said says as separating component
Bright module can be or may not be physically separate, and the parts shown as module can be
Or may not be physical module, i.e. may be located at a place, or multiple net can also be distributed to
In network module.Some or all of module therein can be selected according to the actual needs to realize this enforcement
The purpose of example scheme.Those of ordinary skill in the art in the case of not paying performing creative labour,
To understand and to implement.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, broadcast
Put device or computer program.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete
Full software implementation or the form of the embodiment in terms of combining software and hardware.And, the present invention implements
Example can use can be with storage at one or more computers wherein including computer usable program code
The upper computer implemented of medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of program product.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal unit (system) and meter
The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce
One machine so that performed by the processor of computer or other programmable data processing terminal equipment
Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The player of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable
Instruction in memorizer produces the manufacture including instructing player, and this instruction player realizes at flow chart
The function specified in one flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing
The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses
In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art being once
Know basic creative concept, then these embodiments can be made other change and amendment.So,
Claims are intended to be construed to include preferred embodiment and fall into the institute of range of embodiment of the invention
There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Process, method, article or terminal unit including a series of key elements not only include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one
It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end
End equipment there is also other identical element.
Above to a kind of multi-medium play method provided by the present invention and a kind of player, carry out in detail
Introducing, principle and the embodiment of the present invention are set forth by specific case used herein, with
Upper embodiment only in order to technical scheme to be described, is not intended to limit;Although with reference to aforementioned enforcement
The present invention has been described in detail by example, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments is modified, or wherein portion of techniques feature is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the present invention
The spirit and scope of each embodiment technical scheme.
Claims (10)
1. a video broadcasting method, it is characterised in that: described method includes:
When using player plays stream medium data, the amount of buffered data of monitoring storage in real time;
When the buffer data size of described storage is less than when playing threshold value, suspend the broadcasting of streaming media data,
Record current time out point and stop refreshing playing progress bar;
Download buffered data, store described buffered data;
When the amount of buffered data of storage has reached to broadcast threshold value, start broadcasting the time point with described time-out
Playing progress bar is refreshed for starting point.
Method the most according to claim 1, it is characterised in that when the buffer data size of described storage
Less than when playing threshold value, suspend the broadcasting of streaming media data, including;
When the buffer data size of described storage is less than when playing threshold value, triggers and suspend control event;
The pause instruction sent according to described time-out control event, suspends the broadcasting of streaming media data.
Method the most according to claim 1, it is characterised in that the time out that described record is current
Put and stop refreshing playing progress bar, including:
According to pause instruction, search the Presentation Time Stamp of player, by the described Presentation Time Stamp correspondence time
It is recorded as time out point;
Stop the movement of described playing progress bar, to stop refreshing playing progress bar.
Method the most according to claim 3, it is characterised in that described with described time point for rising
Point refreshes playing progress bar, including:
When stream medium data includes voice data or view data, according to system time as playing progress rate
Bar refreshing frequency, with time out point corresponding to described Presentation Time Stamp as starting point, starts playing progress rate
The refreshing of bar.
Method the most according to claim 3, it is characterised in that described with described time point for rising
Point refreshes playing progress bar, including:
When stream medium data includes voice data and view data, according to speed bit stream as playing progress rate
Bar refreshing frequency, with time out point corresponding to described Presentation Time Stamp as starting point, starts playing progress rate
The refreshing of bar.
6. a player, it is characterised in that: described player includes:
Monitoring modular, for when using player plays stream medium data, monitors the buffering of storage in real time
Data volume;
Suspend processing module, for when the buffer data size of described storage is less than when playing threshold value, and it is right to suspend
The broadcasting of stream medium data, records the time point of current time-out and stops refreshing playing progress bar;
Download module, is used for downloading buffered data, stores described buffered data;
Playing module, for when the amount of buffered data of storage has reached to broadcast threshold value, starting and play and with institute
The time point stating time-out is that starting point refreshes playing progress bar.
Player the most according to claim 6, it is characterised in that described time-out processing module, bag
Include;
Triggers module, for when the buffer data size of described storage is less than when playing threshold value, triggering and suspend
Control event;
Suspend submodule, for the pause instruction sent according to described time-out control event, suspend convection current matchmaker
The broadcasting of volume data.
Player the most according to claim 6, it is characterised in that described time-out processing module, bag
Include:
Record sub module, for according to described pause instruction, searching the Presentation Time Stamp of player, by institute
Stating the Presentation Time Stamp correspondence time is recorded as time out point;
Refresh submodule, for stopping the movement of described playing progress bar, to stop refreshing playing progress bar.
Player the most according to claim 8, it is characterised in that
Described playing module, for when stream medium data includes voice data or view data, according to system
The system time as playing progress bar refreshing frequency, with time out point corresponding to described Presentation Time Stamp for rising
Point, starts the refreshing to playing progress bar.
Player the most according to claim 8, it is characterised in that
Described playing module, for when stream medium data includes voice data and view data, according to code
Flow Velocity is as playing progress bar refreshing frequency, with time out point corresponding to described Presentation Time Stamp for rising
Point, starts the refreshing to playing progress bar.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510854261.4A CN105979344A (en) | 2015-11-27 | 2015-11-27 | Multimedia play method and player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510854261.4A CN105979344A (en) | 2015-11-27 | 2015-11-27 | Multimedia play method and player |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105979344A true CN105979344A (en) | 2016-09-28 |
Family
ID=56988357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510854261.4A Pending CN105979344A (en) | 2015-11-27 | 2015-11-27 | Multimedia play method and player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105979344A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572115A (en) * | 2016-11-10 | 2017-04-19 | 深圳市飞图视讯有限公司 | Screen image method of intelligent terminal playing network video, and emitter and receiver device |
CN108259998A (en) * | 2018-03-01 | 2018-07-06 | 青岛海信电器股份有限公司 | Player and control method for playing back, device, electronic equipment and play system |
CN109429076A (en) * | 2017-08-31 | 2019-03-05 | 杭州海康威视***技术有限公司 | The broadcasting Caton processing method and device of multi-medium data |
CN110022493A (en) * | 2019-05-21 | 2019-07-16 | 北京字节跳动网络技术有限公司 | Playback progress display methods, device, electronic equipment and storage medium |
CN111225270A (en) * | 2020-01-17 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN114827715A (en) * | 2022-04-13 | 2022-07-29 | 海信视像科技股份有限公司 | Display device and media asset playing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217639A (en) * | 2007-12-29 | 2008-07-09 | 腾讯科技(深圳)有限公司 | A method, system and client end of network advertisement issuance |
CN104244100A (en) * | 2013-06-13 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Progress bar control method and device |
CN104301797A (en) * | 2014-10-14 | 2015-01-21 | 百度在线网络技术(北京)有限公司 | Method and device for controlling playing resources in mobile terminal browser |
US20150312369A1 (en) * | 2013-06-26 | 2015-10-29 | Intel Corporation | Checkpoints for media buffering |
-
2015
- 2015-11-27 CN CN201510854261.4A patent/CN105979344A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217639A (en) * | 2007-12-29 | 2008-07-09 | 腾讯科技(深圳)有限公司 | A method, system and client end of network advertisement issuance |
CN104244100A (en) * | 2013-06-13 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Progress bar control method and device |
US20150312369A1 (en) * | 2013-06-26 | 2015-10-29 | Intel Corporation | Checkpoints for media buffering |
CN104301797A (en) * | 2014-10-14 | 2015-01-21 | 百度在线网络技术(北京)有限公司 | Method and device for controlling playing resources in mobile terminal browser |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572115A (en) * | 2016-11-10 | 2017-04-19 | 深圳市飞图视讯有限公司 | Screen image method of intelligent terminal playing network video, and emitter and receiver device |
CN109429076A (en) * | 2017-08-31 | 2019-03-05 | 杭州海康威视***技术有限公司 | The broadcasting Caton processing method and device of multi-medium data |
CN108259998A (en) * | 2018-03-01 | 2018-07-06 | 青岛海信电器股份有限公司 | Player and control method for playing back, device, electronic equipment and play system |
CN108259998B (en) * | 2018-03-01 | 2021-01-22 | 海信视像科技股份有限公司 | Player, play control method and device, electronic equipment and play system |
CN110022493A (en) * | 2019-05-21 | 2019-07-16 | 北京字节跳动网络技术有限公司 | Playback progress display methods, device, electronic equipment and storage medium |
CN110022493B (en) * | 2019-05-21 | 2020-10-09 | 北京字节跳动网络技术有限公司 | Playing progress display method and device, electronic equipment and storage medium |
WO2020233143A1 (en) * | 2019-05-21 | 2020-11-26 | 北京字节跳动网络技术有限公司 | Playing progress display method and apparatus, electronic device and storage medium |
CN111225270A (en) * | 2020-01-17 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN114827715A (en) * | 2022-04-13 | 2022-07-29 | 海信视像科技股份有限公司 | Display device and media asset playing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979344A (en) | Multimedia play method and player | |
CN104469516B (en) | A kind of video web page treating method and apparatus of Android system | |
US10403327B2 (en) | Content identification and playback | |
US20120257116A1 (en) | Video signature | |
US10019058B2 (en) | Information processing device and information processing method | |
CN104965773A (en) | Terminal, jamming detection method, device as well as game jamming detection method and device | |
CA2967326C (en) | Method and system for programmable loop recording | |
CN111314759B (en) | Video processing method and device, electronic equipment and storage medium | |
CN103546698B (en) | A kind of mobile terminal recorded video store method and device | |
CN103475939A (en) | Method, device and server for processing play record | |
WO2014190720A1 (en) | A method and device for playing media synchronously | |
CN106657257A (en) | Interactive applications implemented in video streams | |
JP6811330B2 (en) | Object display method and object display device | |
CN105828195A (en) | Suspending resuming method and apparatus of player | |
CN103024576A (en) | Method for positioning video playing time point | |
CN107450874B (en) | Multimedia data double-screen playing method and system | |
WO2020033612A1 (en) | Event recording system and method | |
CN109376254A (en) | Processing method, device, electronic equipment and the readable storage medium storing program for executing of data flow | |
CN111541927A (en) | Video playing method and device | |
CN104581356B (en) | A kind of method of program recording and system | |
CN104954718A (en) | Mobile intelligent terminal and image recording method thereof | |
CN106921886A (en) | The multimedia data playing method and device of a kind of terminal | |
US10049158B1 (en) | Analyzing user behavior relative to media content | |
KR20090017028A (en) | Method for creating and accessing media metadata in media file format and apparatus thereof | |
CN107360457A (en) | Multimedia data processing method and relevant device |
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: 20160928 |
|
WD01 | Invention patent application deemed withdrawn after publication |