totoro/transmitir

11 lines
268 B
Text
Raw Permalink Normal View History

2022-03-24 21:18:04 +00:00
#!/bin/bash
source /etc/transmisor.conf
ffmpeg -loglevel quiet \
-f alsa -i default:CARD=Device \
-c:a libvorbis -b:a 96K -content_type audio/ogg \
-rw_timeout 20000000 \
"icecast://source:${PASSWORD}@${SERVER}:${PORT}/${SOURCE}" &
echo $! > /tmp/transmitir.pid