[MPlayer-users] -ss option seeks to a wrong position

塚田 あきひろ tskd2 at yahoo.co.jp
Thu Nov 16 12:13:00 CET 2006


Thanks, LR.
'mplayer -v foo.wmv' says that...
.....
ASF: packets: 232  flags: 2  max_packet_size: 8000 
min_packet_size: 8000  max_bitrate: 698764  preroll: 3000
============ ASF Stream group == START ===
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x83d2][33746]
   stream id=[0x2][2]
   max bitrate=[0xa25ba][665018]
============ ASF Stream group == END ===
Found movie at 0xABE - 0x1C5CBE
......

from this output.
max_bitrate = 698764 / 8.0 = 87344.5[Bps],
average_bitrate = <file_size>/<movie_length> = 1858956/21
= 88521.7[Bps]
so, the max_bitrate does't seem to be much larger.
(maybe I made some mistake ?)
 
and I found that '-endpos' option works fine.
if I run 'mplayer foo.wmv -endpos 5', 
the playout ends at 00:00:05. 
(To be exact, -endpos ignores -ss, opposed to the man
page.
but the precision is fine.)

it seems to me that -ss and -endpos use different
mechanisms to calculate time positions.

regards,
Akihiro TSUKADA



--------------------------------------
Yahoo! JAPAN "Pink Ribbon Campaign 2006"
-Breast Cancer Awareness-
http://pr.mail.yahoo.co.jp/pinkribbon/



More information about the MPlayer-users mailing list