Skip to content

[Feature Request] Add file size limit / warning when dropping large video files #273

@CodeWizard0909

Description

@CodeWizard0909

Overview

Reframe is an offline, in-browser video editor, so all processing happens on the client side. Currently, there is no visible file size limit on the video drop zone users can import very large files without any warning or restriction. This can lead to browser freezes, crashes, or extremely slow performance on devices with limited memory or weaker CPUs.
Adding a clear file size limit and user feedback around large files would improve stability and UX, especially for users on low–mid range machines.

Current Behavior

  1. The drop zone accepts video files of any size with no validation
  2. No file size is shown after a file is selected
  3. No warning or error is displayed for oversized files

Expected Behavior

  1. Display the file size after a video is dropped using the existing formatBytes utility
  2. Show a warning if the file exceeds a defined threshold (suggested: 2 GB)
  3. Optionally block processing entirely above a hard limit with a clear error message

Acceptance Criteria

[ ] File size is displayed once a video is loaded
[ ] A warning is shown for files exceeding the defined threshold
[ ] Uses the existing formatBytes utility (see #231)
[ ] No regression to existing drag-and-drop or file input behaviour

I am a GSSoC 2026 contributor and I'd love to work on this issue. Could you please assign it to me?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions