[MPlayer-users] Playing a file being downloaded until the end

Ilja Sekler ilja_sekler_ at gmx.de
Wed Aug 15 00:33:32 CEST 2012


Am 13.08.2012 23:14, schrieb Reimar Döffinger:

> On Mon, Aug 13, 2012 at 03:58:31PM +0200, Ilja Sekler wrote:
> 
>> Am 12.08.2012 20:04, schrieb Reimar Döffinger:
>> 
>>> See my reply in the thread "[PATCH] Fix the handling of growing
>>> files" from March this year.
>>> I'll attach the patch for convenience.
>>> The thing I am lacking is people who will test it thoroughly,
>>> because I don't really have time for that.
>> 
>> Was it intended to be
>> 
>> +        stream_control(demuxer->stream, STREAM_CTRL_GET_SIZE, &size);
>> 
>> instead of
>> 
>> +        stream_control(muxer->stream, STREAM_CTRL_GET_SIZE, &size)
>> 
>> in the libmpdemux/demux_lavf.c chunk of the attached patch?
>> Otherwise the MPlayer compilation fails with
> 
> Yes, though just "stream" would do. [...] while I think that was the
> only thing I fixed

Yes, this and the closing semicolon.

> it might be better to try the attached one instead.

No problems playing growing files beyond the transient end of the data
at the moment as MPlayer was launched till the real EOF with the new
patch, tested with a couple of mp4, flv (YouTube) and avi files while
downloading them from the web, with and without '-demuxer lavf'. Seeking
in the files I tested works fine too.

Thanks a lot,

-- 
Regards

Ilja


More information about the MPlayer-users mailing list