CN1396742A - Speed-variable playing method based on stream medium technique for player - Google Patents

Speed-variable playing method based on stream medium technique for player Download PDF

Info

Publication number
CN1396742A
CN1396742A CN 02125909 CN02125909A CN1396742A CN 1396742 A CN1396742 A CN 1396742A CN 02125909 CN02125909 CN 02125909 CN 02125909 A CN02125909 A CN 02125909A CN 1396742 A CN1396742 A CN 1396742A
Authority
CN
China
Prior art keywords
video
frame
player
speed
timestamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 02125909
Other languages
Chinese (zh)
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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN 02125909 priority Critical patent/CN1396742A/en
Publication of CN1396742A publication Critical patent/CN1396742A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for speed-variable play of player based on the stream medium technique features that when a player works at normal splay speed, its play speed is switched to a higher speed or a lower speed, and after the video frames are received by clients, its timestamp is reversely converted and then decoded and displayed, and vice versa. It allows user to choose program at will.

Description

Player speed change based on stream media technology is play implementation method
Technical field
The invention belongs to technical field of computer multimedia, particularly the streaming media playing technology.
Background technology
People obtain multimedia messages from network and mainly contain dual mode: downloading and playing and online broadcast.Downloading and playing downloads to local hard drive with multimedia file by http protocol or File Transfer Protocol exactly, starts multimedia player then and plays.Because multimedia file is all very big usually, from several million to tens even hundreds of Mbytes size, download fully needs a few minutes, dozens of minutes, does not wait to several hrs, tends to make being impatient of of client etc.And can't watch the stronger programs of real-time such as on-the-spot broadcasting, long-distance education in this way.The shortcoming of the maximum of downloading and playing is the protection that digital publishing rights can't be provided, and the user just can arbitrarily issue after multimedia file is downloaded on the net, therefore is not suitable for commercial the application.
Stream media technology is a kind of online play-back technology of rising in recent years.Online broadcast, as the term suggests be exactly to play while downloading, player also need not wait until that multimedia file all downloads to local hard drive and plays later on again, but plays when downloading.Player hews out a buffering area in the internal memory of client; the space of several Mbytes normally; player begins the decoding broadcast after waiting until enough data being arranged in the buffering area; this process needs the time in several seconds usually; saved the stand-by period with playing to compare greatly again after having downloaded, and owing to do not download on the hard disk, but directly store in the internal memory; promptly be played the device deletion after playing, therefore digital publishing rights played a protective role.Online technically player is more complicated than the player of downloading and playing, and it must the network enabled playing function.
" Streaming Media " is different from traditional multimedia, it is a kind of structurized network media stream, its main feature transmits on network with the form of " video-voice frequency flow " (Video-Audio Stream) exactly, player can be as playing the local file playing network streaming media, thereby realize functions such as time-out, recovery, F.F., rewind down, also provide possibility for playing at a slow speed, fast.
People can onlinely enjoy the Voice ﹠ Video program of higher quality continuously in very low bandwidth (for example 14.4Kbps) under higher bandwidth (for example 10Mbps) environment.Stream media technology is widely used in the information service field of the Internets such as internet multimedia news briefing, online live, the web advertisement, network video advertisement, ecommerce, video request program, long-distance education, network radio station, real-time video meeting.Present main flow player has the Media Player of Microsoft, and the Real Player of Real company and the Quick Time of Apple support this netcast function.
DST PLAYER is to determine according to the timestamp in the frame of video to the DISPLAY ORDER and the time of the frame of video received, timestamp stores a kind of time value in the frame of video into when being the video frequency program collection of material, DST PLAYER utilizes it to decide a certain frame of video when to play.The timestamp of frame of video has just reflected the DISPLAY ORDER of frame of video and has shown the time interval, can determine the demonstration speed of program thus.DST PLAYER is play according to size and order that the video frame time of receiving stabs, has just realized normal play.The method of normal play may further comprise the steps as shown in Figure 1:
1. audio-video document is before carrying out Network Transmission, and at first the timestamp to each frame of video carries out conversion, and its method adopts following linear transformation:
TS n’=(TS n-TS 0)×C+Rd
TS n': the timestamp after the conversion, be used for Network Transmission,
TS n: the original time before the conversion stabs,
TS 0: the initial reference timestamp,
C: constant,
Rd: random number,
Frame of video after the conversion is sent out by network;
2. after the DST PLAYER of client was received frame of video, the timestamp to it carried out inverse transformation earlier, and the formula of employing is as follows:
TS n=(TS n’-TS 0’)/C
TS n: the timestamp after the conversion, be used for the demonstration control of frame of video,
TS n': the timestamp before the conversion,
TS 0': the initial reference timestamp,
C: constant,
3. the frame of video after player will be changed is delivered to decoding unit and is decoded;
4. player is delivered to display unit with decoded frame of video, and display unit shows this frame of video according to the timestamp in the frame of video;
5. player is according to normal frame speed displaying video.
Adopt the user of said method when appreciating audio/video program, can only play with the video speed of normal play speed by network, the video speed that wish that can not basis is selected to be different from normal play speed is play, and user's demand is restricted.
Summary of the invention
The objective of the invention is for overcoming the weak point of prior art, propose a kind of player speed change and play implementation method based on stream media technology, adopt the user of the present invention video speed that the user can select to be different from normal play speed in by network appreciation audio/video program in the process of playing to play, the speed that can select to be lower than normal frame speed is play, the speed that also can select to be higher than normal frame speed is play, and is convenient to the user and appreciates program by the wish of oneself better.Thereby for the user provides more, abundanter service.
The present invention proposes a kind of player speed change based on stream media technology and plays implementation method, it is characterized in that,, its broadcasting speed is switched during with normal speed forward at player, changes quick broadcast or slow play into.
The method of the said slow play of the present invention may further comprise the steps:
1) select slow play, its speed is N/one of former speed;
2) client is carried out following inverse transformation to timestamp after receiving frame of video:
TS n=(TS n’-TS 0’)/C×N
In the formula: TS n: the timestamp after the conversion, be used for the demonstration control of frame of video,
TS n': the timestamp before the conversion,
TS 0': the initial reference timestamp,
C: constant
N:N/one times speed
3) frame of video after player will be changed is delivered to decoding unit and is decoded;
4) player is delivered to display unit with decoded frame of video, and display unit shows this frame of video according to the timestamp in the frame of video;
5) playback rate of client has just become original N/one, thereby has realized slow play.
The method of quick broadcast of the present invention may further comprise the steps:
1) select to play fast, its speed is N times of former speed;
2) after DST PLAYER is received frame of video, before it is decoded, shows, timestamp is carried out inverse transformation, the formula of employing is as follows:
TS n=(TS n’-TS 0’)/(C×N)
TS n': the timestamp before the conversion is used for the demonstration control of frame of video
TS n: the timestamp after the conversion
TS 0': the initial reference timestamp
C: constant
N:N is speed doubly
3) player returns parameter N to streaming media server;
4) after streaming media server was received the N of player passback, every transmission one frame video was just skipped N-1 frame video, in order to keep sending the constant of bandwidth;
5) frame of video after player will be changed is delivered to decoding unit and is decoded;
6) player is delivered to display unit with decoded frame of video, and display unit shows this frame of video according to the timestamp in the frame of video;
7) playback rate of client has just become original N doubly, thereby has realized quick broadcast.Principle of the present invention
DST PLAYER stabs the video frame time received and carries out linear scale and handle, and handles and can realize slow play if timestamp is carried out linear amplification, dwindles processing and can realize quick broadcast if timestamp is carried out linearity.Advantage of the present invention
1. the former speed that is not limited to video file is play, and is used for being configured according to the requirement of oneself;
2. the user can select the various video playback rate; For example:, can adopt 20 frame/seconds, 10 frame/seconds or other speed to play during broadcast if the video of multimedia programming adopts the compression speed of 30 frame/seconds;
3. simple to operate, be easy to realize;
4. effect is obvious, and particularly slow play is very smooth;
5. irrelevant with the codec and the network transmission protocol;
6. when adopting slow play, server need not made any change, can independently be finished by client fully.
Description of drawings
Fig. 1 is current streaming media playing FB(flow block).
Fig. 2 is that speed change of the present invention is play the overall procedure block diagram.
Fig. 3 is a slow play detailed process block diagram of the present invention.
Fig. 4 is a quick broadcast detailed process block diagram of the present invention.
Embodiment
A kind of player speed change based on stream media technology that the present invention proposes is play implementation method embodiment and is described with reference to the accompanying drawings as follows: the configuration of the server end of present embodiment
CPU:Intel?PIII?1GHz
Internal memory: 128M
Operating system: RedHat7.1 Linux Server
Streaming media server: LSMP Media Server client configuration
CPU:Intel?PIII?800MHz
Internal memory: 128M
Operating system: Windows2000Professional
Player: LSMP Media Player parameter is provided with
C=90000/1000000
N=2、4、8
TS 0Server end is exported the timestamp (as the initial reference timestamp) of first frame of video
TS 0' timestamp (as the initial reference timestamp) of first frame of video of receiving of client
The player speed change of present embodiment is play implementation method, and its overall procedure is characterized in, its broadcasting speed being switched during with normal speed forward at player as shown in Figure 2, changes quick broadcast or slow play into.
The method of present embodiment realization slow play specifically may further comprise the steps as shown in Figure 3:
1. selection slow play, its speed are N/one (N=2 or 4 or 8) of former speed;
2. client is carried out following inverse transformation (linear amplification) to timestamp after receiving frame of video:
TS n=(TS n’-TS 0’)×1000000/90000×N
TS n: the timestamp after the conversion is used for the demonstration control of frame of video
TS n': the timestamp before the conversion
TS 0': the timestamp of first frame of video that client is received is (during as initial reference
Between stab)
N:N/one times speed (N=2 or 4 or 8)
3. the frame of video after player will be changed is delivered to decoding unit and is decoded;
4. player is delivered to display unit with decoded frame of video, and display unit shows this frame of video according to the timestamp in the frame of video;
5. the playback rate of client has just become original N/one (N=2 or 4 or 8), thereby has realized slow play.
The fast playing method of present embodiment as shown in Figure 4, specifically may further comprise the steps:
1. select to play fast, its speed is N times (N=2 or 4 or 8) of former speed;
2. after DST PLAYER is received frame of video, before it is decoded, shows, timestamp is carried out inverse transformation (linearity is dwindled), the formula of employing is as follows:
TS n=(TS n’-TS 0’)×1000000/(90000×N)
TS n': the timestamp before the conversion is used for the demonstration control of frame of video
TS n: the timestamp after the conversion
TS 0': the timestamp of first frame of video that client is received (as the initial reference timestamp)
N:N is speed (N=2 or 4 or 8) doubly
3. player returns parameter N to streaming media server;
4. after streaming media server was received the N of player passback, every transmission one frame video was just skipped N-1 frame video, in order to keep sending the constant of bandwidth;
5. the frame of video after player will be changed is delivered to decoding unit and is decoded;
6. player is delivered to display unit with decoded frame of video, and display unit shows this frame of video according to the timestamp in the frame of video;
7. the playback rate of client has just become original N doubly (N=2 or 4 or 8), thereby has realized quick broadcast.

Claims (2)

1, a kind of player speed change based on stream media technology is play implementation method, it is characterized in that,, its broadcasting speed is switched during with normal speed forward at player, changes quick broadcast or slow play into;
The method of said slow play may further comprise the steps:
1) select slow play, its speed is N/one of former speed;
2) client is carried out following inverse transformation to timestamp after receiving frame of video:
TS n=(TS n’-TS 0’)/C×N
In the formula: TS n: the timestamp after the conversion, be used for the demonstration control of frame of video,
TS n': the timestamp before the conversion,
TS 0': the initial reference timestamp,
C: constant
N:N/one times speed
3) frame of video after player will be changed is delivered to decoding unit and is decoded;
4) player is delivered to display unit with decoded frame of video, and display unit shows according to the timestamp in the frame of video
This frame of video;
5) playback rate of client has just become original N/one, thereby has realized slow play.
2, the player speed change based on stream media technology as claimed in claim 1 is play implementation method, it is characterized in that the method for said quick broadcast may further comprise the steps:
1) select to play fast, its speed is N times of former speed;
2) after DST PLAYER is received frame of video, before it is decoded, shows, timestamp is carried out inverse transformation,
The formula that adopts is as follows:
TS n=(TS n’-TS 0’)/(C×N)
TS n': the timestamp before the conversion is used for the demonstration control of frame of video
TS n: the timestamp after the conversion
TS 0': the initial reference timestamp
C: constant
N:N is speed doubly
3) player returns parameter N to streaming media server;
4) after streaming media server was received the N of player passback, every transmission one frame video was just skipped N-1 frame video, used
To keep sending the constant of bandwidth;
5) frame of video after player will be changed is delivered to decoding unit and is decoded;
6) player is delivered to display unit with decoded frame of video, and display unit shows according to the timestamp in the frame of video
This frame of video;
7) playback rate of client has just become original N doubly, thereby has realized quick broadcast.
CN 02125909 2002-08-02 2002-08-02 Speed-variable playing method based on stream medium technique for player Pending CN1396742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02125909 CN1396742A (en) 2002-08-02 2002-08-02 Speed-variable playing method based on stream medium technique for player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02125909 CN1396742A (en) 2002-08-02 2002-08-02 Speed-variable playing method based on stream medium technique for player

Publications (1)

Publication Number Publication Date
CN1396742A true CN1396742A (en) 2003-02-12

Family

ID=4745684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02125909 Pending CN1396742A (en) 2002-08-02 2002-08-02 Speed-variable playing method based on stream medium technique for player

Country Status (1)

Country Link
CN (1) CN1396742A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262291B (en) * 2008-04-30 2010-04-07 中兴通讯股份有限公司 A method and device for realizing speed-varying playing media
CN1883203B (en) * 2003-12-19 2010-05-26 松下电器产业株式会社 Moving picture distribution system
CN101262600B (en) * 2007-03-08 2010-05-26 凌阳科技股份有限公司 A quick forward and backward playing system and method for network video
CN101346992B (en) * 2005-12-23 2010-12-22 皇家飞利浦电子股份有限公司 A device for and a method of processing a data stream
CN102541560A (en) * 2011-12-29 2012-07-04 奇智软件(北京)有限公司 Implementation method for speed change software and device
CN102547390A (en) * 2011-12-26 2012-07-04 深圳创维数字技术股份有限公司 Media stream playing method and media stream playing system
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN101355500B (en) * 2007-07-26 2013-02-13 索尼株式会社 Content reproduction apparatus, content reproduction method and program
CN103053170A (en) * 2011-02-14 2013-04-17 艾科星先进科技公司 Systems And Methods To Provide Trick Play During Streaming Playback
CN103747287A (en) * 2014-01-13 2014-04-23 合一网络技术(北京)有限公司 Video playing speed regulation method and system applied to flash
CN104410930A (en) * 2014-11-07 2015-03-11 青岛海信宽带多媒体技术有限公司 A method and device for controlling playing speed of transport stream TS media file
CN104636138A (en) * 2011-12-29 2015-05-20 北京奇虎科技有限公司 Speed change software implementation method and device
CN104702975A (en) * 2015-03-24 2015-06-10 北京中熙正保远程教育技术有限公司 Flash video variable-speed playing method for remote teaching
CN102063924B (en) * 2009-11-18 2015-07-15 新奥特(北京)视频技术有限公司 Method and device for playing animation
CN105808336A (en) * 2016-03-08 2016-07-27 广州爱九游信息技术有限公司 Computing device, apparatus and method for operating application
US9510029B2 (en) 2010-02-11 2016-11-29 Echostar Advanced Technologies L.L.C. Systems and methods to provide trick play during streaming playback

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1883203B (en) * 2003-12-19 2010-05-26 松下电器产业株式会社 Moving picture distribution system
CN101346992B (en) * 2005-12-23 2010-12-22 皇家飞利浦电子股份有限公司 A device for and a method of processing a data stream
CN101262600B (en) * 2007-03-08 2010-05-26 凌阳科技股份有限公司 A quick forward and backward playing system and method for network video
CN101355500B (en) * 2007-07-26 2013-02-13 索尼株式会社 Content reproduction apparatus, content reproduction method and program
CN101262291B (en) * 2008-04-30 2010-04-07 中兴通讯股份有限公司 A method and device for realizing speed-varying playing media
CN102063924B (en) * 2009-11-18 2015-07-15 新奥特(北京)视频技术有限公司 Method and device for playing animation
US10075744B2 (en) 2010-02-11 2018-09-11 DISH Technologies L.L.C. Systems and methods to provide trick play during streaming playback
US9510029B2 (en) 2010-02-11 2016-11-29 Echostar Advanced Technologies L.L.C. Systems and methods to provide trick play during streaming playback
CN103053170B (en) * 2011-02-14 2017-03-29 艾科星科技公司 System and method to provide special play-back during crossfire is reset
CN103053170A (en) * 2011-02-14 2013-04-17 艾科星先进科技公司 Systems And Methods To Provide Trick Play During Streaming Playback
CN102547390A (en) * 2011-12-26 2012-07-04 深圳创维数字技术股份有限公司 Media stream playing method and media stream playing system
CN102541560B (en) * 2011-12-29 2015-02-11 奇智软件(北京)有限公司 Implementation method for speed change software and device
CN104636138A (en) * 2011-12-29 2015-05-20 北京奇虎科技有限公司 Speed change software implementation method and device
CN104636138B (en) * 2011-12-29 2018-05-04 北京奇虎科技有限公司 Implementation method for speed change software and device
CN102541560A (en) * 2011-12-29 2012-07-04 奇智软件(北京)有限公司 Implementation method for speed change software and device
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN103747287A (en) * 2014-01-13 2014-04-23 合一网络技术(北京)有限公司 Video playing speed regulation method and system applied to flash
CN104410930A (en) * 2014-11-07 2015-03-11 青岛海信宽带多媒体技术有限公司 A method and device for controlling playing speed of transport stream TS media file
CN104702975A (en) * 2015-03-24 2015-06-10 北京中熙正保远程教育技术有限公司 Flash video variable-speed playing method for remote teaching
CN105808336A (en) * 2016-03-08 2016-07-27 广州爱九游信息技术有限公司 Computing device, apparatus and method for operating application

Similar Documents

Publication Publication Date Title
CN101075949A (en) Method for changing fluid-medium file broadcasting speed
US10547850B2 (en) Audio splitting with codec-enforced frame sizes
US10123059B2 (en) Fast start of streaming digital media playback with deferred license retrieval
CN1396742A (en) Speed-variable playing method based on stream medium technique for player
US10250949B2 (en) Broadcast content to HTTP client conversion
US8677428B2 (en) System and method for rule based dynamic server side streaming manifest files
US9510029B2 (en) Systems and methods to provide trick play during streaming playback
US20130031222A1 (en) Methods, apparatuses and computer program products for pausing video streaming content
WO2013037241A1 (en) Mobile multimedia real-time transcoding playing system, device, storage medium and method
WO2009033345A1 (en) A method for simultaneously downloading and playing hypertext transfer stream media
CN1662048A (en) System and method for playing wireless media file
WO2011147352A1 (en) Method and device for supporting time shift review in dynamic hypertext transfer protocol streaming transmission solution
JP2009542046A (en) Video processing and application system, method and apparatus
CN1897658A (en) Webpage requesting multi-medium applied system and realization for one-way network
CN102802075A (en) Online play buffering system and method
CN1898962A (en) Method of transmitting content with adaptation of encoding characteristics
CN101848367B (en) File-based video live webcasting method
CN1817040A (en) Method of broadcasting multimedia content via a distribution network
CN103188210A (en) Terminal and method for playing media content of mobile terminal on large screen client
CN1812571A (en) Moving multi-point monitoring technique utilizing SMIL technique and moving stream media technique
CN1431660A (en) Method for switching between audio and video frequency instream media broadcast on demand
CN1185872C (en) In-site program-requesting method based on real-time flow medium
RU2658672C2 (en) Content provision device, program, terminal device and content provision system
US10893331B1 (en) Subtitle processing for devices with limited memory

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication