[MPlayer-users] Mplayer Stream to *.wav

Saurabh Singhvi 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?
>
> Yes.
>
> man mplayer
> /endpos
>
> Regards,
> R.
>
> --
> MPlayer developer and RPMs maintainer: http://mplayerhq.hu
> http://rpm.livna.org
> 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
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

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
itself.

hth,
Saurabh



More information about the MPlayer-users mailing list