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.
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 (
padfilter in FFmpeg).Expected Behaviour
boxblur), scales the other stream to fit, and overlays the clear video on top of the blurred background.