The invention relates to an encoding device, a decoding device, a transmission system and a device for recording audio/video data.
The invention relates more particularly to the chaptering of the audio-visual programmes.
The functionality currently offered by DVD players to access the chapters of the recorded programme makes it convenient to browse through a programme without groping through the programme in search of particular moments.
This functionality is currently not present for programmes that can be received by broadcast on a television for example and when recording such programmes it is then impossible to have this chaptering. This chaptering is also inaccessible in the functionalities of PVRs (personal video recorders).
The invention proposes to respond to this need for chaptering by using fields defined in the encoding standards to convey chaptering information.
Accordingly, the invention proposes a device for encoding video data comprising means for encoding the images in groups of data. According to the invention, the device comprises means for inserting, into the encoded data groups, a message comprising parameters representative of the chaptering of the data.
According to a preferred embodiment, the means for encoding, the data encode the data according to the H.264 standard, the message being a message of the Supplemental Enhancement Information type.
The H.264 compression standard is a standard that is in the process of becoming widely used in video encoding and recording devices. It has a type of message called the Supplemental Enhancement Information (SEI) that makes it possible to transmit information relating to the encoding. The inventors realized that such messages could also be used for other purposes than data encoding and propose the use of such messages for encoding chaptering information; such messages are ignored by the decoders, not implementing them even if they are generated by the encoder from which the video data originate.
According to a preferred embodiment, the message of the Supplemental Enhancement Information type comprises at least one item of information chosen from
According to a preferred embodiment, the message of the Supplemental Enhancement Information type comprises information relating to the title of the chapter.
According to a preferred embodiment, the said parameters representative of the chaptering information also comprise information relating to the audio/video data chosen from
The invention also relates to a system of transmitting audio video data comprising an encoding device according to the invention and means for transmitting encoded audio/video data with the chaptering information.
According to another aspect, the invention relates to an audio/video data recording device comprising means for encoding the audio/video data intended to be recorded. According to the invention, the recording device comprises
According to a preferred embodiment, the means for encoding the audio video information comply with the H.264 compression standard, the associated messages being messages of the Supplemental Enhancement Information type.
According to another aspect, the invention also relates to a video data decoding device comprising means for decoding the images. According to the invention, the decoding device comprises means for extracting chaptering information from the data.
Advantageously, the recording device comprises means for decoding the video information recorded in the storage means and means for transmitting the video information to display means.
The invention will be better understood and illustrated by means of advantageous exemplary embodiments and implementations, that are in no way limiting, with reference to the appended figures in which:
The various embodiments of the invention may be realized as software, hardware or a combination of these various techniques. For example, in some cases, the invention may be supplied as a computer program product, or software, which may comprise a computer-readable apparatus or medium having instructions recorded for executing the method according to the invention. In other embodiments, the invention may be effected as hardware containing the wired logic for producing the various means of the invention or else as a combination of software means and hardware means.
The system comprises image processing means 1 whose output is connected to an encoder 2. The output of the encoder 2 is connected to transmission means 3.
The image processing means 1 receive as an input audio/video data originating directly from a movie camera or originating from post-production means and therefore ready to be encoded for transmission.
The image processing means 1 analyse the video content in order to extract the structure therefrom. In this manner, they index the video in order to obtain therefrom a breakdown into sub-units, for example chapters. Such a breakdown into chapters of the video is carried out by a prior breakdown into plans. Such methods are known to those skilled in the art. It is also possible for the director, during post-production, also to indicate the chaptering data and transmit them to the image processing means using for example time labels that indicate at which moment it is possible to detect a change of chapter and also transmitting the title of each chapter. The transmitted time information is either a duration for each chapter, a sort of absolute value, or else a relative value relating to the start of the video.
It is also possible to decide that a chapter is independent of the data content and that it corresponds only to a duration of the video, for example a chapter may be generated every 10 minutes.
The image processing module supplies the encoder 2 with the video data as it receives them as it received them from the image processing means 1 and the associated chaptering information, corresponding therefore to the title of each chapter and the duration of each chapter.
The encoding means 2 are encoding means complying with the H.264 standard.
The encoding means 2 insert the chaptering information into SEI (Supplemental Enhancement Information) messages.
The table below illustrates the payload data portion of an SEI message, using a type 6 payload data type, corresponding in the H.264 standard to payload data of the “user_data_unregistered” type, represented in the table below.
In the preferred embodiment, the payload data size is equal to 17 bytes, 16 being reserved for the UUID and 1 for the data relating to the invention.
where:
The encoder 2 encodes the video data in H.264 format and inserts the SEI messages comprising the chaptering data in the data groups.
A current frame Fn is presented at the input of the encoder in order to be encoded therein. This frame is encoded in the form of sections, that is to say that it is divided into sub-units that each contain a certain number of macroblocks corresponding to groups of 16*16 pixels. Each macroblock is encoded in intra or intermode. Whether it is in intramode or intermode, a macroblock is encoded based on a reconstructed frame. A module 109 decides on the intramode encoding of the current image according to the content of the image. In intramode, P (shown in
A movement estimation module 101 establishes an estimate of movement between the current frame Fn and at least one previous frame F′n−1. From this movement estimate, a movement compensation module 102 produces a frame P when the current image Fn is to be encoded in intermode.
A subtractor 103 produces a signal Dn, the difference between the image Fn to be encoded and the image P. Then this image is converted by a DCT conversion in a module 104. The converted image is then quantized by a quantization module 105. Then, the images are reorganized by a module 111. An entropic encoding module 112 of the CABAC (Context-based Adaptive Binary Arithmetic Coding) type then encodes each image.
Modules 106 and 107 respectively for inverse quantization and conversion make it possible to reconstitute a difference D′n after conversion and quantization then inverse quantization and inverse conversion.
When the image is encoded in intramode, according to the module 109, an intra prediction module 108 encodes the image. An image uF′n is obtained at the output of an adder 114, as the sum of the signal D′n and of the signal P. This module 108 also receives at the input the unfiltered reconstituted image F′n.
A filtering module 110 makes it possible to obtain the filtered reconstructed image F′n from the image uF′n.
The entropic decoding module 112 transmits the encoded sections encapsulated in units of the NAL type. The NALs contain, in addition to the sections, information relating to the headers for example. The NAL-type units are transmitted to a module 113. The module 113 inserts an SEI message before transmission of the various encoded image sections to a transmission network.
The inserted SEI message complies with the SEI message described previously and illustrated in table 2.
The datastream thus constituted of encoded payload data and encoded SEI messages is transmitted to transmission means 3 for transmission to users.
The transmission means may be of different types depending on the transmission medium. The data may be transmitted by satellite, by Internet, or also by cable.
The transmission means 3 therefore format the data according to the medium, in a conventional manner known to those skilled in the art.
The data are then received by the user, either via a modem, or via a conventional receiving antenna and a tuner, or via the cable. The data are then transmitted, after having been demodulated or otherwise processed depending on the type of reception, to a decoder 4 when they are intended to be viewed directly. Otherwise, if they are intended for recording, they are recorded in an encoded manner in order to reduce the memory space necessary for recording them.
A module 209 receives the SEI messages at the input. It extracts the various SEI messages. The NALs of payload data are transmitted to an entropic decoding module 201.
Then, the data are transmitted to a reordering module 202 in order to obtain a set of coefficients. These coefficients are then subjected to an inverse quantization in the module 203 and an inverse DCT conversion in the module 204 at the output of which the D′n macroblocks are obtained, D′n being a deformed version of Dn. A predictive block P is added to D′n, by an adder 205, to reconstruct a macroblock uF′n. The block P is obtained after movement compensation, carried out by a module 208, of the preceding decoded frame, when encoding is in intermode or after intra prediction of the macroblock uF′n, by a module 207, when encoding is in intramode. A filter 206 is applied to the signal uF′n to reduce the effects of distortion and the reconstructed frame F′n is created from a series of macroblocks.
The SEI messages and the payload data at the output of the decoder 4 are transmitted to processing means 5 to be used.
The processing means 5 are controlled by means of the processor type. They make it possible to format the data depending on their destination. One of the destinations of these data may be display, the other may be storage.
When the data are intended for display on a display device 6, of the television type for example, the chaptering information originating from the SEI messages is reformatted to be inlaid on the screen. In addition to the chaptering information, additional information, transmitted in the title_info field is also displayed. This information may relate to the transmitted audio video document such as the director, the running time, the actors, the year filmed, etc.
The chaptering information and the additional information is displayed on the screen in the form of a strip at the top or bottom of the screen. It may also be masked at the user's request thanks to an appropriate user interface.
The user may browse in the document chapter by chapter thanks to an appropriate user interface, a remote control or a direct selection on the screen by clicking on various chapters for example.
When the data are intended for recording, they are transmitted to recording means 7.
The recording means 7 are responsible for formatting the received data if necessary in order to transmit them to the storage means. The recording means 7 are controlled by a processor (not shown) and a file management system that determines the location of the data in the storage means 8. In a preferred manner, the storage means 8 are of the hard disk type but they may also be of the digital versatile disk (DVD) type, memory (USB key) for example, memory card, Blu-ray disk, etc., or any optical or magnetic storage means.
The recording means driven by the file management system record the audio/video data and their chaptering information in memory spaces that may or may not be contiguous, the important thing being the ability to restore the chaptering information when restoring the audio/video data when the data is read in the storage means. The manner of storing the chaptering information with the audio/video data depends on the application and the recording device.
When the recorded data in the storage means are read in order to be viewed on the display device 6, the data are read on the hard disk 8 by the recording means 7 and transmitted to the decoder 4. They then follow the same path as the data received from the transmission network and intended for viewing without prior recording.
In a preferred manner, the decoding means 4, the processing means 5, the recording means 7 and the storage means 8 form part of the same apparatus, and typically a personal video recorder known as the PVR.
This personal video recorder receives data that are not compressed or that are compressed according to a mode other than the H.264 compression standard.
The processing means 5 receive at the input data coming from a transmitter, by means of at least one communication/transmission device and for example via satellite. The data may also be received via cable, via the Internet.
The processing means 5 transmit the audio/video data to the display means 6, as in a conventional personal video recorder.
The processing means 5 also transmit the audio/video data to an encoder 9 when a user has requested the recording of the data received on the hard disk 8.
When the data are intended for recording, they are compressed so as to take up less space on the hard disk and according to the preferred embodiment, the data are encoded according to the H.264 standard.
The data received at the input of the processing means 5 are data including chaptering information, these data being for example transmitted in a datastream of the DVB type.
In other embodiments, the chaptering information is created in the PVR. Accordingly, the PVR comprises image processing means capable of extracting a breakdown of the video into plans, in order to define chapters. The image processing means may also decide on an arbitrary division into chapters as mentioned above by dividing the video into time sections (for example 10-minute sections), with no regard for the real content.
The chaptering information is inserted into the SEI messages by the encoder 9 in the same way as they were by the encoder 2 of
During a playback of the data recorded on the hard disk 8, the data are read by the recording means 7 and transmitted to a decoder 11. The decoder 11 corresponds to the decoder described with reference to
The preferred embodiment of the invention refers to the H.264 encoding standard. However, the invention may also relate to other encoding devices in which the fields are provided for encoding information. Advantageously, the invention then makes it possible to use these fields to transmit the chaptering information.
More particularly, in the context of a personal video recorder (PVR), the user, when reading media such as DVDs, is used to having chaptering information relating to the film that he is going to view. On the other hand, when he records programmes that he receives from a transmitter and that he records, he does not have such a chaptering functionality. The invention therefore advantageously makes it possible to incorporate such information in the video datastream by adding, in the PVR, means for creating this chaptering information so that it is encoded with the video datastream during the encoding of the datastream. This allows a simple storage of the chaptering data with the video data and a simple decoding during the reading of the hard disk or more generally of the storage means, which may also be a DVD.
Number | Date | Country | Kind |
---|---|---|---|
0655129 | Nov 2006 | FR | national |