[MPlayer-users] streaming over http cache fill

belcampo belcampo at zonnet.nl
Wed Jul 6 10:13:57 CEST 2011


On 07/06/11 06:17, mociml wrote:
> hello everyone,
> When I set mplayer in slave mode ,and set -cache=4096 ,-cache-min=10,play stream over http, mplayer fill cache ,and start to play ,it works fine! but when time lapse ,maybe network is slow,so cache is empty or left little! mplayer play stream faster than fill cache,at this time mplayer stucked and continue playing stream , stucked ,play ,stucked , play !so the whole stream is hard to view smoothly!
> So I want to mplayer to do like this:  pause and wait for cache filled by 5% maybe and then continue to play by automatically !
> How to do this ? I check the source code in Http.c ,but a little confused! how to change this in source code or other way to solve the problem!
> _______________________________________________
AFAIK the only way to play this smooth is a large enough cache which is 
filled enough to play the whole file smooth. This is at the expense of 
slow-starting, because the large-enough-cache has to be filled 1st.
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list