> Whats the best method to get the time representation of a frame? ((granpos>>shift)+granpos-((granpos>>shift)<<shift))*fps_den/fps_num libtheora has a helper function for doing this, I believe, named something along the lines of th_granule_to_time or similar.