In my 2x2 mosaic, I want to see every incoming stream in the native aspect ratio it has.
Means: I have a 2x2 16:9 mosaic, 3 input streams are 16:9, native, and 1 input stream is 4:3, nativ.
Now I want to see my 4:3 input in realy 4:3, not 16:9...
Any ideas?
My vlm config looks like:
Code: Select all
new RTL broadcast enabled
setup RTL input "udp://@x.x.x.x:xxxxx"
setup RTL output #duplicate{dst=mosaic-bridge{id=RTL,width=360,height=288},select=video,dst=bridge-out{id=1},select=audio}
new RTL2 broadcast enabled
setup RTL2 input "udp://@x.x.x.x:xxxxx"
setup RTL2 output #duplicate{dst=mosaic-bridge{id=RTL2,width=360,height=288},select=video,dst=bridge-out{id=2},select=audio}
new VOX broadcast enabled
setup VOX input "udp://@x.x.x.x:xxxxx"
setup VOX output #duplicate{dst=mosaic-bridge{id=VOX,width=360,height=288},select=video,dst=bridge-out{id=3},select=audio}
new n-tv broadcast enabled
setup n-tv input "udp://@x.x.x.x:xxxxx"
setup n-tv output #duplicate{dst=mosaic-bridge{id=n-tv,width=360,height=288},select=video,dst=bridge-out{id=4},select=audio}
#Background options
new bg broadcast enabled
setup bg input "fake://" option "fake-file=bg.jpg" option "fake-width=720" option "fake-height=576" option "fake-aspect-ratio=16:9"
setup bg option sub-filter=mosaic
setup bg output #transcode{vcodec=mp2v,vb=4096,scale=1,acodec=mp3,ab=192,channels=4,sfilter=mosaic}:transcode{vcodec=mp2v,vb=4096,scale=1,acodec=mp3,ab=192,channels=4,sfilter='marq{marquee=RTL-%H:%M:%S,x=180,y=260,size=16}:marq{marquee=RTL2-%d.%m.%Y,x=540,y=260,size=16}:marq{marquee=VOX,x=180,y=548,size=16}:marq{marquee=n-tv,x=540,y=548,size=16}'}:bridge-in{offset=100}:duplicate{dst=std{access=udp{ttl=128},mux=ts,dst=x.x.x.x:xxxxx}}
# Mosaic options
setup bg option mosaic-alpha=255
setup bg option mosaic-height=576
setup bg option mosaic-width=720
setup bg option mosaic-align=5
setup bg option mosaic-xoffset=0
setup bg option mosaic-yoffset=0
setup bg option mosaic-vborder=0
setup bg option mosaic-hborder=0
setup bg option mosaic-position=1
setup bg option mosaic-rows=2
setup bg option mosaic-cols=2
setup bg option mosaic-order=RTL,RTL2,VOX,n-tv
setup bg option mosaic-keep-aspect-ratio="16:9"
setup bg option mosaic-keep-picture
control bg play
control RTL play
control RTL2 play
control VOX play
control n-tv play