Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.
Both sides previous revision Predchádzajúca revízia | |||
linux:rtl-sdr-streaming [2018/02/21 21:14] ma3x Add mp3 streaming with ffstream |
linux:rtl-sdr-streaming [2018/02/21 21:20] (aktuálne) ma3x |
||
---|---|---|---|
Riadok 3: | Riadok 3: | ||
===== RTP stream ===== | ===== RTP stream ===== | ||
- | when is -M modulation set to fm, -s means width of modulation and it has to be the same as first -ar which measn sample rate of source. | + | When is -M modulation set to fm, -s means width of modulation and it has to be the same as first -ar which measn sample rate of source. |
+ | RTP needs to by pointed to special sever machine where we can listen. | ||
<code> | <code> | ||
Riadok 9: | Riadok 10: | ||
</code> | </code> | ||
- | rtp usable for streaming inside of network. | + | Put link to VLC playlist: |
+ | <code> | ||
+ | rtp://192.168.1.103:1234 | ||
+ | </code> | ||
+ | |||
+ | pros: | ||
+ | * uncompressed | ||
+ | cons: | ||
+ | * not tested via internet | ||
===== mp3 stream ===== | ===== mp3 stream ===== | ||
Riadok 133: | Riadok 142: | ||
rtl_fm -f 96.5M -M fm -s 170k -A std -l 0 | ffmpeg -f s16le -ac 1 -ar 170000 -i pipe:0 -acodec libmp3lame -ar 44100 http://localhost:8090/feed1.ffm | rtl_fm -f 96.5M -M fm -s 170k -A std -l 0 | ffmpeg -f s16le -ac 1 -ar 170000 -i pipe:0 -acodec libmp3lame -ar 44100 http://localhost:8090/feed1.ffm | ||
</code> | </code> | ||
+ | |||
+ | Put link to VLC playlist: | ||
+ | <code> | ||
+ | http://192.168.88.55:8090/test.mp3 | ||
+ | </code> | ||
+ | |||
+ | pros: | ||
+ | * Should work via internet | ||
+ | * multi client access | ||
+ | cons: | ||
+ | * compressed | ||
http://kmkeen.com/rtl-demod-guide/ | http://kmkeen.com/rtl-demod-guide/ |