CN102075798A - TS stream-based delayed playing method - Google Patents

TS stream-based delayed playing method Download PDF

Info

Publication number
CN102075798A
CN102075798A CN 201010618693 CN201010618693A CN102075798A CN 102075798 A CN102075798 A CN 102075798A CN 201010618693 CN201010618693 CN 201010618693 CN 201010618693 A CN201010618693 A CN 201010618693A CN 102075798 A CN102075798 A CN 102075798A
Authority
CN
China
Prior art keywords
time
stream
delay
play
playing
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 201010618693
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.)
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI DIGIVISION 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 SHANGHAI DIGIVISION TECHNOLOGY Co Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CN 201010618693 priority Critical patent/CN102075798A/en
Publication of CN102075798A publication Critical patent/CN102075798A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to a transport (TS) stream-based delayed playing method, which is executed on a set top box and introduces control on playing time of the TS stream. The method comprises the following steps of: receiving the TS stream; determining whether the TS stream is needed to be subjected to delayed playing; if so, executing the following substeps of: buffering the TS stream; detecting and recording the bit rate of the TS stream in real time and playing the TS stream at a set delayed playing time point according to the recorded bit rate of the TS stream; and otherwise, playing the TS stream in real time.

Description

Time-delay player method based on TS stream
Technical field
The present invention relates to digital television system, especially relate to TS stream (Transport Stream, transport stream) the time-delay player method of Digital Television.
Background technology
Along with the development of information technology, people are about to welcome the Digital Television epoch.Compare with simulated television, Digital Television not only provides better image quality, and many convenient services are provided.From should being used for of IP STB, the user not only needs to watch real-time information, also needs can accomplish to record the real-time streams program.The mode that needs to adopt time-delay to play for some special occasions is distinguished different applied environments simultaneously.This has just produced the demand that postpones broadcast.
Fig. 1 illustrates the existing time-delay TS place system that spreads.With reference to shown in Figure 1, play in order to realize time-delay, system configuration time-delay server 10, in order to preserve real-time TS stream, for STB 20 request content after a while.
Yet this method needs additional configuration time-delay server, has increased system cost undoubtedly.
Summary of the invention
An object of the present invention is to provide a kind of time-delay player method that flows based on TS cheaply.
From the configuration of existing STB, big capacity storage such as the outfit of flash memory, hard disk etc., allows STB to introduce and records in advance, the scheme of afterwards playing.Yet this scheme is applicable to the occasion of time-delay indefinite length, and is not suitable for being maintained fixed the occasion of time-delay.Reason is that this scheme lacks the control to the reproduction time of TS stream.
In embodiments of the invention, introduced the control to the reproduction time of TS stream, its scheme is as follows: carry out a kind of time-delay player method based on TS stream in set-top box, this method may further comprise the steps: receive TS stream; Need to determine whether time-delay to play TS stream; TS stream is play in time-delay if desired, then carries out following steps: cushion this TS stream; Detect and write down the bit rate of TS stream in real time; According to the bit rate of the TS stream that writes down, play this TS stream in a time-delay play time of setting; If do not need time-delay to play TS stream, then play TS stream in real time.
In one embodiment of this invention, determine whether that the step that needs time-delay to play TS stream comprises: determine whether that according to the remote control commands of server end the needs time-delay plays TS stream.
In one embodiment of this invention, this remote control commands comprises the channel number that time-delay is play and the time of delaying time and playing.
In one embodiment of this invention, determine whether that the step that needs time-delay to play TS stream comprises: instruction determines whether that the needs time-delay plays TS stream according to local user manipulation.
In one embodiment of this invention, this this locality control command comprises channel that time-delay is play and the time of delaying time and playing.
In one embodiment of this invention, this TS flows a corresponding channel number, determines whether that the step that needs time-delay to play TS stream comprises: determine whether channel number corresponding to TS stream is the channel number of specifying time-delay.
The present invention makes it compared with prior art owing to adopt above technical scheme, by playing in the inner execution time-delay of STB, has saved and has set up the required cost of time-delay server.Simultaneously, introduce the mechanism of bit-rate detection and reduction, made time-delay play the time-delay that can be maintained fixed.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 illustrates the existing time-delay TS place system that spreads.
The time-delay TS that Fig. 2 the illustrates one embodiment of the invention place system that spreads.
Fig. 3 illustrates the set-top box time-delay of one embodiment of the invention and plays the selection flow process.
Fig. 4 illustrates the set-top box time-delay playback process flow process of one embodiment of the invention.
Embodiment
The time-delay TS that Fig. 2 the illustrates one embodiment of the invention place system that spreads.With reference to shown in Figure 2, this system only is made of STB 20.Server 30 is for providing the server of real-time streams.Set-top box 20 is directly obtained real-time stream from server 30, i.e. TS stream.
Fig. 3 illustrates the set-top box time-delay of one embodiment of the invention and plays the selection flow process.STB receives real-time streams at step S1, then at step S2 according to the broadcast of playing in real time or delay time of default strategy.
In one embodiment, STB 20 determines whether needs time-delay broadcast TS stream according to the remote control commands of server end.For example, this remote control commands can be from the control messages of server 30.
In another embodiment, set-top box 20 determines whether needs time-delay broadcast TS stream according to local control command.For example, this this locality control instruction can be that the user is by the setting of remote controller input.
Typically, remote control commands and local control instruction include the time-delay channel number of playing and the time of delaying time and playing.When set-top box 20 received a plurality of real-time stream simultaneously, each real-time stream can be corresponding with a channel.Can determine which to flow to the line delay playback process in real time to by channel.In addition, the time that time-delay is play also need be considered the hardware configuration of STB, for example memory space.When the time that time-delay is play was oversize, memory space may be preserved the real-time stream of required duration inadequately.
In actual applications, time-delay time of playing minute is not waited in a few minutes to tens usually.This delay time is more responsive for the control of time delay interval, therefore lacks the mechanism of the control of reproduction time, for example real-time streams is recorded, and waits for that the mechanism of afterwards playing is undesirable, and embodiments of the invention are applicable at this occasion control time delay interval.Certainly the longer situation of time that also exists time-delay to play, although this situation is more loose to the control requirement of time delay interval, embodiments of the invention are equally applicable to this occasion.
If determine that broadcast strategy is real-time broadcast, then at step S3, carry out real-time playback process, the real-time streams that directly will collect plays back synchronously.
If determining broadcast strategy is that time-delay is play, then at step S4, the playback process of delaying time.
Fig. 4 illustrates the set-top box time-delay playback process flow process of one embodiment of the invention.With reference to shown in Figure 4, at step S11, receive stream in real time, then at step S12, detect and write down the bit rate of real-time stream in real time.For example, real-time streams can be divided into length several seconds timeslice, detect the bit rate of real-time streams in each timeslice, record these bit rates, the foundation when playing after a while.Be appreciated that the timeslice of cutting apart is more short, detection will be more accurate, yet spent resource also can increase.
At step S13, buffering TS stream.
In one example, can real-time stream be recorded on hard disk, the nonvolatile memory big capacity storage such as (for example flash memories) on the backstage.
In another example, can real-time streams be buffered in the volatile memory on the backstage.This short situation that is suitable for delaying time.
Then, flow process enters step S14, waits the time-delay play time to arrive, and afterwards at step S15, according to the bit rate that records before, automatically will cushion good time-delay content play and come out.Meanwhile, the buffering real-time streams is still being continued in the backstage.
At this, according to the bit rate of real-time stream of record, can reduce accurately spreads in real time puts the used time of various piece, thus, makes the time-delay that time-delay stream can be maintained fixed with real-time stream.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.

Claims (8)

1. the time-delay player method based on TS stream is to carry out at STB, and this method may further comprise the steps:
Receive TS stream;
Need to determine whether time-delay to play TS stream;
TS stream is play in time-delay if desired, then carries out following steps:
Cushion this TS stream;
Detect and write down the bit rate of TS stream in real time;
According to the bit rate of the TS stream that writes down, play this TS stream in a time-delay play time of setting;
If do not need time-delay to play TS stream, then play in real time TS stream.
2. the method for claim 1 is characterized in that, determining whether the to delay time step of playing TS stream comprises: the remote control commands according to server end determines whether that needs time-delay broadcast TS flows.
3. method as claimed in claim 2 is characterized in that, this remote control commands comprises the channel number that time-delay is play and the time of delaying time and playing.
4. the method for claim 1 is characterized in that, determining whether the to delay time step of playing TS stream comprises: instruction determines whether that needs time-delay broadcast TS flows according to local user manipulation.
5. method as claimed in claim 4 is characterized in that, this this locality control instruction comprises the channel number that time-delay is play and the time of delaying time and playing.
6. such as each described method of claim 1-5, it is characterized in that this TS flows a corresponding channel number, determine whether that the step that needs time-delay to play TS stream comprises:
Determine whether channel number corresponding to TS stream is the channel number of specifying time-delay.
7. the method for claim 1 is characterized in that, the step that cushions this TS stream comprises: this TS stream of buffer memory in the volatile memory of set-top box.
8. the method for claim 1 is characterized in that, the step that cushions this TS stream comprises: record in the nonvolatile memory or hard disk that this TS flows to set-top box.
CN 201010618693 2010-12-31 2010-12-31 TS stream-based delayed playing method Pending CN102075798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010618693 CN102075798A (en) 2010-12-31 2010-12-31 TS stream-based delayed playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010618693 CN102075798A (en) 2010-12-31 2010-12-31 TS stream-based delayed playing method

Publications (1)

Publication Number Publication Date
CN102075798A true CN102075798A (en) 2011-05-25

Family

ID=44034118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010618693 Pending CN102075798A (en) 2010-12-31 2010-12-31 TS stream-based delayed playing method

Country Status (1)

Country Link
CN (1) CN102075798A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291843A (en) * 1999-10-08 2001-04-18 三星电子株式会社 Video flow processing method for fime delay viewing
CN2744094Y (en) * 2004-10-08 2005-11-30 瑞程科技股份有限公司 Precamera capable of delaying image playing time
US20060193599A1 (en) * 2002-12-20 2006-08-31 Thijssen Paulus Thomas A Recording start and stop

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291843A (en) * 1999-10-08 2001-04-18 三星电子株式会社 Video flow processing method for fime delay viewing
US20060193599A1 (en) * 2002-12-20 2006-08-31 Thijssen Paulus Thomas A Recording start and stop
CN2744094Y (en) * 2004-10-08 2005-11-30 瑞程科技股份有限公司 Precamera capable of delaying image playing time

Similar Documents

Publication Publication Date Title
CN100454996C (en) Method and apparatus for creating an expanded functionality digital video disc
RU2004117876A (en) TELEVISION RECEIVER
JP2007525890A (en) Improved storage capacity configuration
US20070019930A1 (en) Image display device and method of recording broadcasting program
US20080131077A1 (en) Method and Apparatus for Skipping Commercials
CN101141584A (en) Recording/reproduction apparatus, display control method, and program
US20060222327A1 (en) Reserved program recording apparatus and its method
JP2008193585A (en) Broadcast program recording/reproducing device and broadcast program recording/reproducing method
CN101562037A (en) Multimedia file playing method and device thereof
WO2007069379A1 (en) Broadcast reception device providing broadcast of immediacy with a high priority during time shift viewing
US8509601B2 (en) Method to seamlessly insert audio clips into a compressed broadcast audio stream
US7978958B2 (en) Picture and audio recording apparatus and hard disk recorder
CN102075798A (en) TS stream-based delayed playing method
JP5095105B2 (en) Method for performing preprogramming recording and apparatus for reading from and writing to a recording medium using the method
US20060193602A1 (en) Digital broadcast recorder and recording method thereof
US8385728B2 (en) Apparatus and method for searching start position of broadcasting program
US20060080711A1 (en) Apparatus and method for performing reserved recording function
JP2006024259A (en) Content reproducing apparatus, content recording apparatus, method, program, and recording medium
US20060048204A1 (en) Method of storing a stream of audiovisual data in a memory
US8290335B2 (en) Method and apparatus for recording transport stream
JP4600891B2 (en) AV apparatus and broadcast recording method in AV apparatus
JP2008245219A (en) Video/audio recording/reproducing apparatus, automatic editing method therefor, program for executing method, and storage medium
JP2006286051A (en) Recording and reproducing apparatus
US20120059947A1 (en) Apparatus, systems and methods for storing music program content events received in a content stream
KR100635931B1 (en) Apparatus and method for setting a chapter automatically in digital broadcasting recorder

Legal Events

Date Code Title Description
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

Application publication date: 20110525