Software⏱️ 3 min read📅 2026-06-15

How to Fix: Using FFmpeg to make a movie from PNG files: .WEBM with video filter blending error: Output file is empty

FFmpeg issue with video filter blending error producing empty files and messages.

Quick Answer: Use the correct syntax for the minterpolate filter, specifying both fps and mi_mode. For example: ffmpeg -framerate 0.5 -i %03d.png -vf "minterpolate=fps=30:mi_mode=blend" output.webm

The error 'Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)' occurs when using FFmpeg to create a .webm video from PNG files with video filter blending. This issue affects users who are trying to create videos from PNG files using FFmpeg and have encountered an empty output file.

This error can be frustrating as it prevents the user from achieving their desired outcome, which is to create a working .webm video. In this guide, we will walk through the root causes of this issue and provide two primary fix methods to resolve the problem.

🛑 Root Causes of the Error

  • The first main reason why this error happens is due to an incorrect filter specification in the FFmpeg command. The '-vf' option is used to specify video filters, but it requires a valid filter name or expression. In this case, the 'minterpolate' filter is being used incorrectly, which may not be supported by the VP9 codec.
  • Another possible reason for this error could be that the input PNG files do not have enough data to create a full frame. This can occur if the PNG files are not large enough or if they are not properly aligned with the desired output resolution.

🚀 How to Resolve This Issue

Using the correct filter specification

  1. Step 1: First, ensure that you are using the correct filter name or expression for the 'minterpolate' filter. In this case, the correct syntax is '-vf minterpolate=fps=:mi_mode=blend'. Replace `` with the desired frame rate.
  2. Step 2: Second, verify that the input PNG files have enough data to create a full frame. You can do this by checking the duration of each PNG file and ensuring that it matches the desired output resolution.
  3. Step 3: Third, try re-running the FFmpeg command with the correct filter specification and ensure that the output file is not empty.

Using the 'fps' option instead of '-vf minterpolate'

  1. Step 1: First, replace the '-vf minterpolate' filter with the '-fps' option. For example: `ffmpeg -framerate 0.5 -i %03d.png -fps 30 ffmpeg-framerate0.5-vfminterpolate.webm`.
  2. Step 2: Second, verify that the output file is not empty and that the video content has been successfully encoded.

💡 Conclusion

To resolve the issue of an empty .webm output file when using FFmpeg to create a video from PNG files with video filter blending, ensure that you are using the correct filter specification or consider using the 'fps' option instead. By following these steps and verifying your input files and filter specifications, you should be able to create a working .webm video.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions