CN103442307A - Method and device for playing video streaming media - Google Patents

Method and device for playing video streaming media Download PDF

Info

Publication number
CN103442307A
CN103442307A CN2013103649033A CN201310364903A CN103442307A CN 103442307 A CN103442307 A CN 103442307A CN 2013103649033 A CN2013103649033 A CN 2013103649033A CN 201310364903 A CN201310364903 A CN 201310364903A CN 103442307 A CN103442307 A CN 103442307A
Authority
CN
China
Prior art keywords
frame number
video frame
play
video
buffering
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.)
Granted
Application number
CN2013103649033A
Other languages
Chinese (zh)
Other versions
CN103442307B (en
Inventor
李俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ATTE SMART LIFE Co.,Ltd.
Original Assignee
Shenzhen Temobi Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN201310364903.3A priority Critical patent/CN103442307B/en
Publication of CN103442307A publication Critical patent/CN103442307A/en
Application granted granted Critical
Publication of CN103442307B publication Critical patent/CN103442307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method for playing video streaming media. The method for playing the video streaming media comprises the following steps of obtaining the number of loaded video frames and the number of played video frames in a first control period and the number of buffered video frames in a video frames buffering area after the first control period is finished, judging the condition of a network according to the number of the loaded video frames and the number of the played video frames, judging whether the buffered video frames are sufficient or not according to the number of the buffered video frame and the number of the played video frames, calculating the number of video frames to be played in a second control period according to the conditions of the network and the judgment result whether the buffered video frames are sufficient or not, and playing the video streaming media according to the number of the video frames to be played in the second control period. Through the method for playing the video streaming media, the purpose of smoothly playing the video streaming media is achieved. The invention further provides a device for playing the video streaming media.

Description

The method and apparatus of displaying video Streaming Media
Technical field
The present invention relates to the video playback field, particularly relate to a kind of method and apparatus of displaying video Streaming Media.
Background technology
Streaming Media refers to the continuous time-base media that uses the stream transmission technology in Internet or Intranet, as audio frequency, video or multimedia file.The method of traditional displaying video Streaming Media, playing stream media glibly when network is normal; When network condition is not good, common processing mode is to suspend to play, and treats that terminal gets played data, or continues to play after having accumulated abundant played data in buffering area again.Therefore when fluctuation appears in network, be difficult to guarantee the smoothness of playing, cause playing and interrupt.
Summary of the invention
Based on this, be necessary for above-mentioned to be difficult to guarantee the smoothness of displaying video when fluctuation appears in network, can cause playing the technical problem of interrupting, a kind of method and apparatus of displaying video Streaming Media is provided.
A kind of method of displaying video Streaming Media, described method comprises:
Obtain the video frame number of downloading and the video frame number of having play in the first control cycle, and the video frame number cushioned in video frame buffers after described the first control cycle finishes;
Video frame number and the described video frame number judgement network condition of having play according to described download, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle;
Play described video stream media according to described video frame number to be played divided by the frame per second of control cycle at described the second control cycle.
A kind of device of displaying video Streaming Media, described device comprises:
The frame number acquisition module, for obtain the video frame number of downloading and the video frame number of having play in the first control cycle, and the video frame number cushioned in video frame buffers after described the first control cycle finishes;
Video frame number computing module to be played, for the video frame number according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle;
Playing module, for playing described video stream media according to described video frame number to be played divided by the frame per second of control cycle at described the second control cycle.
The method and apparatus of above-mentioned displaying video Streaming Media, accurately weigh network condition by the video frame number of downloading in the first control cycle and the video frame number of having play, can reflect exactly in the first control cycle, whether network fluctuates, thereby can adjust the video frame number to be played that the second control cycle will be play according to whether the frame of video of network condition and buffering is sufficient, and at the second control cycle according to video frame number to be played the frame per second displaying video Streaming Media divided by control cycle, can reach the purpose of level and smooth displaying video Streaming Media, avoid owing to occurring can only interrupting situation about playing after network fluctuation causes ruing out of prematurely the frame of video that can play.
The accompanying drawing explanation
The method flow schematic diagram that Fig. 1 is displaying video Streaming Media in an embodiment;
Fig. 2 is according to the video frame number of download and the video frame number judgement network condition of having play in an embodiment, whether sufficient according to the frame of video of the video frame number of buffering and the video frame number play judgement buffering, and according to the frame of video of network condition and buffering whether the judged result of abundance calculate the schematic flow sheet of step of the video frame number to be played of the second control cycle;
Fig. 3 is for judging network condition according to the video frame number of download and the video frame number of having play in another embodiment, whether sufficient according to the frame of video of the video frame number of buffering and the video frame number play judgement buffering, and according to the frame of video of network condition and buffering whether the judged result of abundance calculate the schematic flow sheet of step of the video frame number to be played of the second control cycle;
The structured flowchart that Fig. 4 is the device of displaying video Streaming Media in an embodiment;
The structured flowchart that Fig. 5 is video frame number computing module to be played in an embodiment;
The structured flowchart that Fig. 6 is video frame number computing module to be played in another embodiment.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, provide in one embodiment a kind of method of displaying video Streaming Media, but the terminal that the present embodiment mainly is applied to the displaying video Streaming Media with the method illustrates.This terminal includes but not limited to smart mobile phone, panel computer, MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player, pocket computer on knee and desktop computer etc.The method comprises:
Step 102, obtain the video frame number of downloading in the first control cycle and the video frame number of having play, and the video frame number cushioned in video frame buffers after the first control cycle finishes.
First, second control cycle refers to two adjacent control cycles, and control cycle is preferably 1 second.
In the first control cycle, terminal is after receiving flow media data packet, determine the encapsulation format of flow media data packet according to the file header information of flow media data packet, thereby obtain frame of video according to corresponding encapsulation format resolution flow media data packet, and deposit in video frame buffers, the quantity of resolving the frame of video obtained is the video frame number of download.
Take out successively the frame of video in video frame buffers, calling corresponding video decode module decodes and obtains the data cell (such as the video data unit of yuv format) that can play-over, deposit decoding buffer zone in, the data cell of taking out successively in decoding buffer zone during broadcasting is play.The corresponding data unit of each frame of video, the quantity of the data cell of playing in the first control cycle is the video frame number of having play in the first control cycle.
After the first control cycle finishes, can obtain by detecting video frame buffers the video frame number of buffering.Can set up index for video frame buffers, in order to identify the frame of video cushioned in video frame buffers, thereby can obtain fast the video frame number cushioned in video frame buffers.
For convenience of explanation, in following statement except the special instruction, the video frame number of downloading refers to the video frame number that the first control cycle is downloaded, the video frame number of having play refers to the video frame number of having play in the first control cycle, and the video frame number of buffering refers to the video frame number that the first control cycle cushions in video frame buffers after finishing.
Step 104, according to the video frame number of download and the video frame number judgement network condition of having play, whether sufficient according to the frame of video of the video frame number of buffering and the video frame number play judgement buffering, and according to the frame of video of network condition and buffering whether the judged result of abundance calculate the video frame number to be played of the second control cycle.
The video frame number of downloading can accurately reflect network condition, the video frame number of downloading is less than the video frame number of having play, illustrate that network condition is not good, if continue, according to the frame per second of the frame number/control cycle of displaying video in the first control cycle, play, can cause consuming excessively of frame of video, may cause follow-up play to be interrupted, therefore need to adjust the video frame number to be played of the second control cycle.According to the frame of video of buffering sufficient judged result whether, can specifically determine video frame number to be played.Particularly, if the video frame number of buffering is greater than the video frame number of having play, the video frame buffer abundance is described, amplitude that can be less reduces the to be played video frame number of the value of the video frame number of having play as the second control cycle; On the contrary, if the video frame number of buffering is less than the video frame number of having play, the frame of video deficiency of buffering is described, amplitude that can be larger reduces the to be played video frame number of the value of the video frame number of having play as the second control cycle, thereby can reach the purpose of level and smooth displaying video Streaming Media
Step 106, at the second control cycle according to video frame number to be played the frame per second displaying video Streaming Media divided by control cycle.
At the second control cycle, take out successively data cell according to video frame number to be played divided by the frame per second of control cycle from decoding buffer zone and evenly play.
The method of above-mentioned displaying video Streaming Media, the first control cycle, the second control cycle are two adjacent control cycles, calculate the video frame number to be played of next control cycle after a upper control cycle finishes, go round and begin again, broadcasting is periodically controlled.Illustrate, if control cycle is 1 second, when video stream media plays the 50th second, calculate the video frame number of downloading in the 50th second and the video frame number of having play, thereby calculate the video frame number to be played of the 51st second, thereby at the 51st second Streaming Media of the frame per second displaying video according to video frame number to be played/1; After playing the 51st second, then calculate the video frame number to be played of 52 seconds, by that analogy, go round and begin again, until play this video stream media.
Accurately weigh network condition according to the video frame number of downloading in the first control cycle and the video frame number play, can reflect exactly in the first control cycle whether network fluctuates, thereby can be according to the frame of video of network condition and buffering whether sufficiently calculate the video frame number to be played that the second control cycle will be play.When fluctuation appears in network, whether sufficient judged result is adjusted the second control cycle video frame number to be played to the frame of video of binding buffer, thereby can reach the purpose of level and smooth displaying video Streaming Media, avoid owing to occurring can only interrupting situation about playing after network fluctuation causes ruing out of prematurely the frame of video that can play.
As shown in Figure 2, in one embodiment, step 104 comprises:
Step 202, whether the video frame number that judgement is downloaded is less than the video frame number play and the default product that is less than 1 positive coefficient, if perform step 204, performs step 210 if not.
The video frame number of downloading can be weighed the network condition in the first control cycle, thereby provides reference for the video frame number to be played of determining the second control cycle.The value that is less than 1 positive coefficient that should be default is preferably 0.5.If the video frame number of downloading, lower than the video frame number of having play and the product of this coefficient, illustrates the non-constant of network condition, the video frame number to be played that the second control cycle should be set is a less value.
Step 204, whether the video frame number of judgement buffering is greater than the video frame number of having play, if perform step 206, performs step 208 if not.
Whether the video frame number cushioned by judgement is greater than the video frame number of having play, and can judge that whether the frame of video cushioned in video frame buffers is sufficient, if the video frame number of buffering is greater than the video frame number of having play, the frame of video abundance of buffering is described; If the video frame number of buffering is less than the video frame number of having play, the frame of video deficiency of buffering is described.
Step 206, calculate video frame number to be played according to the video frame number of downloading and the video frame number of having play.
Now, the non-constant of network condition, but the frame of video abundance of buffering, the main impact of considering the video frame number of downloading and the video frame number of having play.Concrete, video frame number to be played can be the weighted average of the video frame number of downloading and the video frame number of having play, the mean value of the video frame number of especially downloading and the video frame number of having play.To the consuming excessively of the frame of video of buffering, can maintain again the smoothness of picture when getting weighted average and both can prevent from playing as far as possible.
Step 208, calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.
Now, the non-constant of network condition, and the frame of video of buffering is also not enough, should reduce as much as possible video frame number to be played, can calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.Particularly, less value in the video frame number that video frame number to be played is buffering and the video frame number of download.
Step 210, whether the video frame number that judgement is downloaded is less than the video frame number of having play, if perform step 212, performs step 218 if not.
Now, the video frame number of download is not less than the video frame number play and the default product that is less than 1 positive coefficient, illustrates that network is not non-constant, can further judge that current network is poor or normal.If the video frame number of downloading is less than the video frame number of having play, illustrate that network is poor; If the video frame number of downloading is not less than the video frame number of having play, illustrate that network is normal, meet the demand of normal play video Streaming Media.
Step 212, whether the video frame number of judgement buffering is greater than the video frame number of having play, if perform step 214, performs step 216 if not.
Now, network is poor, can further judge that whether the frame of video of buffering is sufficient.If the video frame number of buffering is greater than the video frame number of having play, the frame of video abundance of buffering is described; If the video frame number of buffering is not more than the video frame number of having play, the frame of video deficiency of buffering is described.
Step 214, calculate video frame number to be played according to video frame number, the video frame number of buffering and the video frame number of having play downloaded.
Now, although network is poor, in video frame buffers, buffering is sufficient, can consider the video frame number of download, the video frame number of buffering and the freely impact of displaying video Streaming Media of video frame number convection current of having play.Particularly, the weighted average of the video frame number that video frame number to be played is the video frame number downloaded, buffering and the video frame number of having play, the mean value of the video frame number of especially downloading, the video frame number of buffering and the video frame number play.
Step 216, calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.
Now, network is poor, and the frame of video deficiency of buffering, should reduce as much as possible video frame number to be played, can calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.Particularly, less value in the video frame number that video frame number to be played is buffering and the video frame number of download.
Step 218, whether the video frame number of judgement buffering is greater than the video frame number of having play, if perform step 220, performs step 222 if not.
Now, the video frame number of download is not less than the video frame number of having play, and illustrates that network is normal, can further according to video frame buffers, whether abundance is determined video frame number to be played.
Step 220, video frame number to be played is acquiescence video playback frame number.
Now, network is normal, and the video frame buffers abundance, and video frame number to be played is acquiescence video playback frame number.Can obtain by the file header of reading flow media data packet the acquiescence video playback frame number of video stream media.Generally, the video playback frame per second is 25 frames/second, and therefore giving tacit consent to the video playback frame number can be the 25* control cycle.
Step 222, video frame number to be played is the video frame number of buffering.
Now, although network is normal, but video frame buffer deficiency, in order to guarantee the level and smooth of video playback, the video frame number of video frame number to be played for buffering is set, subsequent control is in the cycle again, when network condition normal, and the frame of video of buffering when sufficient again video frame number to be played be set to give tacit consent to the video playback frame number.
In the present embodiment, the magnitude relationship judgement network condition of the video frame number by the video frame number downloaded and broadcasting, again in conjunction with the whether sufficient video frame number to be played that calculates the second control cycle of video frame buffers, reach the purpose of displaying video Streaming Media smoothly, make terminal in the situation that network appearance fluctuation still can smoothly be play, compatible strong.
As shown in Figure 3, in one embodiment, step 104 specifically comprises:
Step 302, whether the video frame number of judgement buffering is greater than the video frame number of having play, and performs step 304 if not, if perform step 306.
Whether the video frame number cushioned by judgement is greater than the video frame number of having play, and can judge that whether the frame of video of buffering is sufficient.If the video frame number of buffering is greater than the video frame number of having play, the frame of video deficiency of buffering is described, should be according to the video frame number of downloading and the video frame number of having play judgement network condition, and calculate video frame number to be played according to network condition, concrete, judge network condition according to the video frame number of downloading and the video frame number play, and calculate video frame number to be played according to network condition and comprise the following steps 306-314.On the contrary, if the video frame number of buffering is not more than the video frame number of having play, the frame of video abundance of buffering is described, performs step 304.
Step 304, calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.
Now, the frame of video deficiency of buffering, should reduce video frame number to be played as much as possible, can calculate video frame number to be played according to the video frame number of buffering and the video frame number of download.Particularly, less value in the video frame number that video frame number to be played is buffering and the video frame number of download.
Step 306, whether the video frame number that judgement is downloaded is less than the video frame number play and the default product that is less than 1 positive coefficient, if perform step 308, performs step 310 if not.
The size of the video frame number of relatively downloading and the video frame number of having play and the product that is less than 1 positive coefficient of presetting, can judge the whether non-constant of network.The value of this coefficient is preferably 0.5.
Step 308, calculate video frame number to be played according to the video frame number of downloading and the video frame number of having play.
Now, the non-constant of network condition, but the frame of video abundance of buffering, the main impact of considering the video frame number of downloading and the video frame number of having play.Concrete, video frame number to be played can be the weighted average of the video frame number of downloading and the video frame number of having play, the mean value of the video frame number of especially downloading and the video frame number of having play.To the consuming excessively of the frame of video of buffering, can maintain again the smoothness of picture when getting weighted average and both can prevent from playing as far as possible.
Step 310, whether the video frame number that judgement is downloaded is less than the video frame number of having play.
Size by the video frame number of relatively downloading and the video frame number of having play, can judge that whether network condition is poor.
Step 312, calculate video frame number to be played according to video frame number, the video frame number of buffering and the video frame number of having play downloaded.
Now, although network is poor, in video frame buffers, buffering is sufficient, can consider the video frame number of download, the video frame number of buffering and the freely impact of displaying video Streaming Media of video frame number convection current of having play.Particularly, the weighted average of the video frame number that video frame number to be played is the video frame number downloaded, buffering and the video frame number of having play, the mean value of the video frame number of especially downloading, the video frame number of buffering and the video frame number play.
Step 314, video frame number to be played is acquiescence video playback frame number.
Now, network is normal, and the video frame buffers abundance, and video frame number to be played is acquiescence video playback frame number.Can obtain by the file header of reading flow media data packet the acquiescence video playback frame number of video stream media.Generally, the video playback frame per second is 25 frames/second, and therefore giving tacit consent to the video playback frame number can be the 25* control cycle.
As shown in Figure 4, provide in one embodiment a kind of device of displaying video Streaming Media, having comprised:
Frame number acquisition module 402, for obtain the video frame number of downloading and the video frame number of having play in the first control cycle, and the video frame number cushioned in video frame buffers after the first control cycle finishes.
Video frame number computing module 404 to be played, be used for according to the video frame number of download and the video frame number judgement network condition of having play, whether sufficient according to the frame of video of the video frame number of buffering and the video frame number play judgement buffering, and according to the frame of video of network condition and buffering whether the judged result of abundance calculate the video frame number to be played of the second control cycle.
Playing module 406, at the second control cycle according to video frame number to be played the frame per second displaying video Streaming Media divided by control cycle.
As shown in Figure 5, in one embodiment, video frame number computing module 404 to be played comprises:
Whether the first judge module 404a, be less than the video frame number play and the default product that is less than 1 positive coefficient for the video frame number that judges download, if whether the video frame number of judgement buffering is greater than the video frame number of having play.
The first computing module 404b, if be greater than for the video frame number of buffering the video frame number of having play, calculate video frame number to be played according to the video frame number of downloading and the video frame number of having play; If the video frame number of buffering is not more than the video frame number of having play, according to the video frame number of buffering and the video frame number of download, calculate video frame number to be played.
In one embodiment, if the first judge module 404a also is not less than the video frame number play and the product of coefficient for the video frame number of downloading, whether the video frame number that judgement is downloaded is less than the video frame number of having play, if the video frame number of downloading is less than the video frame number of having play, whether the video frame number of judgement buffering is greater than the video frame number of having play.
If the first computing module 404b also is greater than for the video frame number of buffering the video frame number of having play, according to video frame number, the video frame number of buffering and the video frame number of having play downloaded, calculate video frame number to be played; If the video frame number of buffering is not more than the video frame number of having play, according to the video frame number of buffering and the video frame number of download, calculate video frame number to be played.
In one embodiment, if the first judge module 404a also is not less than for the video frame number of downloading the video frame number of having play, whether the video frame number of judgement buffering is greater than the video frame number of having play.
If the first computing module 404b also is greater than for the video frame number of buffering the video frame number of having play, video frame number to be played is acquiescence video playback frame number; If the video frame number of buffering is not more than the video frame number of having play, video frame number to be played is the video frame number of buffering.
As shown in Figure 6, in one embodiment, video frame number computing module 404 to be played comprises:
Whether the second judge module 404c, be greater than the video frame number of having play for the video frame number that judges buffering, if according to the video frame number of download and the video frame number judgement network condition of having play.
The second computing module 404d, if be not more than for the video frame number of buffering the video frame number of having play, calculate video frame number to be played according to the video frame number of buffering and the video frame number of download; If the video frame number of buffering is greater than the video frame number of having play, according to network condition, calculate video frame number to be played.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the method for a displaying video Streaming Media, described method comprises:
Obtain the video frame number of downloading and the video frame number of having play in the first control cycle, and the video frame number cushioned in video frame buffers after described the first control cycle finishes;
Video frame number and the described video frame number judgement network condition of having play according to described download, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle;
Play described video stream media according to described video frame number to be played divided by the frame per second of control cycle at described the second control cycle.
2. method according to claim 1, it is characterized in that, the described frame number of the video according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering is sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle, comprising:
Whether the video frame number that judges described download is less than the described video frame number of having play and the default product that is less than 1 positive coefficient, if judge whether the video frame number of described buffering is greater than the described video frame number of having play;
If the video frame number of described buffering is greater than the described video frame number of having play, according to video frame number and the described video frame number of having play of described download, calculate described video frame number to be played;
If the video frame number of described buffering is not more than the described video frame number of having play, according to the video frame number of described buffering and the video frame number of described download, calculate described video frame number to be played.
3. method according to claim 2, it is characterized in that, the described frame number of the video according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering is sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle, also comprise:
If the video frame number of described download is not less than the described video frame number of having play and the product of described coefficient, whether the video frame number that judges described download is less than the described video frame number of having play, if the video frame number of described download is less than the described video frame number of having play,
Whether the video frame number that judges described buffering is greater than the described video frame number of having play;
If the video frame number of described buffering is greater than the described video frame number of having play, according to video frame number and the described video frame number of having play of the video frame number of described download, described buffering, calculate described video frame number to be played;
If the video frame number of described buffering is not more than the described video frame number of having play, according to the video frame number of described buffering and the video frame number of described download, calculate described video frame number to be played.
4. method according to claim 3, it is characterized in that, the described frame number of the video according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering is sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle, also comprise:
If the video frame number of described download is not less than the described video frame number of having play, judge whether the video frame number of described buffering is greater than the described video frame number of having play;
If the video frame number of described buffering is greater than the described video frame number of having play, described video frame number to be played is acquiescence video playback frame number;
If the video frame number of described buffering is not more than the described video frame number of having play, the video frame number that described video frame number to be played is described buffering.
5. method according to claim 1, it is characterized in that, the described frame number of the video according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering is sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle, comprising:
Whether the video frame number that judges described buffering is greater than the described video frame number of having play, and according to the video frame number of described buffering and the video frame number of described download, calculates described video frame number to be played if not;
If according to video frame number and the described video frame number of having play of described download, judge network condition; Calculate described video frame number to be played according to described network condition.
6. the device of a displaying video Streaming Media, is characterized in that, described device comprises:
The frame number acquisition module, for obtain the video frame number of downloading and the video frame number of having play in the first control cycle, and the video frame number cushioned in video frame buffers after described the first control cycle finishes;
Video frame number computing module to be played, for the video frame number according to described download and the described video frame number judgement network condition of having play, whether the frame of video that judges described buffering according to video frame number and the described video frame number of having play of described buffering sufficient, and according to the frame of video of described network condition and described buffering whether sufficient judged result calculate the video frame number to be played of the second control cycle;
Playing module, for playing described video stream media according to described video frame number to be played divided by the frame per second of control cycle at described the second control cycle.
7. device according to claim 6, is characterized in that, described video frame number computing module to be played comprises:
Whether the first judge module, be less than the described video frame number of having play and the default product that is less than 1 positive coefficient for the video frame number that judges described download, if judge whether the video frame number of described buffering is greater than the described video frame number of having play;
The first computing module, if be greater than the described video frame number of having play for the video frame number of described buffering, calculate described video frame number to be played according to video frame number and the described video frame number of having play of described download; If the video frame number of described buffering is not more than the described video frame number of having play, according to the video frame number of described buffering and the video frame number of described download, calculate described video frame number to be played.
8. device according to claim 7, it is characterized in that, if described the first judge module also is not less than the described video frame number of having play and the product of described coefficient for the video frame number of described download, whether the video frame number that judges described download is less than the described video frame number of having play, if the video frame number of described download is less than the described video frame number of having play, judge whether the video frame number of described buffering is greater than the described video frame number of having play;
If described the first computing module also is greater than the described video frame number of having play for the video frame number of described buffering, according to video frame number and the described video frame number of having play of the video frame number of described download, described buffering, calculate described video frame number to be played; If the video frame number of described buffering is not more than the described video frame number of having play, according to the video frame number of described buffering and the video frame number of described download, calculate described video frame number to be played.
9. device according to claim 8, it is characterized in that, if described the first judge module also is not less than the described video frame number of having play for the video frame number of described download, judge whether the video frame number of described buffering is greater than the described video frame number of having play;
If described the first computing module also is greater than the described video frame number of having play for the video frame number of described buffering, described video frame number to be played is acquiescence video playback frame number; If the video frame number of described buffering is not more than the described video frame number of having play, the video frame number that described video frame number to be played is described buffering.
10. device according to claim 6, is characterized in that, described video frame number computing module to be played comprises:
Whether the second judge module, be greater than the described video frame number of having play for the video frame number that judges described buffering, if according to video frame number and the described video frame number of having play of described download, judge network condition;
The second computing module, if be not more than the described video frame number of having play for the video frame number of described buffering, calculate described video frame number to be played according to the video frame number of described buffering and the video frame number of described download; If the video frame number of described buffering is greater than the described video frame number of having play, according to described network condition, calculate described video frame number to be played.
CN201310364903.3A 2013-08-20 2013-08-20 The method and apparatus for playing video stream media Active CN103442307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310364903.3A CN103442307B (en) 2013-08-20 2013-08-20 The method and apparatus for playing video stream media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310364903.3A CN103442307B (en) 2013-08-20 2013-08-20 The method and apparatus for playing video stream media

Publications (2)

Publication Number Publication Date
CN103442307A true CN103442307A (en) 2013-12-11
CN103442307B CN103442307B (en) 2017-09-29

Family

ID=49695965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310364903.3A Active CN103442307B (en) 2013-08-20 2013-08-20 The method and apparatus for playing video stream media

Country Status (1)

Country Link
CN (1) CN103442307B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333795A (en) * 2014-11-04 2015-02-04 北京佳讯飞鸿电气股份有限公司 Real-time video bitstream play speed control method independent of timestamp
CN105227588A (en) * 2014-05-28 2016-01-06 ***通信集团公司 A kind of method for down loading of files in stream media and user terminal
CN105916058A (en) * 2016-05-05 2016-08-31 青岛海信宽带多媒体技术有限公司 Streaming media buffer play method and device and display device
CN106385620A (en) * 2016-10-25 2017-02-08 浙江红苹果电子有限公司 Data smoothing and outputting method based on streaming media
CN106792109A (en) * 2016-12-06 2017-05-31 青岛海信电器股份有限公司 Video broadcasting method, device and terminal
WO2018050115A1 (en) * 2016-09-18 2018-03-22 中兴通讯股份有限公司 Method and device for detecting video playing smoothness, and computer storage medium
CN108347645A (en) * 2018-01-19 2018-07-31 浙江大华技术股份有限公司 A kind of method and device that video frame decoding is shown

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006501A (en) * 2010-11-11 2011-04-06 中国联合网络通信集团有限公司 Streaming media play control method and device and streaming media player
CN102185835A (en) * 2011-04-14 2011-09-14 广东威创视讯科技股份有限公司 Real-time network signal playing method and device
CN102905128A (en) * 2012-09-07 2013-01-30 武汉长江通信产业集团股份有限公司 Code rate controlling method of coding and decoding processor in wireless video transmission process

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006501A (en) * 2010-11-11 2011-04-06 中国联合网络通信集团有限公司 Streaming media play control method and device and streaming media player
CN102185835A (en) * 2011-04-14 2011-09-14 广东威创视讯科技股份有限公司 Real-time network signal playing method and device
CN102905128A (en) * 2012-09-07 2013-01-30 武汉长江通信产业集团股份有限公司 Code rate controlling method of coding and decoding processor in wireless video transmission process

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227588A (en) * 2014-05-28 2016-01-06 ***通信集团公司 A kind of method for down loading of files in stream media and user terminal
CN104333795A (en) * 2014-11-04 2015-02-04 北京佳讯飞鸿电气股份有限公司 Real-time video bitstream play speed control method independent of timestamp
CN105916058A (en) * 2016-05-05 2016-08-31 青岛海信宽带多媒体技术有限公司 Streaming media buffer play method and device and display device
CN105916058B (en) * 2016-05-05 2019-09-20 青岛海信宽带多媒体技术有限公司 A kind of streaming media buffer playback method, device and display equipment
WO2018050115A1 (en) * 2016-09-18 2018-03-22 中兴通讯股份有限公司 Method and device for detecting video playing smoothness, and computer storage medium
CN106385620A (en) * 2016-10-25 2017-02-08 浙江红苹果电子有限公司 Data smoothing and outputting method based on streaming media
CN106385620B (en) * 2016-10-25 2019-06-21 浙江红苹果电子有限公司 A kind of data smoothing output method based on Streaming Media
CN106792109A (en) * 2016-12-06 2017-05-31 青岛海信电器股份有限公司 Video broadcasting method, device and terminal
CN106792109B (en) * 2016-12-06 2021-02-26 海信视像科技股份有限公司 Video playing method and device and terminal
CN108347645A (en) * 2018-01-19 2018-07-31 浙江大华技术股份有限公司 A kind of method and device that video frame decoding is shown

Also Published As

Publication number Publication date
CN103442307B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN103442307A (en) Method and device for playing video streaming media
CN103916716B (en) The code rate smoothing method of realtime video transmission under a kind of wireless network
US9615112B2 (en) Method, system, player and mobile terminal for online video playback
CN102724584B (en) The online player method of Internet video, the online playing device of video and intelligent television
CN108781300B (en) Method, system, and medium for recommending content based on network conditions
US20150235668A1 (en) Video/audio synchronization apparatus and video/audio synchronization method
CN104780422B (en) Flow media playing method and DST PLAYER
CN106792154B (en) Frame skipping synchronization system of video player and control method thereof
WO2015070761A1 (en) Smart tv media player and caption processing method thereof, and smart tv
US20150156557A1 (en) Display apparatus, method of displaying image thereof, and computer-readable recording medium
US10362264B2 (en) Profile for frame rate conversion
JP2011517223A (en) Television receiver and method
KR20160115020A (en) Device supporting multipath tcp, and method of receiving video data of device by streaming
CN103379379A (en) Streaming media buffer play method and apparatus
US9232249B1 (en) Video presentation using repeated video frames
TWI390980B (en) A content reproduction apparatus, a content reproduction method, a content reproduction program, and a content reproduction system
US20160277777A1 (en) Information processing apparatus, information processing method, non-transitory computer readable storage medium, and distribution apparatus
GB2547527A (en) Methods, systems, and media for presenting a content item while buffering a video
CN105898348A (en) Method and device for reducing CPU temperature of video play terminal
US9247315B2 (en) Disabling of multiple bitrate algorithm for media programs while playing advertisements
CN102027745A (en) Video recording apparatus
CN107682733B (en) Control method and system for improving user experience of watching video
US20210306401A1 (en) Methods, systems, and media for selecting video formats for adaptive video streaming
WO2022081188A1 (en) Systems and methods for dynamically adjusting quality levels for transmitting content based on context
EP3264284A1 (en) Data processing method and 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
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong, Shenzhen Province, science and technology, South Road, No. twelve Changhong science and technology building, building 19, unit 01-11, unit 18

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong, Shenzhen Province, science and technology, South Road, No. twelve Changhong science and technology building, building 19, unit 01-11, unit 18

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150602

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150602

Address after: The island No. 2500 building, 200433 Shanghai city Yangpu District Siping Road, room 2001

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 518057 Guangdong, Shenzhen Province, science and technology, South Road, No. twelve Changhong science and technology building, building 19, unit 01-11, unit 18

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200612

Address after: 518000 two building, two Road North six Road Industrial Park, Xixiang, Shenzhen, Guangdong.

Patentee after: SHENZHEN ATTE SMART LIFE Co.,Ltd.

Address before: The island No. 2500 building, 200433 Shanghai city Yangpu District Siping Road, room 2001

Patentee before: Melt wound (Shanghai) development in science and technology Co.,Ltd. all over the world

TR01 Transfer of patent right