Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

3D

INTERN

ADOBE

ARDUINO

BITBUCKET

DOCKER

C4D

GIT

HTML

IPHONE

JAVASCRIPT

JTL-SHOP

LARAVEL

MAGENTO2

MYSQL

PHP

PLESK

PROCESSING

PYTHON

SUITECRM

SEO

TRYTON

THUNDERBIRD / ICEDOVE / FossaMail

TYPO3

TYPO3: BACKEND

TYPO3: TYPOSCRIPT

UNIX

VLC

VVVV

WINDOWS

WINDOWS 10

WORDPRESS

XAMPP

XT:C 4 (Veyton)

vlc-synchronise-via-network

VLC synchronise playback via network (Netsync)

VLC: Open up one RTSP Stream and play it back on several Clients therefore create a Multiscreen

Version used: VLC 2.1.5

SERVER (make rtsp Stream)
$ vlc myfile.mp4 :sout=#duplicate{dst=rtp{sdp=rtsp://:8554/foo},dst=display} :sout-keep
CLIENTS (play rtsp stream, and display tile of video-wall)
$ cvlc --video-splitter=wall --wall-cols=3 --wall-rows=3 --wall-active=0 rstp://192.168.1.1:8554/foo

cvlc starts vlc without GUI

when starting vlc through ssh you should define the DISPLAY:

$ export DISPLAY=:0
$ cvlc --video-splitter=wall --wall-cols=3 --wall-rows=3 --wall-active=0 rstp://192.168.1.1:8554/foo

or in vlc command directly:

$ cvlc --video-splitter=wall --wall-cols=3 --wall-rows=3 --wall-active=00 --x11-display :0 rstp://192.168.1.1:8554/foo

but the fullscreen display of a tile is not working

the fullscreen display of video-splitters is broken not implemented but we can use 'maximus' to have the video-tile maximised

FROM vanilla lmde to the workaround

:!: think before using any of those steps :!:

on each local machine

$ su root
$ aptitude install ssh maximus openbox lightdm feh

Explanation:

  • ssh (doesnt ship with vannilla lmde)
  • maximus (needed to make vlc tile fullscrenn)
  • openbox (super-lightweight x11 desktop and we can write confuguration in .conf files not binary)
  • lightdm (conf with conf file)
  • feh (set background picture for openbox)

then, finnaly a test

$ cvlc --video-splitter=wall --wall-rows=3 --wall-cols=3 --wall-active=0 https://www.youtube.com/watch?v=LYp3qGEeSKA --no-audio

and the setup for convenient usage

$ echo -e "1" >> ~/tile-number.txt
$ echo -e "192.168.1.100:8554/foo" >> ~/listenTo.txt
$ vi ~/config/openbox/autostart
TILE_NO=`cat ~/tile-number.txt`
LISTEN_TO=`cat ~/listenTo.txt`
cvlc $LISTEN_TO --video-splitter=wall --wall-rows=3 --wall-cols=3 --wall-active=$TILE_NO --no-audio
  • now: after login into openbox (which you can set to autologin)
  • vlc gets started without gui and in fullscreen showing the tile you've given in tile-number.txt
  • you could easily distribute a new stream address by changing the listenTo.txt e.g with ansible for all tile-machines
LIMITATIONS / DISADVANTAGES
  • stream must be running at reachable address, when you boot up the tiles
  • if you stop sending the stream cvlc will also stop waiting for updates and be killed
  • so on-the-fly changing of content etc, is another challenge
vlc-synchronise-via-network.txt · Zuletzt geändert: 2015/02/12 16:51 von admin