Tool

What Exactly Is the Difference Between 29.97 and 23.976 fps? A Fractional fps Detector

Check from ffprobe output whether your video’s r_frame_rate is 30 or 29.97 (30000/1001). The tool then calculates how far off the two drift apart over one hour if you mix them up, how to read drop-frame timecode, and which command converts the video to the fps you want. Your input is processed only inside this browser.

Command: ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate,nb_frames,duration -of default=nw=1 input.mp4

Why 29.97 and 23.976?

The exact value of 29.97 fps is 30000/1001 ≈ 29.97003 fps, 23.976 fps is 24000/1001 ≈ 23.97602 fps, and 59.94 fps is 60000/1001. Each one is an integer frame rate multiplied by 1000/1001. They are known to be carried over from the values used in North American NTSC color broadcasting, and broadcast and streaming sources and some cameras still produce them today. On screen the value is shortened to ‘29.97’, which makes it easy to confuse with the integer 30.

The difference between the two values is not noticeable at first, but it shows once time adds up. Enter 29.97 in the tool above and one hour comes to 107,892 frames (107,892.1 to be exact), while 30 fps gives 108,000 frames. Playing those 108 extra frames at 30 fps takes about 3.6 seconds. 23.976 fps is the same 1000/1001 factor, so it also differs by about 3.6 seconds per hour (87 frames when read as 24 fps).

What do you look at in ffprobe?

  • r_frame_rate: known as the stream’s ‘base’ frame rate. This is usually the value that tells you whether the fps is fractional.
  • avg_frame_rate: the average calculated from the frame count and the duration. If the two values differ a lot, suspect variable frame rate (VFR) and follow up with the VFR detector.
  • Notation like 2997/100: some files may write 29.97 as a decimal fraction. That value is very slightly different from 30000/1001, so the tool shows a separate warning.
  • ‘29.97 fps, 29.97 tbr’ in ffmpeg -i: this is rounded to a decimal, so the fraction information is lost. Use ffprobe for the exact value.

How do you read the drift table?

The ‘assumed (wrong) fps’ is the value an editor or converter ends up using instead of the file’s real fps. The tool calculates as if the video frames play at that value while the audio runs at its real speed. If you read 29.97 video as 30, the picture runs ahead by about 60 ms per minute, and after about 33 seconds it is one frame off. These numbers are the arithmetic result of the values you enter in the tool, not something measured in a particular program. Some programs stretch the audio with it, or duplicate and drop frames, and then the problem shows up as a different symptom.

If the audio has already slipped in a file, measure the offset with the sync fixer tool, and if only the subtitles are off, use the subtitle fps drift fixer. How frame times are written in a file is covered in the timestamps lesson.

What is drop-frame timecode?

If you count timecode at 29.97 fps on a 30-frame basis (non-drop, written with a colon :), the timecode number runs slower than real time. Enter 01:00:00:00 in the tool and that is frame 108,000, which actually takes 3,603.6 seconds. To reduce this gap, drop-frame (written with a semicolon ;) skips frame numbers 00 and 01 at the start of every minute, except for minutes that are multiples of 10. No video frames are deleted; only the numbers are skipped. Over one hour that skips 6×(10−1)×2 = 108 numbers, which matches the 108-frame difference above. 59.94 fps works the same way but skips 4 numbers at a time.

Drop-frame is not known to be used with 23.976 fps, so the tool calculates only non-drop for it. The tool also tells you which timecodes do not exist (for example 01:01:00;00 and ;01).

Two commands for changing the fps

  • ① setpts + atempo: changes the playback speed without discarding a single frame. A common use is a conversion whose ratio is 1000/1001, such as 23.976 → 24. The video duration changes by the same ratio, and atempo matches the audio to that ratio.
  • ② fps filter: keeps the duration and speed as they are and matches the target fps by duplicating or dropping frames. You may see stutter in fast-moving scenes.
  • Both methods re-encode. -c copy does not change the fps. After converting, check r_frame_rate again with ffprobe.

Limitations

  • The numbers on this page come from the values you enter and from arithmetic (fraction math). Actual behavior of cameras, editors and players, and the quality after conversion, were not measured directly.
  • Programs may label the ‘29.97’ entry differently as to whether it is non-drop or drop-frame, so check your project settings screen.
  • A variable frame rate file cannot be described by r_frame_rate alone. The tool calculates based on r_frame_rate.
  • Drop-frame is calculated only for 29.97 and 59.94, and timecode wrapping past 24 hours is not handled.
  • The text you enter is never sent to a server.