METHOD AND ARRANGEMENT FOR TRANSMITTING AND RECEIVING ENCODED IMAGES

Abstract: TeleWeb services are currently being developed, in which HTML-encoded images are transmitted in the vertical blanking interval of a conventional analog television signal. For special applications, such as subtitling and targeted advertising, the relevant TeleWeb images must be displayed substantially in synchronism with given video frames of the television signal. This is achieved by transmitting the encoded images in advance and provide them with a time stamp (33) which specifies the display time in terms of a reference clock. The reference clock is preferably derived from the teletext clock time (31,32). A possible display time stamp format is hh:mm:ss'ff, where ff specifies a frame within a second. At the receiver end, the teletext clock is interpolated to reconstruct the reference clock, and the subtitles are buffered until the display time stamp matches the actual clock time.

Description: Method and arrangement for transmitting and receiving encoded images. FIELD OF THE INVENTION The invention relates to methods of transmitting encoded images in inactive video periods of an analog (i.e. PAL, NTSC, etc.) television signal and reproducing said images in synchronism with given frames of the television signal. BACKGROUND OF THE INVENTION A known method of transmitting encoded images in inactive video periods of an analog television signal for reproduction in synchronism with given frames of the television signal is provided by World System Teletext. Teletext, standardized in the early 70s, provides the facility to transmit subtitle pages along with other teletext pages in the vertical blanking interval of the television signal. The subtitles are transmitted in synchronism with the video scene. That is, each subtitle page is inserted in the teletext stream precisely at the time it is to be reproduced. Since teletext information is decoded in real time, the subtitle page is displayed without any delay. More complex data service systems such as TeleWeb are currently being developed. TeleWeb images are images encoded in accordance with the HTML standard and transmitted in the vertical blanking interval of a television signal. The delay between transmission and display of a TeleWeb image is not known in advance and may vary from decoder to decoder. The unknown delay of a TeleWeb subtitle image poses a problem in that synchronization between a television program and its subtitling is difficult to achieve. This is especially the case when television program is being subtitled in several languages. The bandwidth of the system (one or few lines of the vertical blanking interval) is not sufficient to transmit all subtitles in real time. OBJECT AND SUMMARY OF THE INVENTION It is an object of the invention to overcome the above-mentioned problems. To this end, the invention provides a method of transmitting an encoded image as defined in claim 1, a method of reproducing an image as defined in claim 4, a television receiver as defined in claim 7, and a television signal as defined in claim 8. The invention provides advance transmission of encoded images, with a time stamp specifying the desired time of display being accommodated in the image data. The time stamp is related to a reference clock, samples of which are also transmitted in inactive video portions of the television signal. Preferably, the reference clock is the clock time which is transmitted in the page headers of a teletext service or in teletext packets 8/30. It is thereby achieved that no additional transmission capacity is required for transmission of the reference clock. It should be noted that advance transmission of subtitles with time stamps is known per se from International Patent Application WO 96/19077. In this prior-art system, the subtitles are transmitted along with a compressed digital video signal. Digital video signals already include a reference clock. Digital television receivers comprise an input buffer in which the compressed video signal is buffered in order to compensate for the varying amounts of frame data. The encoded video frames include time stamps representing the time at which they have to be removed from the buffer and/or displayed, so that the buffer does not overflow or underflow. The transmitted reference clock thus controls the video display timing. As the time stamps in subtitle images relate to the same reference clock, the subtitles can exactly be synchronized with given frames of the video signal. The teaching of WO 96/19077 cannot be applied to conventional analog television systems because the frames of an analog video signal are not identified by time stamps. Exact synchronization of a subtitle and a given frame as offered by digital systems can therefore not be achieved. Instead, the invention provides an estimation of the time at which the given frame will be displayed in terms of an external reference clock. The reference clock is transmitted along with the television signal but has no relation with its video contents. It has been found that the method provides sufficient accuracy of synchronization. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 shows a schematic diagram of a transmitter in accordance with the invention. Fig. 2 shows a flow chart of operational steps carried out by the transmitter to illustrate its operation. Fig. 3 shows a possible format of the television signal in accordance with the invention. Fig. 4 shows a schematic diagram of a television receiver in accordance with the invention. DESCRIPTION OF EMBODIMENTS Fig. 1 shows a schematic diagram of a transmitter in accordance with the invention. It will be assumed that the television program being broadcast is a prerecorded program, i.e. the content is being played back from a video recorder 1. The video frames of the recorded television signal are consecutively numbered. The video recorder outputs the current video frame number n at a second output. The subtitles associated with the television program have been prepared in advance. They are stored in the form of encoded images on a subtitling computer system 2. The computer also stores for each subtitle image the frame number r- d of the video frame at which the subtitle is to be reproduced. The subtitling computer 2 receives the current frame number n from the video recorder 1. The transmitter further comprises a conventional teletext source 3, which generates a cyclic sequence of teletext pages. The conventional teletext service includes transmission of a real time clock. As is generally known, the actual clock time is accommodated in the last 8 character positions of the page headers. Some transmitters also transmit the actual clock time in a special teletext packet which is commonly referred to as packet 8/30. In both cases, the time is transmitted in the format hh:mm:ss, and thus updated approximately once per second. A data insertion circuit 4 inserts the subtitle image data and the conventional teletext data in selected lines of the vertical blanking interval of the video signal. The combined video signal is then applied to a modulator 5 for RF transmission via an antenna 6 or any other broadcasting network. In accordance with the invention, the transmitter further comprises a teletext clock extraction circuit 7, a subtitle display time estimation circuit 8, and a time stamp insertion circuit 9. The clock extraction circuit 7 extracts the actual clock time samples from the teletext service (in the above-mentioned hh:mm:ss format) and includes interpolation means (or a phase-locked loop) to generate the actual clock time t at the frame rate resolution, i.e. in units of 1/25 sec (PAL) or 1/30 sec (NTSC). The operation of the transmitter will now be described with reference to a flow chart of operations shown in Fig. 2. In a step 21, the computer pre-fetches the next subtitle to be transmitted and reads the frame number n of the video frame at which said subtitle is to be displayed. In a step 22, the computer receives the current frame number n and waits until n is larger than nj-N, where N is the number of frames corresponding to a given period of time. For example, N=l 25 for PAL systems or N=l 50 for NTSC systems to represent a time period of 5 seconds. The condition n>n -N thus means that the subtitle is to be displayed within 5 sec. If the condition is fulfilled, a step 23 is performed (by the subtitle display time estimation circuit 8) in which the actual clock time at which the subtitle is to be displayed is estimated in accordance with: t d = t + ^— - (for PAL), or t, = t + ^L ^ (for NTSC). In a step 24, the estimated time td is inserted image in the form of a time stamp in the encoded subtitle (this operation is carried out by the time stamp insertion circuit 9). The subtitle including the time stamp t d is then transmitted in a step 25. It will be appreciated that the subtitle will thus be transmitted 5 seconds in advance. The transmission of a subtitle takes some time, depending upon encoding efficiency and available bandwidth. After transmission, the computer returns to the step 21 to fetch the next subtitle. It should be noted that the next image to be transmitted may relate to the same frame number n d , for example, because it provides the same subtitle in a different language. In that case, the condition n>nd-N (step 22) is immediately fulfilled. As both the actual video frame number n provided by the video recorder and the real time clock t have meanwhile progressed in synchronism, such a subsequent subtitle will be transmitted with substantially the same time stamp td. Fig. 3 shows one field of the analog television signal which is transmitted by the transmitter shown in Fig. 1. TV line numbers are shown at the left of the Figure. As is generally known, the analog video signal is accommodated in the TV lines 23-310 (336-623 in the other field). The TV lines 6-22 (319-335 in the other field) constitute the vertical blanking interval. In the example, lines 10 and 11 are used for transmission of HTML-encoded subtitles, whereas lines 12-16 are used for conventional teletext transmission. The vertical blanking interval in this example happens to include the start of an HTML encoded subtitle, a teletext page header, as well as a teletext packet 8/30. Both the page header and the teletext packet 8/30 include the current time in hh:mm:ss format, which is here 18:22:43. They are denoted 31 and 32, respectively. The subtitle data includes a time stamp 33. The time stamp has the value 18:22:47'12, which means that the subtitle is to be displayed at 18:22:47, 12th frame. Fig. 4 shows a schematic diagram of a television receiver in accordance with the invention. The receiver comprises an input terminal 40, a tuner 41, a video-processing circuit 42, a superimposing circuit 43, a display screen 44, a data slicer 45, a subtitle decoder 46, a character generator 47, a teletext clock extraction circuit 48, and a comparator 49. The tuner 41 applies the received composite baseband video signal CVBS to the video-processing circuit 42 in which it is processed for reproduction on the display screen 44. The baseband signal CVBS is also applied to the data slicer 45 which regenerates the data signal embedded in the vertical blanking interval of the television signal. The data signal is applied to the teletext clock extraction circuit 48. This circuit is similar to the teletext clock extraction circuit 7 in Fig. 1. It extracts the actual clock time accommodated in teletext page headers or teletext packets 8/30 and includes a phase-locked loop to interpolate the hh:mm:ss format and generate the actual clock time t at the frame rate resolution, i.e. in units of 1/25 sec (PAL) or 1/30 sec (NTSC). The data signal is further applied to the subtitle decoder 46, which is arranged to decode HTML-encoded images into RGB or YUV sub-images. The subtitles are decoded upon receipt and stored in the character generator 47. They are not displayed, however, until so enabled in response to an enabling signal EN. The subtitle decoder 46 also extracts from the subtitle data the time stamp t accommodated therein. The time stamp t d and the actual clock time t are applied to the comparator 49, which produces the enabling signal EN when t and t are found to be equal. It is thus achieved that the subtitles will be displayed in correct synchronism with the video contents. With reference to the example of Fig. 3, this means that the subtitle which is transmitted at teletext clock time 18:22:43 will be displayed at 18:22:47, 12th frame. The invention can be summarized as follows. TeleWeb services are currently being developed, in which HTML-encoded images are transmitted in the vertical blanking interval of a conventional analog television signal. For special applications such as subtitling and targeted advertising, the relevant TeleWeb images must be displayed substantially in synchronism with given video frames of the television signal. This is achieved by transmitting the encoded images in advance and provide them with a time stamp (33) which specifies the display time in terms of a reference clock. The reference clock is preferably derived from the teletext clock time (31,32). A possible display time stamp format is hh:mm:ss'ff, where ff specifies a frame within a second. At the receiver end, the teletext clock is interpolated to reconstruct the reference clock, and the subtitles are buffered until the display time stamp matches the actual clock time.

Claims: CLAIMS: 1. A method of transmitting an encoded image in inactive video periods of an analog television signal, for reproduction of said image in synchronism with a given frame of said television signal, the method comprising the steps of: - repetitively transmitting, in said inactive video periods, time samples of a reference clock, - estimating, prior to transmission of said given frame of the television signal, the reference clock time at which said given frame will be displayed by a receiver, - accommodating a display time stamp representing said estimated display time in the encoded image data, and - transmitting said encoded image data including said display time stamp prior to transmitting the given television frame. 2. A method as claimed in claim 1, wherein said time samples of the reference clock are accommodated in teletext packets 8/30 transmitted in the vertical blanking interval of said television signal. 3. A method as claimed in claim 1 , wherein said time samples of the reference clock are accommodated in page headers of teletext pages transmitted in the vertical blanking interval of said television signal. 4. A method of reproducing an image received in inactive video periods of an analog television signal in synchronism with a given frame of said television signal, comprising the steps of: - receiving and storing encoded image data representing said image and including a display time stamp, - receiving time samples of a reference clock in said inactive video periods of the television signal, - generating a reference clock time in response to said time samples, and - reproducing said image when the time represented by said display time stamp corresponds to the generated reference clock time. 5. A method as claimed in claim 4, wherein said time samples of the reference clock are accommodated in teletext packets 8/30 transmitted in the vertical blanking interval of said television signal. 6. A method as claimed in claim 4, wherein said time samples of the reference clock are accommodated in page headers of teletext pages transmitted in the vertical blanking interval of said television signal. 7. A television receiver for reproducing an image received in inactive video periods of an analog television signal in synchronism with a given frame of said television signal, comprising: - means (45,46,47) for receiving and storing encoded image data representing said image and including a display time stamp (33), - means (45,48) for receiving time samples (31 ;32) of a reference clock in said inactive video periods of the television signal and arranged to generate a reference clock time (t) in response to said time samples, and - means (49) for comparing a display time (t d ) represented by said display time stamp (33) and said reference clock time (t), and enabling reproduction of said image when said display time and reference clock time match. 8. A television signal, comprising active video portions in which an analog video signal is accommodated and inactive video portions in which encoded image data is accommodated for reproduction of said image in synchronism with a given frame of said television signal, the signal comprising: - repetitively, in said inactive video periods, time samples of a reference clock, - a display time stamp accommodated in the encoded image data, said display time stamp representing the reference clock time at which said image is to be displayed.

Inventors: VAN GESTEL HENRICUS A W, VAN GESTEL, HENRICUS, A., W.
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2000
Main classification: H04N7
IPC codes: H04N5, H04N7