From: Petter Reinholdtsen Date: Sun, 5 Apr 2009 09:52:02 +0000 (+0000) Subject: Typos. X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/b5f518634d7d657984abc38dc6d1fc83da046018?hp=bfcc60b2f49bcd41dca55c433c7a0ea03bcc0b43 Typos. --- diff --git a/blog/data/2009-04-05-vlc-opptak.txt b/blog/data/2009-04-05-vlc-opptak.txt index fd573107d5..cdaddaad24 100644 --- a/blog/data/2009-04-05-vlc-opptak.txt +++ b/blog/data/2009-04-05-vlc-opptak.txt @@ -17,11 +17,12 @@ DISPLAY= vlc -q $URL \ --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \ --intf=dummy -

The command stream the URL and store it in the SAFEFILE by +

The command stream the URL and store it in the SAVEFILE by duplicating the output stream to "nodisplay" and the file, using the -dummy interface.

+dummy interface. The dummy interface and the nodisplay output make +sure no X interface is needed.

-

The cron job then need to start this job with the approporiate URL +

The cron job then need to start this job with the appropriate URL and file name to save, sleep for the duration wanted, and then kill the vlc process with SIGTERM. Here is a complete script vlc-record to use from at or cron: