soft-matter / pims

Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface.
http://soft-matter.github.io/pims/
Other
259 stars 67 forks source link

Are these long seek times expected? #460

Open pauljurczak opened 1 week ago

pauljurczak commented 1 week ago

I'm accessing frames in a .MOV file with over 25K frames, 3840 × 2160, H.264 (High Profile), 60fps. Here are the timings on a fairly fast PC, starting from file open:

frame #100: 2.97s frame #1000: 28.39s frame #10000: 280.19s

Is it normal? Is there anything I can do to improve random access?

How do video viewers allow a fast-forward at the speed of a mouse dragging a slider? Are there other libraries with faster seek time?