[MPlayer-users] Seeks to a wrong position with -ss option in wmv files

ivr ivr at krasrm.ru
Thu Feb 8 09:03:38 CET 2007


Hello.

I have a problem with seek position in wmv file.

I  need  to  start  4 players simultaneously for playing one file. But
everyone  should  be  started  with  different  positions.

Let's  admit  duration  of  a  file  about 100 seconds. Then the first
player should start to play file from the beginning, the second - from
25  seconds(+/-  5 sec),  the  third - with 50 (+/- 5 sec), the fourth -
with 75(+/- 5 sec).

But in wmv files it is impossible to position with an option -ss.

# /usr/bin/midentify /video/2
ID_AUDIO_ID=1
ID_VIDEO_ID=2
ID_FILENAME=/video/2
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV2
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=300
ID_VIDEO_FPS=24.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=569.00
ID_VIDEO_CODEC=wmv8
ID_AUDIO_BITRATE=128040
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffwmav2

# /usr/bin/mplayer -ss 10 -nosound -vo null /video/2

with -ss 10 - start at 28 sec
with -ss 59 - start at 101 sec
with -ss 100 - start at 188 sec

with -ss 365 -
                  Starting playback...
                  V: 572.9   1/  1 ??% ??% ??,?% 0 0

                  Exiting... (End of file)
What to do?
Can I set a position not on seconds (under frames for example)?

With other formats (DVD, mpeg4) is all right.

 --
 Best Regards,
 Vadim Ismagilov




More information about the MPlayer-users mailing list