Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
documentation:hamradio:sdr:rtl_sdr:streaming:index [2021/12/10 15:23] – [Start Stream] f1sls | documentation:hamradio:sdr:rtl_sdr:streaming:index [2021/12/10 17:57] (Version actuelle) – [AUTOMATIC RECORDER] f1sls | ||
---|---|---|---|
Ligne 69: | Ligne 69: | ||
==== Next Steps ==== | ==== Next Steps ==== | ||
Now that you have an RTMP streaming server in place and a way to send audio from local airwaves to it, the possibilities are endless. This configuration allows for multiple consumers at the same time, meaning you can have multiple endpoints all accessing the radio streams. The only limitation is the available processing power for the Raspberry Pi device to take on however many concurrent connections you want to throw at it! | Now that you have an RTMP streaming server in place and a way to send audio from local airwaves to it, the possibilities are endless. This configuration allows for multiple consumers at the same time, meaning you can have multiple endpoints all accessing the radio streams. The only limitation is the available processing power for the Raspberry Pi device to take on however many concurrent connections you want to throw at it! | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== COMPLEMENTS ===== | ||
+ | <code bash> | ||
+ | rtl_fm -p 78 -s 12.5k -f 145.5M | ffmpeg -f s16le -channels 1 -sample_rate 12.5k -i pipe:0 -f flv rtmp:// | ||
+ | </ | ||
+ | |||
+ | ==== INDEPENDANT STREAM ==== | ||
+ | <code bash> | ||
+ | rtl_fm -p 78 -s 12.5k -f 145.5M | sox -traw -r12.5k -es -b16 -c1 -V1 - -tmp3 - | socat -u - TCP-LISTEN: | ||
+ | </ | ||
+ | ---- | ||
+ | <code bash> | ||
+ | rtl_fm -p 78 -s 12.5k -f 145.5M | lame -b 32 -r -s 22.050 -m m - | socat -u - TCP-LISTEN: | ||
+ | </ | ||
+ | |||
+ | ==== AUTOMATIC RECORDER ==== | ||
+ | <code bash> | ||
+ | rtl_fm -p 78 -f 145.5M -f 433.5M -l 150 -s 12k - | sox --buffer 128 -t raw -r 12k -es -b 16 -c 1 - -p sinc 200-3.5k compand 0.1,0.8 6:0,-3 | tee >(sox -p </ | ||
+ | </ |