DVR: различия между версиями

Материал из wiki.nntc.nnov.ru
Перейти к навигации Перейти к поиску
(Desktop to STREAM Windows)
(Desktop to STREAM Windows)
Строка 10: Строка 10:
 
cd c:\
 
cd c:\
 
cd Program Files (x86)\VideoLAN\VLC\
 
cd Program Files (x86)\VideoLAN\VLC\
start vlc.exe screen:// :screen-left=0 :screen-top=0 :screen-height=1080 :screen-width=1920 :screen-fps=20.0 :live-caching=300 :sout=#transcode{vcodec=mp2v,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts, ttl=1} :sout-all :sout-keep
+
start cvlc.exe screen:// :screen-left=0 :screen-top=0 :screen-height=1080 :screen-width=1920 :screen-fps=20.0 :live-caching=300 :sout=#transcode{vcodec=mp2v,vb=800,fps=20,scale=0,acodec=none}:http{dst=:8080/video.ts, ttl=1} :sout-all :sout-keep
 
exit  
 
exit  
 
</pre>
 
</pre>

Версия 23:58, 24 октября 2021

Zoneminder

VLC

Desktop to STREAM Windows

cat cam.bat
@echo off
cd c:\
cd Program Files (x86)\VideoLAN\VLC\
start cvlc.exe screen:// :screen-left=0 :screen-top=0 :screen-height=1080 :screen-width=1920 :screen-fps=20.0 :live-caching=300 :sout=#transcode{vcodec=mp2v,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

cat << 'EOF' > cam.sh
#!/bin/bash
cvlc \
screen:// \
:screen-left=0 \
:screen-top=0 \
:screen-height=1080 \
:screen-width=1920 \
:screen-fps=20.0 \
: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 \
#:screen-mouse-image=cursor.png \

EOF