Closed GoogleCodeExporter closed 9 years ago
what if the video file isn't 45 minutes long? lol The way it is now is that it
takes
the amount you have in settings, say 4 for example, and adds 2 and divides the
total
time of the video by that. Then takes 4 samples with an equal padding on the
beginning and end.
Original comment by jason.schnitzler
on 30 May 2009 at 7:14
Well who has movies less than 45 minutes long... how about no earlier than 5
mins (to
skip credits) and no later than halfway through?
Original comment by midgetspy
on 30 May 2009 at 8:08
so:
interval = ((length / 2) - 300) / thumbcount
start = interval + 300
So.... say the movie is 1.5 hours long and you have 4 thumbs selected in
settings.
interval = ((5400 / 2) - 300) / 4
interval = (2700 - 300) / 4
interval = 2400 / 4
interval = 600
start = 900
So the first frame will be at 900 seconds (15 minutes), then every 600 seconds
(10
minutes) after that.
First frame = 15 minutes
Second frame = 25 minutes
Third frame = 35 minutes
Fourth frame = 45 minutes
I'll make this method as an option.... so you can either use the whole movie or
half
to avoid spoilers
Original comment by jason.schnitzler
on 30 May 2009 at 9:56
Done for next release
Original comment by jason.schnitzler
on 30 May 2009 at 10:34
Original comment by jason.schnitzler
on 14 Jun 2009 at 8:30
Original issue reported on code.google.com by
midgetspy
on 30 May 2009 at 7:00