CN102447868A - Video stream fast playing method - Google Patents

Video stream fast playing method Download PDF

Info

Publication number
CN102447868A
CN102447868A CN2010105029455A CN201010502945A CN102447868A CN 102447868 A CN102447868 A CN 102447868A CN 2010105029455 A CN2010105029455 A CN 2010105029455A CN 201010502945 A CN201010502945 A CN 201010502945A CN 102447868 A CN102447868 A CN 102447868A
Authority
CN
China
Prior art keywords
video flowing
key frame
fast
time difference
broadcast
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
CN2010105029455A
Other languages
Chinese (zh)
Other versions
CN102447868B (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.)
Yangzhi Electronic Technology (China) Co., Ltd.
Original Assignee
Ali Corp
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 Ali Corp filed Critical Ali Corp
Priority to CN 201010502945 priority Critical patent/CN102447868B/en
Publication of CN102447868A publication Critical patent/CN102447868A/en
Application granted granted Critical
Publication of CN102447868B publication Critical patent/CN102447868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention relates to a video stream fast playing method, which is executed by a video stream playing system. The method comprises the following steps of: according to the system time difference of the video stream playing system and the playing time difference of video streams, determining that the playing of the video streams is too fast or too slow; if the playing of the video streams is too fast, continuously playing when the system time difference and the playing time difference are matched; and if the playing of the video streams is too slow, jumping at least one key frame so as to speed up the playing speed. According to the invention, the fast forward and fast backward playing speed of different video streams can be accurately controlled, and perceptions of a user can be improved.

Description

The video flowing fast playing method
Technical field
The invention relates to a kind of player method of video flowing, and particularly relevant for a kind of fast playing method of video flowing.
Background technology
At present, as long as the software or the hardware of ability displaying video all have the function of quick broadcast, the so-called broadcast fast is meant F.F. and rewind down.When the video that broadcast records, traditional fast forwarding and fast rewinding operation basically all is the frame structure features according to video, and only I frame wherein being decoded and delivering to the terminal shows that the frame of other kinds then skips over and disregards, and realizes the purpose of playing fast whereby.General quick playing function all has multiple broadcast times speed to be available for users to select, for example 2 times of speed, 4 times of speed, 8 times of speed even 32 times of speed.When the broadcast of high power speed, Play System is only decoded and the wherein a part of I frame of display of video streams, and it is high more to play times speed, and decoding and the I frame ratio that shows are just low more.Therefore, the speed effect of playing fast and the actual frame structure of video flowing are closely related.
Because the source and the form of video flowing are various, its frame structure does not have unified standard.There is certain difference in the speed effect that different frame structures can make different video play fast, influences user's impression.
In addition, traditional method is not all considered the decoding speed of decoder, and video decode speed is very fast generally speaking, can make the excessive velocities of seeing video data off, causes the too fast problem of quick broadcast, is unfavorable for that the user watches or searches.
Summary of the invention
The present invention provides a kind of video flowing fast playing method, can realize the accurate control of various different video stream fast forwarding and fast rewinding broadcasting speeds, to address the above problem.
The present invention proposes a kind of video flowing fast playing method, is carried out by a video flowing Play System, comprises the following steps.When the quick displaying video of beginning flowed, the broadcast direction of setting video flowing was doubly fast with broadcast.Present frame with above-mentioned video flowing is a starting point, seeks first key frame based on playing doubly speed playing direction, decodes and plays first key frame.Then, poor according to the system time difference that the quick displaying video of beginning flows to video flowing Play System so far with the reproduction time of video flowing, determine whether the broadcast of video flowing is too fast, just or slow excessively.If the broadcast of video flowing is too fast, wait until that then system time difference and reproduction time difference are complementary, as new present frame, continue to seek the step of next first key frame with first key frame.If the broadcasting speed of video flowing is just, then with first key frame as new present frame, continue to seek the step of next first key frame.If the broadcast of video flowing is slow excessively, is starting point with first key frame then, playing direction finding second key frame, as new present frame, continue to seek the step of next first key frame with second key frame.
In one embodiment of this invention, the first above-mentioned key frame is the frame of X preset kind on the broadcast direction of present frame, and wherein X equals to play doubly speed divided by two.
In one embodiment of this invention, the broadcast of above-mentioned decision video flowing whether too fast, just or slow excessively details following.If above-mentioned system time difference divided by playing doubly speed, judges then that the broadcast of video flowing is too fast less than the reproduction time difference.If the system time difference equals the reproduction time difference divided by playing doubly speed, then the broadcasting speed of video flowing just.If above-mentioned system time difference divided by playing doubly speed, judges then that the broadcast of video flowing is slow excessively greater than the reproduction time difference.
In one embodiment of this invention, above-mentioned system time difference by the time and reproduction time difference are complementary, and wait until that just the system time difference equals the reproduction time difference divided by playing doubly speed.
In one embodiment of this invention, above-mentioned second key frame is the frame that the next one and first key frame on the broadcast direction of first key frame belong to same kind.
In another embodiment of the present invention, the second above-mentioned key frame is the frame that on the broadcast direction of first key frame Y and first key frame belong to same kind.Originally Y is one, if the broadcast of video flowing is continuous slow excessively, then Y is set to video flowing and play slow read-around ratio.If it is slow that the broadcast of video flowing did not have, then Y is reset to one.
Based on above-mentioned, the present invention is poor according to the reproduction time of the system time difference of video flowing Play System and video flowing, and whether the broadcast of decision video flowing is too fast or slow excessively, and regulates according to this.Therefore the present invention can realize the precise speed control of the quick broadcast of various different video streams, can improve user experience.
Description of drawings
For let above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, elaborate below in conjunction with the accompanying drawing specific embodiments of the invention, wherein:
Fig. 1 is the flow chart according to a kind of video flowing fast playing method of one embodiment of the invention.
Embodiment
Fig. 1 is that the method is carried out by the video flowing Play System according to the flow chart of a kind of video flowing fast playing method of one embodiment of the invention.Above-mentioned Play System can be any software or the hardware with video playback capability, for example digital recorder shadow machine, have numeral the make video recording STB of putting the shadow function, video jukebox software, video laser disc playout software or the like.
Following key diagram 1 flow process.At first, begin quick displaying video stream, set the broadcast direction and broadcast times speed (step 105) of video flowing.Various sources such as desirable automatic network of above-mentioned video flowing or PC can be to download the video of automatic network or the file of having recorded.Above-mentioned broadcast direction can be specified by the user with broadcast times speed, and playing direction can be F.F. or rewind down, and below explanation is an example with the F.F..
Next, write down the system time T of present video flowing Play System S1And the reproduction time T of present frame F1(step 110), T S1And T F1System time and reproduction time when being this video flowing of the quick broadcast of beginning respectively.So-called reproduction time is represented the relative position of corresponding frame at affiliated video flowing, the time that just general video jukebox software all can show.
After writing time, be starting point, seek a key frame F according to playing doubly speed in direction of advance with the present frame of video flowing 1(step 115).Key frame F 1Be X I frame on the direction of advance of present frame, and X equal to play doubly speed divided by two.That is to say, when two times of fast F.F.s, key frame F 1It is the next I frame on the direction of advance of present frame; When four times of fast F.F.s, key frame F 1It is the next I frame on the direction of advance of present frame; When the F.F. of octuple speed, key frame F 1Be the 4th I frame on the direction of advance of present frame, the rest may be inferred.
Though as key frame, in other embodiments of the invention, if the frame structure of video flowing can cooperate, the frame that also can use other kinds is as key frame with the I frame for present embodiment.
Next, decoding and broadcast key frame F 1(step 120).The video flowing Play System of present embodiment is all or part of I frame in the displaying video stream optionally.It is high more to play times speed, and the I frame of broadcast is just few more, and remaining frame Ignore All does not process, and realizes the F.F. and the rewind down function of video flowing whereby.
Play key frame F 1Afterwards, the present system time T of record S2And key frame F 1Reproduction time T F2(step 125) compares (T then S2-T S1) and (T F2-T F1)/n (step 130).Wherein n is above-mentioned broadcast times speed, (T S2-T S1) be that beginning this video flowing of quick broadcast system time up to the present is poor, (T F2-T F1) be that this video flowing of broadcast video flowing reproduction time up to the present is poor fast in beginning.If divided by playing doubly speed, the broadcast of expression video flowing is too fast less than the reproduction time difference for the system time difference, the video flowing Play System can wait until earlier that system time difference and reproduction time difference are complementary, and just wait until (T S32-T S1) equal (T F2-T F1)/n (step 135), wherein T S3Be to wait the system time of biding one's time, then with key frame F 1As new present frame, return step 115 to continue to seek next key frame (step 140).If the system time difference equals the reproduction time difference divided by playing doubly speed, the broadcasting speed of expression video flowing just, flow process directly gets into step 140.
In the comparison of step 130, if the system time difference is doubly fast divided by playing greater than the reproduction time difference, the broadcast of expression video flowing is slow excessively.This moment, the video flowing Play System can be with key frame F 1Be starting point, seek next key frame F in direction of advance 2(step 145) is then with key frame F 2As new present frame, return step 115 to continue to seek next key frame (step 150).Key frame F 2Be key frame F 1Direction of advance on next I frame.Skip more I frames by this way, can improve the broadcasting speed of video flowing, system time difference and reproduction time difference are complementary.
If step 145 is skipped an I frame, the reproduction time that video flowing might take place is unable to catch up with the situation of system time, and another embodiment of the present invention can be skipped more I frames to prevent above-mentioned condition when the continuous mistake of the broadcast of video flowing is slow.In this embodiment, because play for the first time slow during execution in step 145, key frame F 2Be key frame F 1Direction of advance on next I frame.Because play the continuous second time slow during execution in step 145, key frame F 2Be key frame F 1Direction of advance on next I frame.Because continuous play slow for the third time and during execution in step 145, key frame F 2Be key frame F 1Direction of advance on the 3rd I frame, by that analogy.That is to say key frame F 2Be key frame F 1Direction of advance on Y I frame, originally Y is one, if the broadcast of video flowing is continuous slow excessively, then Y is set to video flowing and play slow read-around ratio.If in the comparison of step 130, the broadcast of video flowing did not have slow, and was just too fast or just, then Y reset to one.
If fast reverse play, some above-mentioned steps needs to revise.The key frame F of step 115 1Change X I frame on the direction of retreat of present frame into.Step 130 changes comparison (T into S2-T S1) and (T F1-T F2)/n, just the reproduction time difference changes (T into F1-T F2), this be because numeral relatively be necessary on the occasion of.The key frame F of step 145 2Change into key frame F 1Direction of retreat.Remaining details is identical, will not give unnecessary details.
In sum, the present invention judges according to system time and the magnitude relationship of video playback time whether video playback is too fast or slow excessively, to regulate the broadcasting speed of video.No matter which kind of the user specifies play doubly speed, and no matter how the frame structure of video flowing distributes, and the present invention can accurately control the speed of quick broadcast, makes its self-consistentency, to promote user's the experience of viewing and admiring.
Though the present invention discloses as above with preferred embodiment; Right its is not that any those skilled in the art are not breaking away from the spirit and scope of the present invention in order to qualification the present invention; When can doing a little modification and perfect, so protection scope of the present invention is when being as the criterion with what claims defined.

Claims (7)

1. a video flowing fast playing method is carried out by a video flowing Play System, comprising:
A video flowing is play in beginning fast, sets the broadcast direction of this video flowing and plays doubly speed;
Present frame with a video flowing is a starting point, plays direction at this and plays doubly speed searching one first key frame based on this;
Decoding is also play this first key frame;
Whether the system time difference of playing fast this video flowing this video flowing Play System up to the present according to beginning determine the broadcast of this video flowing too fast with the reproduction time difference of this video flowing, just or slow excessively;
If the broadcast of this video flowing is too fast, wait until that then this system time difference and this reproduction time difference are complementary, as this present frame, continue to seek the step of next first key frame with this first key frame;
If the broadcasting speed of this video flowing is just, then with this first key frame as this present frame, continue to seek the step of next first key frame; And
If the broadcast of this video flowing is slow excessively, is starting point with this first key frame then, play direction finding one second key frame at this, as this present frame, continue to seek the step of next first key frame with this second key frame.
2. video flowing fast playing method as claimed in claim 1 is characterized in that, the frame of the one preset kind of the X on this broadcast direction that this first key frame is this present frame, X equal this broadcasts doubly fast divided by
3. video flowing fast playing method as claimed in claim 1 is characterized in that, determine whether the broadcast of this video flowing too fast, just or slow excessively step comprise:
If this system time difference is play doubly speed less than this reproduction time difference divided by this, then the broadcast of this video flowing is too fast;
If it is doubly fast divided by this broadcast that this system time difference equals this reproduction time difference, then the broadcasting speed of this video flowing just; And
If this system time difference is play doubly speed greater than this reproduction time difference divided by this, then the broadcast of this video flowing is slow excessively.
4. video flowing fast playing method as claimed in claim 1 is characterized in that, waits until that the step that this system time difference and this reproduction time difference are complementary comprises:
By the time this system time difference equals this reproduction time difference divided by this broadcast times speed.
5. video flowing fast playing method as claimed in claim 1 is characterized in that, this second key frame belongs to the frame of same kind for the next one on this broadcast direction of this first key frame and this first key frame.
6. video flowing fast playing method as claimed in claim 1; It is characterized in that; This second key frame belongs to the frame of same kind for the Y on this broadcasts direction of this first key frame and this first key frame; Originally Y is one, if the broadcast of this video flowing is continuous slow excessively, then Y is set to this video flowing and play slow read-around ratio.
7. video flowing fast playing method as claimed in claim 6 is characterized in that, more comprises:
If it is slow that the broadcast of this video flowing did not have, then Y is reset to one.
CN 201010502945 2010-10-11 2010-10-11 Video stream fast playing method Active CN102447868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010502945 CN102447868B (en) 2010-10-11 2010-10-11 Video stream fast playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010502945 CN102447868B (en) 2010-10-11 2010-10-11 Video stream fast playing method

Publications (2)

Publication Number Publication Date
CN102447868A true CN102447868A (en) 2012-05-09
CN102447868B CN102447868B (en) 2013-11-06

Family

ID=46009906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010502945 Active CN102447868B (en) 2010-10-11 2010-10-11 Video stream fast playing method

Country Status (1)

Country Link
CN (1) CN102447868B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812853A (en) * 2016-03-16 2016-07-27 联想(北京)有限公司 Image processing method and electronic device
CN108540830A (en) * 2018-04-13 2018-09-14 青岛海信电器股份有限公司 A kind of more playback equipment synchronous broadcast methods, system and terminal
CN114257878A (en) * 2020-09-21 2022-03-29 深圳富桂精密工业有限公司 Method for playing video at double speed, computer device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262291A (en) * 2008-04-30 2008-09-10 中兴通讯股份有限公司 A method and device for realizing speed-varying playing media
CN101287099A (en) * 2007-04-10 2008-10-15 北京汉辰科技有限公司 System and method for realizing video demand-casting and push-casting by P2P technique
CN101321265A (en) * 2007-06-07 2008-12-10 中兴通讯股份有限公司 Method and system for implementing peer-to-peer network media order frame-across broadcast mode
CN101420577A (en) * 2008-11-07 2009-04-29 武汉烽火网络有限责任公司 Storage method for multimedia data and method for accurately positioning playback position
CN101521782A (en) * 2008-12-30 2009-09-02 深圳市同洲电子股份有限公司 Method for fast-forward and fast-backward browsing video, system and multimedia equipment
US7702805B1 (en) * 2009-10-05 2010-04-20 Adobe Systems Incorporated Streaming media seek

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287099A (en) * 2007-04-10 2008-10-15 北京汉辰科技有限公司 System and method for realizing video demand-casting and push-casting by P2P technique
CN101321265A (en) * 2007-06-07 2008-12-10 中兴通讯股份有限公司 Method and system for implementing peer-to-peer network media order frame-across broadcast mode
CN101262291A (en) * 2008-04-30 2008-09-10 中兴通讯股份有限公司 A method and device for realizing speed-varying playing media
CN101420577A (en) * 2008-11-07 2009-04-29 武汉烽火网络有限责任公司 Storage method for multimedia data and method for accurately positioning playback position
CN101521782A (en) * 2008-12-30 2009-09-02 深圳市同洲电子股份有限公司 Method for fast-forward and fast-backward browsing video, system and multimedia equipment
US7702805B1 (en) * 2009-10-05 2010-04-20 Adobe Systems Incorporated Streaming media seek

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812853A (en) * 2016-03-16 2016-07-27 联想(北京)有限公司 Image processing method and electronic device
CN108540830A (en) * 2018-04-13 2018-09-14 青岛海信电器股份有限公司 A kind of more playback equipment synchronous broadcast methods, system and terminal
CN114257878A (en) * 2020-09-21 2022-03-29 深圳富桂精密工业有限公司 Method for playing video at double speed, computer device and storage medium

Also Published As

Publication number Publication date
CN102447868B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
KR100793225B1 (en) Information playback system using storage informaion medium
US20060056800A1 (en) Data recording apparatus
CN101202873B (en) Method and device for information record reproduction
EP1238536A1 (en) Catching up real-time video recording after a playback pause
CN100477766C (en) Voice/video information recording/reproducing device and method thereof
CN1792094A (en) Method and apparatus for creating an expanded functionality digital video disc
CN1771553B (en) Storage medium in which audio-visual data with event information is recorded, and reproducing apparatus and reproducing method thereof
CN1299295C (en) Editing and sharing system for rewritable disk media
CN102447868B (en) Video stream fast playing method
US20090074375A1 (en) Method and apparatus for frame accurate editing audio- visual streams
CN101110929A (en) Digital multimedia document playing control method
JP2006302337A (en) Recording and reproducing apparatus
US20130060366A1 (en) Information processing device, information processing method, and program
US8094995B2 (en) Plural drive device delay countermeasure and recording/reproduction device performing power saving control
JP4312083B2 (en) RECORDING / REPRODUCING DEVICE AND AV DATA CHARACTERISTIC VIDEO CREATION METHOD
CN101346770A (en) Discontinuous timeline in disc authoring
JP2006024259A (en) Content reproducing apparatus, content recording apparatus, method, program, and recording medium
CN1898743B (en) Method for recording information on a record medium, record medium containing information, and method and device for reading information from a record medium
US20080008448A1 (en) Method and apparatus for controlling reproduction of a title including av data and information recording medium
JP6213031B2 (en) Video processing apparatus and method
JP2008234798A (en) Device and method for setting cue point, information reproducing device, and information recording device
CN1898738B (en) Method for recording information on a record medium, record medium containing information, and method and device for reading information from a record medium
US20100040343A1 (en) Method for Enhanced Seek Functionality
UA138262U (en) METHOD OF INSTALLATION AND REPRODUCTION OF DIGITAL VIDEO
JP4693914B2 (en) RECORDING / REPRODUCING DEVICE AND AV DATA CHARACTERISTIC VIDEO CREATION METHOD

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: A 6 floor 7 No. 3 No. 200233 Shanghai Xuhui District City, Guangxi Jinglu

Applicant after: Yangzhi Electronic Technology (Shanghai) Co.,Ltd.

Address before: 200233, No. 6, building 39, building 333, Qin Jiang Road, Shanghai

Applicant before: ALi Corporation, Shanghai

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ALI ELECTRONICS (SHANGHAI) CORPORATION TO: ALI (SHANGHAI) CORP.

SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190520

Address after: 518057 Shenzhen Nanshan District, Shenzhen, Guangdong Province, No. 015 South Seven High-tech Road, Shenzhen-Hong Kong Industry, Education and Research Base, West Block, Nine-storey North Wing

Patentee after: Yangzhi Electronic Technology (China) Co., Ltd.

Address before: District A, 6th Floor, Building 7, Guiqing Road, Xuhui District, Shanghai, 2003

Patentee before: Yangzhi Electronic Technology (Shanghai) Co.,Ltd.

TR01 Transfer of patent right