ffmpeg command

1. 列出当前系统的设备列表

ffmpeg -list_devices true -f dshow -i dummy

2. 列出设备Integrated Camera的信息

ffmpeg -list_options true -f dshow -i video="Integrated Camera" 

3. 激活摄像头并播放

ffplay -f dshow -i video="Integrated Camera" 

4. 设置编码格式并录像到mkv文件

ffmpeg -f dshow -i video="Integrated Camera" -vcodec libx264 c:\mycamera.mkv

 

posted @ 2017-04-19 17:51  一沙世界  阅读(714)  评论(0编辑  收藏  举报