1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00
immich/server
Jason Rasmussen 48393c215b
refactor(server): video transcode processor (#2163)
* refactor(server): video transcode processor

* refactor: rename shouldRotate to isVideoVertical, remove unnecessary await

* refactor: rename getOptions to getFfmpegOptions to be clearer in that context

* fix: optimal preset converting vertical videos already smaller than target resolution

---------

Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2023-04-04 10:48:02 -04:00
..
apps refactor(server): video transcode processor (#2163) 2023-04-04 10:48:02 -04:00
bin fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
libs refactor(server): video transcode processor (#2163) 2023-04-04 10:48:02 -04:00
openapi-generator fix(server): more asset upload validation and docs (#1720) 2023-02-11 23:54:07 -06:00
.dockerignore feat(immich-server) use ubuntu base-image (#851) 2022-10-24 14:59:07 -05:00
.eslintrc.js chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.gitignore Added generated geocoding files to gitignore 2022-09-28 15:44:43 -05:00
.prettierignore chore(docs): contributing (#1311) 2023-01-12 08:44:11 -06:00
.prettierrc
Dockerfile chore(docker): Default NODE_ENV to production for server image and update alpine version (#2157) 2023-04-03 15:05:29 -05:00
immich-openapi-specs.json feat(all): ffmpeg quality options improvements (#2161) 2023-04-03 20:42:53 -05:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
nest-cli.json chore: remove unused config (#2121) 2023-03-30 12:22:25 -05:00
openapitools.json
package-lock.json chore(server): use ioredis (#2116) 2023-03-31 09:36:08 -05:00
package.json chore(server): use ioredis (#2116) 2023-03-31 09:36:08 -05:00
README.md feat(server,web): system config for admin (#959) 2022-11-14 22:39:32 -06:00
start-microservices.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
start-server.sh feat(deployment): support docker secrets (#1254) 2023-02-05 23:38:06 -06:00
tsconfig.build.json
tsconfig.json refactor(server): common (#2066) 2023-03-23 23:55:15 -05:00

How to run migration

  1. Attached to the container shell
  2. Run npm run typeorm -- migration:generate ./libs/database/src/<migration-name> -d libs/database/src/config/database.config.ts
  3. Check if the migration file makes sense
  4. Move the migration file to folder server/libs/database/src/migrations in your code editor.