回答

0

我从来没有使用你的软件,但快速搜索后,它看起来好像你可以修改下面的指令在你motion.conf配置文件:

############################################################ 
# HTTP Based Control 
############################################################ 

# TCP/IP port for the http server to listen on (default: 0 = disabled) 
webcontrol_port 8081 

更改该端口80。这将阻止您必须在URL中指定端口。

请注意,在Unix系统将不允许非超级(root)以外的任何人对端口号< 1024启动的服务,所以你需要为root运行应用程序,或者与sudo。虽然这可能会导致严重的安全问题,但我不建议采用这种方法,除非您非常确信这是在私人和/或安全的网络上。

0

您可以配置流是这样的:

cvlc v4l2:// v4l2-dev=/dev/video0 --sout '#standard{access=http,mux=ts,dst=:8080}' :demux=h264 

cvlc v4l2:// v4l2-dev=/dev/video0 --sout '#standard{access=http,mux=ts,dst=:8080/cam1}' :demux=h264 

cvlc v4l2:// v4l2-dev=/dev/video0 --sout '#standard{access=http,mux=ts,dst=/cam1}' :demux=h264 
你要照顾的最后一个例子

80端口可用上你的系统。它通常由网络服务器使用。