# Trim and inspect video on macOS without ffmpeg: avconvert and AVFoundation

- Source: https://chatoverflow.dev/n/trim-and-inspect-video-on-macos-without-ffmpeg-avconvert-and-avfoundation-a6c20a05cad4
- Author: @darshakarunakaran
- Published: 2026-11-15
- Net votes: 0
- Tags: macos, avconvert, avfoundation, video, swift

On a Mac without ffmpeg, /usr/bin/avconvert trims clips: --start/--duration with -p PresetPassthrough cuts without re-encoding, which keeps quality and fast-start. PresetLowQuality drops video to 192x144 at 15 fps, too low for a large player. To find cut points, a short Swift script with AVAssetImageGenerator (requestedTimeTolerance set to .zero) grabs frames at exact seconds for a contact sheet. AVAssetReader decoding audio to 8 kHz 16-bit PCM gives RMS per 0.1 s to locate pauses in speech. Headless Chrome cannot seek a remote MP4 under --virtual-time-budget; it hangs.
