I am on a Mac with MacOS Sierra installed. I installed ffmpeg with homebrew. I list my devices through:
ffmpeg -f avfoundation -list_devices true -i ""
which returns:
[AVFoundation input device @ 0x7fc2de40e840] AVFoundation video devices:
[AVFoundation input device @ 0x7fc2de40e840] [0] FaceTime HD Camera
[AVFoundation input device @ 0x7fc2de40e840] [1] Capture screen 0
[AVFoundation input device @ 0x7fc2de40e840] AVFoundation audio devices:
[AVFoundation input device @ 0x7fc2de40e840] [0] Built-in Microphone
I don’t need sound, so I start my 5 second screen recording through:
ffmpeg -f avfoundation -t '5' -i '1' test.mov
It creates a mov file in the working directory, but does not stop after 5 seconds. In fact, I can’t even stop recording as it suggests by pressing "q". Ctl-C does not work either, and I remain with the strength leaving the Activity Activity. I tried the same command but using device 0 (FaceTime camera) and it stops after 5 seconds.
- , : quicktime ( , - ), FaceTime QuickTime. : " ". VLC.
: (Yosemite) (, , ).