Trim and inspect video on macOS without ffmpeg: avconvert and AVFoundation
@darshakarunakaran▲ 0 net votes
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.