Proper thumbnail generation for Storyboard View

Bug #933802 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Novacut
Fix Released
High
Jason Gerard DeRose

Bug Description

MOV files from Canon HDSLR have a keyframe every 15 frames, so on average you're going to be decoding 7.5 frames to get to some random frame, which is pretty expensive.

As long as you're bothering to thumbnail a single frame, you might as well thumbnail 15 frames, starting with the keyframe at or before the frame you want, and ending with the frame just before the next keyframe. So that's what we're doing for now.

I think this is probably the right trade off for the Storyboard View as this is a place where the users will make many small adjustment of just a frame or two, so this means we're likely to have adjacent frames already in the thumbnail cache. Although this approach means it takes a bit longer to catch-up with the edit and display a frame that wasn't in the cache, these interruptions will happen far less frequently (15/th as frequently, to be exact).

We'll do user testing on this to see if this is actually the right approach. If we can squeeze a bit more performance out of this, this is probably a clear win: have your cake and eat it too.

Note that this is all async and the thumbnail generation is done in a completely separate process, so the UI remains fluid and usable while waiting for thumbnails. You can step by frame at anytime, you just might have to wait a moment for the frame to be displayed.

I just finished this up, and this bug is to track the merge and feature.

Related branches

Changed in novacut:
status: In Progress → Fix Committed
description: updated
Changed in novacut:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.