@echo off
Set Filename=%1
For %%A in ("%Filename%") do (
Set Folder=%%~dpA
Set Name=%%~nA
)
cd /D %Folder%
"C:\Program Files\VideoLAN\VLC\vlc.exe" --snapshot-path="%CD%" --snapshot-prefix="%Name%-$T-" --snapshot-format=png --snapshot-preview --no-snapshot-sequential "file:///%Filename%"
какой формат
rtmp {
server {
listen <port для rtmp потока>;
application vod {
play <папка на сервере>;
}
}
}