This application claims the benefit under 35 U.S.C. § 365 of International Application PCT/EP99/06246, filed Aug. 26, 1999, which was published in accordance with PCT Article 21(2) on Mar. 16, 2000 in English, and which claims the benefit of EPO Application No. 98250316.1, filed Sep. 7, 1998 and EPO Application 99250056.1, filed Mar. 2, 1999.
The invention relates to a method and to an apparatus for timestamping a bitstream to be recorded or for using timestamps when replaying from a stream recorder, e.g. an optical disc recorder.
Stream recording assumes an ‘application device’, e.g. a settop box, connected to a DVD Streamer. Both devices are connected via e.g. an IEEE1394 (IEC 611883) interface which in its transmitting and receiving firmware contains means to timestamp data and to strip off these timestamps again, using them for timing regeneration. The resulting effect is that this system behaves between the IEEE1394 interface input and the IEEE1394 interface output like a constant delay system. EP-A-0 701 374 describes the recording of superpackets each including a timestamp.
A stream recorder must re-generate the timing of data packets as it was upon recording, when these packets are played back, so that between recording and playback this system also behaves like a constant delay system. In one embodiment of the invention the stream recorder adds its own timestamps to the data packets when recording and evaluates them when replaying in order to assign to the data packets the correct temporal position. Thereby the original data packet burst characteristic is reconstructed for a data stream having in principle non-equidistant data packets.
However, there is an in-series connection between two timestamping and time regeneration mechanisms which can introduce jitter accumulation. In a second embodiment of the invention the application device itself, before sending the data through the IEEE1394 interface, adds time stamps to the data packets. These timestamps may have the meaning of ‘departure time’ rather than ‘arrival time’ and pass the IEEE1394 interface ‘unnoticed’, i.e. from a IEEE1394 interface point of view they are part of the payload. At the other end of the chain these timestamps are used when the stream recorder plays back a stream. The advantage is that there is only one timing/regeneration process involved which has influence on the temporal position of the replayed data packets, and that therefore no jitter is accumulated. In this second embodiment the stream recorder does not make use of the IEEE1394 timestamps.
In a third embodiment the stream recorder records the IEEE1394 timestamps and evaluates them when replaying in order to assign to the data packets the correct temporal position.
It is one object of the invention to disclose a method for recording and replaying a bitstream, wherein after replaying the recorded data packets do have the correct temporal location within the bitstream and wherein no jitter accumulation takes place. This object is achieved by the methods disclosed in claims 1, 3 and 4.
It is a further object of the invention to disclose an apparatus which utilises the inventive method. This object is achieved by the apparatuses disclosed in claims 6, 7, 9 and 10.
In principle, the inventive method is suited for: timestamping a bitstream to be recorded or for using timestamps when replaying from a stream recorder, wherein a device or signal source outputting said bitstream to be recorded adds said timestamps to data packets of said bitstream and wherein the data packets of said bitstream pass to said stream recorder through a network which causes network jitter and for which network said timestamps belong to the payload of said data packets, and wherein said timestamps are used when replaying said data packets from said stream recorder in order to relocate the replayed data packets to the corresponding original temporal position in said bitstream,
or is suited for: timestamping an MPEG bitstream to be recorded or for using timestamps when replaying from a stream recorder, wherein MPEG timestamps are included in data packets of said MPEG bitstream to be recorded and for the recording additional timestamps generated by said stream recorder become attached to the data packets of said MPEG bitstream to be recorded, and wherein said additional timestamps are used when replaying said data packets from said stream recorder in order to relocate the replayed data packets to the corresponding original temporal position in said MPEG bitstream,
or is suited for: timestamping a bitstream to be recorded or for using timestamps when replaying from a stream recorder, wherein data packets of said bitstream pass to said stream recorder through a network which causes network jitter and which network internally adds network timestamps to data packets of said bitstream in order to reduce said jitter when outputting said data packets, and wherein said stream recorder records said network timestamps and during replay uses said recorded network timestamps in order to relocate the replayed data packets to the corresponding original temporal position in said bitstream. Advantageous additional embodiments of the inventive method are disclosed in the respective dependent claims.
In principle, the inventive apparatus is suited for timestamping a bitstream to be recorded and includes:
Advantageous additional embodiments of the inventive apparatuses are disclosed in the respective dependent claims.
Embodiments of the invention are described with reference to the accompanying drawings, which show in:
The following abbreviations are used in the description: DVD: digital versatile disc, LB: logical block, RBN: relative byte number, RBP: relative byte position, RLBN: relative logical block number, STB: set top box, TOC: table of content, SCR: system clock reference, SOB: stream object, DVD RTRW: DVD realtime rewritable, PES: packetised elementary stream, PTS: presentation timestamp, DTS: decoding timestamp, ATS: application timestamp.
In
An application device which can be a DVD stream recorder including stream recording means STRREC, receives output data from DEM or TSI, respectively, via an IEEE1394 interface transmitter 1394TR and an IEEE1394 interface receiver 1394RECS. The data replayed from STRREC pass through an IEEE1394 interface transmitter 1394TRS and an IEEE1394 interface receiver 1394REC to decoder means DEC which deliver the final output signal or signals O. DEC may include a video decoder, one or more audio decoders and one or more additional data decoders.
Instead of an IEEE1394 connection any other network causing network jitter like the Ethernet or the Internet can be used.
TU, DEM, TS, TSI, 1394TR, 1394REC and DEC can be parts of a settop box. 1394RECS, STRREC and 1394TRS can be parts of a DVD stream recorder. Instead of a settop box any other data stream source can be used, e.g. a DVD player or a PC or Internet receiver. In that case ANT and TU is replaced by e.g. an optical disc and a pickup.
The clock frequency for transferring the bytes of a transport stream may be different in different applications. An IEEE1394 system uses segments having a length of 125 μs, called cycle master packet. Within such cycle a data packet has a non-defined temporal position, i.e. a jitter range of maximum nearly 125 μs is introduced. Therefore the IEEE1394 system makes use of its own ‘timestamps’ which serve to temporally correctly relocate the packets within the 125 μs segments at the output of an IEEE1394 receiver. The exact timing is important for a succeeding decoder because the decoder's buffer capacity is limited and an additional jitter in the data packets could cause buffer overflow or underflow and thereby erroneously decoded data. An IEEE1394 transmitter includes a buffer at its input and an IEEE1394 receiver includes a buffer at its output, which smooth the average data rate. Additionally, in the IEEE1394 system a temporal compression of the data packets takes place which is apparent from the comparison of
A proposed stream recorder specification offers the possibility to record stream-recorder generated timestamps which are derived from e.g. a 27 MHz clock. In one embodiment of the invention the stream recorder records the IEEE1394 timestamps instead and evaluates them when replaying in order to assign to the data packets the correct temporal position.
The length of the data packets is programmable in the IEEE1394 system. Therefore in another embodiment of the invention the original 188 byte length of the transport stream packets is increased by e.g. 4 bytes to a total length of 192 bytes in order to add timestamps supplied from the application device, e.g. a settop box.
The DVD Stream Recording system is designed to use rewritable DVD discs for recording existing digital bitstreams, editing them and playing them back as bitstreams. This system is designed to satisfy the following requirements:
User requirements can be grouped into requirements for recording, requirements for playback, and requirements for editing:
Real-Time Recording
The system is designed to enable real-time recording of digital streams. It allows the user to concatenate recordings, even if those recordings consist of different stream formats. If recordings are concatenated, a seamless or close-to-seamless playback feature can be achieved, but is not required.
Navigation Support
To support navigation two pieces of information (lists) are generated during recording:
The system can reserve space which can be used by the STB to store high-level TOC and Service Information. This information is provided for the user to navigate through the content stored on disc and may contain sophisticated EPG information. The content needs not to be understood by the stream recorder. However a common subset of the TOC information, e.g. based on a character string, may be useful to be shared between STB and DVD, in order to enable the stream recorder to provide a basic menu by itself.
Playback of individual recording and playing all recordings sequentially is possible via a play list.
Player Menus for Entry Point Selection
The STB can generate a sophisticated menu based on the TOC information stored on the disc. A simple menu is generated by the streamer itself, e.g. via some ‘character’ information which is shared by STB and DVD.
Trick Play Modes
The STB can steer trick play via the ‘play list’. Due to the nature of the broadcast stream, the trick play features may be limited to basic ones, e.g. Time Search and Title Jump. User defined playback sequence features like programming or parental control can be supported via the play list.
The DVD streamer creates the ‘original version’ of the play list. It can allow extensions and modifications of the play list by the STB for more sophisticated playback features. The DVD streamer is not responsible for the content of those sophisticated playlist(s). The system supports the deletion of single recordings on user's request. Preferably the system allows this feature under the control of the STB. The system may support insert editing.
Concerning the directory and file structure, the organisation of Stream Data and Navigation Data of DVD Stream Recording is done in a specific way such as to take into account the following:
A possible directory and file structure is described below. The files storing the disc content are placed under the STRREC directory which is under the root directory. Under the STRREC directory the following files are created:
Stream Data include one or more ‘Stream Objects’ (SOBs) which each can be stored as a ‘Program stream’ as described in ISO/IEC 13818-1, Systems. A SOB can be terminated by a program_end_code. The value of the SCR field in the first pack of each SOB may be non-zero. A SOB contains the Stream Data packed into a sequence of ‘Stream Packs’ (S_PCKs). Stream data can be organised as one elementary stream and are carried in PES packets with a stream_id. In Stream recording, the application performs its own padding so that the pack length adjustment methods of DVD-ROM Video or RTRW need not to be used. In Stream recording it is safe to assume, that the Stream packets will always have the necessary length.
As shown in
In a Stream PES Packet, the stream PES packet header content is identical to that defined in the DVD standard, with the following limitations and additional rules:
The Stream PES packet header may include the following items of data:
The application header extension includes a list of entries, where there is exactly one entry of 1 byte for each Applicationtransport layer Packet. These bytes are used to store information that may differ from application packet to application packet. The total length of the application header extension is 46 bytes. The first ‘AP_PKT_Ns’ entries of these carry valid data. Unused list entries may carry undefined values. The total length of ‘application header’ and ‘application header extension’ is 71 bytes.
The application timestamps ATS of each application packet are represented by a 32 bit value. An ATS is divided into a base part and an extension part. The base part represents the 90 kHz unit value, and the extension part represents the less significant value measured in 27 MHz units:
The numbers and parameters given in this description are examples and can be adapted correspondingly to other applications of the invention.
Number | Date | Country | Kind |
---|---|---|---|
98250316 | Sep 1998 | EP | regional |
99250056 | Mar 1999 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP99/06246 | 8/26/1999 | WO | 00 | 3/5/2001 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO00/14952 | 3/16/2000 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5579183 | Van Gestel et al. | Nov 1996 | A |
5689507 | Bloks et al. | Nov 1997 | A |
5805602 | Cloutier et al. | Sep 1998 | A |
5983301 | Baker et al. | Nov 1999 | A |
6032261 | Hulyalkar | Feb 2000 | A |
6236694 | Blatter et al. | May 2001 | B1 |
Number | Date | Country |
---|---|---|
710 021 | May 1996 | EP |
774 753 | May 1997 | EP |
749 244 | Dec 1999 | EP |
9700579 | Jan 1997 | WO |