linux mplayer_如何在Linux上使用MPlayer捕获相机照片/视频?

linux mplayer

How to capture camera photo/video using MPlayer on Linux?

如何在Linux上使用MPlayer捕获相机照片 /视频?

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或更大。

Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。

翻译自: https://www.systutorials.com/how-to-capture-camera-photo-video-using-mplayer-on-linux/

linux mplayer

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值