Is there an easy way to determine the frame count of a file? Right now what I'm doing is reading the whole file and keeping a counter but needless to say that's slow; is there a better way? Also, I'm a little fuzzy on how to interpret AVStream.time_base. How do I get that in frames per second? TIA --Ian