01-14-2015, 02:03 AM
(01-13-2015, 09:39 AM)Deak Phreak Wrote: I had thought about that, but a screen grab of the video as the icon would be so small, you might not be able to make out what it is and there is a good chance the screen grab would be of something useless instead of something you would recognize.
P.S. I am looking for a Java developer for my minecraft mod site if you happen to know Java or know someone that does
Sorry Deak, I'm not a Java guy either. I know others that are, but they are all very busy chaps.
I don't think the thumb idea would be all that bad really. I've tested a few youtube videos to see how the results vary. HD stuff is somewhat ordinary, but not super awful. Lower res stuff comes out pretty OK.
ffmpeg.exe -i input.mp4 -vframes 1 -ss 5 -filter:v "scale="82:-1", pad=w=82:h=88:x=(ow-iw)/2:y=(oh-ih)/2:color=black" thumbnail.png
This outputs a single frame 5 seconds into the video, scales it proportionally to 82 pixels wide, and pads any background (if there is any) with black to make it 82x88, and saves in png format.
I got the thumbnail dimensions from your tiger thumbnail so I assume that's right.
cheers K.