Code: Select all
cvlc "http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_tor" --sout file/mp3:/home/jogl/audio/"$(date +%Y-%m-%d_CBC_%H:%M:%S).mp3" --run-time=3240 vlc://quit
Code: Select all
2021-04-03_CBC_15:06:01.mp3
If I change it to:
Code: Select all
cvlc "http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_tor" --sout file/mp3:/home/jogl/audio/"$(%Y-%m-%d_CBC_%H:%M:%S).mp3" --run-time=3240 vlc://quit
Code: Select all
.mp3
Q2:
How can I send the stream to the speakers while it is recording? Using the built in line out via PulseAudio Volume Control I believe. It is on a Debian 10 system with an XFCE desktop.
Thanks,
JP.