this is a change because you've dropped the Math.min(). What's the justification for that?  If this is a hour long movie, this will now take a poster image from 6 minutes in.  Even though that is fast now, it might still not be what we want. I would guess that something within the first 30 seconds of the video is a better choice.