(1) Field of the Invention
The present invention relates to a data stream selection/output apparatus that selects a data stream out of a plurality of data streams each of which is composed of sequentially obtained data and outputs the selected data stream.
(2) Description of the Related Art
In the terrestrial television broadcasting, a program distribution system has been established. In the system, a key station distributes TV programs to a plurality of local stations, and each local station broadcasts the distributed broadcast programs according to their broadcasting schedules as well as other self-made broadcast programs and commercials. In the broadcasting, the local stations use a device called switcher. The switcher is a data stream selection/output apparatus that stops outputting a data stream of moving pictures, voices or the like and starts outputting another data stream, based on a broadcasting schedule.
Meanwhile, when a switcher selects and outputs a compressed data stream (for example, a transport stream (abbreviated as TS) conforming to the MPEG2-TS (Moving Picture Experts Group 2-Transport Stream) defined in the ISO/IEC13818), there are some matters to be taken care.
For example, when a switcher selects and outputs an elementary stream (abbreviated as ES) containing compressed image data conforming to MPEG2, a care should be taken so as not to partition the units of GOPs (Group Of Pictures). This is because such incomplete GOPs would cause a failure in the bidirectional prediction which is performed when compressed image data is decompressed. This causes irregularity in the reproduced and displayed images.
Japanese Laid-Open Patent Application No. 2001-517040, aiming to solve the above-described problem, discloses a technique in which a plurality of compressed programs are spliced together to be seamless.
The above-introduced document, however, does not disclose or suggest a matter to be dealt with when a switcher selects and outputs an elementary stream in the data broadcasting. Note that the data broadcasting is a form of digital broadcasting in which, for example, elementary streams conforming to the DSM-CC (Digital Storage Media Command and Control) protocol defined in the ISO/IEC13818-6 are broadcast. The DSM-CC protocol extends over Session Layer and Application Layer which are higher than Transport Layer in the OSI Reference Model. An elementary stream conforming to the DSM-CC protocol is composed of variable-length data blocks that are repeatedly transmitted in cycles, each data block no larger than 4 KB.
Here, if a conventional switcher, which supports only Transport Layer in the OSI Reference Model, is used to select and output an elementary stream for the data broadcasting, the broadcast elementary stream may include an incomplete section since it may partition the elementary stream in the middle of a section. If an elementary stream including such an incomplete section is broadcast, a receiving apparatus of the broadcast would recognize an MPEG standard violation and discard the section since a CRC value attached to the end of the section does not match a result of the calculation performed for the Cyclic Redundancy Checking.
It is therefore an object of the present invention to provide a data stream selection/output apparatus that prevents occurrence of MPEG standard violation when selecting and outputting an elementary stream for the data broadcasting.
The above object is fulfilled by a data stream selection/output apparatus that selects a data stream out of a plurality of data streams each of which is composed of sequentially obtained data, and outputs the selected data stream, the data stream selection/output apparatus comprising: a timing information obtaining unit operable to obtain timing information that indicates a time at which a first data stream being output is switched to a second data stream; a detecting unit operable to, in a time period including the time indicated by the timing information, scan the first data stream and the second data stream and detect a first boundary between data blocks of the first data stream and a second boundary between data blocks of the second data stream, where the data blocks conform to a transmission protocol that is higher than Transport Layer of OSI Reference Model; and a selection/output unit operable to stop outputting the first data stream at the detected first block boundary and start outputting the second data stream at the detected second block boundary.
With the above-stated construction, the data stream selection/output apparatus selects and outputs a data stream at a data block boundary conforming to a transmission protocol (for example, a section boundary conforming to the DSM-CC protocol) higher than Transport Layer of the OSI Reference Model. This prevents occurrence of MPEG standard violation that may occur when the data stream is partitioned at a block boundary in conformity with Transport Layer of the OSI Reference Model. As a result of this, a data stream that may be recognized as an MPEG standard violation is not output.
In the above data stream selection/output apparatus, the first and second data streams may be data streams generated in conformity with DSM-CC protocols, and the data blocks are sections defined in the DSM-CC protocols.
With the above-stated construction in which the data stream selection/output apparatus selects and outputs a data stream at a section boundary conforming to the DSM-CC protocol, a data stream that may be recognized as an MPEG standard violation is not output.
In the above data stream selection/output apparatus, each of the first and second data streams may contain a plurality of broadcast programs, the detecting unit detects, in the time period including the time indicated by the timing information, a boundary between broadcast programs contained in the second data stream, and the selection/output unit stops outputting the first data stream at the first block boundary as a section boundary and starts outputting the second data stream at the broadcast program boundary.
With the above-stated construction, a data stream that may be recognized as an MPEG standard violation is not output, and the second data stream is output from the start of a broadcast program.
In the above data stream selection/output apparatus, the detecting unit, in the time period including the time indicated by the timing information, may scan the first data stream and detect a boundary between broadcast programs contained in the first data stream, and the selection/output unit stops outputting the first data stream at the broadcast program boundary of the first data stream and starts outputting the second data stream at the broadcast program boundary of the second data stream.
With the above-stated construction, a data stream that may be recognized as an MPEG standard violation is not output, the first data stream stops being output with the end of a broadcast program, and the second data stream is output from the start of a broadcast program.
In the above data stream selection/output apparatus, the detecting unit may read a section length written in each section constituting the data streams, and detect a section boundary by referring to the read section length.
With the above-stated construction, section boundaries are detected.
In the above data stream selection/output apparatus, the data streams may be transport streams, and the detecting unit reads “payload_unit_start_indicator” having either a value “0” or a value “1” from each transport stream packet constituting the transport streams, detects a transport stream packet containing “payload_unit_start_indicator” having the value “1”, and recognizes the detected transport stream packet as the section boundary.
With the above-stated construction, section boundaries are detected.
In the above data stream selection/output apparatus, the detecting unit may read, in sequence for each data stream, data event identifiers which are written in, on a one-to-one basis, each section constituting the data stream, and if the detecting unit detects a data event identifier that is different from a preceding data event identifier, the detecting unit recognizes a boundary between sections that respectively contain the two data event identifiers, as a broadcast program boundary.
With the above-stated construction, broadcast program boundaries are detected.
The above data stream selection/output apparatus may further comprise a rewriting unit for judging whether the same data event identifier is written in a section of the first data stream and a section of the second data stream, and if the judgment is positive, the rewriting unit rewrites the data event identifier in the section of the second data stream to another code.
With the above-stated construction, in the data streams output from the data stream selection/output apparatus of the present invention, it does not happen that sections making up different broadcast programs have the same data event identifier.
In the above data stream selection/output apparatus, the detecting unit may read, in sequence, version numbers that are written in, on a one-to-one basis, sections constituting the second data stream, and if the detecting unit detects a version number that is different from a preceding version number, the detecting unit recognizes that the detected version number has been updated, and if the detecting unit detects the updated version number, the selection/output unit stops outputting the first data stream at the section boundary and starts outputting the second data stream starting with a section that contains the updated version number.
With the above-stated construction, the second data stream is out put starting with a section indicating an update of version.
In the above data stream selection/output apparatus, the timing information may be obtained from Event Information Table contained in each data stream.
With the above-stated construction, the data stream selection/output apparatus of the present invention obtains the timing information from EIT.
The above data stream selection/output apparatus may further comprise a data stream generating unit for generating data streams each of which is composed of a plurality of sections.
With the above-stated construction, the data stream selection/output apparatus of the present invention can select and output data streams generated by the generating unit of the data stream selection/output apparatus, as well as data streams obtained from outside.
The above object is also fulfilled by a data stream selection/output apparatus that selects a data stream out of a plurality of data streams each of which is composed of sequentially obtained data, and outputs the selected data stream, the data stream selection/output apparatus comprising: a timing information obtaining unit operable to obtain timing information that indicates a time at which a first transport stream being output is switched to a second transport stream; and a selection/output unit operable to stop outputting the first transport stream at the time indicated by the timing information, then outputting a transport stream packet containing a discontinuity indicator set to “1”, and then starting outputting the second data stream.
With the above-stated construction, where the transport stream packet containing a discontinuity indicator set to “1” indicates the discontinuity between data before and after the transport stream packet, a receiving apparatus does not detect an MPEG standard violation if it receives an elementary stream having an incomplete section from the data stream selection/output apparatus of the present invention since the discontinuity indicator is attached to the incomplete section.
The above data stream selection/output apparatus may further comprise a detecting unit operable to, in a time period including the time, scan the second data stream and detect a boundary between broadcast programs contained in the second data stream, wherein the selection/output unit stops outputting the first transport stream at the time indicated by the timing information, outputs the transport stream packet containing the discontinuity indicator set to “1”, and starts outputting the second data stream at the detected broadcast program boundary.
With the above-stated construction, a data stream that may be recognized as an MPEG standard violation is not output, and the second data stream is output from the start of a broadcast program.
The above data stream selection/output apparatus may further comprise a rewriting unit operable to rewrite a discontinuity indicator in a transport stream packet, which is to be an output start position of the second transport stream, to “1”, wherein the selection/output unit stops outputting the first transport stream at the time indicated by the timing information, and starts outputting the second data stream starting with the transport stream packet containing the discontinuity indicator rewritten by the rewriting unit.
With the above-stated construction, the first data stream stops being output at the time indicated by the timing information, and the second data stream is output starting with a transport stream packet containing a discontinuity indicator set to “1”.
The above object is also fulfilled by a control program that causes an apparatus with a CPU to perform a data stream selection/output process in which a data stream is selected out of a plurality of data streams each of which is composed of sequentially obtained data, and the selected data stream is output, the data stream selection/output process comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first data stream being output is switched to a second data stream; a detecting step for, in a time period including the time indicated by the timing information, scanning the first data stream and the second data stream and detecting a first boundary between data blocks of the first data stream and a second boundary between data blocks of the second data stream, where the data blocks conform to a transmission protocol that is higher than Transport Layer of OSI Reference Model; and a selection/output step for stopping outputting the first data stream at the detected first block boundary and starting outputting the second data stream at the detected second block boundary.
With the above-stated construction, a device that performs the data stream selection/output process by executing the above control program recorded on the recording medium of the present invention selects and outputs a data stream at a data block boundary conforming to a transmission protocol (for example, at a section boundary conforming to the DSM-CC protocol) higher than Transport Layer of 0SI Reference Model. This prevents occurrence of MPEG standard violation that may occur when the data stream is partitioned at a block boundary in conformity with Transport Layer of the OSI Reference Model. As a result of this, a data stream that maybe recognized as an MPEG standard violation is not output.
The above object is also fulfilled by a control program that causes an apparatus with a CPU to perform a data stream selection/output process in which a data stream is selected out of a plurality of data streams each of which is composed of sequentially obtained data, and the selected data stream is output, the data stream selection/output process comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first transport stream being output is switched to a second transport stream; and a selection/output step for stopping outputting the first transport stream at the time indicated by the timing information, then outputting a transport stream packet containing a discontinuity indicator set to “1”, and then starting outputting the second data stream.
With the above-stated construction, where the transport stream packet containing a discontinuity indicator set to “1” indicates the discontinuity between data before and after the transport stream packet, a receiving apparatus does not detect an MPEG standard violation if it receives an elementary stream having an incomplete section from a device that performs the data stream selection/output process by executing the above control program of the present invention since the discontinuity indicator is attached to the incomplete section.
The above object is also fulfilled by a computer-readable recording medium in which a control program is recorded, the control program causing an apparatus with a CPU to perform a data stream selection/output process in which a data stream is selected out of a plurality of data streams each of which is composed of sequentially obtained data, and the selected data stream is output, the data stream selection/output process comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first data stream being output is switched to a second data stream; a detecting step for, in a time period including the time indicated by the timing information, scanning the first data stream and the second data stream and detecting a first boundary between data blocks of the first data stream and a second boundary between data blocks of the second data stream, where the data blocks conform to a transmission protocol that is higher than Transport Layer of OSI Reference Model; and a selection/output step for stopping outputting the first data stream at the detected first block boundary and starting outputting the second data stream at the detected second block boundary.
With the above-stated construction, a device that performs the data stream selection/output process by executing the above control program recorded on the recording medium of the present invention selects and outputs a data stream at a data block boundary conforming to a transmission protocol (for example, at a section boundary conforming to the DSM-CC protocol) higher than Transport Layer of OSI Reference Model. This prevents occurrence of MPEG standard violation that may occur when the data stream is partitioned at a block boundary in conformity with Transport Layer of the OSI Reference Model. As a result of this, a data stream that may be recognized as an MPEG standard violation is not output.
The above object is also fulfilled by a computer-readable recording medium in which a control program is recorded, the control program causing an apparatus with a CPU to perform a data stream selection/output process in which a data stream is selected out of a plurality of data streams each of which is composed of sequentially obtained data, and the selected data stream is output, the data stream selection/output process comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first transport stream being output is switched to a second transport stream; and a selection/output step for stopping outputting the first transport stream at the time indicated by the timing information, then outputting a transport stream packet containing a discontinuity indicator set to “1”, and then starting outputting the second data stream.
With the above-stated construction, where the transport stream packet containing a discontinuity indicator set to “1” indicates the discontinuity between data before and after the transport stream packet, a receiving apparatus does not detect an MPEG standard violation if it receives an elementary stream having an incomplete section from a device that performs the data stream selection/output process by executing the above control program recorded on the recording medium of the present invention since the discontinuity indicator is attached to the incomplete section.
The above object is also fulfilled by a data stream selection/output method that selects a data stream out of a plurality of data streams each of which is composed of sequentially obtained data, and outputs the selected data stream, the data stream selection/output method comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first data stream being output is switched to a second data stream; a detecting step for, in a time period including the time indicated by the timing information, scanning the first data stream and the second data stream and detecting a first boundary between data blocks of the first data stream and a second boundary between data blocks of the second data stream, where the data blocks conform to a transmission protocol that is higher than Transport Layer of OSI Reference Model; and a selection/output step for stopping outputting the first data stream at the first block boundary and starting outputting the second data stream at the second block boundary.
With the above-stated construction, the above data stream selection/output method of the present invention selects and outputs a data stream at a data block boundary conforming to a transmission protocol (for example, at a section boundary conforming to the DSM-CC protocol) higher than Transport Layer of OSI Reference Model. This prevents occurrence of MPEG standard violation that may occur when the data stream is partitioned at a block boundary in conformity with Transport Layer of the OST Reference Model. As a result of this, a data stream that may be recognized as an MPEG standard violation is not output.
The above object is also fulfilled by a data stream selection/output method that selects a data stream out of a plurality of data streams each of which is composed of sequentially obtained data, and outputs the selected data stream, the data stream selection/output method comprising: a timing information obtaining step for obtaining timing information that indicates a time at which a first transport stream being output is switched to a second transport stream; and a selection/output step for stopping outputting the first transport stream at the time indicated by the timing information, then outputting a transport stream packet containing a discontinuity indicator set to “1”, and then starting outputting the second data stream.
With the above-stated construction, where the transport stream packet containing a discontinuity indicator set to “1” indicates the discontinuity between data before and after the transport stream packet, a receiving apparatus does not detect an MPEG standard violation if it receives an elementary stream having an incomplete section since the discontinuity indicator is attached to the incomplete section.
These and the other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings which illustrate a specific embodiment of the invention.
In the drawings:
The following describes a data stream selection/output apparatus of the present invention through specific embodiments thereof with reference to the attached drawings. It should be noted here that in the following description of the embodiments, the data streams processed by the data stream selection/output apparatus are elementary streams generated as data broadcasting contents by the DSM-CC protocol defined in ISO/IEC 13818-6.
Construction
As shown in
Each function of the data stream selection/output apparatus 1 is achieved when the CPU executes a program stored in the memory or the hard disk.
Each of the input buffers 101 and 102 stores elementary streams in sequence in the order it receives from outside. The stored elementary streams are output to the ES selection/output unit 103 in sequence on the FIFO (First-In First Out) basis. It is noted here that the “outside” indicates, for example, a device that receives a transport stream generated by the key station and distributes various types of elementary streams extracted from the transport stream, or an authoring apparatus that generates elementary streams as data broadcasting contents.
The ES selection/output unit 103 (i) receives, from outside, timing information that indicates a time when the selection/output is to be done, (ii) scans, in a time period including the time indicated by the timing information, two elementary streams one of which is currently output and the other is to be newly output (hereinafter referred to as stop ES and start ES, respectively), (iii) detects a boundary between broadcast programs or sections for each of the stop ES and start ES, and (iv) stops outputting the stop ES at the detected boundary of the stop ES and starts outputting the start ES at the detected boundary of the start ES. The boundaries will be described in detail later.
The ES selection/output unit 103 receives two elementary streams from the input buffers 101 and 102, selects one out of the two elementary streams, and outputs the selected elementary stream to the output buffer 105. In doing this, each elementary stream maybe treated by either the buffer processor the “through ” process. In the buffer process, the ES selection/output unit 103 temporarily stores the elementary stream in the temporary storage buffer 104, then outputs the elementary stream to the output buffer 105. In the buffer process, the ES selection/output unit 103 may convert the bit rate of the elementary stream by the bit rate conversion method disclosed in Japanese Laid-Open Patent Application No. 2001-159499 entitled “TS Bit Rate Conversion Apparatus”, before outputting it to the output buffer 105.
In the through process, the ES selection/output unit 103 outputs a received elementary stream to the output buffer 105 without temporarily storing it in the temporary storage buffer 104.
The temporary storage buffer 104 is a memory area for temporarily storing an elementary stream selected from two elementary streams transferred from the input buffers 101 and 102 in the buffer process.
The output buffer 105 is a memory area for storing the elementary stream sent from the ES selection/output unit 103. The output buffer 105 stores sections constituting the elementary stream in sequence in the order it receives, and outputs them on the FIFO basis to an outer device.
The timing information received by the ES selection/output unit 103 may be, for example, information sent from an APC (Automatic Program Controller) mounted in the same broadcasting station, or an ES selection/output trigger input into the data stream selection/output apparatus 1 in real time by the broadcasting station staff. Here the “ES selection/output trigger” is information that allows the data stream selection/output apparatus 1 to switch between elementary streams a predetermined time period after receiving the information. Alternatively, if the data stream selection/output apparatus 1 is used in a local station, the data stream selection/output apparatus 1 may obtain the timing information from a transport stream sent from the key station.
Data Structure
The data structure of the elementary streams as the data broadcasting contents will be described.
As shown in
The table ID 204 is an 8-bit field for identifying a type of the payload data.
The section length 205 is a 12-bit field for indicating a section length. The boundary between sections can be detected from the section length.
The version number 206 is a 5-bit field having a value corresponding to the value in the table ID 204: if the table ID 204 indicates the DII, the version number 206 has a value “0”; and if the table ID 204 indicates the DDB, the version number 206 has lower 5 bits of the module version. The version of the DII is managed by the transaction ID.
The payload 207 in the DII section 202 contains DII, and the payload 207 in the DDB section 202 contains DDB. The DII includes a data event ID 209, a transaction ID 210, and a plurality of MIBs (Module Info Bytes) 211 The data event ID 209 is stored in a 32-bit field called download ID. The version number of the DII is stored in a 32-bit field in the transaction ID 210 in a DSM-CC message header. The MTBs 211 are 8-bit fields each storing a module identifier. The receiving apparatus that receives and reproduces the data broadcasting contents refers to the MIBs 211 to generate modules 212 by arranging DDBs stored in the payload 207 of the DDB section 203.
The CRC 208 is a code used to perform the cyclic redundancy checking.
Operation
Now, the operation of the data stream selection/output apparatus 1 will be described.
If the data stream selection/output apparatus 1 receives the timing information from an outer device (judged as Yes in step S1), the data stream selection/output apparatus 1 scans, in a time period including the time indicated by the timing information, sections of the stop ES and start ES, and detects a boundary between sections for each of the stop ES and start ES by referring to the section length (step S2).
The data stream selection/output apparatus 1 then stops outputting the stop ES at the detected boundary of the stop ES and starts outputting the start ES at the detected boundary of the start ES (step S3). The control then returns to step S1.
Now, examples 1 and 2 will be described with reference to
The data stream selection/output apparatus 1, after receiving the timing information indicating a time t0, sets a monitoring time period spanning a certain time period before and after the time t0, and scans ES1 and ES2 in the monitoring time period.
In this example 1, both ES1 and ES2 are treated by the through process. ES1 includes sections A1, B1, B2 and others. Of these, the section A1 makes up a broadcast program A, and the sections B1 and B2 makeup a broadcast program B. Each program is identified by a data event ID contained in each section. ES2 includes sections C1, D1, D2, D3 and others. Of these, the section C1 makes up a broadcast program C, and the sections D1, D2, and D3 make up a broadcast program D.
First, the data stream selection/output apparatus 1 reads the section length from the section A1 of ES1 to detect a section boundary 401. The data stream selection/output apparatus 1 then reads the section length from the section D1 of ES2 to detect a section boundary 402.
The data stream selection/output apparatus 1 stops outputting ES1 at time t1 of the section boundary 401, and starts outputting ES2 at time t2 of the section boundary 402.
According to the procedure of example 1, an elementary stream to be output is successfully switched to another in conformity with MPEG.
In this example 2, ES1 is treated by the through process, and ES2 is treated by the buffer process. ES2 is stored in the temporary storage buffer 104 at a time t1 when the monitoring time period starts. ES1 includes sections A1, B1, B2, B3 and others. Of these, the section A1 makes up a broadcast program A, and the sections B1, B2, and B3 make up a broadcast program B. ES2 includes sections C1, C2, D1, D2 and others. Of these, the sections C1 and C2 make up a broadcast program C, and the sections D1 and D2 make up a broadcast program D.
First the data stream selection/output apparatus 1 reads the section length from the section A1 of ES1 to detect a section boundary 501. The data stream selection/output apparatus 1 then reads the data event IDs from the sections C2 and D1 of ES2 to detect a broadcast program boundary 502.
The data stream selection/output apparatus 1 stops outputting ES1 at time t2 of the section boundary 501, and starts outputting the section D1 of FS2 stored in the temporary storage buffer 104, at the time t0, starting with the broadcast program boundary 502.
According to the procedure of example 2, an elementary stream to be output is successfully switched to another in conformity with MPEG, and in addition, the broadcast program D starts to be output at the time t0.
Meanwhile, the data stream selection/output apparatus sometimes receives elementary streams after delay. In such a case, conventional TS switchers performs selection/output without considering the delay. When this happens, sections that should not be output are output to receiving apparatuses, which reproduce the received sections, causing unintended displays.
To solve this problem, the data stream selection/output apparatus of the present invention may treat both ES1 (stop ES) and ES2 (start ES) by the buffer process to detect a broadcast program boundary for each of ES1 and ES2. It the data stream selection/output apparatus detects the broadcast program boundary for ES1 earlier than that for ES2, it stops outputting ES1 at the detected broadcast program boundary of ES1 and starts outputting ES2 at the detected broadcast program boundary of ES2.
If the data stream selection/output apparatus detects the broadcast program boundary for ES2 earlier than that for ES1, it stops outputting ES1 at the next broadcast program boundary of ES1 and starts outputting ES2 stored in the buffer starting with the detected broadcast program boundary of ES2.
The second embodiment of the data stream selection/output apparatus of the present invention will be described. The data stream selection/output apparatus in Embodiment 2 is basically the same as that in Embodiment 1 except that it deals with a case where the stop and start ESS have sections containing the same data event ID.
Receiving apparatuses receiving data broadcasting programs identify each broadcast program by detecting the data event ID from each section. As a result, for example, if two different broadcast programs are composed of sections containing the same data event ID, the receiving apparatuses recognize the two broadcast programs as the same broadcast program. The data stream selection/output apparatus in Embodiment 2 prevents this problem.
In the following description, only different points from Embodiment 1 will be explained.
The ES selection/output unit 103 scans, in a time period including the time indicated by the timing information, sections of the stop and start ESs, and if it detects the same data event ID in sections of both the stop and start ESs, rewrites the data event ID in the sections of the start ES.
Operation
Now, the operation of the data stream selection/output apparatus in Embodiment 2 will be described.
If the data stream selection/output apparatus receives the timing information from an outer device (judged as Yes in step S11), the data stream selection/output apparatus scans, in a time period including the time indicated by the timing information, sections of the stop ES and start ES, and detects data event IDs and section boundaries for each of the stop ES and start ES (step S12).
In step S13, the data stream selection/output apparatus judges whether the same data event ID is written in a section of the stop ES and a section of the start ES. If the judgment in step S13 is positive, the control goes to step S14, in which the data event ID in the section of the start ES is rewritten to another one, then the control proceeds to step S15.
If the judgment in step S13 is negative, the control jumps to step S15.
In step S15, the data stream selection/output apparatus stops outputting the stop ES at the detected boundary of the stop ES and starts outputting the start ES at the detected boundary of the start ES. The control then returns to step S11.
With such an operation, the data stream selection/output apparatus outputs elementary streams composed of sections that have data event IDs appropriately indicating broadcast programs.
The second embodiment of the data stream selection/output apparatus of the present invention will be described. The data stream selection/output apparatus in Embodiment 3 differs from the data stream selection/output apparatuses in Embodiments 1 and 2 in that it does not scan sections constituting elementary streams, but adds a transport stream packet with a discontinuity indicator (abbreviated as DI) set to “1” to the output elementary stream. The transport stream packet containing a discontinuity indicator set to “1” indicates the discontinuity between data before and after the transport stream packet. With the presence of the transport stream packet containing a discontinuity indicator set to “1”, if selection/output of an elementary stream is performed in the middle of a section, the receiving apparatus does not recognize it as a violation of the MPEG standard.
Operation
Now, the operation of the data stream selection/output apparatus in Embodiment 3 will be described.
If the data stream selection/output apparatus receives the timing information from an outer device (judged as Yes in step S31), the data stream selection/output apparatus stops outputting the stop ES at the time indicated by the timing information, outputs a transport stream packet containing a discontinuity indicator set to “1”, and starts outputting the start ES (step S32). The control then returns to step S31.
Here an example will be described with reference to
The data stream selection/output apparatus stops outputting ES1 at time 601 indicated by the timing information, outputs a transport stream packet 602 containing a discontinuity indicator set to “1”, and starts outputting ES2.
Supplementary Notes
The present invention, not limited to the above embodiments, includes the following variations.
Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Therefore, unless such changes and modifications depart from the scope of the present invention, they should be construed as being included therein.
Number | Date | Country | Kind |
---|---|---|---|
2001-323711 | Oct 2001 | JP | national |
2002-169069 | Jun 2002 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5859660 | Perkins et al. | Jan 1999 | A |
5917830 | Chen et al. | Jun 1999 | A |
6038000 | Hurst, Jr. | Mar 2000 | A |
6072771 | Anderson et al. | Jun 2000 | A |
6137834 | Wine et al. | Oct 2000 | A |
6573942 | Crinon | Jun 2003 | B1 |
6751221 | Saito et al. | Jun 2004 | B1 |
6963590 | Mann et al. | Nov 2005 | B1 |
6988238 | Kovacevic et al. | Jan 2006 | B1 |
7313315 | Morris et al. | Dec 2007 | B2 |
20020023270 | Thomas et al. | Feb 2002 | A1 |
20020154694 | Birch | Oct 2002 | A1 |
Number | Date | Country |
---|---|---|
11-262002 | Sep 1999 | JP |
2001-516995 | Oct 2001 | JP |
2001-517040 | Oct 2001 | JP |
WO 9914955 | Mar 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20030079036 A1 | Apr 2003 | US |