However, in the above-mentioned method such that the bitstream obtained by high efficiency compression coding is further coded to an error correction and / or detection code and then transmitted and / or stored, there exists a problem in that it is difficult to combine this method with a resynchronization method for recovering a synchronization when synchoronization-loss occured due to an erroneous bistream word caused by the transmission and / or storage medium.
In the case of the general error correction and / or detection coding method however, it is difficult to construct the
code word in such a way that a specific bit pattern will not appear.
On the other hand, when the bit pattern the same as the synchronization code appear, pseudo-synchronization may occur due to an erroneous detection of the synchronization code.
In this method however, when the bitstream having an error is transmitted and / or stored, since there exists a possibility that the stuffing bits are also inserted erroneously, there still exists another problem in that an additional synchronization-loss or pseudo-synchronization may occur.
Further, when the bitstream is coded for error correction and / or detection and further the synchronization code is inserted, in the conventional method, since many
insertion bits must be added to the bitstream at the last portion of a synchronization block sandwiched between two synchronization codes in order to compensate for a remainder of the information bits to be coded for error correction and / or detection, there arises another problem in that the coding efficiency is lowered.
Therefore, when the error correction and / or detection capability is simply increased, there arises another problem in that a transmission path of higher
transmission rate is required or that the number of bits of information to be stored is increased.
Further, when the
transmission rate or the storage capacity is the same, the quantity of information to be transmitted and / or stored decreases with increasing redundancy.
As a result, in the case where audio and video information are compression-coded at a high efficiency and then transmitted and / or stored, if the redundancy is simply increased to increase the error resistance, as far as the transmission and / or storage rate is the same, since the information must be compression-coded down to a lesser
information quantity, there causes another problem in that the audio quality and picture quality both deteriorate.
However, in the above-mentioned method of switching the error correction and / or detection codes by adding the header information, however, there arises a problem in that the number of bits of the bitstream to be transmitted and / or stored increases due to the addition of the header information.
In the case where audio or video signals are compression-coded, since some bits are used for the header information, the number of bits used for the compression-coding audio or video signals is inevitably reduced, with the result that the audio quality and / or the picture quality inevitably deteriorates.
Further, when the stuffing bits are inserted to prevent the pseudo-synchronization, there arises another problem in that the synchronization-loss and the pseudo-synchronization occur due to erroneous insertion of the stuffing bits.
Further, when the bitstream is coded for error correction and / or detection and further the synchronization code is inserted, in the conventional method, since a relatively large number of bits must be inserted to compensate for the remainder of the information bits to be coded for error correction and / or detection at the last portion of the synchronization block, there arises a problem in that the coding efficiency deteriorates.
Further, in the case of the coding and / or decoding apparatus in which the error correction and / or detection codes of different error correction and / or detection capabilities are switched by adding header information, since the number of bits to be transmitted and / or stored increases due to the addition of the header information, when audio or video signals are compression-coded at a high efficiency and then transmitted and / or stored, the
information quantity used for audio or video information inevitably decreases, with the result there exists a problem in that the audio quality and the
video quality both deteriorate.