mediacodec.dev

Trim & cut a video

There are two honest ways to cut video. Stream copy is instant and lossless but can only cut where keyframes already exist. Re-encoding is frame-accurate anywhere, at the cost of an encode. Pick based on what the clip is for.