[MPlayer-users] Playing while dumping a stream?

faxmodem at free.fr faxmodem at free.fr
Wed Jul 27 12:04:56 CEST 2005


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 -




More information about the MPlayer-users mailing list