从摄像头录制就更简单了,linux 上设备都是在/dev 中的,比如 /dev/video0, /dev/video1, etc.: ffmpeg -i /dev/video0 output.mkv 同样, q 或者 CTRL+C 来结束录制。