Blog chevron right How-to Guides

Fix Time Drift in ELAN: Alignment Troubleshooting Guide

Andrew Russo
Andrew Russo
Posted in Zoom Mar 2 · 5 Mar, 2026
Fix Time Drift in ELAN: Alignment Troubleshooting Guide

Time drift in ELAN usually happens when your media file’s timecode and playback timing don’t match the timeline ELAN expects, so annotations slowly fall out of sync as the file plays. You can often fix it by re-encoding to a constant frame rate (for video), converting audio to a stable PCM WAV, then re-linking the clean file and correcting any remaining offset. This guide walks you through the common causes, how to diagnose the type of drift you have, and practical fixes you can apply without redoing all your annotation work.

Primary keyword: fix time drift in ELAN

Key takeaways

  • Drift that gets worse over time often points to variable frame rate (VFR) video or a conversion that changed duration.
  • A constant offset (always late/early) is usually easier to fix than true drift.
  • Re-encode video to constant frame rate (CFR) and convert audio to PCM WAV to stabilize timing.
  • Diagnose first: identify whether you have (1) constant offset, (2) progressive drift, or (3) segment-level jumps.
  • Prevent problems by capturing in CFR, avoiding “mystery” transcodes, and keeping original media with your ELAN project.

What “time drift” looks like in ELAN (and why it matters)

In ELAN, “time drift” means your annotations no longer match what you hear or see, even though they were aligned earlier. It often starts subtle and becomes obvious several minutes later, like a transcript that lands early at the beginning but ends up late by the 30-minute mark.

This matters because ELAN annotations are time-based, so small timing errors can break search, export, inter-annotator checks, and downstream tasks like subtitling or forced alignment. Fixing drift early saves you from re-cutting hundreds of segments later.

Three common misalignment patterns

  • Constant offset: Everything is consistently early or late by the same amount.
  • Progressive drift: Alignment is okay at the start but gets worse over time.
  • Segment-level jumps: It’s aligned, then suddenly off after a certain point (often after an edit or a join).

Root causes of drift and misalignment

Most ELAN drift problems come from the media file rather than ELAN itself. The good news is you can usually correct the media while keeping your annotation tiers intact.

1) Variable frame rate (VFR) video

Phones, screen recorders, and conferencing tools often produce VFR video, which can play slightly differently across players and software. ELAN may display the timeline in a way that gradually diverges from how the file’s frames are actually timed.

  • Typical symptom: Progressive drift that worsens the longer the session runs.
  • Where it shows up: Smartphone .MP4, Zoom-style recordings, screen captures.

2) Conversions that changed duration or timebase

Some transcodes alter the file’s timing metadata, sample rate handling, or frame timing without you noticing. Even if the audio “sounds fine,” the file duration can shift by fractions of a second to several seconds across long recordings.

  • Typical symptom: Drift or sudden jumps after converting, trimming, or “optimizing for web.”
  • Common culprits: Export settings that resample audio, change frame rate, or apply variable bitrate in a way that affects timing.

3) Sample rate mismatches and resampling artifacts

If audio was captured at one sample rate but later interpreted or converted incorrectly, timing can skew. This is less common with modern tools, but it still appears in workflows that mix devices or legacy recorders.

  • Typical symptom: Progressive drift in audio-only files, or audio that “slides” against video.
  • Where it happens: Multi-device capture, older recorders, or inconsistent export settings.

4) Edited or joined media without matching the ELAN timeline

If you cut silence, remove a section, or stitch multiple clips into one file after you started annotating, ELAN’s annotation times may no longer match the new file. Even adding a short intro slate can create a constant offset.

  • Typical symptom: Segment-level jumps at a specific timestamp, or constant offset from the start.
  • Common scenario: Someone “cleans up” the file (trim, normalize, denoise) and overwrites the original.

Diagnose the problem first: a simple drift checklist

Before you try fixes, confirm which pattern you have and where it starts. A 10-minute diagnosis can save hours of rework.

Step 1: Pick three checkpoints

Check alignment at:

  • 00:30–01:00 (near the start)
  • midpoint (e.g., 15:00 in a 30-minute file)
  • near the end (last 2–3 minutes)

Write down how far off the annotation is at each point (for example, “about 200 ms late,” “about 2 seconds late”).

Step 2: Decide which pattern matches

  • Same error at all checkpoints: constant offset.
  • Error increases over time: progressive drift (often VFR or duration change).
  • Aligned until a timestamp, then wrong after: segment-level jump (often an edit, join, or dropped frames).

Step 3: Compare ELAN playback to a second player

Open the same media in a reliable player and compare key moments. If the file behaves differently across players, that’s a red flag for VFR or odd timing metadata.

Step 4: Inspect the media properties

Look for clues like “variable frame rate,” changing frame rate, or unusual audio sample rates. If you use ffmpeg/ffprobe, inspect frame rate mode and audio sample rate; if you do not, many media-info tools can still show whether the file is VFR.

When you see VFR or inconsistent metadata, plan to re-encode to a stable, edit-friendly format.

Practical fixes: re-encode, offset, and re-align (without starting over)

The best fix depends on your diagnosis. Start with the least destructive option, and always keep a copy of your original media and your .eaf file.

Fix 1: Correct a constant offset

If everything is consistently early or late, you can fix the project by applying an offset rather than changing every annotation by hand.

  • When to use: The error is stable across start, middle, and end.
  • How to do it safely: Duplicate your .eaf, then shift annotations by the measured amount (for example, +0.8 seconds).
  • Tip: Re-check at least two checkpoints after applying the change.

If you are unsure which tiers to shift, start with the main segmentation tier (the one that anchors other tiers) and verify dependent tiers stay aligned.

Fix 2: Re-encode VFR video to constant frame rate (CFR)

If you have progressive drift and your source is a phone/screen recording, treat VFR as the leading suspect. Converting to CFR often stabilizes timeline behavior across tools.

  • When to use: Drift grows steadily over time, especially in video-based projects.
  • What to change: Re-encode to CFR and keep the audio track intact or re-encode audio to a stable format too.
  • After re-encode: Re-link the new media in ELAN and check your three checkpoints.

If drift disappears but you still see a small constant delay, apply a small offset rather than redoing all tiers.

Fix 3: Convert audio to a stable PCM WAV

Even in video projects, you may get more reliable annotation if you extract audio to WAV and work against that for timing. PCM WAV avoids some timing quirks found in compressed formats.

  • When to use: Audio-only drift, or video projects where the audio track seems unstable.
  • How it helps: A clean WAV can make waveform display and time positioning more consistent.
  • Workflow: Extract/convert to WAV, link it as the primary audio, then verify and correct any offset.

Fix 4: Re-align by anchors (segment-level jumps)

If alignment breaks after a specific time, you likely have an edit point or a file join. You can often salvage your work by re-aligning from that point forward.

  • When to use: It’s correct up to a timestamp, then suddenly wrong.
  • What to do: Identify the exact break, then adjust annotations after that point to re-lock them to the media.
  • Practical method: Add an “anchor” annotation at a clear event (a clap, a loud word, a slide change), then shift subsequent segments to match.

If the file has multiple joins, repeat the process at each join rather than trying to apply a single global fix.

Fix 5: Replace the media with a timing-equivalent copy

If you must denoise, normalize, or compress, create a new file that keeps the exact same duration and start time as the original. Then re-link that new file in ELAN instead of overwriting the old one.

  • When to use: You need better audio quality but want to preserve timing.
  • Key rule: Don’t trim heads/tails or remove silence unless you plan to re-time annotations.
  • Validation: Confirm the start and end alignment against the same events as before.

Prevention: capture settings and file handling that reduce drift

You can avoid most ELAN drift problems by standardizing capture and keeping your media chain simple. The goal is stable timing metadata and minimal conversions.

Recommended capture settings (video)

  • Use constant frame rate (CFR): Prefer 25, 30, or 60 fps CFR over VFR.
  • Avoid “auto” frame rate modes on phones and screen recorders when possible.
  • Record a sync event: A clap or spoken countdown at the start helps you verify alignment later.

Recommended capture settings (audio)

  • Record uncompressed or lightly compressed: WAV is ideal for analysis and annotation.
  • Keep a consistent sample rate: 48 kHz is common for video workflows; 44.1 kHz is common for audio-only, but consistency matters more than the exact number.
  • Use one primary recorder when you can: Multi-device setups increase sync risk unless you slate and align carefully.

File handling rules that prevent accidental drift

  • Never overwrite your original media: Save edits as a new file with a new name.
  • Keep media and .eaf together: Use a consistent folder structure so ELAN always links the intended file.
  • Log every conversion: Write down tool, settings, and date, so you can undo a bad transcode.
  • Lock the workflow early: Decide on your “annotation master” file before you start serious segmentation.

Pitfalls to avoid when fixing drift

Some “quick fixes” make drift worse or force you into more rework later. Use these checks before and after any change.

Common mistakes

  • Fixing timing by eye without checkpoints: You may align one moment and miss worsening drift later.
  • Applying a global offset to progressive drift: It will look better at one point and worse elsewhere.
  • Trimming silence after annotation: Even small trims shift everything and can create multiple breakpoints.
  • Mixing media versions: If teammates annotate against different encodes, you can’t merge tiers cleanly.

A quick validation routine

  • Verify alignment at the same three checkpoints after any fix.
  • Scrub across the waveform around clear consonants (plosives like “p,” “t,” “k”) to spot small timing errors.
  • Export a small clip of annotations (or a short transcript excerpt) and confirm it matches in another tool if needed.

Common questions

1) Why does ELAN drift only after 10–20 minutes?

This often points to progressive drift caused by variable frame rate video or a conversion that altered duration slightly. Check whether the media is VFR and consider re-encoding to CFR.

2) If I convert MP4 to WAV, will that fix drift?

It can help if the audio track timing is the main issue, and WAV is usually more stable for waveform-based annotation. If the drift comes from video frame timing (VFR), you may still need to re-encode the video to CFR.

3) What’s the difference between offset and drift?

Offset stays the same throughout the file (everything is, for example, 0.5 seconds late). Drift grows over time (0.1 seconds late at the start, 2 seconds late near the end).

4) I fixed drift, but now some sections are still off. Why?

You may have multiple issues at once, like a constant offset plus a jump created by an edit point. Look for a timestamp where alignment suddenly changes and treat it as a separate anchor for re-alignment.

5) Can I fix drift without redoing all my tiers?

Often yes, especially for constant offset or a single jump point. Make a backup of your .eaf, then shift times or re-align from an anchor point, and keep checking start/middle/end.

6) How do I avoid drift when recording on a phone?

Use settings or apps that allow constant frame rate recording, and avoid “auto” frame rate when you can. Record a short sync event at the start, and keep the original file unchanged once annotation begins.

7) Does frame rate matter for linguistics annotation?

Yes for video-based work, because frame timing affects how software maps frames to timestamps. A stable constant frame rate makes it easier for ELAN and other tools to stay consistent over long sessions.

If you also need a clean, consistent text version of your audio to support ELAN annotation, GoTranscript offers the right solutions for researchers and teams who want reliable outputs alongside their media workflow. You can explore our professional transcription services when you need transcripts that you can align, segment, and review in ELAN.

Related services you may find useful: transcription proofreading for transcripts that need cleanup, and automated transcription when you need a fast first draft to annotate.