FFmpeg Cookbook

Timecode Converter

Convert between HH:MM:SS.mmm, total seconds, and frame numbers. Supports drop-frame timecodes.

Drop Frame
e.g. 01:23:45.678
e.g. 90.5
e.g. 2715
Timecode
Total Seconds
Frame Number
Popular uses
Match subtitles and edit pointsConvert frame numbersCheck drop-frame timing

What this tool does

  • Bidirectional conversion
  • NTSC drop-frame support
  • Shareable URL with parameters

How to use

  1. 1

    Pick input format

    HH:MM:SS / seconds / frames.

  2. 2

    Pick FPS

    23.976 / 24 / 29.97 / 30 / 59.94 / 60.

  3. 3

    Read result

    Both other formats appear automatically.

What each setting means

FPS
Frames per second. NTSC fractional rates (23.976 / 29.97 / 59.94) need drop-frame attention.
Drop-frame
Keeps NTSC timecode aligned with wall clock — used in broadcast.

Recommended settings

YouTube / SNS
30 or 60 fps, NDF
Typical web video.
Movies / drama
24 / 23.976 fps, NDF
Cinematic standards.
NTSC broadcast
29.97 fps, DF
Aligns timecode to clock time.

Common pitfalls

Symptom: Timecode drifts

Cause: Drop-frame mismatch.

Fix: Match the source DF / NDF setting.

Equivalent FFmpeg commands

Reference commands you can run on the desktop FFmpeg CLI.

Pass timecodes to FFmpeg
ffmpeg -i input.mp4 -ss 00:01:30.500 -to 00:02:00.000 -c copy output.mp4

Browser support & limits

  • Calculator only.

Privacy

This tool only does math in your browser. Inputs stay on your device — nothing is uploaded. Read the privacy policy →

Frequently asked questions

What is drop-frame?

A correction for NTSC 29.97fps that periodically skips frame numbers (not actual frames) to keep wall-clock alignment.

23.976 vs 24?

23.976 is the NTSC-friendly variant — they drift apart over long durations.

Related tools