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

FFmpeg trac at avcodec.org
Sun Feb 5 13:59:29 CET 2012

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

Comment (by reimar):

 > matroska_read_seek creates it's index efficiently as far as I can tell

 It just reads the index from the file. For real-world cases that is the
 most efficient way (though from a pure theory standpoint it is still O(n)
 unless the writing application automatically culls the index which has its
 own issues and is generally not allowed).
 I saw that your files use Ogg skeleton v4, which means that they probably
 contain an index, too, so you should be able to implement the same
 approach - however it would be a good amount of work I expect.

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

More information about the FFmpeg-trac mailing list