Skip to content

Instantly share code, notes, and snippets.

@akbaryahya
Created July 7, 2020 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akbaryahya/93dd8af2b058282ac5e9523ba708af01 to your computer and use it in GitHub Desktop.
Save akbaryahya/93dd8af2b058282ac5e9523ba708af01 to your computer and use it in GitHub Desktop.
#!/bin/bash
while [ 1 ]
do
rtl_fm -M nfm -f 165.808M -g 20 -s 50k -A std -r 44.1k | ffmpeg -nostdin -hide_banner -loglevel error -f s16le -ac 1 -i pipe:0 -acodec libfdk_aac -ab 24k -content_type audio/aac -f adts icecast://merapi:backup@51.79.137.110:8010/merapi_backup1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment