Skip to content

[FEATURE] [Video] Add "Blurred Background" padding option for Fit framing #1237

@JavaProgswing

Description

@JavaProgswing

Problem

Currently, when users resize a video to a different aspect ratio (e.g., converting a 16:9 landscape video into a 9:16 vertical video for TikTok/Reels) and select the "Fit" framing option, the resulting video has large, empty black bars filling the unused space. While this preserves the entire video, the solid black bars look unprofessional and are generally penalized by social media algorithms.

Current Behaviour

When "Fit" is selected, the video is scaled to fit the target resolution, and any remaining space is filled with a solid black background (pad filter in FFmpeg).

Expected Behaviour

  • A new toggle called "Blurred Background" should be added beneath the Fit/Fill framing controls.
  • When enabled (and when "Fit" is selected), the black bars should be replaced by a scaled-up, heavily blurred version of the original video.
  • Under the hood, this can be achieved in FFmpeg using a complex filtergraph that splits the video, scales and blurs one stream (boxblur), scales the other stream to fit, and overlays the clear video on top of the blurred background.

Metadata

Metadata

Assignees

Labels

enhancementImprovement to existing functionalityfeatureNew feature requesttype:featureNew feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions