previewgenerator icon indicating copy to clipboard operation
previewgenerator copied to clipboard

Timestamp of thumbnail in video

Open destracke opened this issue 2 years ago • 1 comments

Hello everyone, is it possible to set a default timestamp in seconds (or 0.5 * video length respectively) for preview generation of videos? I have multiple videos where there is either a black thumbnail or a logo with the default settings.

I've tried to configure Nextcloud to use a bash wrapper-script instead of the ffmpeg binary but I can't get it to work.

Any help highly appreciated :-)

Best regards Dennis

destracke avatar Jan 09 '24 15:01 destracke

You could experiment with adjusting things here:

https://github.com/nextcloud/server/blob/4b85a886207c2a5d2faffc055e7662ea99118c1a/lib/private/Preview/Movie.php#L132-L137

(FYI: Technically this is handled by a provider in Nextcloud Server, not within the previewgenerator app)

joshtrichards avatar Mar 30 '24 16:03 joshtrichards