first of all, i'm sorry for my poor english (french guy) but i'll try to be understandable ...
I'm trying to create a mosaic from different video flows. That"s working, but with only 4 pictures, the CPU usage is 100% and pictures are freezing, jerking etc... (DAMNED!) that's pretty strange, because i saw some people putting 20 pictures on a mosaic with VLC and that's workig good...
So ... if someone here can help me to resolve my problem... that should be very nice!
by the way, the computer is an old PIV 2.4Ghz with 1Go RAM and the graphic card is an ASUSTeck with an nVidia 4600 chipset and 128Mo of memory and of course with a linux fedora core 6 and VLC 0.8.6.a-1 (livna repo)
here is my mosaic.sh :
Code: Select all
vlc -I telnet -V display --no-skip-frames --no-drop-late-frames --ttl 12 --udp-caching 900 --no-audio --vlm-conf /home/Arafel/vlc/mosaic.conf -vvv
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:" option "fake-file=/home/Arafell/vlc/black.png"
setup bg option sub-filter=mosaic
# setup bg output #bridge-in{offset=100}:display
setup bg output #transcode{vcodec=mp4v,vb=3072,scale=1,sfilter=mosaic}:bridge-in{offset=100}:duplicate{dst=display,dst=std{access=udp{ttl=12},mux=ts,dst=239.255.10.10:1234,sap,name="bg"}} option sout-all
# Mosaic options
setup bg option mosaic-alpha=255
setup bg option mosaic-height=288
setup bg option mosaic-width=360
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-delay=0
setup bg option mosaic-keep-picture
# Input options
new Chan1 broadcast enabled
setup Chan1 input "udp://@239.255.10.1:10001" option "access-filter=timeshift"
setup Chan1 output #duplicate{dst=mosaic-bridge{id=Chan1,width=175,height=141},select=video,dst=bridge-out{id=0},select=audio}
new Chan2 broadcast enabled
setup Chan2 input "udp://@239.255.10.1:10002" option "access-filter=timeshift"
setup Chan2 output #duplicate{dst=mosaic-bridge{id=Chan2,width=175,height=141},select=video,dst=bridge-out{id=1},select=audio}
new Chan3 broadcast enabled
setup Chan3 input "udp://@239.255.10.1:10003" option "access-filter=timeshift"
setup Chan3 output #duplicate{dst=mosaic-bridge{id=Chan3,width=175,height=141},select=video,dst=bridge-out{id=2},select=audio}
new Chan4 broadcast enabled
setup Chan4 input "udp://@239.255.10.1:10004" option "access-filter=timeshift"
setup Chan4 output #duplicate{dst=mosaic-bridge{id=Chan4,width=175,height=141},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
# end of mosaic batch
what else ... ?
If you have any question, just ask...
and i thank you by advence...
Arafel