[MPlayer-users] streaming over http cache fill

mociml mociml at 163.com
Fri Jul 8 02:48:41 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!
> _______________________________________________belcampo wrote: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.------------------------------------------------------------------------------------------ Reimar D?ffinger  wrote:That information is already printed on the status line, both when pause
and when playing (probably not when it hangs waiting for input though).-----------------------------------------------------------------------------------------thanks all ! ToReimar D?ffinger ! I want to know not the first time before playing stream caching fill ,that info I konw ,I want to know playing start already , to order to avoidtucking ,the cache left info! please tell where to find " status line" ,what about the debug info is?







More information about the MPlayer-users mailing list