Mosaic Batch File
Posted: 07 Apr 2012 04:18
I know VLC has a mosaic function, but I wanted a down and dirty way to
put up multiple video files at once, so I made a few batch files that
mosaics them on screen. I don't mind sharing. Save someone the trouble
of building from scratch.
I'll post a 9 file(320res) and a 16 file(240res).
You'll need a minimum screen res of 1024x768.
I run VLC 1.1.7 on Win7
TO USE, edit the batch file to your needs.
Edit your VLC program path. (if needed)
EG: cd \Program Files\VideoLAN\VLC\
EG: cd \Program Files (x86)\VideoLAN\VLC\
Edit your movie titles and their file path.
EG: start vlc C:\test59.mpg
Add/remove/change VLC command line statements.
EG: --video-title-show --start-time=1 --stop-time=50
I didn't include any command line audio statements because my VLC prefs has
vlc muted. You might want to do the same, otherwise all the audio plays
at once and is noisy and confusing. I mute mine by default, and have each video
continuously loop by default. I find that running them at 50% speed with the
--rate=.5 saves on the processor especially with a 16 grid of looping vids.
I have a 36 file(180res) version, but won't bother posting that.
You really need a killer machine to run 36 instances of VLC.
My quad core couldn't handle it without setting --rate=.15
Enjoy...
put up multiple video files at once, so I made a few batch files that
mosaics them on screen. I don't mind sharing. Save someone the trouble
of building from scratch.
I'll post a 9 file(320res) and a 16 file(240res).
You'll need a minimum screen res of 1024x768.
I run VLC 1.1.7 on Win7
TO USE, edit the batch file to your needs.
Edit your VLC program path. (if needed)
EG: cd \Program Files\VideoLAN\VLC\
EG: cd \Program Files (x86)\VideoLAN\VLC\
Edit your movie titles and their file path.
EG: start vlc C:\test59.mpg
Add/remove/change VLC command line statements.
EG: --video-title-show --start-time=1 --stop-time=50
I didn't include any command line audio statements because my VLC prefs has
vlc muted. You might want to do the same, otherwise all the audio plays
at once and is noisy and confusing. I mute mine by default, and have each video
continuously loop by default. I find that running them at 50% speed with the
--rate=.5 saves on the processor especially with a 16 grid of looping vids.
I have a 36 file(180res) version, but won't bother posting that.
You really need a killer machine to run 36 instances of VLC.
My quad core couldn't handle it without setting --rate=.15
Enjoy...
Code: Select all
REM *** 9 (320x240) VLC instances on one screen ***
REM Default your VLC player to MUTE AUDIO.
REM Default your VLC player to ALLOW MULTIPLE INSTANCES of VLC.
RME Edit the Path Statements for your VLC and videos.
REM Run the bat from anywhere and enjoy the previews.
REM Doubleclick one for full screen.
REM Use the mouse wheel per selection for audio volume.
REM Use the hot keys (KPplus)(KPminus)for speed changes.
REM Use the hot key N to start the video over.
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=320 --video-y=1 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=640 --video-y=1 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=240 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=320 --video-y=240 --width=320 --height=240 --video-on-top --aspect-ratio=4:3--rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=640 --video-y=240 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=480 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=320 --video-y=480 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=640 --video-y=480 --width=320 --height=240 --video-on-top --aspect-ratio=4:3 --rate=.5
Code: Select all
REM *** 16 (240x180) VLC instances on one screen ***
REM Default your VLC player to MUTE AUDIO.
REM Default your VLC player to ALLOW MULTIPLE INSTANCES of VLC.
RME Edit the Path Statements for your VLC and videos.
REM Run the bat from anywhere and enjoy the previews.
REM Doubleclick one for full screen.
REM Use the mouse wheel per selection for audio volume.
REM Use the hot keys (KPplus)(KPminus)for speed changes.
REM Use the hot key N to start the video over
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=240 --video-y=1 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=480 --video-y=1 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=720 --video-y=1 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
REM ROW 1 END ***************************************************************
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=180 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=240 --video-y=180 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=480 --video-y=180 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=720 --video-y=180 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
REM ROW 2 END ***************************************************************
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=360 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=240 --video-y=360 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=480 --video-y=360 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=720 --video-y=360 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
REM ROW 3 END ***************************************************************
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=1 --video-y=540 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=240 --video-y=540 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test77.mpg --no-video-deco --no-embedded-video --video-x=480 --video-y=540 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
cd \Program Files\VideoLAN\VLC\
start vlc C:\test59.mpg --no-video-deco --no-embedded-video --video-x=720 --video-y=540 --width=240 --height=180 --video-on-top --aspect-ratio=4:3 --rate=.5
TIMEOUT /T 1 /NOBREAK
REM ROW 4 END ***************************************************************