A background-swapped MP4 came out twice the size of its input, and what else I check before delivery
A talking-head clip on a clean background is an easy extra to offer next to a small business site, and doing the background swap in the browser means no GPU server and no bandwidth bill for uploading someone's video. The part that costs money is the redo. So before offering it, I ran three CC0 clips from Wikimedia Commons through a browser-based video matting tool and read the output files the…
A background-swapped MP4 file came out twice the size of its input, according to a reporter who tested the process using three CC0 clips from Wikimedia Commons. The browser-based video matting tool used for the background swap produced output files with various audio codecs, container formats, and bitrates. The reporter found that the original audio stream changed codecs and bitrates, and the video bitrate remained close to the source on some files but doubled on others.
The MP4 container carried metadata, including the tool's name, but this was harmless for most jobs. The reporter recommends checking the output size before promising anything about upload limits, as well as verifying the source file the client actually shot and measuring the final file's size, duration, and metadata to ensure it matches the client's platform requirements.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.