mrlucas84 / embermediamanager

Automatically exported from code.google.com/p/embermediamanager
0 stars 0 forks source link

Extrathumbs should only be from 5:00 to ~45:00 #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Taking thumbs from before 5:00 often gives you credits in the pictures.
Taking them from too late in the movie can give you spoilers you didn't
want to know (somebody dying/fighting/etc). I think the extra thumbs should
be evenly distributed between 5 and 45 minutes into the movie when being
auto generated.

Original issue reported on code.google.com by midgetspy on 30 May 2009 at 7:00

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Done for next release

Original comment by jason.schnitzler on 30 May 2009 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by jason.schnitzler on 14 Jun 2009 at 8:30