rtl-sdr icon indicating copy to clipboard operation
rtl-sdr copied to clipboard

not working on raspberry pi

Open porjo opened this issue 11 years ago • 3 comments

I've been using original rtl_fm without any problems on Raspberry Pi. I've just tried using rtl_fm + rtl_usb from this package but get no audio output!?

I notice the text output is slightly different, so I'm guessing there are upstream fixes that are yet to be applied to this package.

original rtl_fm:

./rtl_fm -f 92.9M -M wbfm | sox -r 32k -t raw -e s -b 16 -c 1 -V1 - -t ogg - | ./ezstream -vv -c ezstream.xml 
ezstream: Warning: ezstream.xml is group and/or world readable
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
ezstream: Connected to http://localhost:8000/vorbis.ogg
ezstream: Streaming from standard input
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 93171000 Hz.
Oversampling input by: 6x.
Oversampling output by: 1x.
Buffer size: 8.03ms
Exact sample rate is: 1020000.026345 Hz
Sampling at 1020000 S/s.
Output at 170000 Hz.

this rtl_fm:

rtl_fm -f 92.9M -M wbfm | sox -r 32k -t raw -e s -b 16 -c 1 -V1 - -t ogg - | ./ezstream -vv -c ezstream.xml 
ezstream: Warning: ezstream.xml is group and/or world readable
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
ezstream: Connected to http://localhost:8000/vorbis.ogg
ezstream: Streaming from standard input
Found Rafael Micro R820T tuner
Oversampling input by: 42x.
Oversampling output by: 1x.
Buffer size: 8.13ms
Tuned to 93152000 Hz.
Sampling at 1008000 Hz.
Output at 24000 Hz.
Exact sample rate is: 1008000.009613 Hz
Tuner gain set to automatic.

porjo avatar Sep 14 '14 05:09 porjo

Same problem here

Psopho avatar Oct 23 '14 06:10 Psopho

same here...no audio output.... any idea?

michelinok avatar Dec 29 '14 18:12 michelinok

ok...found the problem you've to remove the "-M wbfm" parameter, and you've the audio.

anyway the switching between am and fm doesn't seem to work at all....need to investigate.

switching works, my fault

michelinok avatar Dec 30 '14 09:12 michelinok