Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想从网络摄像头录制视频。我使用以下命令:
mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -ovc lavc -o webcam.avi
但是,我想同时记录 2 个网络摄像头(/dev/video0和/dev/video1)。如何?
/dev/video0
/dev/video1
这是一个答案:
mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -ovc lavc -o webcam.avi & mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video1 -ovc lavc -o webcam2.avi