If the seek fails, the operation should be a no-op (ie. what FFmpeg does already).
Describe alternatives you've considered
I've considered throwing an error if FFmpeg fails to seek, however, developers can check whether a seek is valid using ffprobe (see https://www.npmjs.com/package/ffprobe-client). By default, FFmpeg simply performs a no-op if the seek isn't valid; there's no need to deviate from the status quo.
Is your feature request related to a problem? Please describe.
I want to be able to generate a thumbnail at an arbitrary time.
Describe the solution you'd like
I would like to be able to pass in a time to FFmpeg, eg.
-ss 00:01:00
. The time should be passed in the config object:If the seek fails, the operation should be a no-op (ie. what FFmpeg does already).
Describe alternatives you've considered
I've considered throwing an error if FFmpeg fails to seek, however, developers can check whether a seek is valid using
ffprobe
(see https://www.npmjs.com/package/ffprobe-client). By default, FFmpeg simply performs a no-op if the seek isn't valid; there's no need to deviate from the status quo.