[FFmpeg-trac] #5610(avformat:new): FFmpeg Libraries Seek Wildly On Opening W64-Format Files Via VIO

FFmpeg trac at avcodec.org
Sat Jun 11 12:06:48 CEST 2016


#5610: FFmpeg Libraries Seek Wildly On Opening W64-Format Files Via VIO
-------------------------------------+-------------------------------------
             Reporter:  mocmaint     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  wav          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by michael):

 I dont see any huge seek offsets:

 sox -b16 -c2 -r48000 -n -L test.wav synth 10 sine 440 vol 0.5
 md5sum test.wav
 23429ea98c131c67ba8b160fa5fea002  test.wav
 ./seek-test test.wav
 Calling ffmpeg_open():
   Calling avformat_alloc_context()
   Calling avio_alloc_context()
   Calling avformat_open_input()
     read_cb: 2048
       read(): 2048
     seek_cb called: 0, 65536
       file_size(): 1920044
     seek_cb called: 0, 65536
       file_size(): 1920044
     seek_cb called: 0, 65536
       file_size(): 1920044
     seek_cb called: 0, 65536
       file_size(): 1920044
     seek_cb called: 0, 65536
       file_size(): 1920044
     read_cb: 63532
       read(): 63532
     seek_cb called: 44, 0
       lseek(): 44
 Calling ffmpeg_close():
   Calling avformat_close_input()

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5610#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list