[MPlayer-users] Playing while dumping a stream?
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Wed Jul 27 18:43:06 CEST 2005
On Wednesday, 27 July 2005 at 12:04, faxmodem at free.fr wrote:
> On Wed, Jul 27, 2005 at 06:10:05PM +0930, Mark Williams (MWP) wrote:
> > Hi all,
> >
> > Im using -dumpstream on a internet MP3 radio stream.
> >
> > Is there an easy way to also play the stream at the same time?
> >
> > Ive tried playing the dumped stream file using mplayer, but it stops at the
> > point where the recording was when the playing was started... it doesnt
> > continue.
> > I imagine this is due to mplayer reading the file size at starting of playback
> > and stopping when at that position rather than playing until EOF?
> >
> > So is there a way to do this?
>
> You could use a named pipe:
>
> mkfifo stream.dump
> mplayer -dumpstream <url>
> cat stream.dump | tee SavedStream.wmv | mplayer -
Or, without the FIFO:
mplayer -nortc -really-quiet -dumpstream <url>
tail -f stream.dump | mplayer -
HTH,
R.
--
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
We stand between the darkness ... and the light."
-- Delenn in Grey Council in Babylon 5:"Babylon Squared"
More information about the MPlayer-users
mailing list