r/vhsdecode • • 1h ago

Archival Advice DiscMaster — Optical Media Copy, Recovery & Processing Studio

2 Upvotes

An open-source desktop application (Linux/Windows) to migrate aging VCDs, .cda audio tracks and .bin/.cue images into more up-to-date container formats, such as MP4 and FLAC.

During the development process of the processing pipeline, I encountered some interesting technical challenges regarding the use of legacy optical media:

• Video/Audio Synchronization: The MPEG-1 streams in the older VCD .dat files have lost synchronization or contain damaged sectors due to scratches, and the standard FFmpeg conversion causes the loss of synchronization.

• Directly Reading Tracks from the Files: Reading tracks without relying on operating system-level support in the form of a virtual CD-drive from .bin/.cue images.

• Merging VCD Splits: Correct merging of multiple parts of VCD without re-encoding artifacts.

If anyone here is involved in lower-level media processing, using FFmpeg options or dealing with legacy file systems:

  1. What are your approaches to compensate for the drift of timestamps in damaged MPEG-1/VCD streams?
  2. Have you faced any rare disc formats or sector errors during archiving of old media?