Recording on raspberrypi via command line

165 views
Skip to first unread message

Robby Balona

unread,
May 11, 2016, 3:08:37 AM5/11/16
to Ultra Cheap SDR
Hi All

Does anybody know of software that runs on raspberry pi command line that records wav/mp3 files when there is traffic on a frequency. I want to record radio chatter at our local flying club and don't want 
to run a desktop on the raspberry pi.

I have tried various rtl_fm with sox and apaly but cant get it to work where it records a file per chatter. Any help would be greatly appreciated.


Many thanks

Robby

Gabriel Bennasar

unread,
May 12, 2016, 3:25:02 AM5/12/16
to Ultra Cheap SDR
Hi Roby,
I suppose that a sound card is needed.
I used to receive and decode ACARS on both Linux PC, and raspberry.
In my PC I can receive the frequency over RTL-SDR dongle, and/or over a VHF receiver using ALSA(sound card). In my raspberry I cannot use the VHF receiver as I don't have any sound card attached to it.
Hope this helps.
Anyway, take a look at this site.

https://trac.ffmpeg.org/wiki/Capture/ALSA

Kind regards.
@zytorx

Hayati Aygün

unread,
May 13, 2016, 1:40:49 AM5/13/16
to Ultra Cheap SDR

Hi Robby,

check out
https://github.com/hayguen/stdin2wav
with rtl_fm from https://github.com/librtlsdr/librtlsdr

i'm running that for quite some months to record the local 2m relais.
In addition i've a ramdisk (tmpfs) where the .wav recordings go,
and a cronjob converting the wave files into mp3 with sox and deleting the wave files.

kind regards,
Hayati
Reply all
Reply to author
Forward
0 new messages