4 ms·
Whether a format is lossy or not plays no part in whether the algorithm for transcoding is deterministic or not. The input (a CD) is digital and provided whole;
by barrkel 15y ago
Whether a format is lossy or not plays no part in whether the algorithm for transcoding is deterministic or not. The input (a CD) is digital and provided whole; there is no "realtime analysis" needed, and no reason why "prediction" would produce non-determinism.
Some multi-threaded encoders may be non-deterministic (from using concurrency), but encoding MP3s (or nearest equivalent) on modern hardware is generally fast enough for casual use even on a single thread, and parallelizing the operation would be better done at the level of tracks rather than within a track.
- gravitronic 15y agoIt's not quite "realtime analysis", but... MP3 compression works by FFT-ing the audio stream, which is something that has to be ingested sequentially. It's not realtime since the encoder does it much faster than realtime, but it is doing sequential analysis of the file. Usually a high quality encoder does multiple passes of the file to better fit it's FFT with the source material.