Carl Eugen Hoyos <[email protected]> added the comment:
Duration is ~3.33, as reported by mplayer -demuxer avi, FFmpeg believes the file
over nine minutes long, so seeking to 50% must fail.
ffmpeg -analyzeduration 1000000000 -i ffplay_wrong_mouse_seek.avi
FFmpeg version SVN-r21099, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 8 2010 19:03:20 with icc 1110
configuration: --cc=/opt/intel/Compiler/11.1/059/bin/intel64/icc --cpu=core2
--enable-gpl --extra-cflags=-parallel --extra-ldflags=-parallel
--enable-postproc --enable-avfilter --enable-pthreads --enable-nonfree
--enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdirac --enable-libfaac --enable-libfaad --enable-libgsm
--enable-libmp3lame --extra-cflags='-I/usr/include/openjpeg -I/usr/include/gsm'
--enable-libopenjpeg --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-x11grab
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.45. 0 / 52.45. 0
libavformat 52.46. 0 / 52.46. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.14. 1 / 1.14. 1
libswscale 0. 8. 0 / 0. 8. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mp3 @ 0x1425ef0]Header missing
Seems stream 0 codec frame rate differs from container frame rate: 25.00 (25/1)
-> 23.97 (2397/100)
Input #0, avi, from 'ffplay_wrong_mouse_seek.avi':
Duration: 00:09:49.41, start: 0.000000, bitrate: 703 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 768x576 [PAR 1:1 DAR 4:3], 23.97 tbr,
23.97 tbn, 25 tbc
Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
----------
status: new -> open
substatus: new -> reproduced
title: FFplay - another mouse seek problem -> Wrong duration for avi file
_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1120>
_____________________________________________________