Generate thumbnail based on time?

Here's the place to discuss anything about Media Preview in English.
Post Reply
Megalith
Posts: 1
Joined: Tue Oct 31, 2017 1:29 am

Generate thumbnail based on time?

Post by Megalith »

I've found that "Position Seek" doesn't work well because it's based on percentages: even a setting as low as 1% could be drastically different based on the length of a video file (e.g., trailer vs. full-length movie).

Is there a way to generate a thumbnail based on time (e.g., 5 seconds)?
BabelSoft
Site Admin
Posts: 342
Joined: Sat Jun 02, 2012 9:23 pm

Re: Generate thumbnail based on time?

Post by BabelSoft »

Nope, with the current options, you can't set positions based on a duration.

That was done like this by design, because fetching an image frame at a precise time position can be very slow on some malformed video files or on video types that aren't designed to allow users to fast forward like during streaming. It can be as slow as watching the video from the beginning until the desired time position from a media player at the normal speed...

So to add this option as a working feature, it would require Media Preview to be transformed as a quasi-full-featured media player, and find some tricks to make it also work fast in a lot of cases, which is quite out of the scope of what I wanted to do.
Post Reply