Scheduled recordings with mplayer PDF Print E-mail
Written by N/A   
Saturday, 08 November 2008 09:28

 

All you really need is a shell script that you invoke with cron.


#!/bin/sh
# Record broadcast stream into a stream.dump file for 1 hr
#
cd /tmp && mplayer -dumpstream http://broadcast -cache 128 & sleep 3600
mv /tmp/stream.dump /tmp/stream`date +%m%d`
killall mplayer


Last Updated on Saturday, 08 November 2008 09:29
 

Add comment

To be able to vote and have easier access to write comments, etc., go to Login and register yourself.
Your user name and email will never leave this website.


Security code
Refresh