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 +00:00
..
bin feat: support config via systemd credentials (#20406) 2025-07-29 16:43:11 -04:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src fix: video thumbnail generation for short videos (#20629) 2025-08-06 13:10:49 +00:00
test feat: ack sync reset (#20703) 2025-08-05 20:30:19 +00:00
.gitignore feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
.nvmrc chore(deps): update node.js to v22.18.0 (#20662) 2025-08-05 11:01:15 +00:00
.prettierignore refactor: migrate map repository to kysely (#15348) 2025-01-17 09:14:42 -06:00
.prettierrc fix(server): lint import order (#3974) 2023-09-04 21:45:59 +02:00
Dockerfile chore(deps): update base-image to v202507291116 (major) (#20668) 2025-08-05 11:54:37 +01:00
eslint.config.mjs chore: finish migrating eslint config files; bump unicorn (#17200) 2025-03-31 12:18:25 +01:00
nest-cli.json chore(server): enable swagger to take class validator rules into account (#9022) 2024-04-22 18:13:44 -04:00
package-lock.json chore(deps): update dependency @types/bcrypt to v6 (#20669) 2025-08-05 19:58:08 +02:00
package.json chore(deps): update dependency @types/bcrypt to v6 (#20669) 2025-08-05 19:58:08 +02:00
tsconfig.build.json fix: exclude e2e format (#3250) 2023-07-13 21:41:16 -05:00
tsconfig.json feat(server): people sync (#19854) 2025-07-10 11:32:42 -04:00