RADIO RAMONA RUELLES
https://hackerspace.be/Radio-ruelle
http://ooooo.be/ramona/
http://ooooo.be/radio-ramona/
http://ooooo.be/ruelles/
https://hackerspace.be/Mindsynthesis
MEDIA SERVER
sudo apt-get update
sudo apt-get install icecast2 (install streaming server) http://en.flossmanuals.net/icecast/
sudo apt-get install liquidsoap
sudo apt-get install liquidsoap-plugin-all
# (building liquidsoap yourself...) http://dev.radiopiloten.de/dokuwiki/doku.php/liquidsoap:installation
LAPTOP/DEVICE/RASPBERRY PI
sudo apt-get install gstreamer-0.10 (streaming software) http://gstreamer.freedesktop.org/
# install (libraries) > good/bad/ugly #
sudo apt-get install gstreamer-tools gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-good
SCRIPT STREAM
AUDIO
gst-launch-0.10 alsasrc device=plughw:0 ! audioresample ! audioconvert ! audio/x-raw-int,rate=22050,channel=1,depth=8 ! audioresample ! audioconvert ! queue ! lame ! taginject tags="title=RADIO,artist=LIVE" ! queue ! shout2send ip=188.210.92.35 password=**** mount=ruelles.live streamname="live radio" description="transfeminist" genre="radio" port=80
****** = verbindingen en francais
VIDEO
gst-launch-0.10 oggmux name=mux ! shout2send ip=188.210.92.35 password=***** port=80 mount=variable.ogg alsasrc device="plughw:VF0770" ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! queue ! audioresample ! audioconvert ! queue ! vorbisenc quality=0 ! mux. v4l2src ! 'video/x-raw-yuv,width=320,height=240,framerate=30/1' ! videorate max-rate=1 ! theoraenc ! mux.
http://variable.constantvzw.org/define/index.php/PiEye
ssh -P 8022 root@188.210.92.35/
--------------------------------------------------------------
PREPARE AUDIO FILES FOR LIQUIDSOAP
-------------------------------------------------------------
AUDIO SOFTWARE:
apt-get install sox
ALL to mp3
for f in *.*; do sox "$f" -t mp3 -r 44100 -c 2 "$/{f%.*}.mp3"; done
mv *.mp3 mp3
----------------------------------------------------------------
-t|--type FILETYPE File type of audio
-r|--rate RATE Sample rate of audio
-c|--channels CHANNELS Number of channels of audio data; e.g. 2 = vi stereo
----------------------------------------------------------------
lltag, pudletag (tagging / title, artist, album)
------------------------
UPLOAD FILES
------------------------
cd mp3
scp -P 8022 -r *.mp3 root@188.210.92.35:/home/ruelles/audio/play/day
------------------------------------------------------------------------------------------------------------------------
CONNECT TO MEDIA SERVER + PREPARE AUDIO FILES FOR PLAYLIST LIQUIDSOAP
------------------------------------------------------------------------------------------------------------------------
ssh -p8022 root@193.22.239.27
ssh -p8022 root@188.210.92.35
fapg --format=pls --output=/home/ruelles/audio/day.pls /home/ruelles/audio/play/day
service liquidsoap force-reload
------------------------------------------------------------------------------------------------------------------------
COPY ARCHIVE SERVER TO LOCAL
------------------------------------------------------------------------------------------------------------------------
cd Desktop
scp -P 8022 -r root@193.22.239.27:/home/ruelles/archive
------------------------------------------------------------------------------------------------------------------------
service liquidsoap force-reload
http://thejackalofjavascript.com/rpi-pir-sensor-node-iot-intruder-alert/