[MPlayer-users] -ss option seeks to a wrong position
    陆然 
    hephooey at gmail.com
       
    Thu Nov 16 03:18:56 CET 2006
    
    
  
Hi,
On Wednesday 15 November 2006 23:13, 塚田 あきひろ wrote:
> Thanks, Joe.
> but in that case,
> should '-ss 5' seek to 00:00:09 instead of 00:00:14 ?
>
> I don't know much about 'key-frame'.
> Is it usual that the interval between two key frames gets
> so long (more than 6 sec)?
An other reason could be that asf demuxer in mplayer seek the file based on 
a "packetrate" instead of the index, and the packetrate is calculated by:
asf->packetrate=fileh->max_bitrate/8.0/(double)asf->packetsize;
here the max_bitrate is the uncompressed rate based on the unofficial asf 
spec, so generally packetrate will be larger than the real rate, that mean 
you usually seek more forward than you expected.
-- 
Best Regards,
LR
    
    
More information about the MPlayer-users
mailing list