[go: nahoru, domu]

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

fix(server): video thumbnail generation failing with single i-frame #10477

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

mertalev
Copy link
Contributor

Description

The sole i-frame of a video can get dropped by the fps filter. This PR sets eof_action=pass, meaning that it will always pass the last (and in this case first) frame.

Fixes #10468

How Has This Been Tested?

Tested the sample video in #10468 and ran on a few hundred videos without error.

Copy link
Member
@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just trust your wizardry skills :)

@mertalev mertalev merged commit 968553a into main Jun 19, 2024
22 checks passed
@mertalev mertalev deleted the fix/server-thumbnail-fps branch June 19, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.mp4 file from WhatsApp: Error: ffmpeg exited with code 1: Conversion failed!
3 participants