[FFmpeg-trac] #941(avformat:open): Seek problems with ogg decoder

FFmpeg trac at avcodec.org
Fri Jan 27 23:05:31 CET 2012


#941: Seek problems with ogg decoder
------------------------------------+------------------------------------
             Reporter:  DonMoir     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  ogg seek    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by DonMoir):

 Just to restate this. Early seek times are going to succeed because there
 are some initial AVStream.index_entries in place at start up. It's all
 about when you try to seek past the last entry in the index_entries table
 which have not been created but should be in the ogg_read_seek function.
 So the seek failure is all about ogg_read_seek's failure to create the
 index_entries. If I go ahead and make sure the index_entries are created
 prior to calling avformat_seek_file, then seeking works fine outside of
 the additional clean up notes mentioned in item 2) above. Also I remap my
 timestamp to the one returned by av_index_search_timestamp so I make sure
 I know I am at the place I need to be without second quessing.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/941#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list