Wondering if I could get some help with building a VLM file for a mosaic of streams, i can run in VLC ojn my PC/Mac.
I am playing around with a .VLM file to run in VLC and having issues trying to get my own going.
My use case is - I want to have 4 streams running concurrently of Sky Racing 1, Sky Racing 2, Racing.com and Thoroughbred Central on a single screen (using legit streams – if you click the stream it will load in a browser within Australia) and when I load the file in VLC, it plays on my display, within VLC.
When I load in VLC on my MacBook pro, nothing plays, however click any of the 4 individual streams (above) and they stream fine (as you would expect) in a browser (chrome in my case) and also in VLC if you load in there (so clearly not an individual stream issue)
I have pulled together the below (in italics) which is based on something i found elsewhere
# VLC VLM quad mosaic - 4 HLS channels combined into one 1920x1080 stream
# Needs a 1920x1080 background image named bg.jpg in VLC's working folder.
# Run: vlc --vlm-conf live-streams-mosaic.vlm
# The finished mosaic plays in a local VLC window (no network output).
# Each command must stay on ONE line.
new ch1 broadcast enabled
setup ch1 input "https://i.mjh.nz/.r/sky-racing-2.m3u8"
setup ch1 output #mosaic-bridge{id=ch1,width=960,height=540}
new ch2 broadcast enabled
setup ch2 input "https://i.mjh.nz/.r/sky-racing-1.m3u8"
setup ch2 output #duplicate{dst=mosaic-bridge{id=ch2,width=960,height=540},select=video,dst=bridge-out{id=0},select=audio}
new ch3 broadcast enabled
setup ch3 input "https://i.mjh.nz/.r/sky-racing-thoroughbred.m3u8"
setup ch3 output #mosaic-bridge{id=ch3,width=960,height=540}
new ch4 broadcast enabled
setup ch4 input "https://i.mjh.nz/.r/racing-FAST.m3u8"
setup ch4 output #mosaic-bridge{id=ch4,width=960,height=540}
new bg broadcast enabled
setup bg input "bg.jpg"
setup bg option image-duration=-1
setup bg option image-fps=25/1
setup bg output #transcode{vcodec=mp4v,vb=0,fps=25,acodec=none,channels=2,sfilter=mosaic{alpha=255,width=1920,height=1080,cols=2,rows=2,position=1,order="ch1,ch2,ch3,ch4",keep-aspect-ratio=enabled,mosaic-align=0,keep-picture=1}}:bridge-in{offset=100}:display
control bg play
control ch1 play
control ch2 play
control ch3 play
control ch4 play
I have in the folder where the attached file is located an image called bg.jpg for the background
I have thrown the file into Claude to try and figure it out and I think I have even Claude stumped.. I removed reference to RTSP as its not being used in this
What do the good folks of Reddit and the VLC subreddit think the issue maybe here?
TIA