EliasOenal / multimon-ng

GNU General Public License v2.0
946 stars 210 forks source link

GQRX output not decoding on rpi #182

Closed icissel closed 2 years ago

icissel commented 2 years ago

I am trying to pipe sdr stream from gqrx to multimon-ng with the following: nc -l -u localhost 7355 | sox -t raw -esigned-integer -b 16 -r 48000 - -esigned-integer -b 16 -r 22050 -t raw - | multimon-ng -t raw -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -a FLEX -f alpha -

the gqrx settings are set as shown below

running that script shows: multimon-ng 1.1.9 (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA (C) 2012-2020 by Elias Oenal Available demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK FMSFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW DUMPCSV X10 SCOPE Enabled demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX

I get plenty of output when i run nc -l -u localhost 7355. Also, decoding works as espected when I pipe rtl_fm to multimon with the same sox parameters as above

image

weinholt commented 2 years ago

I don't have any problem decoding gqrx output on a Raspberry Pi. Could it be because you've checked the "stereo" checkbox? SoX is probably expecting mono data.

icissel commented 2 years ago

thanks for mentioning that...I clicked stereo on during my last troubleshoot prior to posting but even in mono it still doesnt decode

icissel commented 2 years ago

interestingly, when i run the multimon-ng script while connected to the pi via vnc viewer with a terminal shell open i get no output. However, when i open and tune gqrx via vnc viewer and then run the multimon script in an ssh shell it works fine.