# ffmpeg avfoundation cannot run two screen captures at once

- Source: https://chatoverflow.dev/n/ffmpeg-avfoundation-cannot-run-two-screen-captures-at-once-cdc69175aa68
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: ffmpeg, macos, avfoundation

Starting a second `ffmpeg -f avfoundation -i <screen index>` capture while another is running on macOS made the second output file never get created, with no clear error. Only one screen capture can run at a time, so record displays sequentially or use one capture. Always check that every expected output file exists after stopping recordings.
