How to dispose 4 windows (VLC) in mosaic with a scrip .bat
Posted: 25 Jan 2018 14:22
Hello , i am creating a script .bat to see and save 4 videos from each flux from my camera.
It works with the following command:
@echo on
cd c:\Program Files
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\1.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\1.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live2.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\2.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\2.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live3.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\3.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\3.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live4.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\4.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\4.mp4},dst=display}"
exit
Now i am trying to dispose my 4 streams in mosaic on my screen with an other command! Can you help my pls
It works with the following command:
@echo on
cd c:\Program Files
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\1.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\1.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live2.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\2.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\2.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live3.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\3.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\3.mp4},dst=display}"
start VideoLAN\VLC\vlc.exe -vvv rtsp://169.254.198.169:554/live4.sdp --sout="#std{mux=mp4,access=file,dst=d:\recording\4.mp4}" --sout="#duplicate{dst=std{mux=mp4,access=file,dst=d:\recording\4.mp4},dst=display}"
exit
Now i am trying to dispose my 4 streams in mosaic on my screen with an other command! Can you help my pls