All 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
ECC Constraint Length
ECC Constraint Length
The number of sectors that are interleaved to combat bursty error characteristics of discs. 16 sectors are interleaved in DVD. Interleaving takes advantage of typical disc defects such as scratch marks by spreading the error over a larger data area, thereby increasing the chance that the error correction codes can conceal the error.
When films are transferred to video in preparation for DVD encoding, they are commonly run through digital processes that attempt to clean up the picture. These processes include noise reduction (DVNR) and image enhancement. Enhancement increases contrast (similar to the effect of the "sharpen" or "unsharp mask" filters in PhotoShop), but can tend to overdo areas of transition between light and dark or different colors, causing a "chiseled" look or a ringing effect like the haloes you see around street lights when driving in the rain. Video noise reduction is a good thing, when done well, since it can remove scratches, spots, and other defects from the original film. Enhancement, which is rarely done well, is a bad thing. The video may look sharper and clearer to the casual observer, but fine tonal details of the original picture are altered and lost.
Enhanced data services. Additional information in NTSC line such as a time signal.
The output of an MPEG video encoder is a video elementary stream and the output of an audio encoder is an audio elementary stream. Before being multiplexed video and audio elementary streams are packetized to form the Video PES and the Audio PES.
PES Packet structure
The packet length is variable:
packet start-code prefix (3bytes)
stream identifier (1 byte)
PES packet length (2 bytes)
optional PES HEADER (variable length)
stuffing bytes (FF) (variable length)
PES packet data bytes
The PES packets are the input of Program Stream and Transport Stream.
Encoding is the process of changing data from one form into another according to a set of rules specifiec by a codec. The data is usually a file containing audio, video or still image. Often the encoding is done to make a file compatible with specific hardware (such as a DVD Player) or to compress or reduce the space the data occupies.
Common video encoding methods are DivX, MPEG-1, MPEG-2 and MPEG-4. A common audio encoding method is MP3 although many others exist including MPEG1 audio, DTS, and Dolby Digital.
In entropy coding, also called variable length coding or Huffmann coding, the more likely values are associated to shorter codewords, while less likely values are associated to longer codewords.
Consequently, known the statistics of the event to code, provided that such statistics are representative enough, it is possible to code such event with an average number of bits lower than in fixed length coding.
So a variable number of bits is produced in the time unity, but many applications (transmission usually) need Constant Bit Rate. In this case the decoder needs a buffer, where it stores the received bits at constant bit rate and from which it gets the bits to decode at variable bit rate. The encoder must have a similar buffer for transmission and must take into account the decoder buffer size and buffer fillness so that neither overflow nor underflow occur at the decoder buffer. This is the purpose of Annex C to Specification ISO/IEC 13818-2 entitled Video buffering verifier.
The tool available to control the bit-rate is the changing of the quantiser_scale, but the rate control algorithm isn't specified and it's a responsability of the encoder.
Error Correction on optical media
ECC = Reed-Solomon Error correction Code , ECC corrects errors on the fly by rewriting the blocks within the same track.
Errors are inevitable but by means of robust error correction systems, CD and DVD can have uncorrectable error rates as low as that specified for computers, i.e., 10-12 (one uncorrectable error in one trillion). Audio applications do not require this degree of accuracy.
Sources of error: Include dropouts from the media (oxide wear, fingerprints, scratches), signal degradation (reflection, intersymbol interference, impedance mismatches, RF interference).
Measures of error: The burst length is the maximum number of adjacent erroneous bits that can be fully corrected. The bit-error rate BER is the number of error bits per total bits. Optical disk systems can handle BERs of 1:100000 to 1:10000. The block error rate BLER is the rate of block or frames per second having at least one incorrect bit. The burst error length BEL is the number of consecutive blocks in error.
Methods of correction: Goal is to introduce redundancy to permit validity checking and error detection, error correction code ECC to replace errors with calculated valid data, and error concealment to substitute approximate data for uncorrectable invalid data. Redundancy includes repeating the data, adding single-bit parity bits (to check if odd or even), checksums (e.g., weighted checksums computed modulo 11), and cyclic redundancy check code CRCC.
CRCC uses a parity check word obtained by dividing a k-bit data block by a fixed number (generation polynomial g) and appended to the data block to creat the transmission polynomial v. When the data u is received, it is divided by the same g, and the result subtracted from the original checksum to yield the syndrome c: a zero sydrome indicates no error. Error correction can be accomplished using mathematical manipulation and modulo arithmetic ... Polynomial notation is the standard terminology in the field: e.g., the fixed number 1001011 (MSB leading) is represented as 1x26 + 0x25 + 0x24 + 1x23 + 0x22 + 1x21 + 1x20 or 26 + 23+ 21 + 20. CRCC is typically used as an error pointer and other methods are used for correction.
Error correction techniques employ block codes having row and column parity (CRCC are a subclass of linear block codes), convolutional or recurrent codes (which introduce a delay), and interleaving including cross-interleaving.
Reed-Solomon R-S codes (Irving Reed and Gustave Solomon 1960) employ polynomials derived from Galois fields to encode and decode block data. They are a subclass of q-ary BCH codes which are a subclass of Hamming codes . They are especially effective in correcting burst errors and are widely used in audio, CD, DAT, DVD, direct broadcast satellite, and other apps. Cross-Interleave Reed-Solomon Code CIRC is used in CDs. It includes the use of C2 then C1 encoders (C1 then C2 on decoding). The C1 level of CIRC is meant to correct small, random errors. The C2 level corrects larger errors and burst errors. Interleaving is used between the C2 (28,24) and C1 (32,2 encoders and deinterleaving is needed on decoding. (28, 24) means 28*8 bits are output for the original 24*8 bit input and the final output is 32 8-bit words of which 8 are for "parity" and 24 are actual data. The cross-interleaving stores one C2 word in 28 different blocks spanning a distance of 109 blocks using delay lines etc., crossing the data array in two directions (thus "cross"). With audio CDs, CIRC can correct burst errors up to 3874 consecutive erroneous bits or symbols (2.5 mm track length) and can well conceal 13,282 error bits (8.7 mm) and marginally conceal 15,500 bits. The CD standard requires a block error rate BLER [the number of data blocks that have any bad symbols at the initial C1 error correction stage] of less than 220 per second averaged over 10 seconds (50 would be typical). There are 7350 blocks/sec on a CD (a block or frame, derived from 24x8=192 bits input data, is 32x8=256 bits output to modulator). The resulting CD data rate = 1.4112 Mbps (input data rate, not including parity bits added by CIRC and EFM).so the maximum Redbook BLER of 220/sec (averaged over 10 sec) allows 3% of the blocks to be erroneous. E12 is the rate of single symbol errors at the C2 encoder, which are correctable. E22 expresses the rate of double symbol errors at the C2 encoder--these are the worst but still correctable errors [the first number is always the number of errors and the second number is always the decoder level]. E32 errors are triple bit errors at C2 and are uncorrectable and require interpolation--they should not appear in a new CD and are unacceptable in a CD-ROM. Other measures of error are the E11, E21, E31. The burst error count BST combines E21 & E22 and expresses the number of consecutive C2 block errors that occur in excess of a threshold value such as 7. A new CD might typically have a raw bit error rate of 1E-5 to 1E-6, BLER = 5, E11 = 5, E22 = 0 and E31 = 0 and should never have E32 uncorrectable errors. Digital audio data can be copied with high reliability.
Error concealment includes interpolation (may be low or high order, zero order simply holds the last good value) and muting.
Credits: "Principles of Digital Audio", by Ken C. Pohlmann
A video clip, often short, used at the end of a disc. Some common extros are "change Disc" clips for multidisk volumes or credits. On a VCD you should ensure the length of the clip is at least 4 second for compliance with the specification.