DVR: различия между версиями
Перейти к навигации
Перейти к поиску
Vovan (обсуждение | вклад) (→Desktop to STREAM Windows) |
Vovan (обсуждение | вклад) |
||
(не показано 7 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
=Zoneminder= | =Zoneminder= | ||
+ | |||
+ | git clone https://github.com/ZoneMinder/zmdockerfiles.git | ||
+ | |||
+ | docker-compose up -d | ||
+ | |||
+ | |||
+ | Goto in browser: | ||
+ | |||
+ | http://localhost:7878/ | ||
+ | |||
+ | =rtmp-hls streaming server= | ||
+ | |||
+ | https://hub.docker.com/r/alqutami/rtmp-hls | ||
=VLC= | =VLC= | ||
==Desktop to STREAM Windows== | ==Desktop to STREAM Windows== | ||
+ | |||
+ | http://<windows-ip>:8080/video.ts | ||
+ | |||
+ | file | ||
+ | |||
+ | cam.bat | ||
<pre> | <pre> | ||
− | |||
@echo off | @echo off | ||
cd c:\ | cd c:\ | ||
cd Program Files (x86)\VideoLAN\VLC\ | cd Program Files (x86)\VideoLAN\VLC\ | ||
− | start | + | start vlc.exe screen:// :screen-left=0 :screen-top=0 :screen-height=910 :screen-width=1920 :screen-fps=20.0 :screen-mouse-image=cursor.png :sout=#transcode{vcodec=h264,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts,ttl=1} :sout-all :sout-keep |
− | exit | + | exit |
</pre> | </pre> | ||
==Desktop to STREAM GNU/Linux== | ==Desktop to STREAM GNU/Linux== | ||
+ | |||
+ | http://<gnu-linux-ip>:8080/video.ts | ||
<pre> | <pre> | ||
Строка 26: | Строка 46: | ||
:screen-width=1920 \ | :screen-width=1920 \ | ||
:screen-fps=20.0 \ | :screen-fps=20.0 \ | ||
+ | :screen-mouse-image=cursor.png \ | ||
:live-caching=300 \ | :live-caching=300 \ | ||
:sout='#transcode{vcodec=h264,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts,ttl=1}' \ | :sout='#transcode{vcodec=h264,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts,ttl=1}' \ | ||
Строка 32: | Строка 53: | ||
#:screen-follow-mouse \ | #:screen-follow-mouse \ | ||
− | |||
EOF | EOF | ||
</pre> | </pre> | ||
+ | |||
+ | =Links= | ||
+ | |||
+ | https://vacadem.ru/blog/test-lab/vlc-video-lan-desktop.html |
Текущая версия на 22:38, 26 октября 2021
Содержание
Zoneminder
git clone https://github.com/ZoneMinder/zmdockerfiles.git
docker-compose up -d
Goto in browser:
http://localhost:7878/
rtmp-hls streaming server
https://hub.docker.com/r/alqutami/rtmp-hls
VLC
Desktop to STREAM Windows
http://<windows-ip>:8080/video.ts
file
cam.bat
@echo off cd c:\ cd Program Files (x86)\VideoLAN\VLC\ start vlc.exe screen:// :screen-left=0 :screen-top=0 :screen-height=910 :screen-width=1920 :screen-fps=20.0 :screen-mouse-image=cursor.png :sout=#transcode{vcodec=h264,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts,ttl=1} :sout-all :sout-keep exit
Desktop to STREAM GNU/Linux
http://<gnu-linux-ip>:8080/video.ts
cat << 'EOF' > cam.sh #!/bin/bash cvlc \ screen:// \ :screen-left=0 \ :screen-top=0 \ :screen-height=1080 \ :screen-width=1920 \ :screen-fps=20.0 \ :screen-mouse-image=cursor.png \ :live-caching=300 \ :sout='#transcode{vcodec=h264,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts,ttl=1}' \ :sout-all \ :sout-keep #:screen-follow-mouse \ EOF