-
Notifications
You must be signed in to change notification settings - Fork 32
FOSDEM 2019 VOC manual draft
- mpv
- parallel-ssh
- ansible 2.7 (debian stable backports or debian buster)
- read general video manual: https://github.com/FOSDEM/video/blob/master/instructions/FOSDEM_AV_manual.pdf
- read up on ansible (see below)
- set up metal racks
- in K1105, move to server room when ready
- video team and/or general volunteers
- unpack laptops, switch(es?)
- TODO what switching hardware?
- needs? 224 ports or 148? provided by network?
- what did we use last year?
- TODO what switching hardware?
- power & network cabling
- switch, voctops, streamdumper-local, control
- take pictures of the physical setup for future documentation
- TODO who? only trusted people in the server room
- boxes with video related gear:
- specific corner?
- stack on tables?
- remove lids
- tables, chairs
- power strip
- big screen:
- straps
- x240 laptop
- mini dp to hdmi adapter
- video vlan:
- 24 port switch
Some ad-hoc commands:
- ansible --user=root -a ""
- Start the video recording on all video boxes:
ansible --user=root -a "service video-recorder start" video-box
- Check uptime on all video related boxes:
ansible --user=root -a "uptime" video-*
- You can spawn a shell before executing the command. This allows you to use pipes, chain multiple commands etc:
ansible --user=root -m shell -a "ip link | grep eth0" video-streamer-*
- Check if all boxes respond:
ansible --user=root -m ping video-box
- overview screen of 26rooms
- important urls:
- https://control.video.fosdem.org/all.html : all cams, slides, composites
- https://control.video.fosdem.org/cams.html : cams only
- https://control.video.fosdem.org/aw.html : aw only
- https://control.video.fosdem.org/h.html : h only
- https://control.video.fosdem.org/j.html : j only
- https://control.video.fosdem.org/k.html : k only
- https://control.video.fosdem.org/ua.html : ua only (TODO)
- https://control.video.fosdem.org/ud.html : ud only (TODO)
- TODO split u overview into UA <-> UD
- outsourced by Vasil to Bulgarian gang
- TODO redeploy control.video.fosdem.org
- TODO grafana with all audio monitoring, again on a big screen
- url? who? • cycle through mpv playlist (strange voctomix delays, stuttering?) ∘ create a playlist on the beforehand per type: videoboxes-slides
• check correct artwork on voctops: background.raw
• switch recording on on video boxes ∘ how to do this in parallell? parallel-ssh? ‣ grep slides.video.fosdem.org fosdem/infrastructure/ansible/hosts > videoboxes.hosts ‣ grep cam.video.fosdem.org fosdem/infrastructure/ansible/hosts >> videoboxes.hosts ‣ parallel-ssh -h videoboxes.hosts service video-recorder start
• switch on dumpers: anything to do? ∘ local ∘ remote
• restart the ingestion service on a specific video box?
• watch the pre-mixing mp4 stream from a specific video box ∘ port 8898 = to voctop? (starts slower, no point) ∘ port 8899 = to dumper? (starts immediately) ∘ mpv tcp://{{ config.room }}-cam.local:8898/?timeout=2000000 ∘ mpv tcp://{{ config.room }}-slides.local:8898/?timeout=2000000 ∘ mpv tcp://ud2120-voctop.video.fosdem.org:8899 ∘ ip to (m)dns mappings?
- BOXNAME.local, just make sure you have avahi running
- tcp://ud2120-voctop.local.... should work
• react to irc calls this is old, what should it do? ->• ffmpeg -i ~/video/varia/how_not_to_launch_a_rocket.mp4 -c copy -f mpegts 'udp://227.0.0.2:9000&overrun_nonfatal=1&buffer_size=81921024&fifo_size=178481'
TODO troubleshooting physical boxes returned (we have only 1 spare per type!) -> Mark?
TODO how to deploy a different room config to a spare box running the latest box config for another room (ansible) as quickly as possible
- edit hosts in your local checkout, set ansible_host to the IP of the target box
- ansible-playbook playbooks/site.yml -i hosts.vk --limit BOXNAME.video.fosdem.org
- update dhcp config with new MAC
- DONE
TODO how to deploy a different room config to a spare voctop running the latest voctop config for another room (TODO would require a spare voctop to be deployed)