How Trim video works
Cut a video to any start and end time with ffmpeg WebAssembly. Choose fast stream copy for an instant, lossless cut when frame-perfect precision is not critical, or switch to re-encode mode for exact frame-accurate trimming at the cost of extra processing time.
Speed scales with your hardware and the file size. Copy mode finishes in seconds regardless of clip length; re-encode mode processes the selected segment in real time, so a two-minute excerpt from a large file may take a minute or two on a mid-range device.