Skip to content

Fix movie preview generation for movies shorter than 4 seconds#3304

Draft
MichaIng wants to merge 4 commits intodevfrom
fix/video-previews
Draft

Fix movie preview generation for movies shorter than 4 seconds#3304
MichaIng wants to merge 4 commits intodevfrom
fix/video-previews

Conversation

@MichaIng
Copy link
Member

@MichaIng MichaIng commented Mar 5, 2026

This commit was done with an anonymous account in context of a study. The actual author might want to open a PR with its true account for proper credits, after the study ended. However, I am opening this here to show that this issue has been addressed, so no one starts doubled work 😉.

strawberry-poodle and others added 3 commits March 5, 2026 01:11
Fixes #9 by checking video duration using ffprobe before capturing a thumbnail.
Revert to default handling of stderr in the ffprobe call, instead of capturing into variable or redirecting to STDOUT. This way any errors in this subprocess will be simply printed by motioneye.

Co-authored-by: MichaIng <[email protected]>
@MichaIng MichaIng added this to the v0.43.2 milestone Mar 5, 2026
@MichaIng MichaIng added the bug label Mar 5, 2026
@MichaIng MichaIng linked an issue Mar 5, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Movie previews fail to generate if less than 4 seconds length

2 participants