immich/server/src
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!: remove typeorm (#20366) 2025-07-29 17:28:02 -04:00
commands feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
controllers feat: add server.versionCheck permission (#20555) 2025-08-04 17:39:05 -05:00
cores feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
dtos feat: ack sync reset (#20703) 2025-08-05 20:30:19 +00:00
emails fix: email button (#19675) 2025-07-01 22:48:41 -04:00
middleware feat: better endpoint descriptions (#20439) 2025-07-30 13:29:36 -03:00
queries refactor: new helper methods that work for all sync queries (#20690) 2025-08-06 08:34:12 -04:00
repositories refactor: new helper methods that work for all sync queries (#20690) 2025-08-06 08:34:12 -04:00
schema fix: album asset sync must sync new assets in a shared album (#20655) 2025-08-05 17:53:51 +01:00
services fix: video thumbnail generation for short videos (#20629) 2025-08-06 13:10:49 +00:00
sql-tools feat: rename schema (#19891) 2025-07-14 10:13:06 -04:00
utils fix: video thumbnail generation for short videos (#20629) 2025-08-06 13:10:49 +00:00
workers feat: allow unordered migrations in dev (#19881) 2025-07-11 10:58:34 -04:00
app.module.ts feat!: absolute file paths (#19995) 2025-07-18 10:57:29 -04:00
config.ts refactor: enum casing (#19946) 2025-07-15 14:50:13 -04:00
constants.ts feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
database.ts feat: ack sync reset (#20703) 2025-08-05 20:30:19 +00:00
decorators.ts refactor: enum casing (#19946) 2025-07-15 14:50:13 -04:00
enum.ts fix: album asset sync must sync new assets in a shared album (#20655) 2025-08-05 17:53:51 +01:00
main.ts feat: remove dep on cwd for workers (#20012) 2025-07-18 10:57:49 -04:00
types.ts feat!: absolute file paths (#19995) 2025-07-18 10:57:29 -04:00
validation.spec.ts fix(server): use luxon for maxdate validator (#11651) 2024-08-08 09:02:39 -05:00
validation.ts feat(web): Remove from Stack (#19703) 2025-07-22 22:17:06 -04:00