Skip to content

[BUG] Inaccurate export size prediction for the GIF format #795

@Vagventure

Description

@Vagventure

Bug description
The estimated export file size calculation for the newly added GIF format is inaccurate. It dramatically underpredicts the final file size because GIFs do not utilize the same temporal compression algorithms as standard video containers (like MP4 or WebM), resulting in actual files that are significantly larger than estimated.

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to the export settings panel.
  2. Upload any short video clip.
  3. Select "GIF" from the Export Format dropdown menu.
  4. See the "Estimated size" field display a low estimate, then export the file and observe that the actual output file size is much larger.

Expected behavior
The estimateExportSize utility should factor in a higher data-rate multiplier or a distinct calculation branch for the GIF format type so that the "Estimated size" label gives users an accurate expectation of the final asset size.

Actual behavior
The estimation logic uses the standard video bitrate parameters, causing it to display an inaccurately small estimated size for GIF exports.

Browser and OS info

  • OS: Windows 11 / macOS 14
  • Browser: Chrome / Firefox / Safari
  • Version: Latest

Video format (if relevant)

  • Input video format: MP4 / WebM
  • Export preset used: Custom / Short Clip
  • File size: Varied (GIF output is bloated compared to prediction)

Screenshots/screen recording

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctlytype:bugBug fix

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions