[MPlayer-users] -cache causes -ss inaccuracy bug

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Nov 11 10:06:40 CET 2007


Il Sunday 11 November 2007 09:21:42 Robert Henney ha scritto:
> sometime between r21824 and r22229 a strange bug was introducted
> that causes the usage of -cache to cause -ss to overshoot, often by
> minutes.  the inaccuracy appears to increase with higher values
> of -ss.
>
> for example, "-nocache -ss 50:00" will start at 50:00, but "-cache
> 1024 -ss 50:00" will start at 52:30.  the value of cache specified
> does not appear to matter.
>
> on one dvd I have, -ss 53:00 will completely miss the title all
> together even though its length is 1:09:00

as I wrote other times, and as the svn version of stream_dvd.c warns,
the cache forks mplayer, thus all data in the stream layer isn't
shared with the demuxer => when playing dvd streams 
-cache and -ss _c_a_n_t____w_o_r_k___t_o_g_e_t_h_e_r 
(maybe on win32 that use threads instead of processes seeking
will still work, but it's a corner case)



More information about the MPlayer-users mailing list