# Project: Lossless A/V Sync Marker Tool ## Goal Build a Linux desktop GUI app — think "LosslessCut, but for fixing audio/video sync" — that lets a user: 1. Load a video file (it has both a video track and an audio track, currently out of sync with each other). 2. Scrub the video track to a specific frame where a known event happens (e.g. a clap, a flash, a beep) and click "Mark Video". 3. Scrub the audio track to the same event and click "Mark Audio". 4. The app computes the offset between the two markers (in ms). 5. The app exports a new file with the audio shifted to match the video, **losslessly** (stream copy, no re-encoding) via ffmpeg. This replaces a manual workflow of: scrub in a player, write down two timestamps, subtract them by hand, then run an ffmpeg command with `-itsoffset`. ## Why frame-accurate scrubbing matters Sync events are often only 1-2 frames wide. HTML5 `