[MPlayer-users] Mplayer Stream to *.wav
saurabhsinghvi at gmail.com
Fri May 4 12:07:40 CEST 2007
On 5/4/07, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> On Friday, 04 May 2007 at 11:12, "Thomas Röhm" wrote:
> > Hello,
> > I´d like to record a mplayer stream to *.wav or *.mp3 on harddisk like:
> > mplayer -ao pcm:file=/temp/%date%.wav http://xxxxxx.xxxx
> > Is it possible to limit the length of the file to e.g. 10 minutes and
> > name the file by date_time.wav and then to create a new file with a
> > continued stream?
> man mplayer
> MPlayer developer and RPMs maintainer: http://mplayerhq.hu
> There should be a science of discontent. People need hard times and
> oppression to develop psychic muscles.
> -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
you could write a shell script that sends CTRL+C every 10mins
and renames the file and starts another instance of mplayer with
the same command and so on..
I am not sure if you can do it with just some options of mplayer
More information about the MPlayer-users