Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp of thumbnail in video #437

Open
dieterdanger opened this issue Jan 9, 2024 · 1 comment
Open

Timestamp of thumbnail in video #437

dieterdanger opened this issue Jan 9, 2024 · 1 comment
Labels

Comments

@dieterdanger
Copy link

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

@st3iny st3iny added the question label Feb 6, 2024
@joshtrichards
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants