增加 VLC Camera Stream 服务.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
03cbc5e80b
commit
d9bb3f7c87
|
@ -0,0 +1,9 @@
|
|||
# VLC Camera Stream 服务
|
||||
|
||||
VLC 命令行访问摄像头并重定向到 HTTP 服务命令如下(适当更换 video0):
|
||||
|
||||
```sh
|
||||
vlc v4l2:///dev/video0 input_stream --sout="#transcode{vcodec=WMV2,vb=800,acodec=wma2,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=asf,dst=:8004/}" --no-sout-all
|
||||
```
|
||||
|
||||
如果不知道参数,也可以在 VLC->Media->Stream->Capture Device 中选择 /dev/video0,之后 Add HTTP,将会生成参数([参考](https://my.oschina.net/lanshu/blog/732870))。
|
Loading…
Reference in New Issue