Share this article

Improve this guide

FIX: Past duration too large error in FFmpeg

3 min. read

Updated onJuly 15, 2024

updated onJuly 15, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

FFmpeg is an open-sourcetoolthat is used by billions of people around the world for processing audio, video, and other multimedia content.

This command-line program often generatesPast Duration Too Largeerror during the downscaling or encoding video content. One of the users who experienced a similar problemreportedthe issue on StackOverflow.

When encoding H.264 using ffmpeg I get the following type of warnings:  Past duration 0.603386 too large

What do they mean? I have not found anything clear online or in the ffmpeg documentation.

It seems like it is a warning message rather than anerrorthat appears when you try to encode a high frame rate file to a low frame rate output.

The framerates are dropped in that case. Today, we will show how you can get rid of this warning message.

How do I fix the Past duration too large error in FFmpeg?

How do I fix the Past duration too large error in FFmpeg?

1. Set the input frame rate

The issue should disappear because the encoding is now done for 161/400 images. The system will delete the rest of the images.

However, if the problem still persists head towards the second solution.

2. Add Sync Flags

The situation can be frustrating if you are unable to encoding or downscaling a video. It is important to find a quick solution in that case.

Speaking of errors, another common error isInvalid data found when processing input, but we covered it in another guide, so don’t miss it.

Make sure that you are correctly following each and every step to fix this problem. Let us know in the comments section below if our solutions helped you to fix this issue.

More about the topics:audio editors,Video Editors,windows 10

Milan Stanojevic

Windows Toubleshooting Expert

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he spends most of his time learning about computers and technology.

Before joining WindowsReport, he worked as a front-end web developer. Now, he’s one of the Troubleshooting experts in our worldwide team, specializing in Windows errors & software issues.

User forum

0 messages

Sort by:LatestOldestMost Votes

Milan Stanojevic

Windows Toubleshooting Expert

Before joining WindowsReport, he worked as a front-end web developer. Now, he’s specialized in Windows errors & software issues.