Page 1 of 1

Vlc Mosaic

Posted: 16 Apr 2012 16:59
by redskins84
Hi everybody !

I want to do a Mosaic with VLC on Ubuntu. I have create a vlm.conf
This is my configuration file

Code: Select all

################################## ## HTTP interface mosaic wizard ## ################################## # Comment the following line if you don't want to reset your VLM configuration del all # Background options new bg broadcast enabled setup bg input "/home/soufiane/background.png" setup bg output #transcode{vcodec=mp2v,vb=1000,scale=1,sfilter=mosaic}:bridge-in{offset=100}:std{access=rtp{ttl=12},mux=ts,dst=192.168.16.102:1234} option sout-all # Mosaic options setup bg option mosaic-alpha=255 setup bg option mosaic-height=400 setup bg option mosaic-width=400 setup bg option mosaic-align=5 setup bg option mosaic-xoffset=10 setup bg option mosaic-yoffset=10 setup bg option mosaic-vborder=5 setup bg option mosaic-hborder=10 setup bg option mosaic-position=1 setup bg option mosaic-rows=1 setup bg option mosaic-cols=2 setup bg option mosaic-order=chan1,chan2 setup bg option mosaic-delay=0 setup bg option mosaic-keep-picture # Input options new chan1 broadcast enabled setup chan1 input "/home/soufiane/test.avi" setup chan1 output #duplicate{dst=mosaic-bridge{id=chan1,width=95,height=200},select=video,dst=bridge-out{id=0},select=audio} new chan2 broadcast enabled setup chan2 input "/home/soufiane/mgs.avi" setup chan2 output #duplicate{dst=mosaic-bridge{id=chan2,width=95,height=200},select=video,dst=bridge-out{id=1},select=audio} # Launch everything control bg play control chan1 play control chan2 play # end of mosaic batch
When i use the command line in vlc i have these errors :

Code: Select all

[0x81c918c] vcdx access warning: Can't get file status for --mosaic-keep-picture : No such file or directory [0x81c918c] vcdx access warning: could not retrieve file info for `--mosaic-keep-picture': No such file or directory [0x81c918c] vcdx access warning: can't open nrg image file --mosaic-keep-picture for reading [0x821d794] ps demux warning: this does not look like an MPEG PS stream, continuing anyway [0x821d794] ps demux warning: garbage at input, trying to resync...

Re: Vlc Mosaic

Posted: 20 Apr 2012 09:50
by redskins84
I have self solved my problem :

This is now my config file :

Code: Select all

# Comment the following line if you don't want to reset your VLM configuration del all # Background options new bg broadcast enabled setup bg input "fake:///home/soufiane/bg.jpg" option "fake-file=/home/soufiane/bg.jpg" setup bg option sub-filter=mosaic # setup bg output #bridge-in{offset=100}:display setup bg output #transcode{vcodec=h264,vb=200,scale=0.75,sfilter=mosaic}:bridge-in{offset=80}:duplicate{dst=std{access=http{ttl=30},mux=ts,dst=192.168.16.102:1234,sap,name="bg"}} option sout-all # Mosaic options setup bg option mosaic-alpha=255 setup bg option mosaic-height=1024 setup bg option mosaic-width=768 setup bg option mosaic-align=5 setup bg option mosaic-xoffset=10 setup bg option mosaic-yoffset=10 setup bg option mosaic-vborder=5 setup bg option mosaic-hborder=10 setup bg option mosaic-position=1 setup bg option mosaic-rows=2 setup bg option mosaic-cols=2 setup bg option mosaic-order=Chan1,Chan2,Chan3,Chan4 setup bg option mosaic-keep-aspect-ratio="16:9" setup bg option mosaic-delay=10 setup bg option mosaic-keep-picture # Input options new Chan1 broadcast enabled loop setup Chan1 input http://demo:@192.168.16.13/img/video.mjpeg option "access-filter=timeshift" setup Chan1 output #duplicate{dst=mosaic-bridge{id=Chan1,width=300,height=300},select=video,dst=bridge-out{id=0},select=audio} new Chan2 broadcast enabled loop setup Chan2 input http://192.168.16.102:8085 option "access-filter=timeshift" setup Chan2 output #duplicate{dst=mosaic-bridge{id=Chan2,width=300,height=300},select=video,dst=bridge-out{id=1},select=audio} new Chan3 broadcast enabled loop setup Chan3 input http://192.168.16.102:8086 option "access-filter=timeshift" setup Chan3 output #duplicate{dst=mosaic-bridge{id=Chan3,width=300,height=300},select=video,dst=bridge-out{id=2},select=audio} new Chan4 broadcast enabled loop setup Chan4 input http://192.168.16.102:8087 option "access-filter=timeshift" setup Chan4 output #duplicate{dst=mosaic-bridge{id=Chan4,width=300,height=300},select=video,dst=bridge-out{id=3},select=audio} # Launch everything control bg play control Chan1 play control Chan2 play control Chan3 play control Chan4 play