[theora] Indexing Ogg files for faster seeking

Jason Self jason.self at gmail.com
Fri Nov 6 23:46:52 PST 2009

On Nov 3, 2009, at 1:24 PM, Chris Pearce wrote:

> Hey guys,
> We've landed keyframe indexing in ffmpeg2theora over the weekend, so  
> if
> you can, please pull ffmpeg2theora from svn and test it. To encode  
> with
> indexing, specify the --seek-index command line parameter when running
> ffmpeg2theora. Please test it, break it, and then report bugs to me,  
> so
> I can improve it!

Here's a 30 second clip of something I grabbed from television for  
testing. ffmpeg2theora won't create an index because it claims that  
the file has no duration. That isn't necessarily a reflection on the  
indexing process, but it might be nice if ffmpeg2theora's handling of  
the file could be improved so that it knows the duration and could  
then index it. Other video encoders (such as HandBrake, which also  
makes use of the FFmpeg project) provide the duration so I hope that  
it's doable.


I also ran into another file that I received an error about  
miscalculating the index or something. Unfortunately, it seems that  
I've since deleted that file. I will see if I can recreate the problem.

More information about the theora mailing list