|
From: Robin Ivetic-h. <cre...@gm...> - 2015-12-24 21:25:28
|
Hello, I need help to successfully getting done command that contain sox also true piping in linux, but apologize if this mailing list is just for sox :-). I want to listen with rtl-sdr USB dongle radio station, and this is command for that, but with sox you can add filters, change between codecs, etc, but also save output to file, and I using something like this, but mp3 file after few minutes become extreme large and can't be played at all, so probably doing something wrong, also file doesn't show exact time duration, can someone help me with this. I terminate command with CTRL+C, also this rtl_fm can be listen across network with next command, but than need to terminate netcat proper and switch w don't help at all, thanks for helping in advance. rtl_fm -M wbfm -f 88.1M -d 0 -s 22050k -l 310 | sox -traw -r8k -es -b16 -c1 -V1 - -tmp3 - | sox -n some_file.mp3 across network rtl_fm -f 88.1M -M fm -s 170k -d 0 -A fast -r 24k -l 0 -E deemp | sox -traw -r24k -es -b16 -c1 -V1 - -tmp3 - | socat -u - TCP-LISTEN:8080 and on listener side netcat IP adress from host 8080 | play -t mp3 - | sox -n some_name.mp3 Robin. -- Best regards, Robin mailto:otp...@ho... |