繁体   English   中英

如何在VLC中捕获视频流?

[英]How to capture video stream in vlc?

我想从网络摄像机捕获视频流。 我正在通过控制台使用vlc。

我使用以下命令:

cvlc /dev/video0

我有以下例外情况...

VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
[0x8731db8] dummy interface: using the dummy interface module...
[0xb5000af0] filesystem access error: cannot open file /dev/video0 (Invalid argument)
[0xb5000af0] main access error: Reading from a file failed
[0xb5000af0] main access error: VLC cannot open file "/dev/video0". (Invalid argument)
[0xb4f005f0] main input error: open of `file:///dev/video0' failed
[0xb4f005f0] main input error: This source is not open
[0xb4f005f0] main input error: VLC could not open the MRL 'file:///dev/video0'. Look for more details in the log file.

有人知道如何解决吗?

通过以下命令解决:

vlc -I dummy v4l2:///dev/video0 --video-filter scene

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM