immich/server
patrickgoering 1ca46fbd98
fix: video thumbnail generation for short videos (#20629)
fix video thumbnail generation for short videos

ffmpeg gives conversion failed with error 234 for short mp4 files (less
than 10s) that where converted from m2ts. Longer videos work fine.

It looks like ffmpeg has no frames left to use for generating a
thumbnail.

This change fixes this issue and seems to not change the behaviour for
other mp4 files (same thumbnail before and after change)

This might also fix all mts file thumbnail generation.
2025-08-06 13:10:49 +07:00
..
bin feat: support config via systemd credentials (#20406) 2025-07-29 16:43:11 +07:00
resources
src fix: video thumbnail generation for short videos (#20629) 2025-08-06 13:10:49 +07:00
test feat: ack sync reset (#20703) 2025-08-05 20:30:19 +07:00
.gitignore
.nvmrc chore(deps): update node.js to v22.18.0 (#20662) 2025-08-05 11:01:15 +07:00
.prettierignore
.prettierrc
Dockerfile chore(deps): update base-image to v202507291116 (major) (#20668) 2025-08-05 11:54:37 +07:00
eslint.config.mjs
nest-cli.json
package-lock.json chore(deps): update dependency @types/bcrypt to v6 (#20669) 2025-08-05 19:58:08 +07:00
package.json chore(deps): update dependency @types/bcrypt to v6 (#20669) 2025-08-05 19:58:08 +07:00
tsconfig.build.json
tsconfig.json feat(server): people sync (#19854) 2025-07-10 11:32:42 +07:00