CN105007521B - A kind of player method and device of TS videos - Google Patents
A kind of player method and device of TS videos Download PDFInfo
- Publication number
- CN105007521B CN105007521B CN201510417447.3A CN201510417447A CN105007521B CN 105007521 B CN105007521 B CN 105007521B CN 201510417447 A CN201510417447 A CN 201510417447A CN 105007521 B CN105007521 B CN 105007521B
- Authority
- CN
- China
- Prior art keywords
- videos
- play instruction
- buffer threshold
- caching
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012545 processing Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000003139 buffering effect Effects 0.000 abstract description 18
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4348—Demultiplexing of additional data and video streams
-
- 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4385—Multiplex stream processing, e.g. multiplex stream decrypting
-
- 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/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of player method and device of TS videos, caching broadcasting is carried out to the TS videos watched online to realize, to save the time of user.Methods described includes:Receive to currently just in the pre- play instruction of live TS videos;Determine the pre- play instruction corresponding position in the TS videos;The TS videos are cached since the opening position according to predetermined first buffer threshold, first buffer threshold is equal to or more than transmit the amount of video between adjacent decoded information twice in the TS videos;When caching reaches the first buffer threshold, the TS videos of caching are played.The technical scheme can be in the optional position of TS videos, according to predetermined buffer threshold buffered video, it is achieved thereby that carry out the purpose of buffered video with the buffering capacity of minimum, so that user is when watching TS videos, without waiting for the time of long buffered video, the unnecessary stand-by period is saved for user, improves the Experience Degree that user watches video.
Description
Technical field
The present invention relates to Internet technical field, the more particularly to a kind of player method and device of TS videos.
Background technology
Currently, with the development of computer communication technology, Internet technology and multimedia technology, it is online watch video this
Item technology has obtained more and more extensive application, and user can be selected in arbitrary period, passes through client (such as computer) and establishes
With the network connection of video playback server, all kinds of videos that video playback server provides are checked.In correlation technique, Yong Hu
When line watches video, server can buffer a part of video file, so as to prevent interim card in playing process before user watches
Phenomenon.But for the video file of TS forms, due to decoded information can periodically occur in TS video files, therefore
If using current this method, when carrying out video buffer, it is necessary to constantly obtain decoded information, to ensure video energy
Enough being decoded and played, this just needs the process that server is constantly downloaded, decapsulated, decoding, and constantly to section
Mesh information is identified and obtained, and adds the work load of server to a certain extent, and buffering capacity is larger, still easily
There is Caton phenomenon, especially in user's rewind or F.F. video, this is not for the effect of the online viewing video of user
It is ideal.
The content of the invention
The present invention provides a kind of player method and device of TS videos, and the TS videos watched online are delayed to realize
Broadcasting is deposited, to save the time of user.
The present invention provides a kind of player method of TS videos, including:
Receive to currently just in the pre- play instruction of live TS videos;
Determine the pre- play instruction corresponding position in the TS videos;
The TS videos, first buffering are cached since the opening position according to predetermined first buffer threshold
Threshold value is equal to or more than transmit the amount of video between adjacent decoded information twice in the TS videos;
When caching reaches the first buffer threshold, the TS videos of caching are played.
Some beneficial effects of the embodiment of the present invention can include:
Above-mentioned technical proposal can in the optional position of TS videos, according to predetermined buffer threshold buffered video, from
And realize the purpose for carrying out buffered video with the buffering capacity of minimum so that user is when watching TS videos, without waiting for long
The time of buffered video, the unnecessary stand-by period is saved for user, improve the Experience Degree that user watches video.
In one embodiment, methods described also includes:
During pre- playback process is carried out to the TS videos, when receiving the pre- broadcasting to the TS videos again
During instruction, stop the pre- playback process to the TS videos, the pre- playback process is included in caching, decapsulation, decoding extremely
Few one kind;
According to first buffer threshold, from the pre- play instruction received again in the TS videos corresponding to
Opening position starts to cache the TS videos.
In the embodiment, TS videos can be cached immediately when receiving the pre- play instruction to TS videos again so that
User, without waiting for the time of long buffered video, unnecessary wait is saved for user in viewing TS videos in real time
Time, improve the Experience Degree that user watches video.
In one embodiment, it is described according to first buffer threshold, from the pre- play instruction received again
Corresponding opening position starts after caching the TS videos in the TS videos, and methods described also includes:
Pre- playback process is carried out to the TS videos of the caching.
TS videos after being cached according to the first buffer threshold can be carried out pre- playback process by the embodiment, be used so as to convenient
Family is watched so that user saves the unnecessary stand-by period for user, improved without waiting for the time of long buffered video
User watches the Experience Degree of video.
In one embodiment, first buffer threshold is determined according to the resolution ratio and/or code check of the TS videos
's.
In the embodiment, buffer threshold is determined according to the resolution ratio of TS videos or code check so that TS videos are delayed
When depositing, the purpose for carrying out buffered video with the buffering capacity of minimum can be realized, so that user is without waiting for long buffered video
Time, save the unnecessary stand-by period for user, improve the Experience Degree that user watches video.
In one embodiment, it is described according to predetermined first buffer threshold since the opening position described in caching
TS videos, including:
Judge whether the pre- play instruction is the pre- play instruction received first;
When the pre- play instruction is the pre- play instruction received first, according to predetermined first buffer threshold
While the TS videos are cached since the opening position, the decoded information of the TS transmission of video is obtained;
When the pre- play instruction is not the pre- play instruction received first, according to the predetermined first buffering threshold
While value caches the TS videos since the opening position, acquisition receives accessed during the pre- play instruction first
Decoded information.
, can be in repeatedly caching TS videos, without repeating the decoded information obtained in TS videos, only in the embodiment
TS videos need to be directly cached according to buffer threshold, so as to save the identification of decoded information and acquisition process, save use
The stand-by period at family and the burden of server.
In one embodiment, methods described also includes:
After terminating according to first buffer threshold caching TS videos, continue with the predetermined second buffering threshold
Value caches the TS videos, and second buffer threshold is more than first buffer threshold.
In the embodiment, it can continue to delay according to larger buffer threshold after TS videos are cached according to buffer threshold
Video is deposited, has both realized and the purpose of buffered video is come with the buffering capacity of minimum, and ensure that the continuous broadcasting of TS videos, so as to carry
The Experience Degree of high user.
The present invention provides a kind of playing device of TS videos, including:
Receiving module, for receiving to currently just in the pre- play instruction of live TS videos;
Determining module, for determining the pre- play instruction corresponding position in the TS videos;
First cache module, for caching the TS since the opening position according to predetermined first buffer threshold
Video, first buffer threshold are equal to or more than transmit the amount of video between adjacent decoded information twice in the TS videos;
Playing module, for when caching reaches the first buffer threshold, playing the TS videos of caching.
In one embodiment, described device also includes:
Stop module, for during pre- playback process is carried out to the TS videos, when receiving again to described
During the pre- play instruction of TS videos, stop the pre- playback process to the TS videos, the pre- playback process includes caching, deblocking
At least one of dress, decoding;
Second cache module, for according to first buffer threshold, existing from the pre- play instruction received again
Corresponding opening position starts to cache the TS videos in the TS videos.
In one embodiment, described device also includes:
Processing module, for according to first buffer threshold, from the pre- play instruction received again described
Corresponding opening position starts after caching the TS videos in TS videos, and pre- playback process is carried out to the TS videos of the caching.
In one embodiment, first cache module includes:
Judging submodule, for judging whether the pre- play instruction is the pre- play instruction that receives first;
First acquisition submodule, for when the pre- play instruction be receive first pre- play instruction when, according to pre-
While the first buffer threshold first determined caches TS videos since the opening position, the decoding of the TS transmission of video is obtained
Information;
Second acquisition submodule, for when the pre- play instruction not for receive first pre- play instruction when, according to
While predetermined first buffer threshold caches the TS videos since the opening position, acquisition receives described first
Accessed decoded information during pre- play instruction.
Some beneficial effects of the embodiment of the present invention can include:
Said apparatus can be in the optional position of TS videos, according to predetermined buffer threshold buffered video, so as to real
The purpose for carrying out buffered video with the buffering capacity of minimum is showed so that user is when watching TS videos, without waiting for long caching
The time of video, the unnecessary stand-by period is saved for user, improve the Experience Degree that user watches video.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the player method of TS videos in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the player method of TS videos in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of the player method of TS videos in the embodiment of the present invention;
Fig. 4 is a kind of block diagram of the playing device of TS videos in the embodiment of the present invention;
Fig. 5 is a kind of block diagram of the playing device of TS videos in the embodiment of the present invention;
Fig. 6 is a kind of block diagram of the first cache module in playing device of TS videos in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is a kind of flow chart of the player method of TS videos in the embodiment of the present invention.As shown in figure 1, this method includes
Following steps S11-S14:
Step S11, receive to currently just in the pre- play instruction of live TS videos.
Wherein, pre- play instruction is playing request of the user to live TS videos, is commenced play out available for TS videos
When, it can also be used to when F.F., rewind.
Step S12, determine pre- play instruction corresponding position in TS videos.
In the step, due to pre- play instruction be user to the playing request of the TS videos played online, and due to nothing
Method obtains total playing duration of the big files of TS, therefore is to show the percentage from 0 to 100% on the progress bar of TS videos, and
The length of time is not shown, and therefore, pre- play instruction corresponding position in TS videos is also with hundred in the TS video files
Ratio is divided to characterize, during TS videos are buffered, without the head file for downloading TS videos.
Step S13, TS videos, the first buffering threshold are cached since the opening position according to predetermined first buffer threshold
Value is equal to or more than transmit the amount of video between adjacent decoded information twice in TS videos.
In the step, the first buffer threshold can also determine according to the resolution ratio and/or code check of TS videos.First buffering
The selection amount of threshold value is usually that can ensure that user normally watches the minimal buffering amount of TS videos, and the minimal buffering amount need to only include
The amount of video between adjacent decoded information twice is transmitted in TS videos, therefore when user sends pre- play instruction, is only needed
Buffered video is come with minimal buffering amount, so that the cache-time before playing video shortens.
Step S14, when caching reaches the first buffer threshold, play the TS videos of caching.
, can be in the optional position of TS videos, according to predetermined using technical scheme provided in an embodiment of the present invention
Buffer threshold buffered video, it is achieved thereby that carrying out the purpose of buffered video with the buffering capacity of minimum so that user regards in viewing TS
During frequency, without waiting for the time of long buffered video, the unnecessary stand-by period is saved for user, improves user's viewing
The Experience Degree of video.
In one embodiment, as shown in Fig. 2 the further comprising the steps of S21-S23 of the above method:
Step S21, during pre- playback process is carried out to TS videos, when receiving the pre- broadcasting to TS videos again
During instruction, stop the pre- playback process to TS videos, pre- playback process includes at least one of caching, decapsulation, decoding.
Step S22, according to the first buffer threshold, from the pre- play instruction received again in TS videos corresponding position
Place starts to cache TS videos.
Step S23, pre- playback process is carried out to the TS videos of caching.The TS videos of caching need decapsulated, decoded
Flow, allow the user to viewing caching TS videos.
For example, user asks to play TS videos, then in the starting position of TS videos, is cached first with the first buffer threshold
TS videos, such as the first buffer threshold is 5M, then after caching 5M TS video datas, commences play out buffered TS videos
Data, meanwhile, the process cached with the video data not played, decapsulate, decoded, to ensure that video can continuously be broadcast
Put.If now user's F.F. TS videos, then the pre- playback process currently carried out will be aborted, and be fast-forward to immediately
Opening position start cache the first buffer threshold (5M) TS video datas, it is seen then that the present embodiment can send pre- broadcast in user
It is in time user cache TS videos when putting instruction, ensures that user can locate online viewing TS videos in time at an arbitrary position, carry
The high Experience Degree of user.
In one embodiment, as shown in figure 3, above-mentioned steps S13 may be embodied as following steps S31-S35:
Step S31, receive to currently just in the pre- play instruction of live TS videos.
Step S32, determine pre- play instruction corresponding position in TS videos.
Step S33, judge whether pre- play instruction is the pre- play instruction received first.If headed by pre- play instruction
The secondary pre- play instruction received, then continue executing with step S34;If pre- broadcasting of the pre- play instruction not to receive first refers to
Order, continue and perform step S35.
Step S34, while TS videos are cached since the opening position according to predetermined first buffer threshold, obtain
The decoded information of TS transmission of video.
Step S35, while TS videos are cached since the opening position according to predetermined first buffer threshold, obtain
Decoded information accessed during pre- play instruction is received first.
In the present embodiment, if pre- play instruction is not the pre- play instruction received first, such as F.F. or rewind
During video, when caching TS videos with the first buffer threshold, without reacquiring decoded information again, need to only continue to use caching first should
The decoded information got during TS videos, so as to save the identification of decoded information and acquisition process, also just save use
The stand-by period at family and the burden of server.
In one embodiment, the above method is further comprising the steps of:When according to the first buffer threshold caching TS video knots
Shu Hou, continue to cache the TS videos with predetermined second buffer threshold, the second buffer threshold is more than the first buffer threshold.
In the present embodiment, for user when request plays TS videos or F.F., rewind first, server can be with a minimum buffering capacity
(i.e. the first buffer threshold) caches TS videos, and after commencing play out, continues with the second big buffering of the buffer memory than minimum
Threshold value caches TS videos so that user can continuously watch TS videos.Or regarded according to the first buffer threshold caching TS
When frequency reaches preset duration or reaches default data volume, the second buffer threshold caching TS videos are used instead.Wherein, preset duration is led to
Chang Weiyi shorter periods, when the first buffer threshold is smaller, user is likely to be not felt by this shorter period,
Also just making user, the time of wait is shorter when watching live TS videos.Default data volume is that can ensure caching
The data volume of TS video normal plays.
Corresponding to the way to play for time of the TS videos in above-described embodiment, the embodiment of the present invention also provides a kind of broadcasting for TS videos
Device is put, as shown in figure 4, the device includes:
Receiving module 41, for receiving to currently just in the pre- play instruction of live TS videos;
Determining module 42, for determining pre- play instruction corresponding position in TS videos;
First cache module 43, for caching TS videos since opening position according to predetermined first buffer threshold,
First buffer threshold is equal to or more than transmit the amount of video between adjacent decoded information twice in TS videos;
Playing module 44, for when caching reaches the first buffer threshold, playing the TS videos of caching.
In one embodiment, as shown in figure 5, said apparatus also includes:
Stop module 45, for during pre- playback process is carried out to TS videos, when receiving again to TS videos
Pre- play instruction when, stop the pre- playback process to TS videos, pre- playback process is included in caching, decapsulation, decoding extremely
Few one kind;
Second cache module 46, for according to the first buffer threshold, from the pre- play instruction received again in TS videos
In corresponding opening position start cache TS videos;
Processing module 47, for according to the first buffer threshold, from the pre- play instruction received again in TS videos it is right
The opening position answered starts after caching TS videos, and pre- playback process is carried out to the TS videos of caching.
In one embodiment, as shown in fig. 6, the first cache module 43 includes:
Judging submodule 431, for judging whether pre- play instruction is the pre- play instruction that receives first;
First acquisition submodule 432, for when pre- play instruction be receive first pre- play instruction when, according to advance
While the first buffer threshold determined caches TS videos since opening position, the decoded information of TS transmission of video is obtained;
Second acquisition submodule 433, for when pre- play instruction not for receive first pre- play instruction when, according to pre-
While the first buffer threshold first determined caches TS videos since opening position, acquisition receives pre- play instruction when institute first
The decoded information got.
, can be in the optional position of TS videos, according to predetermined buffering using device provided in an embodiment of the present invention
Threshold value buffered video, it is achieved thereby that carrying out the purpose of buffered video with the buffer memory of minimum so that user when watching TS videos,
Without waiting for the time of long buffered video, the unnecessary stand-by period is saved for user, user is improved and watches video
Experience Degree.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
- A kind of 1. player method of TS videos, it is characterised in that including:Receive to currently just in the pre- play instruction of live TS videos;Determine the pre- play instruction corresponding position in the TS videos;The TS videos, first buffer threshold are cached since the opening position according to predetermined first buffer threshold Equal to or more than the amount of video transmitted in the TS videos between adjacent decoded information twice;When caching reaches the first buffer threshold, the TS videos of caching are played;It is described that the TS videos are cached since the opening position according to predetermined first buffer threshold, including:Judge whether the pre- play instruction is the pre- play instruction received first;When the pre- play instruction is the pre- play instruction received first, according to predetermined first buffer threshold from institute While stating opening position and start to cache the TS videos, the decoded information of the TS transmission of video is obtained;When the pre- play instruction not for receive first pre- play instruction when, according to predetermined first buffer threshold from While the opening position starts to cache the TS videos, acquisition receives solution accessed during the pre- play instruction first Code information.
- 2. the method as described in claim 1, it is characterised in that methods described also includes:During pre- playback process is carried out to the TS videos, when receiving the pre- play instruction to the TS videos again When, stop the pre- playback process to the TS videos, the pre- playback process includes at least one in caching, decapsulation, decoding Kind;According to first buffer threshold, from the pre- play instruction received again in the TS videos corresponding position Place starts to cache the TS videos.
- 3. method as claimed in claim 2, it is characterised in that it is described according to first buffer threshold, connect again from described The pre- play instruction received corresponding opening position in the TS videos starts after caching the TS videos, and methods described is also wrapped Include:Pre- playback process is carried out to the TS videos of the caching.
- 4. the method as described in claim 1, it is characterised in that first buffer threshold is the resolution according to the TS videos What rate and/or code check determined.
- 5. the method as described in claim 1, it is characterised in that methods described also includes:After according to first buffer threshold caching TS videos terminating, continue to delay with predetermined second buffer threshold The TS videos are deposited, second buffer threshold is more than first buffer threshold.
- A kind of 6. playing device of TS videos, it is characterised in that including:Receiving module, for receiving to currently just in the pre- play instruction of live TS videos;Determining module, for determining the pre- play instruction corresponding position in the TS videos;First cache module, regarded for caching the TS since the opening position according to predetermined first buffer threshold Frequently, first buffer threshold is equal to or more than transmit the amount of video between adjacent decoded information twice in the TS videos;Playing module, for when caching reaches the first buffer threshold, playing the TS videos of caching;First cache module includes:Judging submodule, for judging whether the pre- play instruction is the pre- play instruction that receives first;First acquisition submodule, for when the pre- play instruction be receive first pre- play instruction when, according in advance really While the first fixed buffer threshold caches the TS videos since the opening position, the decoding of the TS transmission of video is obtained Information;Second acquisition submodule, for when the pre- play instruction not for receive first pre- play instruction when, according to advance The first buffer threshold determined is since the opening position while cache the TS videos, and acquisition receives described pre- broadcast first Put decoded information accessed during instruction.
- 7. device as claimed in claim 6, it is characterised in that described device also includes:Stop module, for during pre- playback process is carried out to the TS videos, being regarded when receiving again to the TS During the pre- play instruction of frequency, stop the pre- playback process to the TS videos, the pre- playback process include caching, decapsulation, At least one of decoding;Second cache module, for according to first buffer threshold, from the pre- play instruction received again described Corresponding opening position starts to cache the TS videos in TS videos.
- 8. device as claimed in claim 7, it is characterised in that described device also includes:Processing module, for according to first buffer threshold, being regarded from the pre- play instruction received again in the TS Corresponding opening position starts after caching the TS videos in frequency, and pre- playback process is carried out to the TS videos of the caching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510417447.3A CN105007521B (en) | 2015-07-15 | 2015-07-15 | A kind of player method and device of TS videos |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510417447.3A CN105007521B (en) | 2015-07-15 | 2015-07-15 | A kind of player method and device of TS videos |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105007521A CN105007521A (en) | 2015-10-28 |
CN105007521B true CN105007521B (en) | 2018-03-09 |
Family
ID=54380004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510417447.3A Expired - Fee Related CN105007521B (en) | 2015-07-15 | 2015-07-15 | A kind of player method and device of TS videos |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105007521B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105979346A (en) * | 2015-12-03 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Method and device for playing streaming media |
CN108206969A (en) * | 2016-12-16 | 2018-06-26 | 北京酷我科技有限公司 | A kind of video playing quick start method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100059009A (en) * | 2008-11-25 | 2010-06-04 | 삼성전자주식회사 | Digital broadcasting apparatus and method |
CN102802075B (en) * | 2012-08-24 | 2015-05-20 | 乐视致新电子科技(天津)有限公司 | Online play buffering system and method |
CN103763635B (en) * | 2013-05-02 | 2018-07-27 | 乐视网信息技术(北京)股份有限公司 | A kind of control method and system of video buffer |
CN104768033B (en) * | 2015-04-15 | 2017-09-19 | 广州市汉融软件有限公司 | A kind of channels of network TV fast switch over method and system based on preloading |
-
2015
- 2015-07-15 CN CN201510417447.3A patent/CN105007521B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN105007521A (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11770588B2 (en) | Systems and methods for dynamically syncing from time-shifted frame to live stream of content | |
US9998775B2 (en) | Enforcement of trick-play disablement in adaptive bit rate video content delivery | |
CN106464945B (en) | Method, system and the computer-readable medium of enhanced stream media playback | |
CN102647634B (en) | Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video | |
US8886765B2 (en) | System and method for predicitive trick play using adaptive video streaming | |
US9674266B2 (en) | Method for adaptive streaming, local storing and post-storing quality increase of a content file | |
EP2490445B1 (en) | Method, terminal and server for implementing trickplay | |
CN105072480B (en) | A kind of net cast method and device | |
CN111083514B (en) | Live broadcast method and device, electronic equipment and storage medium | |
CN109328384A (en) | For providing the system and method for variable velocity in trickplay modes | |
CN110022498B (en) | Method and device for realizing code rate switching | |
CN108769816B (en) | Video playing method, device and storage medium | |
US11438673B2 (en) | Presenting media items on a playing device | |
CN110198494B (en) | Video playing method, device, equipment and storage medium | |
US11627364B1 (en) | Systems and methods for dynamically syncing from time-shifted frame to live stream of content | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
JP2013214800A (en) | Streaming media reproduction device, streaming media reproduction method, and program | |
CN105007521B (en) | A kind of player method and device of TS videos | |
CN105025343A (en) | Caching method and device of TS video | |
CN111510790B (en) | Video request method, system, computer device and computer readable storage medium | |
CN106331789B (en) | Carousel program control method for playing back and equipment | |
CN102694823A (en) | Method, server and client side to realize control of segmented program playing | |
US20150026711A1 (en) | Method and apparatus for video content distribution | |
CN106713948A (en) | Video sectional loading method and device | |
US11490167B2 (en) | Systems and methods for dynamically syncing from time-shifted frame to live stream of content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for playing TS video Effective date of registration: 20210104 Granted publication date: 20180309 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd. Registration number: Y2020990001517 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180309 Termination date: 20210715 |