Page 1 of 1

video wall on multiple machines

Posted: 03 May 2011 20:43
by meath0ok
Hi!

I have a multi-monitor setup with 3 different machines: 1 gentoo laptop, 1 gentoo pc and 1 windows pc. I have 3 wall screens, one on each host.
The following command is used to stream videos:

Code: Select all

EXCLUDE="! -iname *.srt ! -iname *.sub ! -iname *.idx nohup find "$VIDEOS" "$VIDEOS2" -type f $EXCLUDE -print0 | xargs -0 -s 1300000 nohup vlc -Z --sout udp:192.168.0.255 --ttl 1 --sout-udp-caching 10 1>/dev/null 2>&1 &
and to receive video on each host:

Code: Select all

# left screen nohup vlc --fullscreen --vout-filter wall --wall-cols 3 --wall-rows 1 --wall-active 0 --wall-element-aspect 5x4 --udp-caching 10 udp://@192.168.0.255 1>/dev/null 2>&1 & # middle screen nohup vlc --fullscreen --vout-filter wall --wall-cols 3 --wall-rows 1 --wall-active 1 --wall-element-aspect 5x4 --udp-caching 10 udp://@192.168.0.255 1>/dev/null 2>&1 & # right screen nohup vlc --fullscreen --vout-filter wall --wall-cols 3 --wall-rows 1 --wall-active 2 --wall-element-aspect 5x4 --udp-caching 10 udp://@192.168.0.255 1>/dev/null 2>&1 &
works so far, I was using that setup for quite a while now... but

.) I try to use "--udp-caching 10" for the videos not running out of sync too far, this does not seem to work, and I'm not sure if that's a good idea either. Sometimes the picture on one monitor gets delayed and stays delayed. By pausing and unpausing I was not able to get them in sync again. What helps is to stop and restart all three recieving vlc's.
What could you reccomend to ensure the outputs stay in sync? Maybe I need to disable timeshifting on the recieving vlc's. I don't need to pause the How to do that?
Especially when I stop one of the receiving vlc's and re-start it again, the video is always ahead. All host recieve the same broadcast packed almost simultaneously, there might be a difference in timing depending on hardware/driver/os but thats I get up to 4 seconds, sometimes even more. So there is still some vlc caching active.

.) with some filetypes I don't recieve any video (eg .flv). Maybe they have some video index table at the end of the file..? Do I need to re-encode those files in a different container format before streaming -- or is there any trick vlc could do that on the fly?

.) also I couldn't figure out how to interactively crop/aspect change the sending video (on local videos I just press 'a' or 'c' to do that)

If you want to use this setup try to stream to a multicast adress instead on a broadcast adress (if your hardware supports it, mine doesn't)

$ vlc --version
VLC media player 1.1.9 The Luggage (revision exported)
VLC version 1.1.9 The Luggage (exported)
Compiled by root on ... (Apr 30 2011 12:35:53)
Compiler: gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5)

Thanks for sharing your thoughts!
meath0ok

btw, imo this should not happen on a register form when you have to retype a password without ssh (happened on this board)... :roll:
<input type="password" value="foo" ...

Re: video wall on multiple machines

Posted: 04 May 2011 08:54
by Sorc17
What could you reccomend to ensure the outputs stay in sync?
Many VLC clients can synchronize from one source. I hear about this future but newer try/explore it.