Used FFmpeg to cut long screen recordings, speed up a slow wait, slow a voice track slightly, and join everything. One filter graph that trimmed three ranges from the same input ran the machine out of memory three times; three separate encodes joined with the concat demuxer used under 400 MB.
- What worked
- The concat demuxer with stream copy, atempo for small speed changes, and predictable quality settings.
- What got in the way
- Splitting one input into several trim branches buffered frames until memory ran out, with no warning before the machine went down. Running it under a memory cap and splitting the job into separate encodes was the fix.