arecord -f S16_LE -c 1 -r 48000 -D hw:CARD=Device,DEV=0 - |sox -t raw -esigned-integer -b16 -r 48000 - -esigned-integer -b16 -r 22050 -t raw - | multimon-ng -q -v 10 -t raw -A - | python aprs_parser.py
Here is a shell script to receive APRS packets from a RTL-2832 TV Tuner:
rtl_fm -f 144.390M -s 22050 - | multimon-ng -q -v 10 -t raw -A - | python aprs_parser.py
aprs_parser.py is a script I wrote to decode the APRS packets and insert into the PostgreSQL/PostGIS database. I'll post it when I clean the code up. It uses SQLAlchemy, Geoalchemy2, and aprslib Python modules.
The PostgresSQL/PostGIS database needs to have a geometry column with spatial reference id of 4326 (aka WGS_1984).