Thanks Paul - I wrote a small Perl script to start a recording as you're doing. I'm using ab=24, samplerate="22050", channels=1 - which produces a very listenable recording using much less space on disk.
Also, I will confess I'd never seen the timeout command before - that's a very useful tool. Thanks again for starting this discussion. On Fri, Dec 11, 2020 at 2:03 AM Paul Boniol <[email protected]> wrote: > I've been using Linux for largely desktop use for a long time, but have > not gotten too into automation. I've finally gotten back around to trying > to schedule cron to run vlc, to record a radio stream nightly at midnight > (local). I got a command I think is good, and it appears cron is kicking > it off. But it isn't producing the expected output file. > > crontab -e as my usual user. > > 0 0 * * * timeout 4h cvlc -I dummy > https://stream.revma.ihrhls.com/zc2149/hls.m3u8 :no-video > :sout="#transcode{acodec=mp3,ab=128}:std{access=file,mux=dummy,dst=/home/paul/Audio/Coast-$(date > '+%Y-%m-%d-%H-%M-%S').mp3" > > In /var/log/syslog.1 I see it kicked off. "No MTA installed, discarding > output". (Fine for normal use, but the command seems to have failed.) > Then nothing. > > Any suggestion on next debugging steps, or know what I'm doing wrong? > > Paul > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nlug-talk/CAL9PgS1Cn7ic_9K0R44SGSNv-USZgOoKrF92TknsCGFg0w6OpA%40mail.gmail.com > <https://groups.google.com/d/msgid/nlug-talk/CAL9PgS1Cn7ic_9K0R44SGSNv-USZgOoKrF92TknsCGFg0w6OpA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CADPPtrrBfjUEVOUWcyNYn99GmiF1DLRHavXxn%2BNbKsc44C2-aQ%40mail.gmail.com.
