[MPlayer-users] Playing while dumping a stream?
Rich Felker
dalias at aerifal.cx
Thu Jul 28 01:28:35 CEST 2005
On Wed, Jul 27, 2005 at 06:50:41PM +0200, Reimar Döffinger wrote:
> Hi,
> On Wed, Jul 27, 2005 at 12:04:56PM +0200, faxmodem at free.fr wrote:
> > You could use a named pipe:
> >
> > mkfifo stream.dump
> > mplayer -dumpstream <url>
> > cat stream.dump | tee SavedStream.wmv | mplayer -
>
> Wouldn't just cat stream.dump | mplayer - do it? Without any fifos?
The point of the fifo is that when you close the mplayer reading from
it, the mplayer what's writing to it will get SIGPIPE and exit. Thus
you can control where it stops.
Rich
More information about the MPlayer-users
mailing list