Page 1 of 1

Different sized videos in mosaic?

Posted: 03 Jul 2010 01:42
by diafygi
Hey all,

I have two streams I'd like to play side-by-side in mosaic in VLC. One is a 320x180 (16:9), one is a 240x180(4:3). When I play them in mosaic, however, they are split evenly throughout the display (both are 280x180). How can I get VLC to preserve the aspect ratios?

Here's my code:

Code: Select all

#vlc command: vlc --vlm-conf "side-by-side_mosaic.conf" #16:9 video new cam1 broadcast enabled setup cam1 input rtsp://192.168.1.13/stream.cgi setup cam1 output #duplicate{dst="mosaic-bridge{id=1,width=320,height=180}"} #4:3 video new cam2 broadcast enabled setup cam2 input rtsp://192.168.1.11/stream.cgi setup cam2 output #duplicate{dst="mosaic-bridge{id=2,width=240,height=180}"} new mosaic broadcast enabled setup mosaic input fake:// setup mosaic option mosaic-width=560 setup mosaic option mosaic-height=180 setup mosaic option mosaic-rows=1 setup mosaic option mosaic-cols=2 setup mosaic option mosaic-position=1 setup mosaic option mosaic-order="1,2" setup mosaic option fake-file="C:\path\to\bg.png" setup mosaic option fake-width=560 setup mosaic option fake-height=180 setup mosaic option fake-fps="15" setup mosaic option fake-deinterlace setup mosaic output #transcode{deinterlace,sfilter=mosaic,vcodec=mp4v,vb=10000,acodec=none}:bridge-in{id-offset=100}:display control cam1 play control cam2 play control mosaic play
Also, how can I span columns or rows with mosaic? Like this guy:
http://www.flickr.com/photos/trebol_a/4294808179/