linux mplayer
How to capture camera photo/video using MPlayer on Linux?
You can watch the video from the camera by MPlayer:
您可以通过MPlayer观看来自摄像机的视频:
# mplayer tv://
Note that you need the root
privilege to play the tv://
.
请注意,您需要具有root
特权才能播放tv://
。
You can use mplayer to capture photos by:
您可以使用mplayer通过以下方式捕获照片:
# mplayer -vo png -frames 3 tv://
If will store files 0000000{1..3}.png in the current directory. You may need to change the frame numbers from 3 to 1 or larger ones depending on the camera initialization time on your machine.
如果将在当前目录中存储文件 0000000 {1..3} .png。 根据机器上相机的初始化时间,您可能需要将帧号从3更改为1或更大。
翻译自: https://www.systutorials.com/how-to-capture-camera-photo-video-using-mplayer-on-linux/
linux mplayer