Congress everywhere

From Hackerspace ACKspace
Revision as of 21:23, 27 December 2014 by Xopr (talk | contribs) (added VLC configs)
Jump to: navigation, search
Attention:
You are looking at an event that took place in the past
Event: Congress everywhere
Featured:
State: Planned
Start date: 2014/12/27
Start time: 10:00
End date: 2014/12/30
End time: 22:00
Contact: Vicarious or xopr
Kind: Conference
Location: ACKspace
URL: https://events.ccc.de/congress/2014/wiki/Main Page
Fee: Free
Short description: Unable to attend 31C3? Watch the 31C3 streams from our hackerspace

synopsis

Watch 31C3 live on a projector in the space, or listen to it via the phone. Phone extensions are yet to be determined (most likeley 1301 to 1306)

Xopr wrote an XBMC remote control script for streams to switch channels from within a console with just one keypress.

Also see CCC's Congress_everywhere

attending

Hint: add yourself by typing:

* ~~~

intro

  • Xopr is trying to put up multicast on 239.255.255.42, so we don't unnecessarily overload our (and CCC's) external bandwidth.
  • Streams will be on:
    • Saal 1 (native), rtp://@239.255.255.42:9001
    • Saal 2 (native), rtp://@239.255.255.42:9002
    • Saal G (native), rtp://@239.255.255.42:9003
    • Saal 6 (native), rtp://@239.255.255.42:9004
    • mosaic, rtp://@239.255.255.42 (default port 5004)
  • Note that we don't have descent accesspoints (and no QOS), so it will be choppy on wifi: use a cable
  • There are 4 streams, we have 2 rooms, 1 projector (beamer), 3 TV's (and plenty monitors) and 2 hi-fi stereos in our hackerspace.
  • The lectures take place from (about) 11:30 until 02:00, and the hackerspace closes after the last person leaves.
  • Decide per lecture which lecture we are going to watch and show it on the projector with audio via the hi-fi stereo.
  • Either watch the other streams on the two tv's but with muted audio and/or they can be watched from your laptop with headphones
  • Alternatively, you can either log on into our phone system internally, or tap in externally, and dial 1301, 1302 and 1303 for the three rooms respectively. Note that phone audio will certainly not be in sync with the video streams.
  • Workaround: watch the other streams from your laptop with headphones, or use the phone (1301-1303) to add audio as a poor man's solution.

schedule

You can find the complete schedule on: https://events.ccc.de/congress/2014/wiki/Static:Schedule And the 'Farhplan' on https://events.ccc.de/congress/2014/Fahrplan/

VLC config files

broadcast.conf

fetch 4 unicast streams and put them out as multicast

# cvlc --vlm-conf /home/xopr/Desktop/VLC/broadcast.conf
# vlc rtp://@239.255.255.42:5004

new channel1 broadcast enabled
#setup channel1 input "http://hls.stream.c3voc.de/hls/s1_native.m3u8"
setup channel1 input "http://hls.stream.c3voc.de/hls/s1_native_sd.m3u8"
setup channel1 output #rtp{mux=ts,dst=239.255.255.42,port=9001,sdp=sap://,name="Saal 1"}

new channel2 broadcast enabled
#setup channel2 input "http://hls.stream.c3voc.de/hls/s2_native.m3u8"
setup channel2 input "http://hls.stream.c3voc.de/hls/s2_native_sd.m3u8"
setup channel2 output #rtp{mux=ts,dst=239.255.255.42,port=9002,sdp=sap://,name="Saal 2"}

new channel3 broadcast enabled
#setup channel3 input "http://hls.stream.c3voc.de/hls/s3_native.m3u8"
setup channel3 input "http://hls.stream.c3voc.de/hls/s3_native_sd.m3u8"
setup channel3 output #rtp{mux=ts,dst=239.255.255.42,port=9003,sdp=sap://,name="Saal G"}

new channel4 broadcast enabled
#setup channel4 input "http://hls.stream.c3voc.de/hls/s4_native.m3u8"
setup channel4 input "http://hls.stream.c3voc.de/hls/s4_native_sd.m3u8"
setup channel4 output #rtp{mux=ts,dst=239.255.255.42,port=9004,sdp=sap://,name="Saal 6"}


control channel1 play
control channel2 play
control channel3 play
control channel4 play

saal_mosaic.conf

Pick up on the 4 multicast streams and put them in a mosaic

# run with
# cvlc --vlm-conf /home/xopr/Desktop/VLC/1-mamchenkov.conf --mosaic-width 1280 --mosaic-order "1,2,3,4" --mosaic-height 720

new channel1 broadcast enabled
setup channel1 input "rtp://@239.255.255.42:9001"
#setup channel1 output #mosaic-bridge{id=1,height=360,width=640}
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=360,width=640},select=video,dst=bridge-out{id=1},select=audio}

new channel2 broadcast enabled
setup channel2 input "rtp://@239.255.255.42:9002"
#setup channel2 output #mosaic-bridge{id=2,height=360,width=640}
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=360,width=640},select=video,dst=bridge-out{id=2},select=audio}

new channel3 broadcast enabled
setup channel3 input "rtp://@239.255.255.42:9003"
#setup channel3 output #mosaic-bridge{id=3,height=360,width=640}
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=360,width=640},select=video,dst=bridge-out{id=3},select=audio}

new channel4 broadcast enabled
setup channel4 input "rtp://@239.255.255.42:9004"
#setup channel4 output #mosaic-bridge{id=4,height=360,width=640}
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=360,width=640},select=video,dst=bridge-out{id=4},select=audio}


new mosaic broadcast enabled
setup mosaic input "file:///home/xopr/Desktop/VLC/ACKbg-1280x720.jpg"
setup mosaic option image-duration=-1
setup mosaic option image-fps=24/1
setup mosaic option mosaic-rows=2
setup mosaic option mosaic-cols=2
setup mosaic option mosaic-position=1
setup mosaic output #transcode{sfilter=mosaic,vcodec=mp2v,vb=500,scale=1}:bridge-in{delay=400,id-offset=100}:display
setup mosaic output #transcode{sfilter=mosaic,vcodec=mp2v,vb=500,scale=1}:bridge-in{delay=400,id-offset=100}:rtp{mux=ts,dst=239.255.255.42,port=5004,sap,name="Mosaic"}

control channel1 play
control channel2 play
control channel3 play
control channel4 play
control mosaic play

Links