VLC and crontab

*nix specific usage questions
andyrod

VLC and crontab

Postby andyrod » 22 Oct 2005 01:33

Hi !

I have been playing around with VLC, and I found this software AMAZING!

Is it possible to record a live radio with VLC using the crontab? I am listening to this french radio (france info), which URL is
mms://vip9.yacast.fr/encoderfranceinfo

I tried entered the following 2 lines to my crontab :

0 8 21 10 * vlc mms://vip9.yacast.fr/encoderfranceinfo --intf dummy --sout file/ogg:/home/andy/franceinfo.ogg 1>/dev/null 2>&1
30 8 21 10 * killall vlc

to my understanding, this is supposed to start reading the stream from 8 AM during 30 minutes, and save the incoming stream directly in the OGG format in the file franceinfo.ogg.

Unfortunately, this doesn't work! Anyone?

Cheers,
Andy

Arfyness
New Cone
New Cone
Posts: 6
Joined: 14 Aug 2008 00:58
VLC version: 0.8.6e Janus
Operating System: Linux: Ubuntu 8.04.1

Re: VLC and crontab

Postby Arfyness » 05 Sep 2008 23:18

I was trying to run vlc from a cron job also, and I think there's a problem with the DISPLAY variable not being set.

I'm researching this now, will post a solution here if I find it. (I'm not sure about recording to a file though)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests