[MPlayer-users] is there some method to save a streaming file to local file ?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu May 24 07:24:50 CEST 2012


On 24 May 2012, at 05:38, Oliver Seitz <info at vtnd.de> wrote:
> Am 24.05.2012 05:05, schrieb lean fu:
>> Hi list:
>> 
>> is there some method that support to download and save video files on local
>> disk synchronously  while  playback a streaming file ?  thanks!
> 
> No, there isn't. You can save a stream using -dumpstream, but the downloading MPlayer can not play it while dumping.

Actually there is a keyboard binding to toggle dumping while playing. It doesn't work with all formats though.

> You can, however, start another instance of MPlayer to play the downloading file, while the first MPlayer is still downloading.

That is of course an option, too.

> Give the download process a good headstart as a buffer. If the playing process for some reason eats the stream a bit faster than the downloading spits it out, the playing process eventually will stop.

One could try something crazy like dumping to a fifo and using tee to duplicate it into both stdin of another MPlayer and a file on disk.


More information about the MPlayer-users mailing list